Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Validating against XSD given only a DOM Node

Thread Tools

Validating against XSD given only a DOM Node

Posts: n/a
Does anyone know if it's possible to validate a DOM node against a
supplied schema?

We are in a situation where we are coding to an API and receiving an
already parsed subset of a document as a DOM node. I'd like to
validate that this fragment of XML/DOM against it's schema file. Is
this possible? Any pointers on how to go about this?

Everything I've read regarding validation with Xerces etc, is while
parsing the original document, which unfortunately we don't have
access to..
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Validating XML against XSD XML 1 06-14-2005 07:35 AM
Problem with validating XML against XSD FabioFR XML 1 09-02-2004 03:36 PM
Validating XML file against an XSD schema in an ASP.NET page simon ames ASP .Net 1 04-11-2004 09:01 AM
Validating against XSD given only a DOM Node Nazghal Java 0 12-09-2003 04:16 AM
validating XML against an XSD string Java 0 08-29-2003 07:02 PM