- From: Michael Mangelschots <michael@orbitone.com>
- Date: Wed, 3 Apr 2002 17:39:07 +0200
- To: <xmlschema-dev@w3.org>
Greetings, i've been getting into XML schemas since a couple days and i've successfully validated a XML file compared to its XSD file. But for the project i'm working on, the xml and XSD information must come from a string object instead of a file object. So, i've got 2 strings: 1 containing XML and 1 containing XSD i've been able to parse an xml-string with parser.parse(new InputSource(new StringReader(xml))); but i can not find where i can saywhere the XSD must come from... the property http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation only accepts files as it's value... is there any other way to realize this ? many thanks Michael
Received on Wednesday, 3 April 2002 10:39:21 UTC