[jdom-interest] Newbie schema question

Scott Ellsworth scott at alodar.com
Tue Aug 1 16:40:38 PDT 2000

Hey, all.

I am reading Brett McLaughlin's (sorry about prior mis-spellings) book, and 
in the jdom chapter, he mentions that it will handle validation via schema 
when the spec finalizes.

How will this be set up?  I know that for a dtd, all I need do is provide a 
doctype to my document, and provide the "true" flag, and I am set.  (Modulo 
the bug in xerces that has it validate whenever there is a doctype set.)

I tried feeding it my schema in the doctype call, but that does not work 
(nor, now that I think about it, should it.)  I have some samples from the 
xerces distribution, and all it looks like I need to do is add a few 
attributes to the parent node.

Scott Ellsworth
scott at alodar.com

More information about the jdom-interest mailing list