Re: Micro XSD for Micro XML?
> 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 <email@example.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]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format