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

Generated code contains removed class XMLStreamException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • Version 4.0.0
    • None
    • Binding
    • None

    Description

      Bindings generated with version 4.0.0 contain parse methods using XMLInputStream:

      /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
      public static org.ebics.h000.SystemReturnCodeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException

      { return (org.ebics.h000.SystemReturnCodeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }

      /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
      public static org.ebics.h000.SystemReturnCodeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException

      { return (org.ebics.h000.SystemReturnCodeType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }

       

      Even if marked as deprecated, they don't compile (at least not on Java 8) because XMLInputStream was removed from xmlbeans-4.0.0.jar.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Kaufhold Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: