W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2011

[Bug 13935] xsd 1.1 assertions testing comment nodes

From: <bugzilla@jessica.w3.org>
Date: Tue, 01 Nov 2011 08:35:20 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1RL9oW-0002S2-US@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13935

--- Comment #11 from Michael Kay <mike@saxonica.com> 2011-11-01 08:35:18 UTC ---
Perhaps an acceptable way forward would be:

By default, comments and processing instructions are excluded from the XDM
instance presented to the XPath assertion (and text nodes that thereby become
adjacent are merged). Processors MAY provide a user option to retain comments
and processing instruction so that assertions can examine their contents or
test for their presence or absence.

Note: I'm not swayed by arguments that different implementors have interpreted
the draft spec differently. We need to do what is right for users.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 1 November 2011 08:35:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 November 2011 08:35:26 GMT