XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] giving xml a colonic: re-opening (or re-opining on)an old argument

Amelia A Lewis scripsit:

> Some proposed best practices for a namespaces-light set of XML schemas >
and instances: no QNames in content. No prefixed elements (change the >
mapping of the default prefix: xmlns=).  When foreign attributes are >
used, define the prefix mapping in the same element (xmlns:prefix= >
wherever prefix:name= appears).

MicroXML doesn't allow prefixed elements, only prefixed attributes.
But more to the point, namespaces are specified by ordinary attributes,
and if you move an element around (for example) its namespace may change.
This is part of the simplification of the data model to:

        A tree of elements, each of which has a name (a string), an
        attribute map (a map of strings to strings), and a list of
        children (either elements or strings).

-- 
He played King Lear as though           John Cowan <cowan@ccil.org>
someone had played the ace.             http://www.ccil.org/~cowan
        --Eugene Field


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS