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

Re: exclude-inline-prefixes question

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 10 Nov 2009 11:18:43 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m27htyz730.fsf@nwalsh.com>
"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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 10 November 2009 16:19:16 GMT