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 10:40:42 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1RLBlq-0007CG-8W@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13935

--- Comment #12 from Pete Cordell <petexmldev@codalogic.com> 2011-11-01 10:40:37 UTC ---
(In reply to comment #11)
> 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.

Michael's suggestion works for me.

-- 
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 10:40:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 November 2011 10:40:48 GMT