You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Stefanutti, Mario" <ms...@mail.tim.it> on 2004/06/03 18:43:24 UTC

Problems with xml: \org\xml\sax\helpers\DefaultHandler (resolveEntity)

Hi,

I am having a problem compiling XML code not present using ant.

I discovered that when maven runs the java:compile goal, it prepends to
the classpath the following jar file: xml-apis-1.0.b2.jar under

.\Apache Software Foundation\Maven 1.0-rc3\lib\endorsed\


The problem is that the class DefaultHandler (package
\org\xml\sax\helpers) defines that the resolveEntity method throws an
IOException. But I have verified on the Sun site, that this class should
throw only SAXException.

Do you know why maven prepends that jar to the java:compile goal? And do
you know why that jar declares the method to throw IOException?

Bye and thanks, Mario


This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.


°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
su www.tim.it - 119 Self Service -, puoi controllare il tuo traffico online.
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org