- From: John Cowan <jcowan@reutershealth.com>
- Date: Thu, 21 Dec 2000 13:42:57 -0500
- To: Garret Wilson <garret@globalmentor.com>
- CC: Gareth Reakes <gareth@decisionsoft.com>, rayw@xmission.com, www-dom list <www-dom@w3.org>
Garret Wilson wrote: > 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. > Is the example incorrect, > and each attribute should be prefixed by "xsd:"? No. The point of prefixed attributes is so that applications can recognize them by their namespaces in any sort of element, whether the element belongs to the namespace or not. An element belonging to a well-known namespace need not have separately recognizable attributes. -- There is / one art || John Cowan <jcowan@reutershealth.com> no more / no less || http://www.reutershealth.com to do / all things || http://www.ccil.org/~cowan with art- / lessness \\ -- Piet Hein > > attribute of <xsd:element> be validated to the definition of the > schema for namespace http://www.w3.org/2000/08/XMLSchema ? Is the > example incorrect, and each attribute should be prefixed by "xsd:"? > > I imagine I'm missing something simple here. > > Thanks, > > Garret -- There is / one art || John Cowan <jcowan@reutershealth.com> no more / no less || http://www.reutershealth.com to do / all things || http://www.ccil.org/~cowan with art- / lessness \\ -- Piet Hein
Received on Thursday, 21 December 2000 13:44:37 UTC