numeric simpleValue #342
Labels
please contribute
A PR is welcome for this issue. Please target the `development` branch.
schema
Issues that impact the schema file
Milestone
Let's say I want the value of a length property to be exactly 2.0. I would use
<simpleValue>
, but it technically only accepts strings.ids.xsd#L41:
<xs:element name="simpleValue" type="xs:string" minOccurs="1" maxOccurs="1"/>
When I try to convert python data to IDS using xml.etree Python package, it says:
So the implementers have to remember to cast all alphanumeric values to strings. I think we could improve the schema by replacing the abovementioned line with union type also allowing numbers:
The text was updated successfully, but these errors were encountered: