DOMConfiguration parameter "schema-location " 2003-04-15 - By Carla Spruit
Hi,
My question refers to the use of DOMConfiguration parameter 'schema-location' of DOMBuilder. The DOM3 sample shows how the 'personal-schema.xml' document can be parsed with validation by setting schema-location to value 'personal.xsd'. According to the DOMConfiguration javadoc, it should be possible to specify multiple schema's in 'schema-location' by using separator space. When I try to parse a document i.e. '4Q99.xml' with schema-location value 'report.xsd ipo.xsd address.xsd' an error is reported saying "failed to read schema document 'report.xsd ipo.xsd address.xsd'" The errormessage suggests that the schema-location string is interpreted as the URI of one single schema document.
I am currently using Xerces 2.3.0.
Am I doing something wrong?
Thanks in advance,
Carla
X-Hive Corporation (www.x-hive.com) email: carla@(protected) phone: +31 010 2818080
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|