[JIRA] Commented: (JAXB-992) Property "Value" is already defined in /com/sun/xml/xsom/impl/parser/datatypes.xsd[14,33]

  • From: "Iaroslav Savytskyi (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Commented: (JAXB-992) Property "Value" is already defined in /com/sun/xml/xsom/impl/parser/datatypes.xsd[14,33]
  • Date: Mon, 2 Dec 2013 14:01:49 +0000 (UTC)
  • Auto-submitted: auto-generated


    [ 
https://java.net/jira/browse/JAXB-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=371224#action_371224
 ] 

Iaroslav Savytskyi commented on JAXB-992:
-----------------------------------------

Hi,

Please provide more info:

1) What exactly are you trying to do?
2) Why are you using JAXB 2.1.x? 

Thanks.

> Property "Value" is already defined in 
> /com/sun/xml/xsom/impl/parser/datatypes.xsd[14,33]
> -----------------------------------------------------------------------------------------
>
>                 Key: JAXB-992
>                 URL: https://java.net/jira/browse/JAXB-992
>             Project: jaxb
>          Issue Type: Bug
>    Affects Versions: 2.1.13
>         Environment: Windows 7 + Java 1.7.45 + Maven 3.11 + Eclipse Kepler
>            Reporter: martinspamer
>            Assignee: Iaroslav Savytskyi
>
> Attempting to compile a schema exposes duplicate propertty in datatypes.xsd
> [ERROR] 
> jar:file:/C:/Users/MSpamer/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.1.13/jaxb-xjc-2.1.13.jar!/com/sun/xml/xsom/impl/parser/datatypes.xsd[14,33]
> com.sun.istack.SAXParseException2; systemId: 
> jar:file:/C:/Users/MSpamer/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.1.13/jaxb-xjc-2.1.13.jar!/com/sun/xml/xsom/impl/parser/datatypes.xsd;
>  lineNumber: 14; columnNumber: 33; Property "Value" is already defined. Use 
> &lt;jaxb:property> to resolve this conflict.
>       at com.sun.tools.xjc.ErrorReceiver.error(ErrorReceiver.java:82)
>       at 
> com.sun.tools.xjc.reader.ModelChecker.checkPropertyCollision(ModelChecker.java:108)
>       at com.sun.tools.xjc.reader.ModelChecker.check(ModelChecker.java:94)
>       at com.sun.tools.xjc.reader.ModelChecker.check(ModelChecker.java:67)
>       at 
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder._build(BGMBuilder.java:189)
>       at 
> com.sun.tools.xjc.reader.xmlschema.BGMBuilder.build(BGMBuilder.java:116)
>       at 
> com.sun.tools.xjc.ModelLoader.annotateXMLSchema(ModelLoader.java:415)
>       at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:167)
>       at com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:113)
>       at com.sun.tools.xjc.Driver.run(Driver.java:313)
>       at 
> org.codehaus.mojo.jaxb2.AbstractXjcMojo.execute(AbstractXjcMojo.java:327)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>       at java.lang.reflect.Method.invoke(Unknown Source)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>       at org.codehaus.classworlds.Launcher.main(Launcher.java:46)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Commented: (JAXB-992) Property "Value" is already defined in /com/sun/xml/xsom/impl/parser/datatypes.xsd[14,33]

Iaroslav Savytskyi (JIRA) 12/02/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150626.29986a4)
 
 
Close
loading
Please Confirm
Close