eclipse plugin: skip reading characters if we didn't parse a tag yet

This commit is contained in:
Timotei Dolean 2010-08-09 14:19:54 +00:00
parent 7569a1f517
commit 076bd7d8b0

View file

@ -71,6 +71,8 @@ public class DefinesSAXHandler extends DefaultHandler
throws SAXException
{
super.characters(ch, start, length);
if (stack_.isEmpty())
return;
String element = stack_.peek();
if (element.equals("name"))