W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2009

[Bug 6559] [XPath] PI name test must require string literals that satisfy NCName rules

From: <bugzilla@wiggum.w3.org>
Date: Wed, 18 Mar 2009 09:29:34 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Ljs5e-0005w2-V2@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6559





--- Comment #8 from Jonathan Robie <jonathan.robie@redhat.com>  2009-03-18 09:29:34 ---
This fixes the problem:

processing-instruction(N) matches any processing-instruction node whose name
(called its "PITarget" in XML) is equal to fn:normalize-space(N), which must be
an NCName.

It can be made less awkward by referring to the target property from our data
model:

processing-instruction(N) matches any processing-instruction node whose target
property is equal to fn:normalize-space(N), which must be an NCName.


-- 
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 Wednesday, 18 March 2009 09:29:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:56 GMT