[jdom-interest] Should this be parsable?

Robbins, Malcolm Malcolm.Robbins at compaq.com
Sun Apr 29 14:32:37 PDT 2001


rephrasing my question fo a few days ago should the following XML be
parsable, if not validitable if the DTD cannot be found?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document SYSTEM "averyunlikelyfilename.dtd">
<document> Not alot here </document>

When I try to parse this (non validated) with the standard JDOM parser
(Xerces) I get an error that the DTD cannot be found.  Is this correct
behaviour?  Does that mean the above document is not well-formed?  

If it is not correct parser behaviour does anyone know of a parser that will
accept the above?



More information about the jdom-interest mailing list