Re: Names beginning with "xml"

David Lee scripsit:

> To get close to achieving the new goal of some reasonable attempt at a
> data model compatibility, we need to define the relationship between
> uXML Names and XML(+NS) QNames. The simpliest in my mind is to ban
> colons and make uXML Name == XML+NS QName.Localname

Things should be as simple as possible, but no simpler.

> Why is it so important to complicate the spec to allow xml: in
> attributes if we assign no semantics to it ?

The level of complication is trivial: a rule that says

        attribute-name :== element-name | "xml:" element-name

is all you need.  And that way, MicroXML users need not invent new
conventions for element identification, language identification,
whitespace control, and base URI specification.

-- 
John Cowan      cowan@ccil.org         http://www.ccil.org/~cowan
Statistics don't help a great deal in making important decisions.
Most people have more than the average number of feet, but I'm not about
to start a company selling shoes in threes. --Ross Gardler

Received on Thursday, 16 August 2012 18:21:02 UTC