Davide Brunato
de6955b36c
Update test requirements
...
- Now uses xmlschema~=1.0.14
- Update fn:in-scope-prefixes()
- Remove module xpath_helpers.py
2019-10-04 10:00:39 +02:00
Davide Brunato
52d3220f8d
Fix typed selection for token '(name)'
...
- Check the type but yield the element
2019-09-11 06:42:57 +02:00
Davide Brunato
bb7f000fec
Update development requirements (xmlschema~=1.0.13)
2019-08-03 12:30:59 +02:00
Davide Brunato
74db431c25
Add build section to tox.ini and add tests for schema proxy
2019-05-29 15:39:42 +02:00
Davide Brunato
1d23f5b13f
Update to release v1.1.8
...
- Added coverage and flake8 to testing
- Removed py34 from tox.ini
- Added py38 with a limited testing
- ElementPathMissingContextError renamed to MissingContextError
- Added exceptions to API docs
2019-05-20 23:22:14 +02:00
Davide Brunato
5d715f98fc
Add coverage to testing
...
- Added .coveragerc
- Added tests/test_helpers.py
- Added coverage to develop requirements
- Code cleaning for xpath_helpers.py
2019-05-17 07:35:41 +02:00
Davide Brunato
4230146f97
Add base_element to AbstractSchemaProxy
...
- base_element as initial context item in static analysis phase
2019-02-16 09:55:14 +01:00
Davide Brunato
99cca5928e
Update tox.ini and setup.py
...
- Remove Python 3.3 support
- Move tox workdir to ~/.tox/elementpath
2018-07-23 15:42:48 +02:00
Davide Brunato
49399eca5f
Add tests with Python 3.7 and a compatibility decorator for metaclasses
...
- Add py37 to tox.ini
- Addes add_metaclass() decorator (code taken from 'six' package)
2018-04-05 08:44:47 +02:00
Davide Brunato
046e6d5c2f
Fix README.rst headers and add 2 functions
...
- Substituted # with * in the main header of README.rst
- Implemented 'codepoints-to-string' and 'string-to-codepoints'
2018-03-30 21:58:52 +02:00
Davide Brunato
df8582f3a6
Add QName parsing extension enabled by an additional parser's argument
2018-03-27 17:19:28 +02:00
Davide Brunato
026e746caa
Set different virtual testenv in tox.ini for Python 2.7
2018-03-26 22:18:39 +02:00
Davide Brunato
40343a2a9a
Fix Py2 compatibility for Unicode and math rounding
2018-03-26 22:07:59 +02:00
Davide Brunato
5cc221fa5d
XPath 1.0 and packaging completed
2018-03-15 15:11:02 +01:00
Davide Brunato
4c8b4d8c8a
Some improvements to parsers and testing
...
- Added a test script for testing the package (debugging typos)
- Added an helper function for nullary operators to the base Parser
- Comparative tests for XPath 1.0 against lxml.xpath() (double checks)
2018-03-02 21:50:03 +01:00
Davide Brunato
7ff6c4ff16
Add testing with Tox
...
- Implemented mod, div and idiv functions
- Modified is_document_node() helper: now is True if the argument
is an ElementTree-like object
- Fix function optional argument parsing (when has all optional args)
2018-02-28 08:03:44 +01:00