For security purposes, I need to validate documents (incoming SOAP messages) using a schema. The messages do not contain a schemaLocation attribute. The elements in the message are defined with namespaces, so the noNamespaceSchemaLocation attribute isn't appropriate. And adding schemaLocation using DOM requires parsing the message without validation, which is what I'm trying to avoid.

Is there any way to use a schema to validate a document without adding a schemaLocation attribute to the document? The externalSchemaLocation property seems to work only if the document already contains a schemaLocation attribute.

Thanks,
Mike


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



Reply via email to