[
https://issues.apache.org/jira/browse/XMLBEANS-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
PJ Fanning closed XMLBEANS-552.
-------------------------------
Resolution: Invalid
> Generated code contains removed class XMLStreamException
> --------------------------------------------------------
>
> Key: XMLBEANS-552
> URL: https://issues.apache.org/jira/browse/XMLBEANS-552
> Project: XMLBeans
> Issue Type: Bug
> Components: Binding
> Affects Versions: Version 4.0.0
> Reporter: Johannes
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]