[jdom-interest] Newbie schema question
brett.mclaughlin at lutris.com
Tue Aug 1 17:32:58 PDT 2000
Scott Ellsworth wrote:
> 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.
Check p. 38, Example 2-2
> Scott Ellsworth
> scott at alodar.com
> To control your jdom-interest membership:
Brett McLaughlin, Enhydra Strategist
Lutris Technologies, Inc.
1200 Pacific Avenue, Suite 300
Santa Cruz, CA 95060 USA
More information about the jdom-interest