Re: [xml-dev] MicroXML

From
James Clark <>
To
Dave Pawson <>
Date
2010-12-13T12:39:55Z
ID
<AANLkTi=>
Thread
Re: [xml-dev] MicroXML


On Mon, Dec 13, 2010 at 6:42 PM, Dave Pawson <[email protected]> wrote:
On Mon, 13 Dec 2010 17:29:14 +0700
James Clark <[email protected]> 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 ?


I think it's a basic requirement to be able to use the built-in xml:lang, xml:id, xml:base attributes.  Note that XML already reserves element/attribute names starting with [Xx][Mm][Ll]. I would say it's nice feature that these built-in attribute names look different from normal attribute names.  I see no awkwardness and no difficult for the learner.

James
 
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

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php