Author: christian.bauer(a)jboss.com
Date: 2008-06-19 12:58:51 -0400 (Thu, 19 Jun 2008)
New Revision: 8387
Modified:
trunk/seam-text.g
Log:
Another NPE
Modified: trunk/seam-text.g
===================================================================
--- trunk/seam-text.g 2008-06-19 14:57:46 UTC (rev 8386)
+++ trunk/seam-text.g 2008-06-19 16:58:51 UTC (rev 8387)
@@ -293,7 +293,7 @@
}
// CSS property value
- if (!stylePropertiesValues.contains(propertyValue)) {
+ if (propertyValue != null &&
!stylePropertiesValues.contains(propertyValue)) {
// Not in list, now check the regex
if (!REGEX_VALID_CSS_VALUE.matcher(propertyValue).matches()) {
throw new
SemanticException(getInvalidAttributeValueMessage(elementName, attributeName,
attributeValue));