Ralf,

I haven't tried any other xsds other than the one that was causing a NPE.
Maybe someone else can let us know if v1.0.4 doesn't include the unused
imports.

Tom 

-----Original Message-----
From: Ralf Joachim [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 24, 2006 1:32 PM
To: [email protected]
Subject: Re: [castor-user] Xml: Source Code Generator - eliminating unused
imports

Hi Tom,

do you also get the unused imports with 1.0.4 as I thought we have
eliminated them. If they still apear at 1.0.4 I suggest to create an
enhancement request at jira and we will try to fix that for next release.

Regards
Ralf


Carey, Tom schrieb:
> This is minor but was wondering if there was a way to eliminate the 
> unused imports in the generated classes?
>  
> Some contain these:
> Warning(14,1): import java.io.Serializable not used
> Warning(15,1): import java.util.Enumeration not used
> Warning(17,1): import org.exolab.castor.xml.Marshaller not used
> Warning(18,1): import org.exolab.castor.xml.Unmarshaller not used
>  
> while others contain:
> Warning(14,1): import java.io.IOException not used
> Warning(15,1): import java.io.Reader not used
> Warning(16,1): import java.io.Serializable not used
> Warning(17,1): import java.io.Writer not used
> Warning(18,1): import org.exolab.castor.xml.MarshalException not used
> Warning(21,1): import org.exolab.castor.xml.ValidationException not 
> used
> Warning(22,1): import org.xml.sax.ContentHandler not used
>  
> and finally most descriptors contain:
> Warning(14,1): import org.exolab.castor.mapping.AccessMode not used
> Warning(15,1): import org.exolab.castor.xml.TypeValidator not used
> Warning(16,1): import org.exolab.castor.xml.XMLFieldDescriptor not 
> used
> Warning(17,1): import org.exolab.castor.xml.validators.* not used
>  
> /*Tom Carey*/
> /**/Talk America
> office:    215-862-6875
> cell:      215-499-5771
> im:        careytm1
>  

-- 

Syscon Ingenieurbüro für
Meß- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstraße 11
D-72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Email: [EMAIL PROTECTED]
Web:   www.syscon-informatics.de

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to