[
https://jira.codehaus.org/browse/MECLIPSE-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MECLIPSE-678.
-----------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> application.xml schemalocation declaration broken
> -------------------------------------------------
>
> Key: MECLIPSE-678
> URL: https://jira.codehaus.org/browse/MECLIPSE-678
> Project: Maven Eclipse Plugin
> Issue Type: Bug
> Components: WTP support
> Affects Versions: 2.8
> Environment: Maven 3, WTP 1.5, RAD 7.5.5
> Reporter: Steffen Grunwald
>
> The generated application.xml has a wrong schemaLocation declaration that
> does not follow the JEE 1.4 specification [1]
> The schemalocation attribute is prefixed with xmlns, which - correctly
> interpreted - is a namespace declaration with the prefix schemaLocation [2]
> Issue MECLIPSE-352 already fixed this [3] but it was only having in mind that
> this is absolutely necessary for Rational Application Developer to support
> fancy deployment descriptor editors. To be exact, it was only fixed for
> websphere servers. Since websphere detection is not considering websphere
> versions > 6.1 the bug is back on the table. And the wrong schemaLocation
> declaration should be revisited not only in the RAD/WebSphere context.
> I propose that the websphere check is removed to always supply the correct
> xsi:schemaLocation attribute name.
> [1] http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf (page 132)
> [2] http://www.w3.org/TR/2009/REC-xml-names-20091208/#dt-prefix
> [3]
> http://maven.apache.org/plugins/maven-eclipse-plugin/xref/org/apache/maven/plugin/eclipse/writers/wtp/EclipseWtpApplicationXMLWriter.html#250
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)