W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > January 2008

p:viewport cannot match PI or Comments

From: Innovimax SARL <innovimax@gmail.com>
Date: Sat, 26 Jan 2008 00:45:51 +0100
Message-ID: <546c6c1c0801251545pba5bbcdra3d53e08f7f8dd32@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>
Dear,

In

[[
The match attribute specifies an XSLT match pattern. Each matching node in
the source document is wrapped in a document node and provided, one at a
time, to the viewport's subpipeline on a port named current. It is a dynamic
error (err:XD0010) if the match expression on p:viewport **matches an
attribute node**.
]]

it will be better to say instead of "matches an attribute node", "doesn't
match an element" (since it is wrapped into a document node PI and comment
are not usable as is)

I have mixed feeling about this, but I fear we will anyway loose the ability
to match PI or Comments

Mohamed
-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Friday, 25 January 2008 23:45:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 January 2008 23:46:00 GMT