Lists Home |
Date Index |
not a standard feature. I think it's supported in MSXML and Xerces (the latter
via a specific property).
<green/>bytes GmbH -- http://www.greenbytes.de --
but is there not a parser out there that i can use that will do something
Parser p = new
and this will ensure that each tag in the xml file has a
corresponding definition in the schema, and will also throw an
error if the schema defines that the information contained in a tag must
be an integer, and in the xml file this information is a string.
of parser cant be that simple to write and i can't affoard to process an xml
file unless i know that the information in it is what it is supposed to be.
"Gerben Rampaart (Casnet Brussel)"
is not so hard to write this yourself ... just use the classes of Java
C# ... they do the parsing for you and you can also make sure they use
schema to verify it with ...
From: Brian Shields [mailto:email@example.com]
October 2002 13:03
Subject: [xml-dev] xml
I emailed about this subject yesterday,
and got some answers. I have set up
the SAXParser to validate the XML,
which is working, but i want to validate
the xml against a particular
schema, is there a parser i can set a schema
location and it will ensure
the xml file conforms to that schema otherwise
an exception occurs.
hope i am making some sense!!!
Do you Yahoo!?
Faith Hill -
Exclusive Performances, Videos, & more
Do you Yahoo!?
Faith Hill - Exclusive
Performances, Videos, & more