W3C home > Mailing lists > Public > xproc-dev@w3.org > March 2009

Re: Cannot see how test insert-005 can pass...

From: Philip Fennell <philip.fennell@gmail.com>
Date: Thu, 19 Mar 2009 08:54:46 +0000
Message-ID: <de7ce88b0903190154t21bd32adxc5558f390462b100@mail.gmail.com>
To: xproc-dev@w3.org
Thanks to everyone for their comments, I have updated my Test Suite
framework to properly handle multiple documents in the output,
although I'll probably have to check that the inputs are working in
the same way too.

Regards

Philip Fennell



2009/3/19  <Toman_Vojtech@emc.com>:
>> Jim,
>>
>> Thanks for your comments too.
>>
>> Is it not the case though that all outputs are documents (individual
>> or sequences) and that in all tests that don't explicitly use the
>> t:document its presence is implied?
>>
>> If so, that isn't made explicit in the documentation.
>
> Inputs/Outputs of a test are always documents (zero or more). If it is
> only one document, you don't have to use t:document:
>
> <t:input port='source'>
>  <doc>
> </t:input>
>
> Is the same as:
>
> <t:input port='source'>
>  <t:document><doc></t:document>
> </t:input>
>
> However, if you want to pass multiple documents as input (or check for
> multiple documents on the output), you will have to use t:document:
>
> <t:input port='source'>
>  <t:document><doc></t:document>
>  <t:document><doc></t:document>
>  <t:document><doc></t:document>
> </t:input>
>
> Regards,
> Vojtech
>
>
Received on Thursday, 19 March 2009 08:55:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 March 2009 08:55:26 GMT