Davide Brunato
1556b76238
Close release v1.3.0
2019-10-11 11:19:35 +02:00
Davide Brunato
9e2e5d45e3
Use boolean_value() for 'and' and 'or' operators
2019-10-07 18:04:04 +02:00
Davide Brunato
4aeee2bb34
Fix data_value() in XPathToken
2019-09-30 15:54:12 +02:00
Davide Brunato
23fc3542ca
Fix 24-hour time for DateTime
2019-09-11 22:18:49 +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
04258f5c43
Fix '//' operator and text() function
...
- '//' without a left token has to start from the document root,
like an absolute path.
2019-09-09 07:16:00 +02:00
Davide Brunato
910b63603a
Add tests for XPathToken helpers and datatypes
2019-08-30 08:16:38 +02:00
Davide Brunato
0e4f050abb
Add hashing methods to XSD datatypes classes
2019-08-28 07:07:30 +02:00
Davide Brunato
113d4025cf
Update to release v1.2.0
...
- Added special XSD datatypes
- Better handling of schema contexts
- Added validators for numeric types
- Fixed function conversion rules
2019-08-14 18:48:44 +02:00
Davide Brunato
5ae6d0f0ff
Fix function conversion rules in XPathToken.get_argument()
...
- Added type proxy classes for XSD numeric and datetime data
- Added tests for 'mod' operator token
2019-08-08 06:55:22 +02:00
Davide Brunato
c97acb9eb8
Added a script for testing XPathContext class
2019-05-21 07:17:58 +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
12f94db836
Update to release v1.1.7 and fix for max()/min() functions
...
- Fix fn:max() and fn:min() error in case of an empty sequence: now
the error is intercepted and the functions return an empty list.
2019-04-25 16:18:34 +02:00
Davide Brunato
12b71ba5ee
Fix spacing errors
...
- Added is_spaced() to TODP Parser base class
- Remove '/' from next_is_path_step_token() methods
- Increase release and update API documentation
2019-03-30 10:59:23 +01:00
Davide Brunato
66dcdf2f25
Update to release v1.1.6
2019-03-28 14:14:27 +01:00
Davide Brunato
a1506e8334
Hotfix release v1.1.5
...
- Fix issue #3 splitting xs:gYear type, creating an unordered base
type XPathGregorianYear and then deriving GregorianYear10 also from
OrderedDateTime to implement comparison operators.
- Rewritten in the same way the remaining gregorian types, inverting
the bases (put XSD 1.0 only types as the base).
2019-02-23 22:25:14 +01:00
Davide Brunato
808d0ef75d
Closing the release v1.1.4
...
- Add get_primitive_type() to XMLSchemaProxy
- Restore boolean_value() usage with an additional token=None argument
to preserve compatibility with xmlschema v1.0.9
- Remove XPathToken.boolean()
- XSD_BUILTIN_TYPES sample values completed
2019-02-21 19:46:17 +01:00
Davide Brunato
7539b5b0e1
Add tests for value comparison operators
...
- Remove the usage of boolean_value() helper from package, replaced
by XPathToken.boolean() helper
- Update the changelog
2019-02-21 16:06:54 +01:00
Davide Brunato
b4ad5c6e5f
Update documentation and changelog
2019-02-20 15:29:19 +01:00
Davide Brunato
b392d7534e
Realize a full static analysis
2019-02-15 14:00:49 +01:00
Davide Brunato
b184cb0e0b
Close release v1.1.3
2019-02-06 23:46:20 +01:00
Davide Brunato
806c9096de
Add tests/test_selectors.py
2019-02-05 13:26:42 +01:00
Davide Brunato
3df7a9712f
New release v1.1.3
2019-02-03 20:45:46 +01:00
Davide Brunato
1d68842d65
Close the new release v1.1.2
2019-01-30 17:01:50 +01:00
Davide Brunato
bb8ebe2cb7
Bugfix release v1.1.2
...
- Fix equality operators for AbstractDateTime
2019-01-21 08:31:42 +01:00
Davide Brunato
c505c43aed
AbstractDateTime refactoring
...
- Completed fromdelta and todelta methods
- common_era_delta property renamed to todelta()
- Update tests for new code
- Update CHANGELOG.rst
2019-01-19 10:06:57 +01:00
Davide Brunato
89a1f6e1c6
AbstractDateTime refactoring
...
- Replaced dt, y10k and bce attributes with _dt and _year
2019-01-18 10:28:27 +01:00
Davide Brunato
43ba4e2a5e
Add fn:dateTime() and update changelog
2019-01-13 00:00:38 +01:00
Davide Brunato
d94824167f
Rewrite AbstractDateTime for supporting years > 9999
2019-01-04 19:08:55 +01:00
Davide Brunato
d73a0751ba
Merge branch 'master' of github.com:brunato/elementpath
2018-12-23 02:18:27 +01:00
Davide Brunato
94c991cc02
Code cleaning and documentation updated
...
- xpath2_parser splitted into three modules
- Update documentation APIs
2018-12-21 22:58:31 +01:00
Davide Brunato
44b06dddc0
Add fn:avg, fn:max and fn:min functions
2018-12-21 19:15:12 +01:00
Davide Brunato
3a00713835
Update CHANGELOG.rst
2018-09-22 22:38:03 +02:00
Davide Brunato
8c094eb348
Update to new release 1.0.12
...
- Added default_namespace property to XPath parser classes
- XPath1Parser ignores the default namespace setting
- Fixed the '(name)' token methods to use the default namespace
2018-09-01 18:04:13 +02:00
Davide Brunato
f8d83336e7
Update CHANGELOG.rst
2018-07-25 09:11:13 +02:00
Davide Brunato
cad669f355
Update to release v1.0.11
...
- Created a separate module for XPath selectors
- Optional parser argument of selectors now defaults to None
- Moved iter recursion methods for context class
- Update docs and changelog
2018-07-25 06:40:14 +02:00
Davide Brunato
8c90eb3ddd
Update CHANGELOG.rst
2018-07-23 15:06:43 +02:00
Davide Brunato
6ca2b595a6
Update CHANGELOG
2018-06-15 18:36:35 +02:00
Davide Brunato
bbb5c7bfb1
Update CHANGELOG.rst
2018-06-13 14:15:32 +02:00
Davide Brunato
a09d6a53fb
Update CHANGELOG.rst
2018-06-13 13:56:27 +02:00
Davide Brunato
a6f4f41378
Add a test for pickling (only Py3, not supported with Py2)
...
- Added __eq__ on Parser class
- Add test_parser_pickling test (skip Py2 and parsers with schema)
- Updated changelog
2018-06-13 13:48:15 +02:00
Davide Brunato
0133724136
Update CHANGELOG.rst
2018-03-31 14:01:56 +02:00
Davide Brunato
d5aa18eeaf
Implement 'upper-case' and 'lower-case' functions
2018-03-31 08:09:31 +02:00
Davide Brunato
677cfa7f53
Fix effective boolean value for ['']
2018-03-27 18:16:01 +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
d36dd84000
Add a changelog
2018-03-26 22:35:43 +02:00