Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Can we make parsing more tolerant? #59

@gkuenning

Description

@gkuenning

On a regular basis, Google makes changes to the Voice pages that cause the expat parser to reject them. For example, as of today (19-Nov-2018) the parser is upset that meta tags and input tags aren't closed, and also that some fields have parameters that aren't recognized. The underlying problem seems to be that HTML is much less strict than XML.

Does anybody have thoughts about how to resolve this issue? So far my approach has always been to wait a day or two, after which either Google fixes the HTML or the DTD gets corrected. But it would be nice to be able to use a more lenient parser. I don't know how much impact that would have on the code; I haven't dug deeply.

Thoughts would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions