On Mon, 24 Oct 2005, Wendy Smoak wrote:

This is a jvm thing. You probably have a JDK that has a buggy version of
xerces (or xalan, if you're using stylesheets).

Adding a dependency on xerces (or another xml parser) should fix this.

I personally only had trouble with the Xalan shipped with jdk 1.5.

-- Kenney

> I'm having trouble with some tests failing in Maven 2 when they work fine in
> Ant and Maven 1.0.2.
>
> The problem (SaxParseException and NPE) happens way down in the XML Parser.
> (The test uses Commons Chain which uses Digester which uses...)
>
> >From http://maven.apache.org/faq.html#unit-test-14 I get that 1.0.2 included
> an XML parser (Xerces 2.4.0) but 1.1 doesn't, which I assume is the case
> with 2.0.  I'm seeing org.apache.crimson in the stack trace.
>
> How can I get Maven 2 to use Xerces, so I can tell whether that's the
> problem?  I'm not sure if I'm supposed to set something in Surefire, or
> whether this is a JVM level thing.
>
> Thanks,
> Wendy Smoak
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to