- From: Databinding Issue Tracker <dean+cgi@w3.org>
- Date: Mon, 18 Dec 2006 16:02:14 +0000 (UTC)
- To: public-xsd-databinding@w3.org
ISSUE-101: fractionDigits, minLength and maxLength proposed patterns http://www.w3.org/2005/06/tracker/databinding/issues/101 Raised by: George Cowe On product: Advanced DecimalSimpleTypeFractionDigits Pattern .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:decimal') and xs:fractionDigits/@value]/ (., @base, xs:fractionDigits/(., @value)) Example <xs:simpleType name="DecimalSimpleTypeFractionDigits"> <xs:restriction base="xs:decimal"> <xs:fractionDigits value="2"/> </xs:restriction> </xs:simpleType> RestrictedMaxLength Pattern .//xs:simpleType/xs:restriction/xs:maxLength[@value]/(.., ../@base, ., @value) Example <xsd:simpleType name="RestrictedMaxLength"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="12"/> </xsd:restriction> </xsd:simpleType> RestrictedMinLength Pattern .//xs:simpleType/xs:restriction/xs:minLength[@value]/(.., ../@base, ., @value) Example <xsd:simpleType name="RestrictedMinLength"> <xsd:restriction base="xsd:string"> <xsd:minLength value="2"/> </xsd:restriction> </xsd:simpleType>
Received on Monday, 18 December 2006 16:02:28 UTC