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"

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • Version 2.4.1
    • Binding
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment