Bug 432458 - [validation] Greater-than ('>') character incorrectly considered an invalid character in HTML5 text
Greater-than ('>') character is enabled to be in the TEXT node when validating source.
Signed-off-by: vrubezhny <vrubezhny@exadel.com>
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/SourceValidator.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/SourceValidator.java
index 2051222..ce18567 100644
--- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/SourceValidator.java
+++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/SourceValidator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2001, 2010 IBM Corporation and others.
+ * Copyright (c) 2001, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -250,7 +250,7 @@
// setup validation conditions
boolean acceptTag = false;
- boolean acceptClose = false;
+ boolean acceptClose = true; // See: Bug #432458
boolean acceptQuote = true;
boolean acceptEntityRef = true;
String endTagName = null;