[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: 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

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 <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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.