Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-304

HtmlParser could be easier to subclass

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4, 0.5
    • 0.5
    • parser
    • None

    Description

      It would be nice if one could subclass HtmlParser to change what it passes along, instead of having to copy it. I'll attach a first effort.

      It would also be good if attributes could be preserved (particularly id attributes) but let's see how you like my first patch.

      Attachments

        1. html-parser-subclass.diff
          1 kB
          Benson Margulies

        Activity

          People

            jukkaz Jukka Zitting
            bmargulies Benson Margulies
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: