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
return testProperty(res, true, true, value);
        } else if (name.equals(SESSION_PROPERTY)) {
            return testProperty(res, false, false, value);
        } else if (name.equals(PROJECT_SESSION_PROPERTY)) {
            return testProperty(res, false, true, value);
        } else if (name.equals(XML_FIRST_TAG)) {
            return testXMLProperty(res, name, value);
        } else if (name.equals(XML_DTD_NAME)) {
            return testXMLProperty(res, name, value);
        } else if (name.equals(CONTENT_TYPE_ID)) {
            return testContentTypeProperty(res, value);
        }
        return false;
    }
    /**
     * Tests whether the content type for <code>resource</code> matches the
     * <code>contentTypeId</code>. It is possible that this method call could
     * cause the resource to be read. It is also possible (through poor plug-in
     * design) for this method to load plug-ins.
     * 
     * @param resource
     *            The resource for which the content type should be determined;
     *            must not be <code>null</code>.
     * @param contentTypeId
     *            The expected content type; must not be <code>null</code>.
     * @return <code>true</code> iff the best matching content type has an
     *         identifier that matches <code>contentTypeId</code>;
     *         <code>false</code> otherwise.
     */
    private final boolean testContentTypeProperty(final IResource resource,