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: Wed, 13 Aug 2008 11:58:11 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870C304AE0@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-wg@w3.org>

> 
>   <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? If I had a pipeline
like this:

<p:pipeline exclude-inline-prefixes="#all">
   ....
    <p:group xmlns:d="my-new-namespace">
       ....
        <p:inline>
           <root name="c:the-third-letter-in-alphabet"/>
        </p:inline>
        <p:inline>
           <root name="d:the-fourth-letter-in-alphabet"/>
        </p:inline>
        ....
    </p:group>
    ....
</p:pipeline>

I would be badly surprised if I got something like this as the result: 

<root name="c:the-third-letter-in-alphabet"/>
<root xmlns:d="my-new-namespace"
name="d:the-fourth-letter-in-alphabet"/>


Regards,
Vojtech
Received on Wednesday, 13 August 2008 15:58:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 13 August 2008 15:59:00 GMT