[nobug] Using Validate on a source folder removes Problems from JS files
diff --git a/bundles/org.eclipse.wst.jsdt.web.core/plugin.properties b/bundles/org.eclipse.wst.jsdt.web.core/plugin.properties
index f927b2c..2b4e21a 100644
--- a/bundles/org.eclipse.wst.jsdt.web.core/plugin.properties
+++ b/bundles/org.eclipse.wst.jsdt.web.core/plugin.properties
@@ -17,6 +17,7 @@
 extension.name.1 = Embedded JavaScript Builder
 extension-point.name.0 = JavaScript Pre Processing
 javascript.validator= Client-side JavaScript
+problemMarker.name=Client-side JavaScript Problem
 facet.label=JavaScript
 facet.description=Enables JavaScript development using multiple source files in a configurable Include Path.
 
diff --git a/bundles/org.eclipse.wst.jsdt.web.core/plugin.xml b/bundles/org.eclipse.wst.jsdt.web.core/plugin.xml
index 97393f8..6aa4408 100644
--- a/bundles/org.eclipse.wst.jsdt.web.core/plugin.xml
+++ b/bundles/org.eclipse.wst.jsdt.web.core/plugin.xml
@@ -74,6 +74,16 @@
 		   </builder>    
 	   </extension>
 
+    <extension id="problem" point="org.eclipse.core.resources.markers" name="%problemMarker.name">
+        <super type="org.eclipse.wst.jsdt.core.problem"/>
+        <super type="org.eclipse.core.resources.problemmarker"/>
+        <super type="org.eclipse.core.resources.textmarker"/>
+        <persistent value="true"/>
+        <attribute name="id"/>
+        <attribute name="flags"/>
+        <attribute name="arguments"/>
+        <attribute name="categoryId"/>
+    </extension>   
 	
 	<!--======================================================================================-->
 	<!-- JS batch validation in Web files                                                     -->
@@ -87,8 +97,8 @@
 			class="org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator"
             manual="false"
             sourceid="org.eclipse.wst.jsdt.web.jssourcevalidator"
-            version="1"
-            markerId="org.eclipse.wst.jsdt.core.problem">
+            version="2"
+            markerId="org.eclipse.wst.jsdt.web.core.problem">
          <include>
             <rules>
 				<projectNature id="org.eclipse.wst.jsdt.core.jsNature" />
diff --git a/bundles/org.eclipse.wst.jsdt.web.ui/plugin.properties b/bundles/org.eclipse.wst.jsdt.web.ui/plugin.properties
index 09d199d..88766f0 100644
--- a/bundles/org.eclipse.wst.jsdt.web.ui/plugin.properties
+++ b/bundles/org.eclipse.wst.jsdt.web.ui/plugin.properties
@@ -65,3 +65,9 @@
 renameParticipant.name.3 = JSDT Web Rename Participant
 queryParticipant.name.0 = JavaScript Query Participant
 javaScriptProposals = JavaScript Proposals
+
+
+##########################################################################
+# Marker Support
+##########################################################################
+markerCategory.problem = JavaScript Problems
diff --git a/bundles/org.eclipse.wst.jsdt.web.ui/plugin.xml b/bundles/org.eclipse.wst.jsdt.web.ui/plugin.xml
index 8c0bbbb..9088bd7 100644
--- a/bundles/org.eclipse.wst.jsdt.web.ui/plugin.xml
+++ b/bundles/org.eclipse.wst.jsdt.web.ui/plugin.xml
@@ -781,4 +781,11 @@
 	  </contentTypeIdentifier>
 	</inserter>
 </extension>
+
+   <extension point="org.eclipse.ui.ide.markerSupport">
+      <markerTypeCategory name="%markerCategory.problem">
+         <markerTypeReference id="org.eclipse.wst.jsdt.web.core.problem"/>
+      </markerTypeCategory>
+   </extension>
+
 </plugin>