Elementpath Versions Save

XPath 1.0/2.0/3.0/3.1 parsers and selectors for ElementTree and lxml

v4.4.0

3 months ago
  • Improve stand-alone XPath functions builder (issue #70)
  • Update tokens and parsers __repr__
  • Fix static typing protocols to work with etree and XSD elements

v4.3.0

4 months ago
  • Change the purpose of the evaluation with a dynamic schema context, that is now used only for labeling tokens with XSD types
  • The static evaluation is now performed also when a schema is provided to the parser
  • First tests with Python 3.13 pre-releases by adding a tox.ini testenv

v4.2.1

4 months ago
  • 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

v4.2.0

4 months ago
  • 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)

v4.1.5

10 months ago
  • Fix typed value of ElementNode instance if self.elem.text is None

v4.1.4

11 months ago
  • Fix select of prefixed names (issue #68)
  • Fix zero length xs:base64Binary (pull request #69)

v4.1.3

1 year ago
  • Fix XP30+ fn:path (issue #67)
  • Fix weak tests (issues #64 and #66)

v4.1.2

1 year ago
  • Add support for Python 3.12
  • Fix self shortcut operator (adding is_schema_node() to node classes)

v4.1.1

1 year ago
  • Simplify type annotations for XSD datatypes
  • Full test coverage of sequence type functions with bugfixes

v4.1.0

1 year ago
  • 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