From 1fdad5529c112e9720b15d4ba40d632bf98c6156 Mon Sep 17 00:00:00 2001 From: Mauricio Villegas Date: Wed, 2 Sep 2020 18:22:04 +0200 Subject: [PATCH] - Added xmlCopyDoc before xsltApplyStylesheet to prevent weird issues regarding selects which don't reflect the state of the xml after modifications, e.g. moveElem. - Added unit tests to prevent regressions related to the weird issue. --- docs/py-pagexml/_modules/index.html | 44 +- docs/py-pagexml/_modules/pagexml.html | 44 +- .../_modules/pagexml/swigPageXML.html | 44 +- .../_static/documentation_options.js | 4 +- docs/py-pagexml/api.html | 1022 +++++++++-------- docs/py-pagexml/genindex.html | 74 +- docs/py-pagexml/index.html | 44 +- docs/py-pagexml/objects.inv | Bin 2067 -> 2076 bytes docs/py-pagexml/py-modindex.html | 44 +- docs/py-pagexml/search.html | 50 +- docs/py-pagexml/searchindex.js | 2 +- docs/py-textfeat/_modules/index.html | 44 +- .../textfeat/swigTextFeatExtractor.html | 44 +- .../_static/documentation_options.js | 4 +- docs/py-textfeat/api.html | 108 +- docs/py-textfeat/genindex.html | 66 +- docs/py-textfeat/index.html | 44 +- docs/py-textfeat/objects.inv | Bin 477 -> 488 bytes docs/py-textfeat/py-modindex.html | 44 +- docs/py-textfeat/search.html | 50 +- docs/py-textfeat/searchindex.js | 2 +- examples/lorem_tess.xml | 86 ++ lib/PageXML.cc | 14 +- lib/PageXML.h | 2 +- py-pagexml/pagexml_tests/ordering_tests.py | 28 + 25 files changed, 1109 insertions(+), 799 deletions(-) create mode 100644 examples/lorem_tess.xml create mode 100755 py-pagexml/pagexml_tests/ordering_tests.py diff --git a/docs/py-pagexml/_modules/index.html b/docs/py-pagexml/_modules/index.html index ec6c341..ed30c3d 100644 --- a/docs/py-pagexml/_modules/index.html +++ b/docs/py-pagexml/_modules/index.html @@ -1,38 +1,39 @@ - - + - Overview: module code — pagexml 2020.04.15 documentation + Overview: module code — pagexml 2020.09.02 documentation + + + + - + - - - - + + + + - - - - @@ -48,7 +49,7 @@ - pagexml + pagexml @@ -58,7 +59,7 @@
- 2020.04.15 + 2020.09.02
@@ -75,6 +76,7 @@ + + @@ -128,7 +131,7 @@