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

exclude-inline-prefixes - #default

From: <Toman_Vojtech@emc.com>
Date: Wed, 10 Dec 2008 07:41:00 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870DBC1229@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

Sorry that I keep asking again and again about
exclude-inline-prefixes... But what is the true meaning of the value
#default in exclude-inline-prefixes?

I thought that when the processor encounters #default, it collects all
prefixes that are bound to the default namespace URI at that moment.
Later, in p:inline, these prefixes will be excluded in the inline
content. (Some of these prefixes may appear in the content if they are
used there, or if they were rebound to some different namespace URI.)

But...  The test exclude-inline-prefixes-003 expects a different

    <p:input port="source" xmlns="http://example.com/ns/test">
      <p:inline exclude-inline-prefixes="#default"><doc/></p:inline>

The test is expected to return: <doc/>. That is, it "lifts" the document
from the default namespace.

Is this really what #default means?

Received on Wednesday, 10 December 2008 12:41:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:26 UTC