Bug 293787 Markers view not filtering by workingsets
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
if (!resource.getFullPath().isPrefixOf(
							longPathRes.getFullPath())) {
						return Collections.EMPTY_LIST;
					}
				}
			}
			if (longPathRes != null) {
				List list = new ArrayList(1);
				list.add(longPathRes);
				return list;
			}
		}
		Set ressouceSetClone = new HashSet(resourceSet);
		Iterator cloneIterator = ressouceSetClone.iterator();
		while (cloneIterator.hasNext()) {
			IResource resource = (IResource) cloneIterator.next();
			Iterator iterator = resourceSet.iterator();
			while (iterator.hasNext()) {
				IResource resToRemove = (IResource) iterator.next();
				if(resource.equals(resToRemove)){
					continue;
				}
				if (resource.getFullPath()
						.isPrefixOf(resToRemove.getFullPath())) {
					iterator.remove();
				}
				if(resource.equals(root)){
					resourceSet.clear();
					resourceSet.add(root);
					return resourceSet;