abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Feed Validator Test Failures
Date Sat, 19 Aug 2006 17:43:34 GMT
I may be missing something, but these are likely caused by using the
woodstox stax impl vs. the stax reference impl.  Specifically, woodstox
does not entity encode greater than signs; the stax reference impl does.
 Remove the woodstox parser from the classpath and things should work.

- James

Garrett Rooney wrote:
> I'm also seeing some test failures in the feed validator tests...
> 
> Specifically, three of the section 4.1.3.3 tests:
> 
>     [java] There were 3 failures:
>     [java] 1)
> testSection4133ContentXhtmlEscaped(org.apache.abdera.test.parser.stax.FeedValidatorTest)junit.framework.ComparisonFailure:
> 
> expected:<...>bold&lt;/b>...> but was:<...&gt;bold&lt;/b&gt;...>
>     [java]     at
> org.apache.abdera.test.parser.stax.FeedValidatorTest.testSection4133ContentXhtmlEscaped(FeedValidatorTest.java:2521)
> 
>     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>     [java]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 
>     [java]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 
>     [java]     at
> org.apache.abdera.test.parser.stax.TestSuite.main(TestSuite.java:28)
>     [java] 2)
> testSection4133ContentXhtmlMixed(org.apache.abdera.test.parser.stax.FeedValidatorTest)junit.framework.ComparisonFailure:
> 
> expected:<...>bold&lt;/b>...> but was:<...&gt;bold&lt;/b&gt;...>
>     [java]     at
> org.apache.abdera.test.parser.stax.FeedValidatorTest.testSection4133ContentXhtmlMixed(FeedValidatorTest.java:2531)
> 
>     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>     [java]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 
>     [java]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 
>     [java]     at
> org.apache.abdera.test.parser.stax.TestSuite.main(TestSuite.java:28)
>     [java] 3)
> testSection4133ContentXhtmlNotmarkup(org.apache.abdera.test.parser.stax.FeedValidatorTest)junit.framework.ComparisonFailure:
> 
> expected:<...>bold&lt;/x>...> but was:<...&gt;bold&lt;/x&gt;...>
>     [java]     at
> org.apache.abdera.test.parser.stax.FeedValidatorTest.testSection4133ContentXhtmlNotmarkup(FeedValidatorTest.java:2551)
> 
>     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>     [java]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 
>     [java]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 
>     [java]     at
> org.apache.abdera.test.parser.stax.TestSuite.main(TestSuite.java:28)
> 
> Is anyone else seeing this?
> 
> -garrett
> 

Mime
View raw message