Hi Alex,

Jacinto, Alex (GE Infra, Energy) wrote:
> Hi,
> 
> I'm using ant to generate source code from schemas.  I am getting the
> following error:
> 
> [castor-srcgen] Creating classes for: AnalogInputPointsType
> [castor-srcgen] 2009-02-13 14:11:24,419 [main] DEBUG
> org.exolab.castor.builder.JClassRegistry - Binding
> JClass[AnalogInputPointsType] for XML schema structure
> /complexType:AnalogInputPointsType
> [castor-srcgen] 2009-02-13 14:11:24,435 [main] INFO
> org.exolab.castor.builder.JClassRegistry - *** Summary ***
> [castor-srcgen] 2009-02-13 14:11:24,435 [main] INFO
> org.exolab.castor.builder.JClassRegistry - Local name conflicts
> encountered for the following element definitions
> 
> BUILD FAILED
> build.xml:93: java.lang.StringIndexOutOfBoundsException: String index
> out of range: -1
> 
> I know that it has something to do with types defined before this schema
> because ...
Sorry, I don't really understand what you are trying to say here. Can
you please elaborate ?

> ... when I manually do it through the command line, this particular
> schema goes through successfully.  It does not look like the above type
> is causing a problem, I can eliminate it and it still shows the error.
> Is there a way I can see which type is causing other than eliminating
> them one by one?
> 
> Let me know and thanks in advance.
> 
> Alex
> 
> ---------------------------------------------------------------------
> 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