Hi Elliotte,

The (Dom Level 3) DOMConfiguration parameter 'schema-location' is a
string containing a list of URIs that represents the schemas against
which validation should occur. 
Unfortunately, it is not possible to specify (no)targetNamespaces in
this string like in 'schemaLocation' and 'noNamespaceSchemaLocation'
attributes or in external Xerces schema-location properties. 

Carla


> -----Original Message-----
> From: Elliotte Rusty Harold [mailto:[EMAIL PROTECTED]
> Sent: dinsdag 15 april 2003 14:58
> To: [EMAIL PROTECTED]
> Subject: Re: DOMConfiguration parameter "schema-location"
> 
> 
> 
> >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]
> 
> 

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

Reply via email to