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

Re: Towards XML 2.0

  • From: Elliotte Rusty Harold <elharo@ibiblio.org>
  • To: Pete Cordell <petexmldev@codalogic.com>
  • Date: Sat, 4 Dec 2010 09:09:49 -0500

Re:  Towards XML 2.0
On Sat, Dec 4, 2010 at 8:59 AM, Pete Cordell <petexmldev@codalogic.com> wrote:
> I added the following comments on Elliotte's proposal (I'm not sure where
> the best place for such a discussion is):

My plan is that people who are interested in this and in basic
agreement with the goals will self-nominate, and then we'll set up a
group somewhere to discuss quietly.

> In the area of entities, the choice of '&' as the escape character seems
> very unfortunate.  It's too late to change this, but I think the character
> sequences '&amp;', '&gt;', '&lt;', '&apos', and '&quot;' should cause the
> replacement they currently do, but any other sequence following an '&'
> character should have no special meaning.  Thus, if you type '& then', your
> parser returns '& then' rather than an error.

That would violate backwards compatibility.

> _Data Structures and Types_
> I like the idea of xml:type, but I think it's only required for complex
> types when mirroring the functionality of polymorphism.  It's not required
> for simple types.  If an application doesn't know what an 'X' is, then
> knowing that it is an 'int' is not really going to help it.

The advantage here would be in enabling cleaner APIs. I.e. JSON has
taught us that developers want this.

> I think the XML 2.0 spec should have a 'Compatibility' section in it that
> says if you want your XML 2.0 document to be valid XML 1.0, then take note
> of the following ... .  One of the things it would mention is comments.

That's certainly worth considering. Perhaps there should be two
levels? a basic level with no XML declaration that is XML 1.0
compatible, and a level with <?xml version='2.0'> that is not?

Elliotte Rusty Harold

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.
First Name
Last Name
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.