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

RE: Cannot see how test insert-005 can pass, should have been input-005...

From: Philip Fennell <Philip.Fennell@bbc.co.uk>
Date: Wed, 18 Mar 2009 07:52:50 -0000
Message-ID: <F3685F4A877F284F8054E328390447D14C6E3B@bbcxues17.national.core.bbc.co.uk>
To: <xproc-dev@w3.org>
Sorry,

it dawned on me yesterday that this isn't an issue. I just needed to allow my test suite framework to account for the intermitant use of the t:document element in the output result sections of the test suite.

So please ignore this and its related e-mails.


Regards

Philip Fennell


-----Original Message-----
From: xproc-dev-request@w3.org [mailto:xproc-dev-request@w3.org] On Behalf Of Philip Fennell
Sent: 17 March 2009 08:56
To: xproc-dev@w3.org
Subject: Re: Cannot see how test insert-005 can pass, should have been input-005...

Sorry, the previous e-mail should have referred to input-005.

Regards

Philip Fennell

2009/3/17 Philip Fennell <philip.fennell@gmail.com>:
> Looking at XProc Test Suite test insert-005, I cannot see how it would 
> ever pass.
>
> <http://tests.xproc.org/tests/required/input-005.xml>
>
> At present it looks like this:
>
> <?xml-stylesheet type="text/xsl" href="/style/testcase.xsl"?> <t:test 
> xmlns:t="http://xproc.org/ns/testsuite"
>        xmlns:p="http://www.w3.org/ns/xproc"
>        xmlns:c="http://www.w3.org/ns/xproc-step"
>        xmlns:err="http://www.w3.org/ns/xproc-error">
>
> <t:title>Test input-005</t:title>
>
> <t:description xmlns="http://www.w3.org/1999/xhtml">
>  <p>Tests the usage of a sequence in source input port.</p> 
> </t:description>
>
> <t:input port='source'>
> <doc>
> <?pi test?>
> <p>This is a p.</p>
> </doc>
> </t:input>
>
> <t:pipeline>
>         <p:declare-step name="pipeline"
>                    xmlns:p="http://www.w3.org/ns/xproc">
>
>        <p:input port="source" sequence="true"/>
>        <p:output port="result" sequence="true"/>
>
>           <p:identity name="step1">
>                <p:input port="source">
>                      <p:inline>
>                          <root1/>
>                      </p:inline>
>                      <p:inline>
>                          <root2/>
>                      </p:inline>
>                      <p:inline>
>                          <root3/>
>                      </p:inline>
>                </p:input>
>           </p:identity>
>
>        </p:declare-step>
> </t:pipeline>
>
> <t:output port='result'>
> <t:document><root1/></t:document>
> <t:document><root2/></t:document>
> <t:document><root3/></t:document>
> </t:output>
>
> </t:test>
>
> I don't think the 'result' output should have the root elements 
> wrapped in t:document elements, unless there's some test functionality 
> that I'm not aware of.
>
> it should look like this:
>
> <t:output port='result'>
> <root1/>
> <root2/>
> <root3/>
> </t:output>
>
> Then it would be in-line its sibling tests input-001 to input-004.
>
>
> Regards
>
> Philip Fennell
>



http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
Received on Wednesday, 18 March 2009 07:53:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 18 March 2009 07:53:26 GMT