[jdom-interest] XML Schema validation

Kenworthy, Edward edward.kenworthy at exchange.co.uk
Tue May 8 01:32:00 PDT 2001

As far as I have been able to find out, enforcing a schema is NOT supported
by JDOM.
What I have done is read in my schema file using JDOM (a schema file is a
valid XML document so that isn't a problem) and then coded the appropriate
enforcement myself. As I only want selective enforcement this works quite

-----Original Message-----
From: Kiss Gábor [mailto:kissg at freemail.hu]
Sent: 08 May 2001 08:58
To: jdom-interest at jdom.org
Subject: [jdom-interest] XML Schema validation

I've been on the mailing list for only some days so far, and I read all the
messages concerning XML Schema Validation, but as I'm quite a beginner I
still can't find my way out.
How can I validate my XML document against a Schema, or how can I read a
Schema file with JDOM?
Maybe this question sounds stupid and the answer is evident but I still have
a lot to learn...
Thanks a lot
Gábor Kiss

More information about the jdom-interest mailing list