- From: <Toman_Vojtech@emc.com>
- Date: Mon, 19 May 2008 06:15:19 -0400
- To: <public-xml-processing-model-wg@w3.org>
Hi all, Section 5.10 (p:import) says: "An p:import loads a pipeline or pipeline library, making it available in the pipeline or library which contains the p:import." And: "It is a static error (err:XS0052) if the URI of a p:import cannot be retrieved or if, once retrieved, it does not point to a p:library, p:declare-step, or p:pipeline." So, if p:declare-step can be imported, what about atomic steps? Should p:import fail if the imported p:declare-step is an atomic step? Consider this example: step.xpl: <?xml version="1.0" encoding="UTF-8"?> <p:declare-step type="x:my-step" xmlns:p="http://www.w3.org/ns/xproc" xmlns:x="http://www.acme.com/ns/xproc"> <p:input port="source"/> <p:output port="result"/> </p:declare-step> pipeline.xpl: <?xml version="1.0" encoding="UTF-8"?> <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" xmlns:x="http://www.acme.com/ns/xproc"> <p:import href="step.xpl"/> <x:my-step/> </p:pipeline> Is this allowed? I think the same applies to executing p:declare-step directly - should it be possible to execute atomic steps? Regards Vojtech
Received on Monday, 19 May 2008 10:16:10 UTC