Under v1.0.1, the schema generates all the classes successfully.  I also appropriately get prompted for name collisions as shown below. 
 
  Warning: A class name generation conflict has occured between element 'complexType:ProductInstanceType/grps' and element 'complexType:ComponenInstanceType/grps'.
  Please use a Binding file to solve this   problem.Continue anyway [not recommended] (y|n|?)n
 
Note: I'm looking into using a binding file to resolve those but haven't gotten to that yet.
 
Under v1.0.4, I get the following NPE attempting to run with the same schema input.  Note: I don't get the name collision prompts.
 
        java.lang.NullPointerException
        at org.exolab.castor.builder.SourceFactory.processAttributes(SourceFactory.java:148
        at org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:16
        at org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:63
        at org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:337)
        at org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:59
        at org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:337)
        at org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:817
        at org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGenerator.ja
        at org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGenerator.ja
        at org.exolab.castor.builder.SourceGenerator.processComplexType(SourceGenerator.jav
        at org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:824
        at org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGenerator.ja
        at org.exolab.castor.builder.SourceGenerator.processContentModel(SourceGenerator.ja
        at org.exolab.castor.builder.SourceGenerator.processComplexType(SourceGenerator.jav
        at org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:824
        at org.exolab.castor.builder.SourceGenerator.generateAllClassFiles(SourceGenerator.
        at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:64
        at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:58
        at org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:48
        at org.exolab.castor.builder.SourceGeneratorMain.main(SourceGeneratorMain.java:245)
 
 
If you need more info, let me know.
Tom Carey
Talk America
office:    215-862-6875
cell:      215-499-5771
im:        careytm1
 

Reply via email to