Robert,

    Xerces (both 1.6.0 and the latest nightly build) does throw an exception
saying the Value'robert' is not valid. (though the error message is a little
bit strange: is not in enumeration).

    Would you try this again? If the problem persists, may you post your
instance document and xsd in full? thanks.

Rgds,
PeiYong

Robert McCarthy wrote:

> Hi, I'm running Xerces-C 1.6.0 in a CBuilder5 environment.  I'm using the
> DOMParser with schema validation enabled.  In my schema, I have the
> following element:
>         <xs:element name="dateOfBirth" type="xs:date"/>
> In my XML file that I validate against this schema, I have the following
> element:
>         <dateOfBirth>robert</dateOfBirth>
> Xerces does not report an error!
>
> Does Xerces validate dates against schema definitions?
>
> Thanks!
>
> Robert
>
> ---------------------------------------------------------------------
> 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