[jdom-interest] Errors in DTD reading

John Pearcey johnp at mmconsultants.demon.co.uk
Wed Jul 26 05:45:07 PDT 2000


I am using the SAXBuilder and obtain the following error during parsing:

Error on line 315 of document
http://localhost/webfiles/Dtds/xhtml1-strict.dtd: The attribute declaration
for "xml:space" must be given as an enumerated type whose only possible
values are "default" and "preserve".

The DTD in question has been used before with other parsers with no
problems. Line 315 is as follows:
xml:space   (preserve)     #FIXED 'preserve'

which looks fine to me.

This is the first time I have used the apache parser.

Does anyone have any ideas ?





More information about the jdom-interest mailing list