[dsdl-comment] Re: Want NVDL incorporated into xproc? Now's the time to speak up!

From: MURATA Makoto <murata@hokkaido.email.ne.jp>
Date: Fri Sep 26 2008 - 10:55:38 UTC

I have been thinking about XProc and NVDL for about a year, and I have
had a lot of discussions about this topic with Mohamed ZERGAOUI and
Hisashi Miyashita.

I wrote the following memo one year ago. Ideally, we have to extend
NVDL first and then introduce NVDL actions to XProc.

The missing piece now is NVDL reconstruction: we have dispatching, but
we also want to reconstruct original XML doducments from validation
candidates. NVDL dispatching and reconstruction would be very useful
actions for XProc.

Hisashi Miyashita has already implemented NVDL reconstruction and his
prototype (publicly available) is very interesting.

After I come back from the SC34 meeting in Jeju, I will write more
about this topic.

> 1. Extensions to the NVDL syntax
>
> 1) Port
>
> Introduce a new action "port". It has one mandatory attribute "name",
> which specifies an XProc port name.
>
> Different "name" attributes shall not specify the same name.
>
> 2) ID
>
> Introduce an optional attribute "id" to all action elements.
>
> Different "id" attributes shall not specify the same name.
>
>
> 2. XProc Steps for NVDL
>
> 1) nvdl-dispatch
>
> <p:nvdl-dispatch name?= NCName>
> <p:input port="nvdl"/>
> <p:input port="source" primary="yes"/>
> p:output+
> </p:nvdl-dispatch>
>
> The input port "nvdl" should contain an NVDL script.
>
> The input port "source" should contain an compound XML document.
>
> The sequence attribute shall be "yes" for all output ports, while it
> shall be "no" for the input port.
>
> Every output port declared by p:output should be declared in the
> NVDL Script by the attribute "name". Likewise, every port
> specified in the NVDL script should be declared by p:output.
>
> 2) nvdl-reconstruct
>
> <p:nvdl-reconstruct name?= NCName href=IRI>
> <p:input port="nvdl"/>
> p:input+
> <p:output port="result"/>
> </p:nvdl-reconstruct>
>
> The input port "nvdl" contain an NVDL script.
>
> The other input ports contain validation candidates.
>
> The sequence attribute shall be "yes" for all intput ports but the
> "nvdl" port, while it shall be "no" for the output port "result".
>
> Every input port declared by p:input should be declared in the
> NVDL Script by the attribute "name". Likewise, every port
> specified in the NVDL script should be declared by p:input.
>
> 3. Dispatching by nvdl-dispatch
>
>
> 4. Reconstruction by nvdl-reconstruct

-- 
MURATA Makoto <murata@hokkaido.email.ne.jp>
--
DSDL comments
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-comment-request@dsdl.org
(mailto:dsdl-comment-request@dsdl.org?Subject=unsubscribe)
Received on Fri Sep 26 12:55:15 2008

This archive was generated by hypermail 2.1.8 : Sun Sep 28 2008 - 01:13:04 UTC