- From: David A. Lee <dlee@calldei.com>
- Date: Wed, 7 Jan 2009 20:09:20 -0500
- To: "David A. Lee" <dlee@calldei.com>, "XProc Dev" <xproc-dev@w3.org>
Sorry !! I just noticed in this test it has an attribute I never noticed before ignore-whitespace-differences="true" DUH ... sorry -David > In required/delete-001.xml the input document is: > > <t:input port='source'> > <p:pipeline name="pipeline" xmlns:p="http://www.w3.org/ns/xproc"> > > <p:delete> > <p:option name="target" value="p:delete"/> > </p:delete> > > </p:pipeline> > </t:input> > > ( note the blank lines before and after p:delete ) > > The output doesnt conatiain the WS: > > <t:output port='result'> > <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" name="pipeline"> > </p:pipeline></t:output> > > In my implementation I delete the <p:delete> as specified and leave the > whitespace alone. > But this then fails both a deep-equal() test and my own xml diff which is > (correctly, IMHO) indicating > a difference. > > Is this a bug in the test cases ? Or am I missing something in the specs > about stripping out WS when doing p:delete .. ? > > I think the input should not have the blank lines or the output should be > <t:output port='result'> > <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" name="pipeline"> > > > > > </p:pipeline></t:output> > > -David > >
Received on Thursday, 8 January 2009 01:10:02 UTC