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.


Since you haven't specified any namespace URIs I suspect you should be using noNamespaceSchemaLocation instead.
--


+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to