229898 JSP Syntax validator reporting misleading
diff --git a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/SyntaxValidator.java b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/SyntaxValidator.java
index 75cc031..d1da8b4 100644
--- a/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/SyntaxValidator.java
+++ b/bundles/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/validate/SyntaxValidator.java
@@ -95,8 +95,8 @@
 		// gather information to validate from target at once.
 		getInfo(info);
 
+		validateTags(info);
 		if (info.target.isGlobalTag()) {
-			validateTags(info);
 			validateNames(info);
 			if (info.decl != null && info.isXHTML) {
 				validateTagCase(info);
@@ -185,10 +185,10 @@
 		else {
 			if (info.hasEndTag) {
 				if (info.decl != null) {
-					if (CMUtil.isHTML(info.decl) && !info.target.hasChildNodes()) {
+					if (/*CMUtil.isHTML(info.decl) &&*/ !info.target.hasChildNodes()) {
 						if (info.target.isContainer()) {
 							// Set the error mark to the start of the element.
-							Segment errorSeg = new Segment(info.target.getStartOffset(), 0);
+							Segment errorSeg = FMUtil.getSegment(info.target, FMUtil.SEG_END_TAG);
 							report(MISSING_START_TAG_ERROR, errorSeg, info.target);
 						}
 						else {