-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
The specs describe the xsdDateTimeExpr
as having an optional timezone:
[...] as shown, the xDateTime values may, or may not, have a component indicating a specific timezone, here Z (Zulu) for UTC (Greenwich Mean Time)
The grammar, on the other hand mandates its use, as XsdDateTimeExpr
implies XsdTimeLiteral
which in turn implies XsdTimezoneComponent
.
XsdDateTimeExpr ::= "xDateTime" ("(" XsdDateTimeLiteral "," XsdDateTimeLiteral ")")?
XsdDateTimeLiteral ::= XsdDateWithoutTimezoneComponent "T" XsdTimeLiteral
XsdTimeLiteral ::= XsdTimeWithoutTimezoneComponent XsdTimezoneComponent
XsdTimezoneComponent ::= ((\+\|-)(0[1-9]\|1[0-9]\|2[0-4]):(0[0-9]\|[1-5][0-9])\|Z) | /* xgc:regular-expression */
The fact that XsdDateLiteral
does utilizes an optional timezone may imply a mistake.
Metadata
Metadata
Assignees
Labels
No labels