[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Another errata?
At 04:39 PM 1/29/99 -0500, Adam M Donahue wrote: >5.3 Uniqueness of Attributes > >"no tag may contain two attributes" > >Is "element" intended instead of tag? No, not at all. Tag is exactly what's meant. E.g., in <a foo:bar='1'><b foo:bar='2' /> </a> then the "a" element arguably contains two foo:bar attributes; but the a element's start tag contains only one, so everything's OK. >Another question. Default namespaces do not apply directly to attributes >according to the specification. So if I have: > ><html xmlns="http://namespaceplace.com/html.dtd"> ><body bgcolor="#ffffff"> ></body> ></html> > >then body is part of the http://namespaceplace.com/html.dtd namespace, but >its attribute bgcolor is not? (bgcolor belongs to no namespace) That is correct. This is kind of like Euclid's 5th axiom; you get a consistent world-view either way, but this way on balance seems to cause fewer problems. -Tim xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|