W3C home > Mailing lists > Public > www-html@w3.org > July 2001

RE: On id and name attributes

From: Piers Williams <PiersW@zinc.co.uk>
Date: Tue, 17 Jul 2001 14:47:04 +0100
Message-ID: <43EE231FE878D4118B0B00062939A44E2AF3D3@MERCURY>
To: www-html@w3.org


> -----Original Message-----
> From: JeanMichel.Leclercq@electrabel.com
> >No. Each form has its own namespace for control names, and each
> >applet has its own scope for parameters.
> >
> 
> I don't agree with that.
>
> A form does not have a namespace. A form is in a namespace. 
> Instead, a form
> has a scope.

Lets not get confused with different usage of the word namespace, nor
_whatever_ namespace the FORM is in (HTML, yes, but that's not the point).

What is being discussed is that the names of controls on a form only have to
be unique within the form. This - in any non-XML sense - would be described
as the control names occupying a 'namespace' occupied only by controls on
this form.

> In the XML glossary, a namespace is related to a dtd via an 
> URI. Then, we
> say that the form element is in the HTML namespace (it can be 
> in another

Also DTD's are not a pre-requisite for XML namespaces. An XML namespace on
its own only serves to prevent namespace-collision for tags within an XML
document (by linking a prefix to a unique identifier - the namespace). Some
namespaces may not have a defined DTD (or Schema).
Received on Tuesday, 17 July 2001 09:47:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT