[jdom-interest] Validating against a schema using elementscanner from the contrib.

Robert (Jamie) Munro rjmunro at viva.org
Wed Apr 16 10:53:35 PDT 2003


Is it possible to validate against a schema, like in this FAQ entry:
http://www.jdom.org/docs/faq.html#schemas
but when using elementScanner from the contrib to build the document?

I would guess that I need to do:
  ElementScanner scanner = new ElementScanner();
  scanner.setFeature("http://apache.org/xml/features/validation/schema",
true);

but scanner.setFeature has not been written yet...

Alternatively, I may be barking up totally the wrong tree.

Thanks,

Robert Munro




More information about the jdom-interest mailing list