Skip to content

Commit

Permalink
Replace xs:dateType with xs:dateTime (#461)
Browse files Browse the repository at this point in the history
* replace xs:dateType with xs:dateTime

* use schema 1.1 (xmlschema-2)

---------

Co-authored-by: Birgit Boss <[email protected]>
  • Loading branch information
sebbader-sap and BirgitBoss authored Dec 12, 2024
1 parent df0107e commit 09c7efd
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ See Clause xref:spec-metamodel/constraints.adoc#constraints-for-types[Constraint
|xsd |https://www.w3.org/TR/xmlschema-2/#boolean[boolean] |true, false |true, false


|xsd |https://www.w3.org/TR/xmlschema-2/#dateType[dateType] |Date and time with or without time zone |"2000-01-01T14:23:00", +
"2000-01-01T14:23:00.66372+14:00"footnote:[Corresponds to xs:dateTimeStamp in XML Schema 1.1]
|xsd |https://www.w3.org/TR/xmlschema-2/#dateTime[dateTime] |Date and time with or without time zone |"2000-01-01T14:23:00", +
"2000-01-01T14:23:00.66372+14:00"footnote:[Corresponds to https://www.w3.org/TR/xmlschema-2/#dateTime[xs:dateTime] in XML Schema 1.0]

|xsd |https://www.w3.org/TR/xmlschema-2/#duration[duration] |Duration of time |"-P1Y2M3DT1H", +
"PT1H5M0S"
Expand Down Expand Up @@ -572,5 +572,7 @@ Simple two-letter language tags for locales like "de" conformant to ISO 639-1 ar
IETF language tags are referencing ISO 639, ISO 3166 and ISO 15924.

.Built-In Types of XML Schema Definition 1.0 (XSD)footnote:[Source: https://www.w3.org/TR/xmlschema-2/#built-in-primitive-datatypes]

[[image-55-xml-built-in-types]]
image::55-xml-built-in-types.png[]
image::55-xml-built-in-types.png[]

0 comments on commit 09c7efd

Please sign in to comment.