[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Micro XSD for Micro XML?
- From: Stephen Green <stephengreenubl@gmail.com>
- To: Olivier Rossel <olivier.rossel@gmail.com>
- Date: Fri, 17 Dec 2010 16:16:22 +0000
> I cannot live without groups and references in my RelaxNG.
>
>
..
> We *always* consider elements to be ordered
> Why not simply discard the concept of unordered array for an attribute?
I kind of think +1 on both counts
It seems a necessary evil to include global elements. I like
the idea of an ordered array datatype for attribute values so
that could be called 'sequence' and added to the datatypes
string | integer | decimal | date | sequence
It could be called 'array' but then it would rely on people
reading the spec to find out that it was ordered and many
developers would expect to be able to learn the 'language'
just by looking at the vocabulary ('self-describing').
----
Stephen D Green
On 17 December 2010 15:56, Olivier Rossel <olivier.rossel@gmail.com> wrote:
>> 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?
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]