- From: Garret Wilson <garret@globalmentor.com>
- Date: Thu, 21 Dec 2000 11:00:23 -0800
- To: "Ray Whitmer" <rayw@netscape.com>
- Cc: "Gareth Reakes" <gareth@decisionsoft.com>, "www-dom list" <www-dom@w3.org>
Ray, ----- Original Message ----- From: "Ray Whitmer" <rayw@netscape.com> > > That almost seems straightfoward, until one reads the first example of > > "Namespaces in XML", "A.3 Expanded Element Types and Attribute Names": > > > > <!-- 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> > > > > The document claims that the names would expand so that: > > > > 5 title <ExpAName name='title' eltype="book" elns="urn:com:books-r-us" /> > > > > This seems to be saying that the <book> "title" attribute takes on the > > default namespace of "book". > > Unless I am missing something here, title is clearly an element, not an > attribute, which makes it participate in the default namespace. You're looking at title (2), not title (5). Garret
Received on Thursday, 21 December 2000 14:01:02 UTC