Martin Bryan wrote:
> Rick
>
>
>> Well, "mixed content" in XSD includes data-only content. Or to put it
>>
> another way, in XSD untyped data-only content is done by having mixed
> content but disallowing any elements (hence the maxOccurs='0'). So that
> schema doesn't suggest that there can be other elements, it forbids it.
> (And, I stress again, the XSD is *not* my schema, and out of my control.)
>
> While I accept that XSD is not your schema, I still submit that the proper
> RNC representation of a mixed content model from which all elements have
> been excluded is by use of the keyword text, not anyType.
>
I don't follow you. The RNC does use "text".
simpleLiteral = text
Only in the XSD does anyType appear.
Cheers
Rick Jelliffe
-- DSDL members discussion list To unsubscribe, please send a message with the command "unsubscribe" to dsdl-discuss-request@dsdl.org (mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)Received on Mon Aug 21 09:18:20 2006
This archive was generated by hypermail 2.1.8 : Sat Aug 26 2006 - 00:33:06 UTC