Ubuntu 8.0.4, jdk1.5.14, XMLBeans 2.4.0
I'm having the same issue as with
XMLBEANS-356. I can provide more information if necessary but hope that something similar to what fixed that issue will fix this too. The schema fragment that does not work is:
<xs:documentation>An angle measurement, with an associated error bound. The units on the error bound are assumed to be the same as those on the measurement.</xs:documentation>
<xs:attribute name="angleUOM" type="xxxxx:AngleUOMType">
<xs:documentation>A unit of measurement assigned to this angle.</xs:documentation>
Similar to the suggested workaround given in
XMLBEANS-356, if I change the xs:complexContent to xs:simpleContent and recompile the schema, I can use it just fine. But, also similar to XMLBEANS-356, I am a consumer of the schema and am not able to easily change it. If a sample xsd and java program to duplicate the problem are necessary or more information please let me know and I'll try to provide. The fragment is part of a very large complex set of schemas and is proprietary so I am trying to be diligent in what I post.