[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Must Input = Output
- From: "Winkowski, Daniel" <winkowski@mitre.org>
- To: "XML. ORG Xml-Dev List (E-mail)" <xml-dev@lists.xml.org>
- Date: Wed, 04 Apr 2001 17:33:25 -0400
Consider the below element which includes in its pattern a constraint on the
length of an integer. Content of the form 001, 078, 812 will be validated.
Will the content in the PSVI (and future program interfaces) show for the
original content 001 an integer value of 1 or 001? That is will PSVI show
the canonical representation of the integer? Note that there is no value
constraint on the element.
<element name="Padded_interger">
<simpleType>
<restriction base="xsd:integer">
<pattern value="[0-9]{3}"/>
</restriction>
</simpleType>
</element>
- Daniel G. Winkowski