Fix various lint bugs
This changeset fixes various lint bugs:
1) Handle XML files that contain a BOM (byte order marker); these
files were throwing parsing errors before
2) Handle a bug in the position tracking in the command line XML
parser where once it had computed the end range for an attribute it
would use that as the end range of the surrounding element as well
3) Fix a bug in the Java source scanner where it would run into an
exception processing package-info.java files.
4) Don't report unused resources on @+android:id resources
5) In the HTML summary, if the text overflows the available area, add
scrollbars. Also tweak issue sorting some more.
Change-Id: I9b88c1a936a5349559c4d7a5c87dcfa44e86d2f4
8 files changed