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

Re: hackable xml

  • From: Andrew Welch <andrew.j.welch@gmail.com>
  • To: David Carlisle <davidc@nag.co.uk>
  • Date: Mon, 26 Jul 2010 13:26:04 +0100

Re:  hackable xml
On 26 July 2010 12:19, David Carlisle <davidc@nag.co.uk> wrote:
> On 26/07/2010 12:08, Andrew Welch wrote:
>> 5. Lone inbuilt entites such as "&" in the lexical XML are
>> automatically parsed as&amp; and not an error (#2 above might enable
>> this). Same goes for a lone "<".
> why this? With it it means that the resulting files are not XML, so the new
> format couldn't use the various xml processing tools unles sthey allow a
> custom parser to be provided, in which case you don't need a new format, you
> could presumably hook up a json 9or html5) parser that reported xml sax
> events.

I thought about that, and it was dependent on the crucial namespace
decision, which if it was the "significant prefix" option would break
compatibility with existing parsers anyway.  I did group 1 to 4 as
implementable now using a "style guide", and 5 and 6 as requiring new
parsers/serialisers, but then removed it to keep it simple... oh well.

For this one, the goal is to avoid a lone "& " breaking the parse, as
that's a common problem which may well be avoidable if non-inbuilt
entity refs are dopped... I don't know if that possible or not, its
not that significant.

> Without it, it's a variant in the usual simplifications going back to sml
> (if not before) the usual reason that nothing actually happens is that while
> it's easy to agree that a simplification would be good, it's a lot harder to
> agree on the details 9as this message shows:-)

Googling "SML" shows it was over 10 years ago!


It does seem overly concerned about attributes for some reason,
probably because namespaces hadn't been invented at that point?

Either way, 10 years down the line the shine has worn off XML and
opinions will have changed.  There is a definite need for this, and
everyone's lives would be a little easier if it happened.

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

[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.