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

Incorrect error message for missing ">" or "/>"

           Summary: Incorrect error message for missing ">" or "/>"
           Product: Xerces2-J
           Version: 2.5.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SAX
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


We are trying to use the Xerces parser to highlight xml errors in our editor. We
do this by running SAX parser at regular intervals on the current open file and
highlight all the errors reported. When the user takes the mouse over the
highlight, we show the message returned by the parser in the tooltip.

Sometimes the message generated by the parser is not very user-friendly. Lot of
times we have noted that there are ``null''s in the message. Though lot of these
seem to be fixed in 2.5.0, there is one we would love to see fixed:

Try to parse the following doc:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE bean-properties>

<bean-properties 
</bean-properties>

It results in a message:

Element type "null" must be followed by either attribute specifications , ">" or
"/>"

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

Reply via email to