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

Generated code contains removed class XMLStreamException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: Version 4.0.0
    • Fix Version/s: None
    • Component/s: Binding
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: