Bug 66967 [Contributions] PropertyParser should be deprecated (or removed)
Internal class org.eclipse.ui.ide/org.eclipse.ui.internal.ide.model/PropertyParser should be deprecated. People should be using the extension point org.eclipse.core.runtime.contentTypes instead Note that the tags XML_FIRST_TAG and XML_DTD_NAME have already been deprecated. Can we actually remove these instead of deprecating them?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/model/WorkbenchResource.java
key = new QualifiedName(null, propertyName);
            }
            IResource resToCheck = projectFlag ? resource.getProject()
                    : resource;
            
            if (resToCheck == null) {
                return false;
            }
            if (persistentFlag) {
                String actualVal = resToCheck.getPersistentProperty(key);
                if (actualVal == null) {
                    return false;
                }
                return expectedVal == null || expectedVal.equals(actualVal);
            } else {
                Object actualVal = resToCheck.getSessionProperty(key);
                if (actualVal == null) {
                    return false;
                }
                return expectedVal == null
                        || expectedVal.equals(actualVal.toString());
            }
        } catch (CoreException e) {
            
        }
        return false;
    }
    /**
     * Test whether a given xml property matches that xml
     * element in the file.  Note that these properties will