Re: Can I make tags be upper case?

28 views
Skip to first unread message

John Cowan

unread,
Jun 18, 2014, 4:03:51 PM6/18/14
to tagsoup...@googlegroups.com
Kathryn Mazaitis scripsit [in a message I accidentally deleted]:

> I'm using TagSoup to fix unclosed tags in a large (100s of GB) XML
> dataset. It works great! Except, it makes the tags that match HTML
> elements lower-case, and that screws up my unmarshaller later on.
> Can I configure TagSoup to not change the case of tags, or to force
> them to be upper case?

I *think* it would be enough to change the uses of "toLowerCase" in
Schema.java and Parser.java to "toUpperCase", but I haven't tried it.

--
John Cowan http://www.ccil.org/~cowan co...@ccil.org
Is not a patron, my Lord [Chesterfield], one who looks with unconcern
on a man struggling for life in the water, and when he has reached ground
encumbers him with help? --Samuel Johnson
Reply all
Reply to author
Forward
0 new messages