Hi,
I have an element StaticLayerData Stream referenced in the schema file.
This element can be empty or non-empty in the instance file depending
on circumstances.
<xs:element name="StaticLay erDataStream" type="xs:hexBin ary">
Now in the XML instance file, the parser throws an error when it comes
across an empty StaticLayerData Stream element like so:
<StaticLayerDat aStream> </StaticLayerData Stream>
I have even tried this
<StaticLayerDat aStream/>
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 StaticLayerData Stream referenced in the schema file.
This element can be empty or non-empty in the instance file depending
on circumstances.
<xs:element name="StaticLay erDataStream" type="xs:hexBin ary">
Now in the XML instance file, the parser throws an error when it comes
across an empty StaticLayerData Stream element like so:
<StaticLayerDat aStream> </StaticLayerData Stream>
I have even tried this
<StaticLayerDat aStream/>
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
Comment