[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    [jira] [Commented] (XMLBEANS-593) upgrade xmlbeans from 3.1.0 to 5.0.3 fails
From:       "jkcboys (Jira)" <jira () apache ! org>
Date:       2022-01-28 5:45:00
Message-ID: JIRA.13423588.1642618039000.221997.1643348700245 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-593?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483577#comment-17483577 ] \


jkcboys commented on XMLBEANS-593:
----------------------------------

You are correct PJ Fanning. We didn't face this compilation problem even though we \
have hyphens in   "artifactId" and "groupId" with xmlbeans 3.1.0 , problem was \
observed is with   xmlbeans 5.0.3. This is what i wanted to convey from starting.  

one more question  

Do we need to run any extra migrations on existing xsd's? Why i am asking this \
question is, when I make "artifactId" and "groupId" as simple text without hyphen or \
spaces, then i can see less number of generated-sources or java files(with 5.0.3) \
when it compared with xmlbeans 3.1.0(more source/java classes with it) sources.

> upgrade xmlbeans from 3.1.0 to 5.0.3 fails
> ------------------------------------------
> 
> Key: XMLBEANS-593
> URL: https://issues.apache.org/jira/browse/XMLBEANS-593
> Project: XMLBeans
> Issue Type: Bug
> Components: Compiler
> Affects Versions: Version 4.0.0, Version 5.0.3
> Environment: windows
> Reporter: jkcboys
> Priority: Major
> Fix For: Version 5.0.3
> 
> Attachments: Build_Log_WITH_Hyphen.txt, Modified_xml-sample-app-xmlbeans.zip, \
> TypeSystemHolder.java, xml-sample-app-xmlbeans.zip 
> 
> Hi Team,
> 
> We are using xmlbeans 3.1.0 in our project and planning to upgrade it to 5.0.3 \
> latest version. In the upgrade process, I have observed that[ xmlbeans-maven-plugin \
> 2.3.3 POM file is having maven dependency to xmlbeans \
> 2.4.0|https://repo1.maven.org/maven2/org/codehaus/mojo/xmlbeans-maven-plugin/2.3.3/xmlbeans-maven-plugin-2.3.3.pom], \
> even though I have xmlbenas maven dependency to 5.0.3 in my project, \
> compilation(using java 1.8) was failing to the below. Somebody already raised issue \
> for the same on xmlbeans 4.0.0, but the issue was closed. \
> https://issues.apache.org/jira/browse/XMLBEANS-553 without much information. \
> Because of this issue we are unable to upgrade xmlbeans from 3.1.0 to 5.0.3. Could \
> you please help us on this? 
> _[INFO] --- xmlbeans-maven-plugin:2.3.3:xmlbeans (core-and-automation) @ xml-model \
>                 ---_
> _Downloading: {color:#FF0000}[http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.pom]{color}_
>                 
> _Downloaded: [http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.pom] \
>                 (5 KB at 8.2 KB/sec)_
> _Downloading: [http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.jar]_
>                 
> _Downloaded: [http://nexus.us.oracle.com:8088/nexus/content/groups/public/org/apache/xmlbeans/xmlbeans/2.4.0/xmlbeans-2.4.0.jar] \
>                 (2631 KB at 112.5 KB/sec)_
> _warning: [options] bootstrap class path not set in conjunction with -source 1.4_
> _warning: [options] source value 1.4 is obsolete and will be removed in a future \
>                 release_
> _warning: [options] target value 1.4 is obsolete and will be removed in a future \
>                 release_
> _warning: [options] To suppress warnings about obsolete options, use \
> -Xlint:-options._ _..\..\parent\xml-model\target\generated-sources\xmlbeans\com\ossms\orderModel\x2002\x06\x25\SystemHealthPoliciesType.java:144: \
> {color:#FF0000}error: cannot find symbol{color}_ _public static \
> com.ossms.orderModel.x2002.x06.x25.SystemHealthPoliciesType \
> parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws \
> org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException \
> {_ _^_
> _{color:#FF0000}symbol:     class XMLInputStream{color}_
> _location: package org.apache.xmlbeans.xml.stream_
> _..\..\parent\xml-model\target\generated-sources\xmlbeans\com\ossms\orderModel\x2002\x06\x25\SystemHealthPoliciesType.java:144: \
> {color:#FF0000}error: cannot find symbol{color}_ _public static \
> com.ossms.orderModel.x2002.x06.x25.SystemHealthPoliciesType \
> parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws \
> org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException \
> {_ _^_
> _{color:#FF0000}symbol:     class XMLStreamException{color}_
> _location: package org.apache.xmlbeans.xml.stream_
> 
> 
> Thanks,
> Surendra



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic