The schema spec says that the value of xsi:type *must* be the same as or
derived from the declared type of the element.  In your second request, the
xsi:type is the base type of the declared type of the element which is thus
illegal. I don't know a way to ignore this error while validating otherwise.
It might be possible to set a feature on the parser to make it continue
parsing after errors, and an error-handler that accumulates the errors and
allows your code to examine them afterwards and ignore validation errors of
this kind only.  Another possibility would be to preprocess the request to
remove all xsi:type attributes, but this might cause other problems.

Jeff


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

Reply via email to