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

Re: V.next: resource manager

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 05 Jan 2012 16:26:50 +0000
To: Norman Walsh <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org
Message-ID: <f5behvektdh.fsf@calexico.inf.ed.ac.uk>
Norman Walsh writes:

> "Henry S. Thompson" <ht@inf.ed.ac.uk> writes:
>> p:uri-scope is a new compound step, with content model something like
>>
>>  ((map-uri|map-public|map-...)* subpipeline)
>
> How does this work if the mapping isn't known statically? I had in mind
> something like
>
>   <p:uri-scope>
>     <p:input port="catalog">
>       ...
>     </p:input>
>
>     ...
>   </p:uri-scope>

Yup, that works too -- just take input of the form

 <c:catalog>
  <c:map-uri from="" to=""/>
  . . .
 </c:catalog>

and make some arbitrary decision about precedence in case of 'from'
clashes. . .

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
Received on Thursday, 5 January 2012 16:29:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 January 2012 16:29:45 GMT