eclipse plugin: skip reading characters if we didn't parse a tag yet
This commit is contained in:
parent
7569a1f517
commit
076bd7d8b0
1 changed files with 2 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Reference in a new issue