[DFDL-WG] checkConstraints example?
Garriss Jr., James P.
jgarriss at mitre.org
Tue Mar 26 07:28:10 EDT 2013
Can you please supply an example of using checkConstraints to valid an enumeration? There's not one in the spec, and none of the tutorials I have demo this.
Suppose I have this DFDL:
<xsd:element name="DayOfTheWeek"...>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Mon" />
<xsd:enumeration value="Tue" />
<xsd:enumeration value="Wed" />
...
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
TIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/dfdl-wg/attachments/20130326/d4edae89/attachment.html>
More information about the dfdl-wg
mailing list