Re: [xml-dev] Micro XSD for Micro XML?

From
Olivier Rossel <>
To
Date
2010-12-17T15:56:57Z
ID
<AANLkTikZgebE=>
Thread
Re: [xml-dev] Micro XSD for Micro XML?
> Maybe a '@ref' attribute on element is still necessary.
> I can't yet imagine how an 'element' element would be
> defined as recursive without being global and referenced
> within itself.

I cannot live without groups and references in my RelaxNG.


> There might need to be attributes for cardinality added
> too. Plus I remember my own arguments for allowing
> datatypes to be defined as either ordered or unordered
> arrays to compete with JSON.

We *always* consider elements to be ordered
Why not simply discard the concept of unordered array for an attribute?