[seam-commits] Seam SVN: r8385 - trunk.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Jun 18 16:49:04 EDT 2008


Author: christian.bauer at jboss.com
Date: 2008-06-18 16:49:04 -0400 (Wed, 18 Jun 2008)
New Revision: 8385

Modified:
   trunk/seam-text.g
Log:
Avoid NPE

Modified: trunk/seam-text.g
===================================================================
--- trunk/seam-text.g	2008-06-18 17:37:47 UTC (rev 8384)
+++ trunk/seam-text.g	2008-06-18 20:49:04 UTC (rev 8385)
@@ -260,6 +260,8 @@
                                                Token attribute,
                                                String attributeValue) throws SemanticException {
 
+            if (attributeValue == null || attributeValue.length() == 0) return;
+
             String elementName = element.getText().toLowerCase();
             String attributeName = attribute.getText().toLowerCase();
 




More information about the seam-commits mailing list