How are you trying to validate without parsing?

If you are doing something like:
XmlObject.Factory.parse(<yourContent>).validate();
then this is expected behavior as you are NOT validating against a type.
-Jacob Danner


On 4/10/07, Diego García González <[EMAIL PROTECTED]> wrote:
Hi. I need to validate an XML instance against a XSD before parsing. I
use the validate() function with no XmlOptions.
The validation seems to work ok, except for a detail: if I remove some
mandatory attributes (marked with use="required" in the XSD) from the
XML, the validate() function still returns true. How can I solve that issue?

---------------------------------------------------------------------
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