When I set the year section as shown below (20512 or something like this), XSD still validates the XML.
Any idea.
Is this a flaw or do I need to use simpleType with a given pattern?
thanks
Xsd
<xs:attribute name="date" type="xs:date" /> <xs:attribute name="timestamp" type="xs:dateTime" />
XML
<store date="20512-07-11" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="items.xsd"> <store timestamp="20512-07-11T21:50:16" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="items.xsd">
source share