Hi Werner,
I saw your comments on this ticket that you were able to compile without
compilation errors. I have again tried to compile (using 1.0.4), but I
still don't have the getter and setter methods for the choices in the
generated class (WebServiceMonitor). When you did your compilation, did
you see those methods?
Susan
----- Forwarded by Susan Anderson/Denver/IBM on 11/02/2006 02:38 PM -----
"Werner Guttmann (JIRA)" <[EMAIL PROTECTED]>
10/03/2006 08:41 AM
To
Susan Anderson/Denver/[EMAIL PROTECTED]
cc
Subject
[jira] Commented: (CASTOR-1167) Missing methods in generated class
[
http://jira.codehaus.org/browse/CASTOR-1167?page=comments#action_76453 ]
Werner Guttmann commented on CASTOR-1167:
-----------------------------------------
Susan, I have just used the attached XML schema to generate the Java
classes, and I am not seeing any compilation errors anymore. I am running
against SVN trunk (= 1.0.3 plus additonal bug fixes). Would you be able to
attach a sample XMl document that I could use to unmarshal against the
Java classes generated ?
Unless there's any objections, I will resolve this as 'Duplicate'.
> Missing methods in generated class
> -----------------------------------
>
> Key: CASTOR-1167
> URL: http://jira.codehaus.org/browse/CASTOR-1167
> Project: castor
> Issue Type: Bug
> Components: XML source generator
> Affects Versions: 0.9.6, 0.9.7
> Environment: HP-UX 11.0
> Reporter: Susan Anderson
> Priority: Minor
> Attachments: sentry.xsd.gz
>
>
> (From the mail list -- ATTN Werner Guttmann)
> I am trying to upgrade from castor 0.9.3 to 0.9.6 (or 9.7). I am finding
that castor is not creating all of the methods in the generated java
classes in 0.9.6 that it generated in 0.9.3.
> We call the source generator using:
> $(JDKDIR)/java -cp $(CLASSPATH)
org.exolab.castor.builder.SourceGenerator -i $(SCHEMA) -package
sentry.config -f
> I have tried this using our old version of xerces (xerces.jar version
1.4.4) and the newer xerces (xml-apis.jar and xercesImpl.jar version
2.6.2) with the same result. Since the schema hasn't changed, the only
other variable is castor. Perhaps I missed a configuration step somewhere?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email