[jdom-interest] re: xml schema support
Jason Hunter
jhunter at acm.org
Mon Apr 30 19:07:28 PDT 2001
Joshua and Louise Fox wrote:
>
> How to we make Xerces-DOM (on top of which we're running JDOM), use
> schema-validation?
>
> What we want to do is
>
> parser.setFeature(
> "http://apache.org/xml/features/validation/schema",
> true)
>
> to the underlying Xerces parser, but we can't figure out how to access the
> underlying Xerces parser from JDOM.
Currently it's not exposed, although we've discussed how we might expose
it safely. But for you, you're in luck. That feature is "true" by
default. :-)
-jh-
More information about the jdom-interest
mailing list