[jdom-interest] Validation using XML Schema

Matthias Brauch mb at biss-net.com
Tue Aug 22 22:00:16 PDT 2000

On Wed, 23 Aug 2000 07:33:19 +1000 (EST), donaldp at mad.scientist.com wrote:

>> When I use the (more recent) xerces.jar from the JDOM
>> distribution, I get the following error:
>> org.jdom.JDOMException: Error on line 2 of XML document: Element type "personnel
>It looks like it is trying to validate the document but you
>have not given it a proper DTD - or you have given a DTD
>that does not match document. 

I'm not using a DTD but a Schema (personal.xsd that comes with
XML4J 3.0.1).
Everything works fine with the "old" xerces.jar.


Matthias Brauch
BISS GmbH, Chaukenweg 12, D-26388 Wilhelmshaven, Germany
Phone: +49/4423/9289/0, Fax: +49/4423/9289/99
EMail: mb at biss-net.com

More information about the jdom-interest mailing list