W3C home > Mailing lists > Public > www-svg@w3.org > March 2002

RE: An invalid example in SVG 1.0 Spec. - Chapter 17.1

From: Simon St.Laurent <simonstl@simonstl.com>
Date: 13 Mar 2002 21:27:30 -0500
To: Stuart Celarier <stuart@ferncrk.com>
Cc: www-svg@w3.org
Message-Id: <1016072851.25708.13.camel@localhost.localdomain>
On Wed, 2002-03-13 at 13:26, Stuart Celarier wrote:
> No DTD can ever specify xmlns:link as the
> name of an attribute (a name cannot begin with "xml" and cannot contain
> a colon).

Neither of those statements is true.  DTDs can specify attributes whose
names begin with xml (and it is in fact required to validate documents
containing xml:space and xml:lang attributes).  The creation of such
names is reserved to XML specifications, but that has no impact on DTDs
including such names.
 
Similarly, XML 1.0 permits the use of colons, even multiple colons, in
names.  Namespaces in XML restricts the use of colons to single colons
in names, used only as a separator between namespace prefixes and local
names.

While DTDs may not be smart about how namespaces work, they're perfectly
capable of defining the parts namespaces use to get their work done.

As Dean noted, the issue rates an erratum.

-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com
Received on Wednesday, 13 March 2002 20:22:46 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:21 GMT