You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Han Hong Fang (JIRA)" <ji...@apache.org> on 2011/07/07 10:15:16 UTC
[jira] [Created] (GERONIMO-6050) openejb-jar-2.2.xsd is out-of-date
openejb-jar-2.2.xsd is out-of-date
----------------------------------
Key: GERONIMO-6050
URL: https://issues.apache.org/jira/browse/GERONIMO-6050
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: OpenEJB
Affects Versions: 3.0-M1
Reporter: Han Hong Fang
Fix For: 3.0
I got following errors when I tried to generate the jaxbmodel class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking entity-manager-factory-ref for instance, it can not be found in geronimo-naming-1.2.xsd.
And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file?
[INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
[INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd and others
[ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
[ERROR] line 127 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:ref-name'
[ERROR] line 146 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:pattern'
[ERROR] line 147 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc'
[ERROR] line 148 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:name'
[ERROR] line 149 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:css'
[ERROR] line 150 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:css-link'
[ERROR] line 151 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:ejb-link'
[ERROR] line 152 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'app:security'
[ERROR] line 222 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'persistence'
[ERROR] line 228 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
[ERROR] line 239 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
[ERROR] line 297 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
[ERROR]
[INFO] failure in the XJC task. Use the Ant -verbose switch for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.359s
[INFO] Finished at: Thu Apr 14 16:12:21 CST 2011
[INFO] Final Memory: 3M/15M
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (GERONIMO-6050) openejb-jar-2.2.xsd is
out-of-date
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang reassigned GERONIMO-6050:
---------------------------------------
Assignee: Han Hong Fang
> openejb-jar-2.2.xsd is out-of-date
> ----------------------------------
>
> Key: GERONIMO-6050
> URL: https://issues.apache.org/jira/browse/GERONIMO-6050
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Affects Versions: 3.0-M1
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 3.0
>
> Attachments: Geronimo-6050.patch
>
>
> I got following errors when I tried to generate the jaxbmodel class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking entity-manager-factory-ref for instance, it can not be found in geronimo-naming-1.2.xsd.
> And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file?
> [INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
> [INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd and others
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 127 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ref-name'
> [ERROR] line 146 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:pattern'
> [ERROR] line 147 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc'
> [ERROR] line 148 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:name'
> [ERROR] line 149 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css'
> [ERROR] line 150 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css-link'
> [ERROR] line 151 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ejb-link'
> [ERROR] line 152 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'app:security'
> [ERROR] line 222 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'persistence'
> [ERROR] line 228 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 239 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 297 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [INFO] failure in the XJC task. Use the Ant -verbose switch for more details
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.359s
> [INFO] Finished at: Thu Apr 14 16:12:21 CST 2011
> [INFO] Final Memory: 3M/15M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (GERONIMO-6050) openejb-jar-2.2.xsd is out-of-date
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang updated GERONIMO-6050:
------------------------------------
Attachment: Geronimo-6050.patch
Update the patch file and remove the previous one which is not in diff version.
> openejb-jar-2.2.xsd is out-of-date
> ----------------------------------
>
> Key: GERONIMO-6050
> URL: https://issues.apache.org/jira/browse/GERONIMO-6050
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Affects Versions: 3.0-M1
> Reporter: Han Hong Fang
> Fix For: 3.0
>
> Attachments: Geronimo-6050.patch
>
>
> I got following errors when I tried to generate the jaxbmodel class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking entity-manager-factory-ref for instance, it can not be found in geronimo-naming-1.2.xsd.
> And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file?
> [INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
> [INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd and others
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 127 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ref-name'
> [ERROR] line 146 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:pattern'
> [ERROR] line 147 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc'
> [ERROR] line 148 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:name'
> [ERROR] line 149 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css'
> [ERROR] line 150 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css-link'
> [ERROR] line 151 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ejb-link'
> [ERROR] line 152 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'app:security'
> [ERROR] line 222 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'persistence'
> [ERROR] line 228 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 239 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 297 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [INFO] failure in the XJC task. Use the Ant -verbose switch for more details
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.359s
> [INFO] Finished at: Thu Apr 14 16:12:21 CST 2011
> [INFO] Final Memory: 3M/15M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (GERONIMO-6050) openejb-jar-2.2.xsd is
out-of-date
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061796#comment-13061796 ]
Han Hong Fang commented on GERONIMO-6050:
-----------------------------------------
Committed at revision: 1144172
> openejb-jar-2.2.xsd is out-of-date
> ----------------------------------
>
> Key: GERONIMO-6050
> URL: https://issues.apache.org/jira/browse/GERONIMO-6050
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Affects Versions: 3.0-M1
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 3.0
>
> Attachments: Geronimo-6050.patch
>
>
> I got following errors when I tried to generate the jaxbmodel class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking entity-manager-factory-ref for instance, it can not be found in geronimo-naming-1.2.xsd.
> And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file?
> [INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
> [INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd and others
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 127 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ref-name'
> [ERROR] line 146 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:pattern'
> [ERROR] line 147 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc'
> [ERROR] line 148 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:name'
> [ERROR] line 149 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css'
> [ERROR] line 150 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css-link'
> [ERROR] line 151 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ejb-link'
> [ERROR] line 152 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'app:security'
> [ERROR] line 222 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'persistence'
> [ERROR] line 228 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 239 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 297 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [INFO] failure in the XJC task. Use the Ant -verbose switch for more details
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.359s
> [INFO] Finished at: Thu Apr 14 16:12:21 CST 2011
> [INFO] Final Memory: 3M/15M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (GERONIMO-6050) openejb-jar-2.2.xsd is out-of-date
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang updated GERONIMO-6050:
------------------------------------
Attachment: (was: GERONIMO-6050.patch)
> openejb-jar-2.2.xsd is out-of-date
> ----------------------------------
>
> Key: GERONIMO-6050
> URL: https://issues.apache.org/jira/browse/GERONIMO-6050
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Affects Versions: 3.0-M1
> Reporter: Han Hong Fang
> Fix For: 3.0
>
>
> I got following errors when I tried to generate the jaxbmodel class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking entity-manager-factory-ref for instance, it can not be found in geronimo-naming-1.2.xsd.
> And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file?
> [INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
> [INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd and others
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 127 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ref-name'
> [ERROR] line 146 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:pattern'
> [ERROR] line 147 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc'
> [ERROR] line 148 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:name'
> [ERROR] line 149 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css'
> [ERROR] line 150 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css-link'
> [ERROR] line 151 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ejb-link'
> [ERROR] line 152 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'app:security'
> [ERROR] line 222 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'persistence'
> [ERROR] line 228 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 239 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 297 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [INFO] failure in the XJC task. Use the Ant -verbose switch for more details
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.359s
> [INFO] Finished at: Thu Apr 14 16:12:21 CST 2011
> [INFO] Final Memory: 3M/15M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (GERONIMO-6050) openejb-jar-2.2.xsd is out-of-date
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang updated GERONIMO-6050:
------------------------------------
Attachment: GERONIMO-6050.patch
Here comes the patch.
> openejb-jar-2.2.xsd is out-of-date
> ----------------------------------
>
> Key: GERONIMO-6050
> URL: https://issues.apache.org/jira/browse/GERONIMO-6050
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Affects Versions: 3.0-M1
> Reporter: Han Hong Fang
> Fix For: 3.0
>
> Attachments: GERONIMO-6050.patch
>
>
> I got following errors when I tried to generate the jaxbmodel class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking entity-manager-factory-ref for instance, it can not be found in geronimo-naming-1.2.xsd.
> And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file?
> [INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
> [INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd and others
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 127 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ref-name'
> [ERROR] line 146 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:pattern'
> [ERROR] line 147 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc'
> [ERROR] line 148 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:name'
> [ERROR] line 149 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css'
> [ERROR] line 150 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css-link'
> [ERROR] line 151 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ejb-link'
> [ERROR] line 152 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'app:security'
> [ERROR] line 222 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'persistence'
> [ERROR] line 228 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 239 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 297 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [INFO] failure in the XJC task. Use the Ant -verbose switch for more details
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.359s
> [INFO] Finished at: Thu Apr 14 16:12:21 CST 2011
> [INFO] Final Memory: 3M/15M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (GERONIMO-6050) openejb-jar-2.2.xsd is
out-of-date
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang resolved GERONIMO-6050.
-------------------------------------
Resolution: Fixed
> openejb-jar-2.2.xsd is out-of-date
> ----------------------------------
>
> Key: GERONIMO-6050
> URL: https://issues.apache.org/jira/browse/GERONIMO-6050
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Affects Versions: 3.0-M1
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 3.0
>
> Attachments: Geronimo-6050.patch
>
>
> I got following errors when I tried to generate the jaxbmodel class for openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking entity-manager-factory-ref for instance, it can not be found in geronimo-naming-1.2.xsd.
> And xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.2" is still in version 1.2, should it be updated to geronimo-application-2.0.xsd? BTW, I can not find the xsd file for application-1.2 under http://geronimo.apache.org/xml/ns/j2ee/, where can I get this file?
> [INFO] --- maven-jaxb-plugin:1.1.1:generate (default) @ mytest ---
> [INFO] Compiling file:/D:/test/xjctest/src/main/resources/attributes-1.2.xsd and others
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 127 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ref-name'
> [ERROR] line 146 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:pattern'
> [ERROR] line 147 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ns-corbaloc'
> [ERROR] line 148 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:name'
> [ERROR] line 149 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css'
> [ERROR] line 150 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:css-link'
> [ERROR] line 151 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:ejb-link'
> [ERROR] line 152 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'app:security'
> [ERROR] line 222 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'persistence'
> [ERROR] line 228 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 239 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [ERROR] [ERROR] undefined element declaration 'naming:entity-manager-factory-ref'
> [ERROR] line 297 of file:/D:/test/xjctest/src/main/resources/openejb-jar-2.2.xsd
> [ERROR]
> [INFO] failure in the XJC task. Use the Ant -verbose switch for more details
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 22.359s
> [INFO] Finished at: Thu Apr 14 16:12:21 CST 2011
> [INFO] Final Memory: 3M/15M
> [INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira