OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Must Input = Output



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