You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/02/12 22:28:30 UTC

DO NOT REPLY [Bug 6407] New: - Multiple ampersands not interpreted correctly

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6407>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6407

Multiple ampersands not interpreted correctly

           Summary: Multiple ampersands not interpreted correctly
           Product: Xerces-C++
           Version: 1.6.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX/SAX2
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: charlie_wezwick@adp.com


When a data field contains multiple ampersands (either &#38; or &amp;) the 
value returned by the parser is not correct.
For example:
<data>&amp;</data> returns "&".
<data>&amp;-</data> returns "&-".
   but
<data>&amp;&amp;</data> returns "&" -- should return "&&".
<data>&amp;-&amp</data> returns "&" -- should return "&-&".

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org