Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] Document in-memory validation

Laurent Bihanic

2004-01-14

Replies:


On 14/01/2004 16:44, Guido wrote:
> *From http://www.jdom.org/docs/faq.html#a0370:
> How can I perform in-memory validation against a DTD or Schema?
> Currently you can't do this, in JDOM or any other Java document object
> model API. However, this is something we'd like JDOM to support, and we
> have a volunteer who's working on it.
>
> MY QUESTION IS: **Is this enhancement really under development? What is
> its status?

For validating against schemas, you can use the schema validator from
jdom-contrib (org.jdom.contrib.schema.Schema). It performs validation by
sending a SAX representation of the JDOM document to Sun's Multi-Schema Validator.

Nothing yet for DTDs.

Laurent

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.