FpML Issues Tracker
closed
Minor
Always
Validation Rules
Admin
None
Summary
Please add the xsd namespace to the namespace declaration in the validation examples. This makes testing and development much easier because tools will recognize the namespace.
version="4-3" xmlns="http://www.fpml.org/2007/FpML-4-3" xmlns:fpml="http://www.fpml.org/2007/FpML-4-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.fpml.org/2007/FpML-4-3 fpml-main-4-3.xsd http://www.w3.org/2000/09/xmldsig# xmldsig-core-schema.xsd" xsi:type="RequestTradeConfirmation" ...
It is the line xmlns:xsd="http://www.w3.org/2001/XMLSchema" that needs adding to the examples.
Take a look at ln-8 as an example. This needs the xs namespace defined to make sense. " ...startDate satisfies $startDate - xs:dayTimeDuration("P1D")... "
Irina fixed exactly the same in issue #451 for the FpML namespace declaration.
The schema namespace should also be defined in the namespaces section of the rules.
I don't mind whether it is xs or xsd as long as it is consistent.
Notes:
matthewdr
08/26/08 1:57 pm
Agreed at the VWG today for Marc to evaluate writing an XSLT script to do this.
matthewdr
12/09/08 2:55 pm
Voted 4-3 at the VWG not to make this change.
matthewdr
12/09/08 2:55 pm
Agreed to do nothing at the VWG.