Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isNil and setNil methods are not always generated on nillable element #41

Closed
Tomas-Kraus opened this issue Mar 3, 2005 · 12 comments
Closed

Comments

@Tomas-Kraus
Copy link
Member

When the schema listed in the URL is compiled there is no isNil and setNil
method defined in the interface for the element multicast-interfaces. There is
another element in the schema that is nillable (the member-group element) and
the interface generated for that element gets a isNil and setNil method. The
strange thing is that when I also copy the member-group element to sequence of
the service-instance element that xjc refused to generate the isNil and setNil
method for that element too.

The schema has been validated with XMLSpy and the IBM Schema Quality Checker and
appears to be OK.

In case the binding files are required (this schema also includes a second
schema) please contact me to provide them.

The actual version of JAXB is 1.0.4 because JSWDP1.5 is not listed in the bug
system.

Environment

Operating System: All
Platform: All
URL: http://www.cheiron.org/schema/seven-config.xsd

Affected Versions

[JWSDP1.5 (JAXB1.0.4)]

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
Reported by marbro

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
Was assigned to jaxb-issues

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
ryan_shoemaker said:
Please attach your binding files.

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
marbro said:
Created an attachment (id=23)
zip file containing the bind files in the build directory, also contains some other files that are referred in the xjc task

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
File: jaxb.zip
Attached By: marbro

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
kohsuke said:
marked the correct version.

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
kohsuke said:
fixed in the 2.0 thread.

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
marbro said:
I may hope that this is also going to be fixed in the 1.0 branch as the
requirements (and licensing conditions) for JAXB 2.0 prevent us from using it
for a long time. As the original submitter of this bug (commercial user) this
problem is not resolved for me.

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
anandvallam said:
Fixing in 1.0 will help lot of users as thats the version used in production
releases. It may take a while before anyone really uses 2.0 - i.e works on
jdk1.5, which is a major road block for App server users as most of the app
servers won't support jdk1.5 yet.
Conclusion is that these bugs should be fixed in 1.0 to be more helpful for the
users.

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
Marked as fixed on Friday, April 15th 2005, 12:39:52 am

@Tomas-Kraus
Copy link
Member Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAXB-41

@Tomas-Kraus
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants