Re: Towards XML 2.0
On Sat, Dec 4, 2010 at 8:59 AM, Pete Cordell <firstname.lastname@example.org> 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 '&', '>', '<', '&apos', and '"' 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 email@example.com
[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