commit | de05229a04ef24575cde88b65150f85eb09f3f0d | [log] [tgz] |
---|---|---|
author | nitind <nitind> | Mon Sep 03 09:45:42 2007 +0000 |
committer | nitind <nitind> | Mon Sep 03 09:45:42 2007 +0000 |
tree | 3e7cfe6ab7c9a5d68d7b13ea3eb202b8c5a611b3 | |
parent | edec0512fe10460a1490c111af174d1f6a1dda63 [diff] |
[197270] rtexprvalue attribute in tag file's attribute causes Undefined attribute name warning
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/JSP20Namespace.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/JSP20Namespace.java index 9bf34b8..5a0dc9a 100644 --- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/JSP20Namespace.java +++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/JSP20Namespace.java
@@ -50,7 +50,7 @@ String ATTR_NAME_REQUIRED = "required"; //$NON-NLS-1$ String ATTR_NAME_FRAGMENT = "fragment"; //$NON-NLS-1$ - String ATTR_NAME_RTXPRVALUE = "rtxprvalue"; //$NON-NLS-1$ + String ATTR_NAME_RTEXPRVALUE = "rtexprvalue"; //$NON-NLS-1$ String ATTR_NAME_TYPE = "type"; //$NON-NLS-1$ String ATTR_NAME_NAME_GIVEN = "name-given"; //$NON-NLS-1$
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/Tag20ElementCollection.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/Tag20ElementCollection.java index baa6c2b..71eb1f3 100644 --- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/Tag20ElementCollection.java +++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/contentmodel/Tag20ElementCollection.java
@@ -117,12 +117,12 @@ adec.usage = CMAttributeDeclaration.OPTIONAL; declarations.putNamedItem(JSP20Namespace.ATTR_NAME_FRAGMENT, adec); - adec = new AttrDecl(JSP20Namespace.ATTR_NAME_RTXPRVALUE); + adec = new AttrDecl(JSP20Namespace.ATTR_NAME_RTEXPRVALUE); adec.type = new HTMLCMDataTypeImpl(CMDataType.ENUM); values = new String[]{ATTR_VALUE_TRUE, ATTR_VALUE_FALSE}; adec.type.setEnumValues(values); adec.usage = CMAttributeDeclaration.OPTIONAL; - declarations.putNamedItem(JSP20Namespace.ATTR_NAME_RTXPRVALUE, adec); + declarations.putNamedItem(JSP20Namespace.ATTR_NAME_RTEXPRVALUE, adec); adec = new AttrDecl(JSP20Namespace.ATTR_NAME_TYPE); adec.type = new HTMLCMDataTypeImpl(CMDataType.CDATA);