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

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

Hi Bodo Wippermann  and Pf Fanning,

I know you guys are helping me on busy times. Thank for that that.

I am still facing issues with the repackage as you suggested, basically when 
the package has 
hyphens(<repackage>ab.{*}{color:#FF0000}c-d{color}{*}.ed</repackage>) in it 
then it fails.
{noformat}
..
<configuration><repackage>ab.c-d.ed</repackage>
<name>sample</name>
...{noformat}
we are currently on xmlbeans 3.1.0 where POM file "artifactId" and "groupId" 
values are having hyphen("-") in the name, we didn't face these compilation 
issues with it, observed only having problem with 5.0.3 xmlbeans.

To get rid of this hyphen("-") compilation issues, we can make it either 
underscore or simple text without spaces in it, but we have so much of other 
project/module dependencies on it.

I am not sure about anybody others are facing similar since 5.0.3 is recently 
released. I will check in google and update you. For us this is a upgrade issue 
as we are in initial step.  I don't have option to change the subject line.

 

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't see few generated-sources or java files when it 
compared with xmlbeans 3.1.0 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to