Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Invalid
-
Version 4.0.0
-
None
Description
When trying to update our project to xmlbeans 4.0.0, we discovered xmlbeans generates invalid source code.
The generated code contains references to org.apache.xmlbeans.xml.stream.XMLInputStream which was deleted in xmlbeans 4.0.0
Attached a simple maven project to simulate the situation. Using xmlbeans 3.1.0, there is no issue, updating to 4.0.0 and you have the problem.
error: cannot find symbol
public static org.broken.xmlbeans.xmlBeansBrokenSchema.xmlbeans.XmlBean parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
^
symbol: class XMLStreamException
location: package org.apache.xmlbeans.xml.stream
Attachments
Attachments
Issue Links
- is duplicated by
-
XMLBEANS-552 Generated code contains removed class XMLStreamException
- Closed