Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Well-formedness and undeclared general entity references Well-formedness and undeclared general entity referencesTo: NULL Date: 4/10/2009 2:57:00 PM Is an XML document using undeclared general entity references not well-formed? For example: <test> foo &bar; </test> If yes, what's the difference given using a non-validating processor and the given example: <!DOCTYPE test SYSTEM "empty.dtd"> <test> foo &bar; </test> Where "empty.dtd" is really an empty file. I'm experimenting with Xerces2-J v2.9.1 and the SAX interfaces, and the first example gives me a fatal error, while the second one parses o.k. reporting the &bar; reference as skipped entity. -- Stanimir | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
