OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Validating a DOM tree


I need to validate a DOM tree against an external schema using the JAXP API.
Currently I am using the SAXParserFactory to set up a SAXParser. But the
parser.parse() methods just accept as input a sax InputSource or systemId's
while I need to be able to give the dom directly as input to the parser. Has
anyone been able to do this without having to serialize the dom. Any help
would be appreciated.