ubermichael / isetools

Tools for parsing data for the Internet Shakespeare Editions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

log warning for duplicate attributes

telic opened this issue · comments

When an element has two attributes with the same name, all but the last instance are silently dropped (eg. <ACT n="1" n="2"> would appear in the DOM with only one attribute "n" set to "2").

ca.nines.ise.node.TagNode#setAttribute should log a warning if it notices this is about to happen.