Releases: uogbuji/amara3-xml
Releases · uogbuji/amara3-xml
3.3.0: Lax XML parsing, XPath fixes & tree node removal
- Tweak parser to support element names which coincide with XPath operators (notably div)
- Implement
amara3.uxml.html5.parse_lax_xml()
and add--lax
command line option tomicrox
- Implement
amara3.uxml.tree.xml_remove()
Python 3.9 support
- HTML5 handling fixed
- Python 3.9+ support
Writer and XPath function fixes
Fixed:
- Escaping problems in
amara3.uxml.writer
- Bugs in
boolean()
&number()
XPath functions - Other minor bugs
xmliter oops!
Fixed:
- Obsolete use of
treesequence
inmicrox
Fixes standing on the shoulders of fixes
Added:
- Implement uXPath operators or/and
Changed:
- Better modularize & name iterated tree parser modules
Fixed:
- Iterated tree parser modules
- uXPath node tests
- element.xml_write()
- Test cases
Notes:
- Warning: html5lib is the underlying parser, so unfortunately Python 3.8 support will be broken until we have an upstream fix.
Properly packaged & out of beta Amara 3 XML
Added:
- Namespace packaging
- Add
--html
option and--find-text
command (with--show-attrs
option) tomicrox
cmdline.
Changed:
- Nothing of note
Fixed:
- Packaging
XPath fixes and new qquery() function
- Fix retrieval of virtual root nodes, and thus absolute paths
- Fix amara3.uxml.isxml()
- Fix node() and text() tests in XPath
- Implement amara3.uxml.uxpath.qqery()
- Other fixes.