W3C home > Mailing lists > Public > www-tag@w3.org > July 2005

Re: Potential new TAG issue: Numeric LocalPart of QName held in attribute value

From: Roy T. Fielding <fielding@gbiv.com>
Date: Tue, 19 Jul 2005 07:34:53 -0700
Message-Id: <aaafe0ca7fd957969205309313cb315d@gbiv.com>
Cc: www-tag@w3.org
To: Misha Wolf <Misha.Wolf@reuters.com>

> the WG has decided to use QNames in attribute values to represent
> terms used as News metadata.

The only time that qnames should ever be used in content is while
describing XML tree manipulation actions for an XML parser.  Use
of qnames for anything other than that is extremely poor design
because they don't have a defined mapping outside of XML parsing.
Qnames in attributes should be explicitly forbidden by the W3C
outside of stylesheets and XSLT.

Use URIs.  If you need short names, then define short URIs
or a single base URI that encompasses all of those naming
schemes using relative identifiers.

....Roy
Received on Tuesday, 19 July 2005 14:34:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:36 GMT