ISSUE-95: totalDigits for xs:decimal

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ISSUE-95: totalDigits for xs:decimal

SWD Issue Tracker


ISSUE-95: totalDigits for xs:decimal

http://www.w3.org/2005/06/tracker/databinding/issues/95

Raised by: Vladislav Bezrukov
On product: Basic

Example:
<xs:simpleType name="dec5">
  <xs:restriction base="xs:decimal">
    <xs:totalDigits value="5" />
  </xs:restriction>
</xs:simpleType>

<pattern name="RestrictedDecimalTotalDigits" status="basic"
pattern="http://www.w3.org/2002/ws/databinding/patterns/6/09/RestrictedDecimalTotalDigits"
xpath="//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) =
xs:QName('xs:decimal')]/xs:totalDigits"/>