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/PropertyParser.java
*/
    
    private static SAXParser parser;
    private static SAXParserFactory parserFactory;
    
    private IResource parseResource = null;
    int x = initializeParser();
    private int initializeParser() {
        try {
            parserFactory = SAXParserFactory.newInstance();
            parserFactory.setNamespaceAware(true);
            try {
                parserFactory.setFeature(
                        "http://xml.org/sax/features/string-interning", true); 
                parserFactory.setValidating(false);
            } catch (SAXException e) {
                IDEWorkbenchPlugin
                        .log(
                                "Problem initializing parser", new Status(IStatus.ERROR, IDEWorkbenchPlugin.IDE_WORKBENCH, IStatus.ERROR, "Problem initializing parser", e)); 
            }
            parser = parserFactory.newSAXParser();
            XMLReader reader = parser.getXMLReader();
            reader.setProperty(
                    "http://xml.org/sax/properties/lexical-handler", this); 
        } catch (Exception e) {
            IDEWorkbenchPlugin
                    .log(
                            "Problem initializing parser", new Status(IStatus.ERROR, IDEWorkbenchPlugin.IDE_WORKBENCH, IStatus.ERROR, "Problem initializing parser", e)); 
        }
        return 1;