You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/07/22 11:23:26 UTC

DO NOT REPLY [Bug 11033] New: - Strange Problem while parsing element body which contains [ ].

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=11033>.
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=11033

Strange Problem while parsing element body which contains [  ].

           Summary: Strange Problem while parsing element body which
                    contains [  ].
           Product: Xerces2-J
           Version: 2.0.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: kam@brainware.ch


I have a XML document with a section like�

.
.
.
<foo>BlaBlaBla [id=12] BlaBlaBla</foo>
.
.
.

The problem is that the SAXParser (DefaultHandler) 
characters(char[] buf, int start, int length) method doesn�t return the foo 
element body right.
It returns first �BlaBlaBla [id=12]� and then �] BlaBlaBla�. When I remove
The [] then it works fine.

With Xerces-J 1.4.4 it works fine!

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