geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMODEVTOOLS-729) application.xml has wrong xml name space
Date Tue, 12 Apr 2011 03:42:05 GMT

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

Forrest Xia commented on GERONIMODEVTOOLS-729:
----------------------------------------------

The recurring steps need to revised as follows:
1. start eclipse and install the latest gep 3.0 snapshot build
2. create an ejb project, select geronimo as target runtime, and add it to a new ear project
in the same wizard.
3. open the generated application.xml in the new ear project

Attached a generated application.xml for reference.

> application.xml has wrong xml name space
> ----------------------------------------
>
>                 Key: GERONIMODEVTOOLS-729
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-729
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 3.0
>         Environment: eclipse helios sr1
> latest GEP 3.0-snapshot build
>            Reporter: Forrest Xia
>            Priority: Minor
>
> 1. start eclipse and install the latest gep 3.0 snapshot build
> 2. create an ear project
> 3. open the generated application.xml
> you will see a xml name space like this:
> <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd"
> 	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd"
> 	id="Application_ID" version="6">
> Note that xmlns:application="http://java.sun.com/xml/ns/javaee/application_5.xsd" is
different from xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd",
they should be aligned to application_6.xsd.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message