OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Another errata?

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: Adam M Donahue <amd0978@acf3.nyu.edu>, xml-dev@ic.ac.uk
  • Date: Fri, 29 Jan 1999 14:04:31 -0800

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS