Re: p:unescape-markup and namespaces

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 UTC