*/
public void parseResource(Resource resource, ContentHandler handler)
throws SAXParseException, IOException
{
BufferedInputStream bis = null;
SimpleDataLanguageParser parser = null;
Locator locator = null;
try
{
InputStream rawStream = resource.getResourceURL().openStream();
bis = new BufferedInputStream(rawStream);
parser = new SimpleDataLanguageParser(rawStream);
locator = parser.getLocator();
parser.parse(handler);
bis.close();
bis = null;
}
catch (TokenMgrError ex)