Hi, I have a document which I believe is not well formed that Xerces will happily parse.
The document is as follows: <?xml version="1.0"?> <!DOCTYPE Doc [ <!ENTITY foo "foo"> ]> <!DOCTYPE doc [ <!ENTITY bar "bar"> ]> <doc></doc> Xerces will give my SAX decl handler callbacks for both the DTD decls and the entity decls for foo and bar, which causes problems in my code since it expects never to get more than one declaration. If both declarations declare the same name an error is thrown about duplicate element declarations. I have reproduced this problem with both xerces 2.3.0 and xerces 2.7.0. Thanks, Graham. -- Graham Bennett --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
