cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject Re: Chaperon JUnit Tests
Date Tue, 20 May 2003 14:16:09 GMT


On Tue, 20 May 2003, Vadim Gritsenko wrote:

> Hi,
>
> I noticed that chaperon junit test does not go through. The problem is
> with one extra space it generates:
>
> Index:
> src/blocks/chaperon/test/org/apache/cocoon/generation/texttest-result2.xml
> ===================================================================
> RCS file:
> /home/cvs/cocoon-2.1/src/blocks/chaperon/test/org/apache/cocoon/generation/texttest-result2.xml,v
> retrieving revision 1.1
> diff -u -r1.1 texttest-result2.xml
> ---
> src/blocks/chaperon/test/org/apache/cocoon/generation/texttest-result2.xml
> 9 Apr 2003 12:24:34 -0000       1.1
> +++
> src/blocks/chaperon/test/org/apache/cocoon/generation/texttest-result2.xml
> 20 May 2003 13:45:31 -0000
> @@ -1,3 +1,3 @@
>  <?xml version="1.0"?>
>  <text xmlns="http://chaperon.sourceforge.net/schema/text/1.0">1.Row
> Text is a text is a text.
> -2.Row Test is a test is a test.</text>
> + 2.Row Test is a test is a test.</text>
>
>
> (note extra space before "2.")
> I'm not sure whether this is the issue with chaperon itself or just with
> the test file. Can somebody knowledgeable fix the issue?

I'll check this.

Do you test on Windows? I think it's problem of the WhitespaceFilter.
I'm surprised, because the test work on unix machines, see Gump
build.

Stephan.


Mime
View raw message