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

pipeline library

From: Rui Lopes <rlopes@di.fc.ul.pt>
Date: Fri, 21 Sep 2007 11:35:05 +0100
Message-ID: <46F39E59.20600@di.fc.ul.pt>
To: XMLProc List <public-xml-processing-model-wg@w3.org>

All,

A while ago we have discussed a bit about adding an attribute to specify 
pipeline defaulting on pipeline libraries, similarly to make and Ant's 
target defaulting. But I guess it has been forgotten since.

Adding this attribute to p:pipeline-library would allow for directly 
running pipeline libraries without specifying the initial pipeline to be 
run, a nice feature for self contained XProc-based applications and 
automation scripts (both XProc usages that must not be taken into account).

This feature isn't cumbersome to implement, easy to understand from 
author's point of view, and has a minimal impact on the spec.

I propose an attribute @default, as an NCName (in consonance with 
p:pipeline's @name), or QName (in consonance with p:pipeline's @type).

To prevent ambiguity, if a pipeline library imports other libraries and 
if it defines its default pipeline, it will shadow all of the imported 
libraries' @default attributes.


Thoughts?


Cheers,
Rui
Received on Friday, 21 September 2007 10:37:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT