- From: Richard Tobin <richard@cogsci.ed.ac.uk>
- Date: Tue, 23 Jul 2002 13:49:26 +0100 (BST)
- To: xml-names-editor@w3.org
- Cc: heikki@netscape.com (Heikki Toivonen)
>In Section 4 Using Qualified Names there is a new sentence that reads:
>"Furthermore, the attribute value in the innermost such declaration must
>not be empty." This does not make sense to me; to a parser the current
>element is always the innermost element.
The current element is the innermost *element*, it may not have the
innermost *declaration*. The innermost declaration may not be (in
fact, usually isn't) on the current element. For example, this would
be legal:
<foo xmlns:p="http://example.org">
<bar xmlns:p="http://ebcdic.net">
<p:baz ...
because when resolving the p prefix on p:baz, the innermost declaration
of p has a non-empty attribute value http://ebcdic.net.
But this would be illegal:
<foo xmlns:p="http://example.org">
<bar xmlns:p="">
<p:baz ...
because the innermost declaration of p has an empty attribute value.
-- Richard
Received on Tuesday, 23 July 2002 08:49:31 UTC