[ http://issues.apache.org/jira/browse/XERCESJ-1005?page=comments#action_57528 ] Ankit Pasricha commented on XERCESJ-1005: -----------------------------------------
This doesnt seem to be a problem in Xerces 2.6.2. The output is exactly whats expected - "a and b & c" > 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
