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

Comment Parsing Problem

           Summary: Comment Parsing Problem
           Product: Xerces2-J
           Version: 2.0.0
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am using org.apache.xerces.parsers.SAXParser for parsing, with a 
org.xml.sax.ext.LexicalHandler registered to it. While trapping the Comment 
event through call back method of Lexical Handler , I am getting wrong comment 
string for comments in DTD ie: character array which has the comment + content 
model of the previously parsed element declaration in dtd

for example :

if DTD is as follows
=====================
<!ELEMENT abc(x,y,z)>
<!ATTLIST abc
          att1 CDATA #IMPLIED 
>
<!--Comment1-->
======================

while getting the comment string 

it is something like this 

Comment1x,y,z)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to