W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2012

Re: p:unescape-markup and namespaces

From: Romain Deltour <rdeltour@gmail.com>
Date: Wed, 26 Sep 2012 11:07:52 +0200
Message-Id: <E567FE42-07FE-4217-BF2B-C08090D28778@gmail.com>
To: xproc-dev@w3.org
My literal understanding of the spec is that it's not supposed to work, because it does not seem that the document namespaces are in-scope when parsing the string value.

But it might need to be fixed or made more explicit, with an improved prose on what is considered in-scope namespaces.

Romain.

On 26 sept. 2012, at 10:45, "Toman, Vojtech" <vojtech.toman@emc.com> wrote:

> Hi all,
> 
> Is the following supposed to work, or not?
> 
> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
>  <p:output port="result"/>
>  <p:unescape-markup>
>    <p:input port="source">
>      <p:inline>
>        <doc xmlns:foo="http://www.example.org">
>          &lt;foo:bar/>
>        </doc>
>      </p:inline>
>    </p:input>
>  </p:unescape-markup>
> </p:declare-step>
> 
> 
> Regards,
> Vojtech
> 
> --
> Vojtech Toman
> Consultant Software Engineer
> EMC | Information Intelligence Group
> vojtech.toman@emc.com
> http://developer.emc.com/xmltech
> 
> 
Received on Wednesday, 26 September 2012 09:08:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 26 September 2012 09:08:27 GMT