RE: Validation of a JDOMtree (already loadedinmemory) with XSD schema
"Michael Kay" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <30590490844040188A510A650A584E41@Sealion> |
Yes, you can do this using the Saxon-SA schema validator. Michael Kay http://www.saxonica.com/ _____ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: 07 October 2008 15:51 To: [email protected] Subject: Re: [jdom-interest] Validation of a JDOMtree (already loadedinmemory) with XSD schema Is it now possible to validate a JDOM Document in memory? In DOM it is possible with the Validator class: validator.validate(new DOMSource(document)); Regards, Katja "Not yet, but it's something we'd very much like to see added. We even had a volunteer to implement it although he's fallen silent. Perhaps we need a new one. -jh- " _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]