Re: Agenda for XML Core WG telcon of 2005 Oct 19

> ACTION to Glenn:  Email to the XML Core WG list the
> existing paragraph (regarding the bogus inheritance
> of xml:* attributes) and the suggested new wording.


The current wording in Section 2.4 Document Subsets is:

The processing of an element node E MUST be modified slightly when an
XPath node-set is given as input and the element's parent is omitted
from the node-set. The method for processing the attribute axis of an
element E in the node-set is enhanced. All element nodes along E's
ancestor axis are examined for nearest occurrences of attributes in
the xml namespace, such as xml:lang and xml:space (whether or not they
are in the node-set). From this list of attributes, remove any that are
in E's attribute axis (whether or not they are in the node-set). Then,
lexicographically merge this attribute list with the nodes of E's
attribute axis that are in the node-set. The result of visiting the
attribute axis is computed by processing the attribute nodes in this
merged attribute list.

Perhaps instead it could be:

The processing of an element node E MUST be modified slightly when an
XPath node-set is given as input and the element's parent is omitted
from the node-set. The method for processing the attribute axis of an
element E in the node-set is enhanced. All element nodes along E's
ancestor axis are examined for nearest occurrences of attributes in
the xml namespace defined as "scoped", such as xml:lang and xml:space
(whether or not they are in the node-set). From this list of attributes,
remove any that are in E's attribute axis (whether or not they are
in the node-set). Then, lexicographically merge this attribute list
with the nodes of E's attribute axis that are in the node-set. The
result of visiting the attribute axis is computed by processing the
attribute nodes in this merged attribute list.

Q1: Does the fact that there are "non-scoped" attributes in the xml
    namespace need to be mentioned explicitly?

Q2: Does the potential, however small, of future "scoped" attributes
    need to be mentioned explicitly?

Regards,

Glenn

Received on Wednesday, 19 October 2005 14:20:45 UTC