[xsde-users] Controlling double precision for xs:decimal

Andrea Tessadri tessadriandrea at gmail.com
Fri Mar 29 12:02:45 EDT 2019

For a schema containing a xs:decimal like this:

<xs:simpleType name="LatitudeType">
   <xs:restriction base="xs:decimal">
          <xs:minInclusive value="-90"/>
          <xs:maxInclusive value="90"/>
          <xs:pattern value="(\+|-)?[0-9]?[0-9]\.[0-9]{5}[0-9]*"/>

The result of the serialization for:

will be:


How to control double precision ?

Version: xsde-3.2.0-x86_64-linux-gnu
System: ubuntu 18.04

More information about the xsde-users mailing list