logo       

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

[jira] Commented: (XERCESJ-1005) White space around ampersand is lost while: msg#00014

Subject: [jira] Commented: (XERCESJ-1005) White space around ampersand is lost while parsing xml
    [ 
http://issues.apache.org/jira/browse/XERCESJ-1005?page=comments#action_12313247 
] 

Luke Hillary commented on XERCESJ-1005:
---------------------------------------

Ok this looks like an issue with the Castor Unmarshaller:

http://bugzilla.exolab.org/show_bug.cgi?id=1884
http://bugzilla.exolab.org/show_bug.cgi?id=1887

> White space around ampersand is lost while parsing xml
> ------------------------------------------------------
>
>          Key: XERCESJ-1005
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1005
>      Project: Xerces2-J
>         Type: Bug
>     Versions: 2.6.2
>     Reporter: Sumit Arora
>     Priority: Minor

>
> White space on either side of the ampersand symbol (&) disappears during 
> parsing xml. e.g. the xml
> <abc>a and b &amp; c</abc>
> generates the element:
> a and b&c
> instead of:
> a and b & c
> A similar problem existed with parsing of double quotes (&quot;) in version 
> 2.3 but seems to have been fixed in later versions.
> I am seeing this behavior while using Castor (which uses xerses API 
> internally). So I am not sure which component of Xerces API causes this 
> behavior. More specifically, I see this behavior in the 
> unmarshal(java.io.Reader) method of the org.exolab.castor.xml.Unmarshaller 
> class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>