Uploaded image for project: 'Ed-Fi Data Standard'
  1. Ed-Fi Data Standard
  2. DATASTD-866

Standardize usage of XSD integer datatypes

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Data Standard v2.1
    • Data Standard v2.0
    • None
    • None

    Description

      In the 2.0 XSD there are three different usages of built-in integer datatypes
      xs:integer, xs:int, and xs:positiveInteger. Both xs:int and xs:positiveInteger are restrictions of xs:integer to limit the valid range.

      There are two usages of xs:integer and one usage of xs:positiveInteger. We suggest converting everything to xs:int, where the xs:positiveInteger would be an xs:int with a min value of 1.

      xs:positiveInteger - is used to indicate the priority order of telephone numbers
      xs:Integer - is used on number of school days under discipline action

      See https://www.w3.org/TR/xmlschema-2/#built-in-datatypes for more detail on the relationship between the three built-in types.

      While this is a data type change there is no practical data impact

      Attachments

        Activity

          People

            Unassigned Unassigned
            bradbanister Brad Banister
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 35 minutes
                1h 35m

                Salesforce