summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvrubezhny2014-04-09 12:39:39 (EDT)
committerNick Sandonato2014-04-23 23:24:19 (EDT)
commit79231d17c01dcd67e0edc2f1f0cfecc57cbb493a (patch)
tree2dc795a5dbdb182b124e055f1ffa7b79b562c167
parent2f0f662df276264f8e3119843b283099e40e28ef (diff)
downloadwebtools.sourceediting-79231d17c01dcd67e0edc2f1f0cfecc57cbb493a.zip
webtools.sourceediting-79231d17c01dcd67e0edc2f1f0cfecc57cbb493a.tar.gz
webtools.sourceediting-79231d17c01dcd67e0edc2f1f0cfecc57cbb493a.tar.bz2
Bug 432458 - [validation] Greater-than ('>') character incorrectly considered an invalid character in HTML5 textv201404240330
Greater-than ('>') character is enabled to be in the TEXT node when validating source. Signed-off-by: vrubezhny <vrubezhny@exadel.com>
-rw-r--r--bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/document/SourceValidator.java4
1 files changed, 2 insertions, 2 deletions
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 @@ public class SourceValidator {
// setup validation conditions
boolean acceptTag = false;
- boolean acceptClose = false;
+ boolean acceptClose = true; // See: Bug #432458
boolean acceptQuote = true;
boolean acceptEntityRef = true;
String endTagName = null;