Imported from previous forum
The following question was asked many years ago but was never answered.
Hi,
In the documentation, I read
"String representing a Date of Local Market (vs. UTC) in YYYYMMDD format."
However, when a look at the XSD spec (fixml-datatypes-5-0.xsd), I see:
<xs:simpleType name=“LocalMktDate”>
<xs:restriction base=“xs:date”/>
</xs:simpleType>
Since XSD date is stored as YYYY-MM-DD, the specification does not match the requirement in the documentation. This causes problems for automatic code generation tools (like xsd.exe) which represents LocalMktDate as DateTime.
We are actually facing the same issue where our parser cannot parse FIXML messages.
Anyone ever faced the same problem ?
Why isn’t FIXML specification compliant with XSD regarding xs:date format ?
Thanks,
Alex
This has been corrected in FIXimate for the latest EP, please see http://www.fixprotocol.org/FIXimate3.0/latestEP/index.html. The accompanying text had been incorrect but the correct data type was always xs:date, i.e. YYYY-MM-DD. The new text is now as follows (actually has a typo :-().
string field represening a Date of Local Market (as oppose to UTC) in YYYY-MM-DD format per the ISO 8601 standard. This is the “normal” date field used by the FIX Protocol.
Valid values:
YYYY = 0000-9999, MM = 01-12, DD = 01-31.
Example(s)
BizDate=“2003-09-10”
The following question was asked many years ago but was never answered.
Hi,
In the documentation, I read
“String representing a Date of Local Market (vs. UTC) in YYYYMMDD format.”However, when a look at the XSD spec (fixml-datatypes-5-0.xsd), I see:
<xs:simpleType name=“LocalMktDate”>
<xs:restriction base=“xs:date”/>
</xs:simpleType>Since XSD date is stored as YYYY-MM-DD, the specification does not match the requirement in the documentation. This causes problems for automatic code generation tools (like xsd.exe) which represents LocalMktDate as DateTime.
We are actually facing the same issue where our parser cannot parse FIXML messages.
Anyone ever faced the same problem ?
Why isn’t FIXML specification compliant with XSD regarding xs:date format ?Thanks,
Alex