- From: Jeni Tennison <jeni@jenitennison.com>
- Date: Thu, 8 Nov 2001 16:31:00 +0000
- To: Saul Farber <saul@syncline.com>
- CC: xmlschema-dev@w3.org
Hi Saul,
> so my <xsd:schema> element is in an "other" namespace (namely the
> xml-schema ns) and it is valid (it is a validatable element from the
> http://www.w3.org/2001/XMLSchema namespace).
Is the schema for the http://www.w3.org/2001/XMLSchema namespace
imported into the WSDL schema? If it isn't, then the schema processor
won't be able to find a declaration for the xsd:schema element because
it won't be able to find a schema for the
http://www.w3.org/2001/XMLSchema namespace.
Try adding:
<import namespace="http://www.w3.org/2001/XMLSchema"
schemaLocation="http://www.w3.org/2001/XMLSchema.xsd" />
to the WSDL schema that you're using so that the validator can find
the element declarations to validate against. It might be that just:
<import namespace="http://www.w3.org/2001/XMLSchema" />
will do if the schema validator uses its built-in knowledge about
valid XML Schema elements, or goes off and finds the schema
automatically somehow.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
Received on Thursday, 8 November 2001 11:31:05 UTC