Skip to content
This repository was archived by the owner on Oct 3, 2022. It is now read-only.
This repository was archived by the owner on Oct 3, 2022. It is now read-only.

html5lib/_ihatexml.py:265: DataLossWarning: Coercing non-XML name #44

@jwilk

Description

@jwilk

I see this when testing with warnings enabled:

$ PYTHONWARNINGS=a make test
python -c 'import nose; nose.main()' --verbose
...
tests.hocr2djvused.test.test_from_file('alice_tesseract3.02+charboxes', 1, '--html5') ... /usr/lib/python2.7/dist-packages/html5lib/_ihatexml.py:265: DataLossWarning: Coercing non-XML name
  warnings.warn("Coercing non-XML name", DataLossWarning)
ok
...
tests.hocr2djvused.test.test_from_file('alice_tesseract3.02+charboxes', 2, '--html5') ... /usr/lib/python2.7/dist-packages/html5lib/_ihatexml.py:265: DataLossWarning: Coercing non-XML name
  warnings.warn("Coercing non-XML name", DataLossWarning)
ok
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions