Complete refactoring:
commit8eadf6faf57ba88f8ea36b3e61bc600c211e3dc7
authorsmerten <smerten@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 3 Nov 2013 11:38:09 +0000 (3 11:38 +0000)
committersmerten <smerten@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 3 Nov 2013 11:38:09 +0000 (3 11:38 +0000)
treecb65e094034225cc68cbd3eb611ee3e6ae379470
parent40c9b1fb121eff38602d26858c3d0ba73e486621
Complete refactoring:

* Standard docutils infrastructure is used

* There is a Python based approach besides the XSLT based approach

* XSLT and Python based approach are implemented as standard Docutils
  reader / parser / writer

Python implementation has some failing tests because Python
implementation is not yet as mature as XSLT implementation.

XSLT implementation fails for one test which is beyond the
capabilities of XSLT.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7724 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
82 files changed:
sandbox/odf2docutils/global.log
sandbox/odf2docutils/odf2docutils.py
sandbox/odf2docutils/odf2docutilslib/__init__.py
sandbox/odf2docutils/odf2docutilslib/odf2docutils.xsl
sandbox/odf2docutils/odf2docutilslib/python.py [new file with mode: 0644]
sandbox/odf2docutils/odf2docutilslib/xslt.py [new file with mode: 0644]
sandbox/odf2docutils/tag.log
sandbox/odf2docutils/tests.xslt/expectedFilter [new file with mode: 0755]
sandbox/odf2docutils/tests.xslt/frontend/filterunit.cfg [new file with mode: 0644]
sandbox/odf2docutils/tests.xslt/presentationSimple/filterunit.cfg [new file with mode: 0644]
sandbox/odf2docutils/tests.xslt/textSimple/filterunit.cfg [new file with mode: 0644]
sandbox/odf2docutils/tests/expectedFilter [new file with mode: 0755]
sandbox/odf2docutils/tests/frontend/expected/empty.err [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/empty.ex [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/empty.xml [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/noarg.err [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/noarg.ex [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/noarg.xml [copied from sandbox/odf2docutils/tests/presentationSimple/expected/empty.xml with 76% similarity]
sandbox/odf2docutils/tests/frontend/expected/simple.err [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/simple.ex [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/simple.xml [copied from sandbox/odf2docutils/tests/presentationSimple/expected/empty.xml with 75% similarity]
sandbox/odf2docutils/tests/frontend/expected/stdin.err [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/stdin.ex [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/stdin.xml [copied from sandbox/odf2docutils/tests/presentationSimple/expected/empty.xml with 76% similarity]
sandbox/odf2docutils/tests/frontend/expected/stdout.err [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/stdout.ex [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/stdout.xml [copied from sandbox/odf2docutils/tests/presentationSimple/expected/empty.xml with 75% similarity]
sandbox/odf2docutils/tests/frontend/expected/textInput.err [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/textInput.ex [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/expected/textInput.xml [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/filterunit.cfg [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/empty.arg [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/empty.odt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/empty.opt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/noarg.arg [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/noarg.odt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/noarg.opt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/simple.arg [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/simple.odt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/simple.opt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/stdin.arg [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/stdin.odt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/stdin.opt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/stdout.arg [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/stdout.odt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/stdout.opt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/textInput.arg [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/textInput.odt [new file with mode: 0644]
sandbox/odf2docutils/tests/frontend/input/textInput.opt [new file with mode: 0644]
sandbox/odf2docutils/tests/presentationSimple/content/italicAutomatic.xml [new file with mode: 0644]
sandbox/odf2docutils/tests/presentationSimple/expected/empty.xml
sandbox/odf2docutils/tests/presentationSimple/expected/italicAutomatic.xml [new file with mode: 0644]
sandbox/odf2docutils/tests/presentationSimple/expected/nestedBullets.xml
sandbox/odf2docutils/tests/presentationSimple/expected/oneBullet.xml
sandbox/odf2docutils/tests/presentationSimple/expected/oneTitle.xml
sandbox/odf2docutils/tests/presentationSimple/expected/twoBullets.xml
sandbox/odf2docutils/tests/presentationSimple/expected/wrongNesting.xml
sandbox/odf2docutils/tests/presentationSimple/filterunit.cfg
sandbox/odf2docutils/tests/presentationSimple/input/italicAutomatic.odp [new file with mode: 0644]
sandbox/odf2docutils/tests/presentationSimple/target/italicAutomatic.rst [new file with mode: 0644]
sandbox/odf2docutils/tests/textSimple/content/emphasis.xml [new file with mode: 0644]
sandbox/odf2docutils/tests/textSimple/content/italicAutomatic.xml [new file with mode: 0644]
sandbox/odf2docutils/tests/textSimple/expected/emphasis.xml [copied from sandbox/odf2docutils/tests/presentationSimple/expected/empty.xml with 62% similarity]
sandbox/odf2docutils/tests/textSimple/expected/empty.xml
sandbox/odf2docutils/tests/textSimple/expected/italicAutomatic.xml [copied from sandbox/odf2docutils/tests/presentationSimple/expected/empty.xml with 61% similarity]
sandbox/odf2docutils/tests/textSimple/expected/manyHeaders.xml
sandbox/odf2docutils/tests/textSimple/expected/nestedHeader.xml
sandbox/odf2docutils/tests/textSimple/expected/nestedList.xml
sandbox/odf2docutils/tests/textSimple/expected/oneHeader.xml
sandbox/odf2docutils/tests/textSimple/expected/oneLine.xml
sandbox/odf2docutils/tests/textSimple/expected/simpleList.xml
sandbox/odf2docutils/tests/textSimple/expected/twoHeaders.xml
sandbox/odf2docutils/tests/textSimple/expected/twoParas.xml
sandbox/odf2docutils/tests/textSimple/expected/wrongNestedHeader.xml
sandbox/odf2docutils/tests/textSimple/expected/wrongNesting.xml
sandbox/odf2docutils/tests/textSimple/expected/wrongerNesting.xml
sandbox/odf2docutils/tests/textSimple/filterunit.cfg
sandbox/odf2docutils/tests/textSimple/input/emphasis.odt [new file with mode: 0644]
sandbox/odf2docutils/tests/textSimple/input/italicAutomatic.odt [new file with mode: 0644]
sandbox/odf2docutils/tests/textSimple/target/emphasis.rst [new file with mode: 0644]
sandbox/odf2docutils/tests/textSimple/target/italicAutomatic.rst [new file with mode: 0644]
sandbox/odf2docutils/version.py