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

ADB should support fractionDigits and whiteSpace restriction Constraints

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: adb, codegen
    • Labels:

      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

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

              Dates

              • Created:
                Updated: