Re: [xml-dev] [ANNOUNCE] New MicroXML draft available

From
John Cowan <>
To
Pete Cordell <>
Date
2011-07-14T17:50:58Z
ID
<>
Thread
Re: [xml-dev] [ANNOUNCE] New MicroXML draft available
Pete Cordell scripsit:

> So, if you had the two documents:
>
> <book foo:author="John" xmlns:foo="http://example.com/book"/>
>
> and:
>
> <book bar:author="John" xmlns:bar="http://example.com/book"/>
>
> are they considered the same?

In the MicroXML data model they are different.

> What part does the MicroXML parser play in this interpretation, and
> what part the application?

An application MAY choose to consider them the same.  If it uses
Element.getAttributeNamespace or some analogue, it's easy to do so.

-- 
John Cowan     http://ccil.org/~cowan
Assent may be registered by a signature, a handshake, or a click of a computer
mouse transmitted across the invisible ether of the Internet. Formality
is not a requisite; any sign, symbol or action, or even willful inaction,
as long as it is unequivocally referable to the promise, may create a contract.
       --Specht v. Netscape