[
http://issues.apache.org/jira/browse/XERCESJ-1005?page=comments#action_12313037
]
Luke Hillary commented on XERCESJ-1005:
---------------------------------------
I'm also seeing this issue using Castor 0.9.5.3 with Xerces-J 2.6.2.
> 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 & c</abc>
> generates the element:
> a and b&c
> instead of:
> a and b & c
> A similar problem existed with parsing of double quotes (") 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
|