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: Innovimax SARL <innovimax@gmail.com>
Date: Wed, 20 Aug 2008 23:43:03 +0200
Message-ID: <546c6c1c0808201443s31d3ef3ai21d498a7293ab255@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

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"/>

 Mohamed

On Wed, Aug 20, 2008 at 9:31 PM, Innovimax SARL <innovimax@gmail.com> wrote:
> in the second code fragment, the prefix "ex" is binded to
> "http://example.org/ns/ex"
> in the third code fragment, the prefix "ex" is binded to
> "http://www.example.org/xproc-extensions"
> in the 4th and 5th, it is back again to "http://example.org/ns/ex"
>
> 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 
>



-- 
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 Wednesday, 20 August 2008 21:43:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 August 2008 21:43:40 GMT