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

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

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 7 Aug 2008 15:08:40 +0200
Message-ID: <546c6c1c0808070608x17eaed56p2918d494b455c96c@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

Norm,

Thanks for this example, it is better than mine

On Thu, Aug 7, 2008 at 2:29 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> Note, however, that this might be a problem:
>
>  <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>
>
> Namespace fixup won't "see" the use of d:foo in an attribute *value*
> as significant. So you'll get
>
>  <root name="d:foo"/>
>
> and if you needed the binding for d:, you're hosed.


Correct me if I'm wrong, but the way you write it just now

[[
The value #all indicates that all namespaces that are in scope for the
element on which exclude-inline-prefixes occurs are designated as
excluded namespaces.
]]

means that d: **is** in scope of p:inline since "#all" applied to p:pipeline

Is my interpretation correct ?

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Thursday, 7 August 2008 13:09:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 7 August 2008 13:09:17 GMT