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

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

Open
jwilk opened this issue Aug 5, 2022 · 0 comments
Open

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

jwilk opened this issue Aug 5, 2022 · 0 comments

Comments

@jwilk
Copy link
Member

jwilk commented Aug 5, 2022

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
...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant