J
John
Hi,
I have an element StaticLayerDataStream referenced in the schema file.
This element can be empty or non-empty in the instance file depending
on circumstances.
<xs:element name="StaticLayerDataStream" type="xs:hexBinary">
Now in the XML instance file, the parser throws an error when it comes
across an empty StaticLayerDataStream element like so:
<StaticLayerDataStream> </StaticLayerDataStream>
I have even tried this
<StaticLayerDataStream/>
but it does not work. Any ideas on how to let the schema identify the
element as being empty sometimes AND non-empty sometimes?
Thanks
John
I have an element StaticLayerDataStream referenced in the schema file.
This element can be empty or non-empty in the instance file depending
on circumstances.
<xs:element name="StaticLayerDataStream" type="xs:hexBinary">
Now in the XML instance file, the parser throws an error when it comes
across an empty StaticLayerDataStream element like so:
<StaticLayerDataStream> </StaticLayerDataStream>
I have even tried this
<StaticLayerDataStream/>
but it does not work. Any ideas on how to let the schema identify the
element as being empty sometimes AND non-empty sometimes?
Thanks
John