Hi there, i have a problem parsing xhtml with xerces 1.3.0
When i try to parse the following String: <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/WD-html-in-xml/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Virtual Library</title> </head> <body> <p>Moved to <a href="http://vlib.org/">vlib.org</a> </p> </body></html> i get theException :The attribute type is required in the declaration of attribute "events" for element "html". I wrote my own Entity Resolver which i believe resolves the external entities correctly. Can anybody explain this exception to me ? When i leave out the !DOCTYPE everything works fine, except the fact that entities like ä are giving exeptions since the entity can not be resolved since there is no doctype. Thanks for help Steffen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
