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

unescape-markup and @namespace

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 22 May 2008 12:04:41 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2zlqi5nqe.fsf@nwalsh.com>

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

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

                                        Be seeing you,

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:46 UTC