Hi people.
 
I've tried to produce two warnings (warn on undeclared element and warn on duplicate attdef) in a DTD.
 
But when I parse the XML file that refers this DTD with Xerces 1.4.4., I don't get the warning message.
 
Have I made a mistake or is there a bug in Xerces ?
 
Thanks in advance for your answer.
 
 
                                                  Jean-Guillaume.
 
Attached files :
- MailingListWarning.xml
- MailingListWarning.dtd (a DTD where an element is undeclared and an attribute is declared twice)
- MyErrorHandler.java (a class that extends DefaultHandler and that defines methods warning() and error()
- MyEventHandler.java (a class that extends MyErrorHandler and that defines methods from ContentHandler)
- XMLFileConsolePrinter (a class that creates a validating SAXParser with features
and that parses the XML File.)

Attachment: MailingListWarning.xml
Description: Binary data

Attachment: MailingListWarning.dtd
Description: Binary data

Attachment: MyEventHandler.java
Description: Binary data

Attachment: MyErrorHandler.java
Description: Binary data

Attachment: XMLFileConsolePrinter.java
Description: Binary data

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


Reply via email to