Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5358

ADB should support fractionDigits and whiteSpace restriction Constraints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • adb, codegen

    Description

      e.g - 1

      <xs:element name="address">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:whiteSpace value="collapse"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:element>

      e.g - 2

      <xs:element name="address">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:whiteSpace value="replace"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:element>

      e.g - 3

      <xs:element name="address">
      <xs:simpleType>
      <xs:restriction base="xs:string">
      <xs:whiteSpace value="preserve"/>
      </xs:restriction>
      </xs:simpleType>
      </xs:element>

      e.g - 4

      <xsd:simpleType name="numericType">
      <xsd:restriction base="xsd:decimal">
      <xsd:totalDigits value="10"/>
      <xsd:fractionDigits value="3"/>
      </xsd:restriction>
      </xsd:simpleType>

      Attachments

        Activity

          People

            Unassigned Unassigned
            sagara Sagara Gunathunga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: