SAXParserFactory spfactory = SAXParserFactory.newInstance();
spfactory.setValidating(false);
SAXParser parser = spfactory.newSAXParser();
XMLReader reader = parser.getXMLReader();
TLDSAXHandler handler = new TLDSAXHandler();
reader.setEntityResolver(new TLDResolver());
reader.setContentHandler(handler);
reader.parse(new InputSource(new FileInputStream(new File(openFile))));
List tagInfoList = handler.getResult();
for(int i=0;i<tagInfoList.size();i++){
TagInfo info = (TagInfo)tagInfoList.get(i);