[326542] [content model] target attribute in <a> tag incorrectly flagged as warning in HTML5 page
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java
index 801dbdf..155b67a 100644
--- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java
+++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/HTML5AttributeCollection.java
@@ -640,7 +640,7 @@
* (coords %Coords; #IMPLIED)
*/
else if (elementName.equals(HTML40Namespace.ElementName.A)){
- String[] names = { ATTR_NAME_MEDIA, ATTR_NAME_TYPE, ATTR_NAME_HREF, ATTR_NAME_HREFLANG, ATTR_NAME_REL};
+ String[] names = { ATTR_NAME_MEDIA, ATTR_NAME_TYPE, ATTR_NAME_HREF, ATTR_NAME_HREFLANG, ATTR_NAME_REL, ATTR_NAME_TARGET};
getDeclarations(attributes, Arrays.asList(names).iterator());
@@ -657,12 +657,6 @@
attr.obsolete(true);
attributes.putNamedItem(ATTR_NAME_REV, attr);
- // (target %FrameTarget; #IMPLIED)
- atype = new HTMLCMDataTypeImpl(HTMLCMDataType.FRAME_TARGET);
- attr = new HTMLAttrDeclImpl(ATTR_NAME_TARGET, atype, CMAttributeDeclaration.OPTIONAL);
- attr.obsolete(true);
- attributes.putNamedItem(ATTR_NAME_TARGET, attr);
-
// (directkey %Character; #IMPLIED)
atype = new HTMLCMDataTypeImpl(HTMLCMDataType.CHARACTER);
attr = new HTMLAttrDeclImpl(ATTR_NAME_DIRECTKEY, atype, CMAttributeDeclaration.OPTIONAL);