application.xml schemalocation declaration broken -------------------------------------------------
Key: MECLIPSE-678 URL: http://jira.codehaus.org/browse/MECLIPSE-678 Project: Maven 2.x 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 is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira