- To: xml-dev@l...
- Subject: Default namespace for attributes?
- From: "Mukul Gandhi" <gandhi.mukul@g...>
- Date: Sat, 15 Jul 2006 22:35:25 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YQ03ri64yhnIOMhLOWU7rXfbf8xOcpOOB+Km0JCPQg+v0uSaha/2eZ3Jbb3q8rgLglMGGLvgmQXvqyG1baIAQ6S/eqRszJ4gMK9tK3Q88EV8IW4CtgtVbL6V8ZauzNskdAEmO/LwqfDo67gnpuelHoRP/hKNK6vD7yFYHOzXyA8=
The XML Namespaces Recommendation says that the default namespace
applies only to elements, and not to attribues
(http://www.w3.org/TR/REC-xml-names/#defaulting).
i.e. an unprefixed attribute name will always be in the null namespace.
I am curious to know why this is so?
Regards,
Mukul
|