Hi James,

this seems to be related to a problem using nested groups, can you send
your xml schema?

Thanks,
Arnaud

-> -----Original Message-----
-> From: James Carnegie [mailto:[EMAIL PROTECTED]]
-> Sent: Thursday, September 27, 2001 9:09 AM
-> To: [EMAIL PROTECTED]
-> Subject: [castor-dev] -ERROR-IF-THIS-IS-USED-
-> 
-> 
-> I get the stack trace show below using the SourceGenerator (all 
-> versions):
-> Can anybody tell me what this may be an indication of?
-> Any ideas/hints would be much appreciated.
-> kipz.
-> 
-> 
-> 
-> ###################
-> java.lang.IllegalArgumentException: '-ERROR-IF-THIS-IS-USED-' is 
-> not a valid
-> Java identifier.
-> 
->  at org.exolab.javasource.JField.setName(JField.java:187)
-> 
->  at org.exolab.javasource.JField.<init>(JField.java:80)
-> 
->  at
-> org.exolab.castor.builder.DescriptorSourceFactory.createDescripto
-> r(Descripto
-> rSourceFactory.java:258)
-> 
->  at
-> org.exolab.castor.builder.DescriptorSourceFactory.createSource(De
-> scriptorSou
-> rceFactory.java:191)
-> 
->  at
-> org.exolab.castor.builder.SourceGenerator.processJClass(SourceGen
-> erator.java
-> :956)
-> 
->  at
-> org.exolab.castor.builder.SourceGenerator.processComplexType(Sour
-> ceGenerator
-> .java:790)
-> 
->  at
-> org.exolab.castor.builder.SourceGenerator.createClasses(SourceGen
-> erator.java
-> :711)
-> 
->  at
-> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGe
-> nerator.jav
-> a:350)
-> 
->  at
-> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGe
-> nerator.jav
-> a:408)
-> 
->  at
-> org.exolab.castor.builder.SourceGenerator.generateSource(SourceGe
-> nerator.jav
-> a:437)
-> 
->  at 
-> org.exolab.castor.builder.SourceGenerator.main(SourceGenerator.java:664)
-> 
-> Exception in thread "main"
-> 
-> ----------------------------------------------------------- 
-> If you wish to unsubscribe from this mailing, send mail to
-> [EMAIL PROTECTED] with a subject of:
->      unsubscribe castor-dev

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

Reply via email to