John wrote:
> 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">
>
> 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?
What is the error message you get from the parser?
<StaticLayerDataStream/> looks prefectly valid.
--
Klaus Johannes Rusch
http://www.atmedia.net/KlausRusch/