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

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 UTC