Re: exclude-inline-prefixes question

"Toman_Vojtech@emc.com" <Toman_Vojtech@emc.com> writes:

> I am not sure that the tests exclude-inline-prefixes #006 and #007 are
> actually correct. For example, this is what the test #006 does:
>
> <p:identity>
>   <p:input port="source" xmlns:test="http://www.test.com">
>     <p:inline exclude-inline-prefixes="test"><test:doc/></p:inline>
>   </p:input>
> </p:identity>
>
> The test expects this to succeed, but because the namespace bound to
> "test" is explicitly excluded, shouldn't the processor fail when it
> encounters <test:doc/>?
>
> If this is indeed the case and the processor should fail, what error
> should it report? 
>
> (Sorry if I just got confused.)

No, but it's easy to get confused. The exclude-result-prefixes behavior
can only exclude namespaces that aren't actually used.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Unless one is a genius, it is best to
http://nwalsh.com/            | aim at being intelligible.--Anthony Hope

Received on Tuesday, 10 November 2009 16:19:16 UTC