[ http://issues.apache.org/jira/browse/XERCESJ-1005?page=comments#action_12313192 ]
Michael Glavassevich commented on XERCESJ-1005: ----------------------------------------------- Check Castor's source code. I strongly believe it or something else (but not the parser) is stripping the whitespace. > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
