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

Re: Quirks in code fragment of 5.7.5 Namespaces on variables, options, and parameters

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 21 Aug 2008 07:05:02 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2iqtu1vdt.fsf@nwalsh.com>
/ "Innovimax SARL" <innovimax@gmail.com> was heard to say:
| Well
|
| In fact, I have more than one trouble with this code fragment
|
| <ex:delete-in-div xmlns:p="http://www.w3.org/ns/xproc"
| xmlns:ex="http://www.example.org/xproc-extensions">
|   <p:with-option name="divchild" select="html:p[@class='delete']"
|                  xmlns:html="http://www.w3.org/1999/xhtml"/>
| </ex:delete-in-div>
|
| Apart from the binding of the "ex" prefix
|
| Doesn't be the content of the select attribute be double quotted ?
|
| Am I right in proposing to write it, the following way ?
|
| <!-- prefix p should be already bound at this point -->
| <ex:delete-in-div xmlns:ex="http://example.org/ns/ex"
| divchild="html:p[@class='delete']"
|                  xmlns:html="http://www.w3.org/1999/xhtml"/>

Yes. Good catch! Fixed.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Greatness of soul is never apparent,
http://nwalsh.com/            | for it conceals itself; a little
                              | originality is usually all that shows.
                              | Greatness of soul is more frequent than
                              | one would suppose.-- Stendhal

Received on Thursday, 21 August 2008 11:05:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 21 August 2008 11:05:53 GMT