Skip to content

Commit 8c94b6a

Browse files
committed
[409872] The attribute xsi:schemaLocation in DD is incorrect when Java
EE 6 and 7 projects are created
1 parent 3c826cb commit 8c94b6a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/core/internal/util/JavaEEExtendedMetaData.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,9 @@ public String getNamespace(EPackage ePackage)
232232
initURIs();
233233
if (ePackage instanceof ApplicationPackage || ePackage instanceof ApplicationclientPackage ||ePackage instanceof EjbPackage ||ePackage instanceof JcaPackage || ePackage instanceof WebPackage)
234234
{
235-
retVal = uri;
235+
// bug 409872 - we need to return the Java EE namespace, not the xsd URI
236+
// retVal = uri;
237+
retVal = javaeeUri;
236238
}
237239
else if (ePackage instanceof JavaeePackage)
238240
{

0 commit comments

Comments
 (0)