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

Re: p:www-form-urlencode should be able to keep string value matched

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 24 Apr 2008 16:25:25 +0200
Message-ID: <546c6c1c0804240725q3273c87an62e2d84eb810baf2@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org
Sorry, that was not exactly my point

I was thinking of something like "http://www.example.com/application"
which could be concatenated to "?foo=1&bar=2" because parameters has two
parameter foo and bar defined

Am I right, or do I misunderstand that

May there should be an example of what is the expected result

Regards,

Mohamed

On Thu, Apr 24, 2008 at 1:50 PM, Norman Walsh <ndw@nwalsh.com> wrote:

> / Innovimax SARL <innovimax@gmail.com> was heard to say:
> |  In 7.2.8 p:www-form-urlencode
> | Please add the possibility that the string value of the matched node
> could
> | be kept and concatenated to the generated string may be as an option
> | If not you should provide at least at static prefix as p:option
>
> Uhm. What value is a random bit of string before or after a set of
> url-encoded parameters. It's either going to mangle the name of the
> first key or the value of the last.
>
> I suppose we could add an encode-content option:
>
>  <p:option name="encode-content"/>  <!-- xs:string -->
>
> And say that it provides the name of the key to use for the content.
> So if you say <p:www-form-urlencode encode-content="foo">... then
> the string value of the matched node is used, "&foo=stringvalue", in
> the encoded result.
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | I don't make predictions. I never have
> http://nwalsh.com/            | and I never will.--Tony Blair
>



-- 
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 Thursday, 24 April 2008 14:26:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 April 2008 14:26:05 GMT