[#JAXB-300] A property annotated w/ @XmlMixed generates a

advertisement
[JAXB-300] A property annotated w/ @XmlMixed generates a schema element
that does not permit the content to be just plain text Created: 08/Jan/07 Updated:
11/Jan/11 Resolved: 18/Jan/07
Status:
Project:
Component/s:
Affects
Version/s:
Fix Version/s:
Resolved
jaxb
schemagen
2.1
Type:
Reporter:
Resolution:
Labels:
Remaining
Estimate:
Time Spent:
Original
Estimate:
Environment:
Bug
akaranta
Fixed
None
Not Specified
Issuezilla Id:
300
2.1.1
Priority:
Assignee:
Votes:
Major
jaxb-issues
0
Not Specified
Not Specified
Operating System: All
Platform: All
Description
The problem is described here:
http://forums.java.net/jive/thread.jspa?threadID=18717&tstart=0
If required, I can post a minimal example complete w/ ant build file.
Comments
Comment by akaranta [ 08/Jan/07 ]
Hmm, sorry, I misinterpreted my test... the problem is not the @XmlList element
but the @XmlMixed - it does not allow for plain text content. The cause of the
problem (in the generated schema) is the same <xs:choice maxOccurs="unbounded">
instead of
<xs:choice minOccurs="0" maxOccurs="unbounded">
The example of how to reproduce can be found on the thread whose link is in
this issue. And like I said in that thread, I can post a simple example that
reproduces the problem complete w/ ant build file if you want.
Comment by kohsuke [ 18/Jan/07 ]
Fixed.
Generated at Tue Feb 09 22:19:43 UTC 2016 using JIRA 6.2.3#6260sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.
Download