Author: vrubezhny
Date: 2012-01-18 08:23:50 -0500 (Wed, 18 Jan 2012)
New Revision: 37939
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/JSFValidationMessage.java
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/messages.properties
Log:
JBIDE-10472
CLONE - XHTML Validator hangs eclipse
JUnit Test org.jboss.tools.jsf.test.validation.XHTMLValidatorTest is made up-to-date
according to new XHTML/Non-XHTML file detection algorithm and XHTML validator
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/JSFValidationMessage.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/JSFValidationMessage.java 2012-01-18
13:23:21 UTC (rev 37938)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/JSFValidationMessage.java 2012-01-18
13:23:50 UTC (rev 37939)
@@ -16,6 +16,7 @@
public static String XHTML_VALIDATION;
public static String XHTML_VALIDATION_NO_START_TAG;
public static String XHTML_VALIDATION_NO_END_TAG;
+ public static String XHTML_VALIDATION_BAD_ENTITY;
public static String VIEW_ID_NO_SLASH;
public static String TO_VIEW_ID_EMPTY;
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/messages.properties
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/messages.properties 2012-01-18
13:23:21 UTC (rev 37938)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/web/validation/messages.properties 2012-01-18
13:23:50 UTC (rev 37939)
@@ -9,7 +9,9 @@
XHTML_VALIDATION=XHTML Syntax Validation: {0}
XHTML_VALIDATION_NO_START_TAG=No start tag for element "{0}"
-XHTML_VALIDATION_NO_END_TAG=No end tag for element "{0}"
+#XHTML_VALIDATION_NO_END_TAG=No end tag for element "{0}"
+XHTML_VALIDATION_NO_END_TAG=The element type "{0}" must be terminated by the
matching end-tag "</{0}>".
+XHTML_VALIDATION_BAD_ENTITY=The entity name must immediately follow the '&'
in the entity reference.
VIEW_ID_NO_SLASH=Attribute {0} must start with \/
TO_VIEW_ID_EMPTY=Attribute {0} must not be empty