[ 
http://issues.apache.org/jira/browse/XERCESJ-1005?page=comments#action_12312939 
] 

Joe Washington commented on XERCESJ-1005:
-----------------------------------------

In addressing this issue of  "whitespace around the ampersand being lost while 
parsing xml", the 2.6.2 versions of xercesImpl.jar and xml-apis.jar were loaded 
in the lib directory and the problem still persists.  Does anyone 
know whether other jar files are required or some type of configuration is 
needed to be put in place?

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to