Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#262 AttVal.isEvent throws NullPointerException

open
nobody
None
5
2014-06-25
2014-06-25
Renato
No

In branch: CodeUpdateAndJava5 (r1261) in file org.w3c.tidy.AttVal.java:212 the code:
boolean isEvent() {
AttrId atid = dict.id;

Must be changed to:
boolean isEvent() {
AttrId atid = getId();

Or else a NullPointerException is thrown when dict is null.

Discussion