diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2021-08-12 16:58:41 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2021-08-12 16:59:26 +0200 |
commit | 83e6c031994d553b74991501c6cd85e3517fadd8 (patch) | |
tree | f455881a911562a009f0de2f4dcc783d181af8aa /test.py | |
parent | e23a807e816373e9eae9d45b5cecdd85ed2fa76a (diff) | |
download | python-lxml-xml_int_float_parsing.tar.gz |
Implement a dedicated int/float parser for XML (schema) values in lxml.objectify.xml_int_float_parsing
This disables support for "_" in numbers, which are allowed by Python but not by XMLSchema.
Wee keep a few additional literals, such as "+NaN", simply because they shouldn't hurt.
See https://mail.python.org/archives/list/lxml@python.org/thread/6F7VIDKWZTJ6LB6VOX6IJNNWICYHFPNR/
Diffstat (limited to 'test.py')
0 files changed, 0 insertions, 0 deletions