71a5025bea
- Update to 4.8.0 * Add full PSVI type labeling in XDM to solve type errors with XSD 1.1 assertions * Add *schema* optional argument to dynamic context * Add a RootToken as a proxy of the parsed token tree for compatibility with xmlschema<=3.4.3 * Extend XDM to split ElementTree/lxml processing from schema nodes and to allow future extensions
Markéta Machová2025-03-19 08:58:04 +00:00
d370c5b785
Accepting request 1239847 from home:glaubitz:branches:devel:languages:python
Markéta Machová2025-01-23 13:02:18 +00:00
fb6085b1a8
Accepting request 1218793 from devel:languages:python
Ana Guerrero2024-10-29 13:32:00 +00:00
79600adf80
- update to 4.6.0: * Fix XsdAttributeGroupProtocol * Improve Unicode support with installable UnicodeData.txt versions * Extend names disambiguation with a fix for issue #78 * Refactor tree builders to fix document position of tails (issue #79) * Fix and clean node trees iteration methods (issue #72) * Fix missing raw string for '[^rn]' (pull request #76) * Full and more specific type annotations
Dirk Mueller2024-10-28 11:35:56 +00:00
d4b07b3464
Accepting request 1164068 from devel:languages:python
Ana Guerrero2024-04-03 15:18:36 +00:00
75cee8b417
- update to 4.4.0: * Improve stand-alone XPath functions builder (issue #70) * Update tokens and parsers __repr__ * Fix static typing protocols to work with etree and XSD elements * Change the purpose of the evaluation with a dynamic schema context * Add a tox.ini testenv with Python 3.13 pre-releases * Fix dynamic context initialization with lxml a non-root element (issue #71) * Fix XP30+ function fn:function-lookup * Fix XP30+ fn:unparsed-text, fn:unparsed-text-lines and fn:unparsed-text-available * Drop support for Python 3.7 * Add *uri* and *fragment* options to dynamic context * Make context root node not mandatory (issue #63) * Add function objects constructor (issue #70) * Add etree.py module with a safe XML parser (ported from xmlschema) * Fix wildcard selection of attributes (issue #35) * Add other XSD builtin atomic types * Integrate pull requests and fix bug on predicate selector
Dirk Mueller2024-04-02 09:47:42 +00:00
4a2513bb8a
- Remove BuildRequire xmlschema to avoid dependency cycle
Daniel Garcia2023-05-12 05:57:12 +00:00
4177c5ef9e
- Update to 4.1.2: * Add support for Python 3.12 * Fix self shortcut operator (adding is_schema_node() to node classes) - 4.1.1: * Simplify type annotations for XSD datatypes * Full test coverage of sequence type functions with bugfixes - 4.1.0: * Refactor XPath function call (context=None only as keyword argument) * Add external function support (issue #60) * Some fixes to string representation and source property of tokens * Extend documentation and tests * Clean XSD datatypes hierarchy - 4.0.1: * Fix packaging: include py.typed in package data * Revert to comparison between xs:QName instances and strings * Fix atomization with XSD typed data (list types have to be atomized) - 4.0.0: * First XPath 3.1 implementation (without UCA collation support)
Daniel Garcia2023-05-10 09:20:11 +00:00
0a4be6ff90
- update to 2.5.0: * Add XPath 3.0 support * Better use of lxml.etree features * Full coverage of W3C tests * Drop support for Python 3.6
Dirk Mueller2022-03-26 21:23:52 +00:00
dd43436a4f
- update to 2.4.0: * Fix type annotations and going strict on parsers and other public classes * Add XPathConstructor token class (subclass of XPathFunction) * Last release for Python 3.6
Dirk Mueller2021-11-29 11:25:32 +00:00
4e213f9755
- update to 2.3.2: * Make ElementProtocol and LxmlElementProtocol runtime checkable * Type annotations for all package public APIs * Add LxmlElementProtocol * Add pytest env to tox.ini (test issue #39) * Add inline type annotations check support * Add structural Protocol based type checks * Add Python 3.10 in Tox and CI tests * Apply __slots__ to TDOP and regex classes
Dirk Mueller2021-10-16 21:53:27 +00:00
7a6567cf79
- update to 2.2.2: * Fix issue sissaschool/xmlschema#243 (assert with xsi:nil usage) * First implementation of XPath 3.0 fn:format-integer * Add function signatures at token registration * Some fixes to XPath tokens and more XPath 3.0 implementations * Optimize TDOP parser's tokenizer * Resolve ambiguities with operators and statements that are also names * Merge with XPath 3.0/3.1 develop (to be completed) * Add tests and apply small fixes to TDOP parser * Fix wildcard selection of attributes (issue #35)
Dirk Mueller2021-05-18 21:46:56 +00:00
2093090177
- update to 2.1.3: * Extend tests for XPath 2.0 with minor fixes * Fix fn:round-half-to-even (issue #33) * Extend tests for XPath 1.0/2.0 with minor fixes * Fix for +/- prefix operators * Fix for regex patterns anchors and binary datatypes * Fix for issue #32 (test failure on missing locale setting) * Extend tests for XPath 1.0 with minor fixes * Create custom class hierarchy for XPath nodes that replaces named-tuples * Bind attribute nodes, text nodes and namespace nodes to parent element (issue #31) * Increase the speed of path step selection on large trees * More tests and small fixes to XSD builtin datatypes
Dirk Mueller2021-02-01 22:11:30 +00:00
8eadc94245
- Update to 1.4.6: * Fix XPathContext to let the subclasses replace the XPath nodes iterator function * Fix tokenizer and parsers for ambiguities between symbols and names * Improve XPath context and axes processing * Integrate pull requests and fix bug on predicate selector
Steve Kowalik2020-06-24 03:52:27 +00:00