[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <cowan@m...>
  • To: Pete Cordell <petexmldev@c...>
  • Date: Thu, 14 Jul 2011 13:50:58 -0400

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  cowan@c...   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


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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member