[330335] Wrong error shown by JspMarkupValidator for unknown tags
diff --git a/bundles/org.eclipse.wst.xml.core/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.xml.core/META-INF/MANIFEST.MF
index dc0baf0..7053a0c 100644
--- a/bundles/org.eclipse.wst.xml.core/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.wst.xml.core/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.wst.xml.core; singleton:=true
-Bundle-Version: 1.1.312.qualifier
+Bundle-Version: 1.1.313.qualifier
Bundle-Activator: org.eclipse.wst.xml.core.internal.XMLCorePlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/ElementImpl.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/ElementImpl.java
index 8db82f1..a2dbf48 100644
--- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/ElementImpl.java
+++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/ElementImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2001, 2006 IBM Corporation and others.
+ * Copyright (c) 2001, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -782,7 +782,7 @@
if (!isXMLTag()) { // non-XML tag
CMElementDeclaration decl = getDeclaration();
if (decl == null)
- return false; // undefined tag
+ return true; // undefined tag
return (decl.getContentType() != CMElementDeclaration.EMPTY);
}
return true;
diff --git a/features/org.eclipse.wst.xml_core.feature.patch/buildnotes_org.eclipse.wst.xml_core.feature.patch.html b/features/org.eclipse.wst.xml_core.feature.patch/buildnotes_org.eclipse.wst.xml_core.feature.patch.html
index 9185e32..662d859 100644
--- a/features/org.eclipse.wst.xml_core.feature.patch/buildnotes_org.eclipse.wst.xml_core.feature.patch.html
+++ b/features/org.eclipse.wst.xml_core.feature.patch/buildnotes_org.eclipse.wst.xml_core.feature.patch.html
@@ -18,7 +18,7 @@
<p>Bug <a href="https://bugs.eclipse.org/289464">289464</a>. IExecutionDelegate should be using ISafeRunnable</p>
<p>Bug <a href="https://bugs.eclipse.org/290454">290454</a>. DTD Content Model is missing IDREFS data type name</p>
<p>Bug <a href="https://bugs.eclipse.org/290966">290966</a>. JSP include directives do not handle non-JSP content types</p>
-<p>Bug <a href='https://bugs.eclipse.org/292079'>292079</a>. [parser] Scriptlet in <script> attribute tags can cause the region to not be block text</p>
+<p>Bug <a href='https://bugs.eclipse.org/292079'>292079</a>. [parser] Scriptlet in script attribute tags can cause the region to not be block text</p>
<p>Bug <a href='https://bugs.eclipse.org/289745'>289745</a>. [document] StructuredDocumentRegionUtil not compensating for StructuredDocumentRegionProxy</p>
<p>Bug <a href='https://bugs.eclipse.org/292469'>292469</a>. [parser] XMLSourceParser#regionMatches should compensate for offset</p>
<p>Bug <a href='https://bugs.eclipse.org/297208'>297208</a>. [formatting] Format Source doesn't format XML files correctly with preserve whitespace mode</p>
@@ -32,5 +32,6 @@
<p>Bug <a href='https://bugs.eclipse.org/316551'>316551</a>. [parser] Is HTML DOM correctly treating implicitly-closed tags?</p>
<p>Bug <a href='https://bugs.eclipse.org/321794'>321794</a>. ClassCast exception can occur while updating XML model adapted to two EMF models</p>
<p>Bug <a href='https://bugs.eclipse.org/322836'>322836</a>. Wrong default value generated for base64binary simple types</p>
+<p>Bug <a href='https://bugs.eclipse.org/330335'>330335</a>. Wrong error shown by JspMarkupValidator for unknown tags</p>
</body>
</head>
\ No newline at end of file
diff --git a/features/org.eclipse.wst.xml_core.feature.patch/feature.properties b/features/org.eclipse.wst.xml_core.feature.patch/feature.properties
index b166f9b..232f5cf 100644
--- a/features/org.eclipse.wst.xml_core.feature.patch/feature.properties
+++ b/features/org.eclipse.wst.xml_core.feature.patch/feature.properties
@@ -50,6 +50,7 @@
Bug https://bugs.eclipse.org/316551 [parser] Is HTML DOM correctly treating implicitly-closed tags?\n\
Bug https://bugs.eclipse.org/321794 ClassCast exception can occur while updating XML model adapted to two EMF models\n\
Bug https://bugs.eclipse.org/322836 Wrong default value generated for base64binary simple types\n\
+Bug https://bugs.eclipse.org/330335 Wrong error shown by JspMarkupValidator for unknown tags\n\
\n\
# "copyright" property - text of the "Feature Update Copyright"