- From: Glenn Marcy <gmarcy@us.ibm.com>
- Date: Wed, 19 Oct 2005 10:20:29 -0400
- To: public-xml-core-wg@w3.org
- Message-ID: <OF6B120D09.D14BFD54-ON8525709F.004CC85B-8525709F.004EC8C9@us.ibm.com>
> 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