exclude-inline-prefixes - #default

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
behavior:

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

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

Is this really what #default means?

Regards,
Vojtech

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