- From: Garret Wilson <garret@globalmentor.com>
- Date: Thu, 21 Dec 2000 11:04:15 -0800
- To: "John Cowan" <jcowan@reutershealth.com>
- Cc: "Gareth Reakes" <gareth@decisionsoft.com>, "www-dom list" <www-dom@w3.org>, <rayw@netscape.com>
John,
----- Original Message -----
From: "John Cowan" <jcowan@reutershealth.com>
> > This seems to be saying that the <book> "title" attribute takes on
> > the default namespace of "book".
>
> Yes, but you have to understand what that means. It means that
> "title" belongs to the "book" element-specific partition of the
> "urn:com:books-r-us" namespace.
I guess my question can be simply put thus: In the example (reproduced
below), for the <book> "title" attribute (5), should a DOM Level 2
implementation return "urn:com:books-r-us" as a namespace URI, or null?
<!-- 1 --> <section xmlns='urn:com:books-r-us'>
<!-- 2 --> <title>Book-Signing Event</title>
<!-- 3 --> <signing>
<!-- 4 --> <author title="Mr" name="Vikram Seth" />
<!-- 5 --> <book title="A Suitable Boy" price="$22.95" />
</signing>
</section>
Garret
Received on Thursday, 21 December 2000 14:06:12 UTC