On 6/15/05, Palani, Uma Shankar <[EMAIL PROTECTED]> wrote:

> Can you please help in resolving the following problem. I am trying to do the 
> XSD compiling through the castor Source Generator.
> I am getting this following error while generating the java files from the 
> XSDs.
> 
> Creating classes for element: GetOrderListResponse
> java.lang.IllegalArgumentException: duplicate name found: _type
>         at org.exolab.javasource.JClass.addField(JClass.java:242)
>         at 
> org.exolab.castor.builder.FieldInfo.createJavaField(FieldInfo.java:155)
>         at 
> org.exolab.castor.builder.SourceFactory.handleField(SourceFactory.java:1446)
>         at 
> org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1536)
>         at 
> org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1571)
>         at 
> org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1347)
>         at 
> org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:249)
>         at 
> org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1529)
>         at 
> org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1571)
>         at 
> org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1347)
>         at 
> org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:249)
>         at 
> org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1529)
>         at 
> org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1571)
>         at 
> org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1347)
>         at 
> org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:249)
>         at 
> org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1529)
>         at 
> org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1571)
>            at 
> org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1347)
>            at 
> org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:249)
>           at 
> org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:809)
>           at 
> org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:743)
>           at 
> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:361)
>           at 
> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:419)
>           at 
> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:448)
>            at 
> org.exolab.castor.builder.SourceGenerator.main(SourceGenerator.java:683)

Uma, 

Please refrain from posting to the mailing lists @exolab.org. The
Castor project has moved to the Codehaus. Please post your message to
the new mailing lists at the Codehaus. Information on subscribing to
these lists is available here:

    http://castor.codehaus.org/lists.html 

Bruce 
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to