Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-194

XmlBeans generates incorrect code for complex types w/simple content and attributes with use="prohibited"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: Version 2.4.1
    • Component/s: Binding
    • Labels:
      None

      Description

      Errors like the following are output by javac when compiling the generated classes:

      src\net\opengis\swe\impl\SoftTypedMeasureInt
      ervalTypeImpl.java:14:
      net.opengis.swe.impl.SoftTypedMeasureIntervalTypeImpl is not abstract and does not override abstract method unsetCount() in net.opengis.swe.SoftTypedMeasureOrNullListType
      public class SoftTypedMeasureIntervalTypeImpl extends org.apache.xmlbeans.impl.values.XmlListImpl implements net.opengis.swe.SoftTypedMeasureIntervalType

        Attachments

        1. basicTypes.xsd
          26 kB
          Radu Preotiuc
        2. gml4swe.xsd
          0.7 kB
          Radu Preotiuc

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              radup Radu Preotiuc
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: