unescape-markup and @namespace

Consider:

<p:unescape-markup namespace="http://example.com/ns/">
  <p:input port="source">
    <p:inline>
      <doc>&lt;content&gt;&lt;?pi?&gt;was escaped&lt;/content&gt;</doc>
    </p:inline>
  </p:input>
</p:unescape-markup>

What does this produce?

<doc xmlns="http://example.com/ns/"><content><?pi?>was escaped</content></doc>

Effectively renaming the root element, or is the root element supposed
to get a prefix? If it's supposed to get a prefix, what if it was in
no-namespace?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | A man can believe a considerable deal
http://nwalsh.com/            | of rubbish, and yet go about his daily
                              | work in a rational and cheerful
                              | manner.--Norman Douglas

Received on Thursday, 22 May 2008 16:05:20 UTC