On Wed, Jan 5, 2011 at 7:51 PM, <jamie.t...@oneamerica.com> wrote:

> What I expected was that the LAST_NAME tag would have the special
> character's escaped - that the character value would be
> 'special&amp;character&lt;test&gt;here'.  However, that is not what I see
> when I generated the XML.  Instead, this is what I received:
>
> <?xml version="1.0"?>
> <ROOT>
>         <TEST_INFO ID="attributeId">
>         <NAME>
>                 <FIRST_NAME>Test First Name</FIRST_NAME>
>                 <LAST_NAME>special&amp;character&lt;test>here</LAST_NAME>
>         </NAME>
>         <DATE>01-05-11</DATE>
>         <REQUEST_NUMBER>1</REQUEST_NUMBER>
>         </TEST_INFO>
> </ROOT>
>
> Specifically, I expected the escaped value of '&gt;' to have replaced the
> '>' in my test string value.  Is there something built into jibx that does
> this conversion automatically - perhaps an option that I'm neglecting to set
> in my binding file?


That is valid XML... a ">" character is allowed between tags, though perhaps
not entirely prudent.

Here's the relevant
reference<http://www.w3.org/TR/2006/REC-xml-20060816/#syntax>
.

-Archie

-- 
Archie L. Cobbs
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to