[
https://issues.apache.org/jira/browse/XMLBEANS-552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279005#comment-17279005 ]
PJ Fanning commented on XMLBEANS-552:
-------------------------------------
[~Kaufhold] this seems to be same as XMLBEANS-553 and we just closed that as 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:
[hidden email]
For additional commands, e-mail:
[hidden email]