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

RE: exclude-inline-prefixes or ignore-inline-prefixes?

From: <Toman_Vojtech@emc.com>
Date: Thu, 14 Aug 2008 03:51:54 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870C304ECA@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-wg@w3.org>

> 
> / Toman_Vojtech@emc.com was heard to say:
> |> 
> |>   <p:pipeline exclude-inline-prefixes="#all">
> |>      ....
> |>       <p:group xmlns:d="my-new-namespace">
> |>          ....
> |>           <p:inline>
> |>              <root name="d:foo"/>
> |>           </p:inline>
> |>           ....
> |>       </p:group>
> |>       ....
> |>   </p:pipeline>
> |> 
> |> Would produce:
> |> 
> |>   <root xmlns:d="my-new-namespace" name="d:foo"/>
> |> 
> |
> | I am sorry if I don't see something, but how can this be 
> so? How can the
> | XProc processor know (without a schema information) that 
> the value of
> | root/@name is a QName and not just a literal string?
> 
> It doesn't know anything about the value or its type. The example is a
> little confusing because it attempts to illustrate the case where the
> excluding namespaces (a) hurts and (b) isn't corrected by namespace
> fixup.
> 

I am sorry, I just misunderstood the original example and thought it was
doing more than it was supposed to... The examples are clear enough to
me now.

Regards,
Vojech
Received on Thursday, 14 August 2008 07:52:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 August 2008 07:52:44 GMT