On Thu, 26 Jul 2001, Jaime Meritt wrote:
> A valid instance could be:
>
>
> <params>
> <xmlParam name="credentials">
> <userCredentials xmlns = "http://www.foo.org/security">
> <username>Jaime</username>
> <password>foo</password>
> </userCredentials>
> </xmlParam>
> </params>
>
>
> My goal is to validate both the userCredentials portion with the appropriate
> schema and the params document with params.xsd. I am unable to import the
> schema into params.xsd because I do not own the file. I would not be
> adverse to importing the userCredentails programmatically without modifying
> the schema.
If you give an xsi:schemaLocation for the http://www.foo.org/security
namespace in the instance document, Xerces should pick it up and validate
the content of the xmlParam.
Ian
--
Ian Roberts, Software Engineer DecisionSoft Ltd.
Telephone: +44-1865-203192 http://www.decisionsoft.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]