Re: [xml-dev] MicroXML

From
Dave Pawson <>
To
xml-dev <>
Date
2010-12-13T11:42:02Z
ID
<20101213114202.727195e7@marge3>
Thread
Re: [xml-dev] MicroXML
On Mon, 13 Dec 2010 17:29:14 +0700
James Clark <> wrote:

> I can definitely see advantages in this option.  I would summarise it
> as:
> 
> - no colons in element or attribute names,
> - except that attribute names can start with "xml:";

What do you lose if you omit this?
reserved xml: xxx ? Use full XML 1.0 (no longer micro?)
What you gain, simpler parse, no exceptions for the learner?


> - there's nothing to stop you having an attribute called "xmlns", but
> MicroXML will treat it just like any other attribute

I.e. no exceptions, simplicity. A plus IMHO


> 
> Big upside: guaranteed to be namespace well-formed; simpler.
> 
> Big downside: some XML infosets cannot be expressed.

If you want that, go use XML 1.0 


> 
> I would be interested to know whether others also find this option
> preferable.

Lose the exception for me James. 
Too little gain for more awkwardness.



-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk