pandoc/test/pptx
John MacFarlane 8ca191604d Add new unexported module T.P.XMLParser.
This exports functions that uses xml-conduit's parser to
produce an xml-light Element or [Content].  This allows
existing pandoc code to use a better parser without
much modification.

The new parser is used in all places where xml-light's
parser was previously used.  Benchmarks show a significant
performance improvement in parsing XML-based formats
(especially ODT and FB2).

Note that the xml-light types use String, so the
conversion from xml-conduit types involves a lot
of extra allocation.  It would be desirable to
avoid that in the future by gradually switching
to using xml-conduit directly. This can be done
module by module.

The new parser also reports errors, which we report
when possible.

A new constructor PandocXMLError has been added to
PandocError in T.P.Error [API change].

Closes #7091, which was the main stimulus.

These changes revealed the need for some changes
in the tests.  The docbook-reader.docbook test
lacked definitions for the entities it used; these
have been added. And the docx golden tests have been
updated, because the new parser does not preserve
the order of attributes.

Add entity defs to docbook-reader.docbook.

Update golden tests for docx.
2021-02-10 22:04:11 -08:00
..
code-custom.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
code-custom_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
code.native Powerpoint code formatting is now context dependent (#5573) 2019-06-14 08:42:06 -07:00
code.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
code_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
document-properties-short-desc.native Improve writing metadata for docx, pptx and odt (#5252) 2019-01-26 16:14:35 -08:00
document-properties-short-desc.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
document-properties-short-desc_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
document-properties.native Improve writing metadata for docx, pptx and odt (#5252) 2019-01-26 16:14:35 -08:00
document-properties.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
document-properties_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
endnotes.native
endnotes.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
endnotes_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
endnotes_toc.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
endnotes_toc_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
images.native Powerpoint writer tests: add tests for two-column layout and images 2018-01-22 14:06:47 -05:00
images.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
images_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
inline_formatting.native Powerpoint writer: add tests for underline. 2019-02-27 09:30:50 -05:00
inline_formatting.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
inline_formatting_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
lists.native More spellcheck 2018-07-02 19:07:28 +03:00
lists.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
lists_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
raw_ooxml.native Powerpoint writer: allow arbitrary OOXML in raw inline elements 2020-12-27 23:18:54 +01:00
raw_ooxml.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
raw_ooxml_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
reference_depth.pptx Powerpoint writer tests: Test everything with template as well 2018-02-19 20:04:39 -05:00
remove_empty_slides.native Powerpoint writer: Remove empty slides 2018-02-27 09:12:17 -05:00
remove_empty_slides.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
remove_empty_slides_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
slide_breaks.native
slide_breaks.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
slide_breaks_slide_level_1.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
slide_breaks_slide_level_1_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
slide_breaks_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
slide_breaks_toc.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
slide_breaks_toc_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
speaker_notes.native Powerpoint writer: Add tests for speaker notes. 2018-02-18 16:31:32 -05:00
speaker_notes.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
speaker_notes_after_metadata.native PowerPoint writer: add test for speaker notes after metadata. 2019-03-31 17:09:00 -04:00
speaker_notes_after_metadata.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
speaker_notes_after_metadata_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
speaker_notes_afterheader.native Pptx writer: test for speaker notes after breaking header. 2019-03-30 22:52:31 -04:00
speaker_notes_afterheader.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
speaker_notes_afterheader_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
speaker_notes_afterseps.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
speaker_notes_afterseps.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
speaker_notes_afterseps_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
speaker_notes_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
start_numbering_at.native PowerPoint writer: Start numbering at appopriate numbers. 2019-08-27 01:24:41 -04:00
start_numbering_at.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
start_numbering_at_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
tables.native Adapt to the removal of the RowSpan, ColSpan, RowHeadColumns accessors 2020-04-15 23:03:22 -04:00
tables.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
tables_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
two_column.native Powerpoint writer tests: add tests for two-column layout and images 2018-01-22 14:06:47 -05:00
two_column.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00
two_column_templated.pptx Add new unexported module T.P.XMLParser. 2021-02-10 22:04:11 -08:00