<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pandoc/src/Text/Pandoc/XML, branch master</title>
<subtitle>Conversion between markup formats</subtitle>
<id>https://git.pashev.ru/pandoc/atom?h=master</id>
<link rel='self' href='https://git.pashev.ru/pandoc/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/'/>
<updated>2021-05-11T15:01:36Z</updated>
<entry>
<title>T.P.XML.Light - add Eq, Ord instances...</title>
<updated>2021-05-11T15:01:36Z</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2021-05-11T15:01:36Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=a66e50840bdc3c92e661257a4a0c5fec34aa25bc'/>
<id>urn:sha1:a66e50840bdc3c92e661257a4a0c5fec34aa25bc</id>
<content type='text'>
for Content, Element, Attr, CDataKind.
[API change]
</content>
</entry>
<entry>
<title>Removed unused LANGUAGE pragmas.</title>
<updated>2021-03-16T20:05:29Z</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2021-03-16T20:05:29Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=87538966a029358d42bc71ab0cd4c1ed9e125520'/>
<id>urn:sha1:87538966a029358d42bc71ab0cd4c1ed9e125520</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Add T.P.XML.Light.Cursor."</title>
<updated>2021-02-17T03:18:01Z</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2021-02-17T03:18:01Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=80a1d5c9b60b676ba7b7e6ed0267197c8f0ec459'/>
<id>urn:sha1:80a1d5c9b60b676ba7b7e6ed0267197c8f0ec459</id>
<content type='text'>
This reverts commit d8fc4971868104274881570ce9bc3d9edf0d2506.
</content>
</entry>
<entry>
<title>Add T.P.XML.Light.Cursor.</title>
<updated>2021-02-17T02:51:41Z</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2021-02-17T02:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=d8fc4971868104274881570ce9bc3d9edf0d2506'/>
<id>urn:sha1:d8fc4971868104274881570ce9bc3d9edf0d2506</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add orig copyright/license info for code derived from xml-light.</title>
<updated>2021-02-17T02:44:38Z</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2021-02-17T02:44:38Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=4af378702ae31d4c8a11d0c827a5986f54b5e310'/>
<id>urn:sha1:4af378702ae31d4c8a11d0c827a5986f54b5e310</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split up T.P.XML.Light into submodules.</title>
<updated>2021-02-17T02:40:06Z</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2021-02-17T02:40:06Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=d7a4996b1e7e201095ce792375a0776984fa8fcd'/>
<id>urn:sha1:d7a4996b1e7e201095ce792375a0776984fa8fcd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename Text.Pandoc.XMLParser -&gt; Text.Pandoc.XML.Light...</title>
<updated>2021-02-17T00:55:20Z</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2021-02-15T06:29:21Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=967e7f5fb990b29de48b37be1db40fb149a8cf55'/>
<id>urn:sha1:967e7f5fb990b29de48b37be1db40fb149a8cf55</id>
<content type='text'>
..and add new definitions isomorphic to xml-light's, but with
Text instead of String.  This allows us to keep most of the code in
existing readers that use xml-light, but avoid lots of unnecessary
allocation.

We also add versions of the functions from xml-light's
Text.XML.Light.Output and Text.XML.Light.Proc that operate
on our modified XML types, and functions that convert
xml-light types to our types (since some of our dependencies,
like texmath, use xml-light).

Update golden tests for docx and pptx.

OOXML test: Use `showContent` instead of `ppContent` in `displayDiff`.

Docx: Do a manual traversal to unwrap sdt and smartTag.
This is faster, and needed to pass the tests.

Benchmarks:

A = prior to 8ca191604dcd13af27c11d2da225da646ebce6fc (Feb 8)
B = as of 8ca191604dcd13af27c11d2da225da646ebce6fc (Feb 8)
C = this commit

| Reader  |  A    | B      | C     |
| ------- | ----- | ------ | ----- |
| docbook | 18 ms | 12 ms  | 10 ms |
| opml    | 65 ms | 62 ms  | 35 ms |
| jats    | 15 ms | 11 ms  |  9 ms |
| docx    | 72 ms | 69 ms  | 44 ms |
| odt     | 78 ms | 41 ms  | 28 ms |
| epub    | 64 ms | 61 ms  | 56 ms |
| fb2     | 14 ms | 5  ms  | 4 ms  |
</content>
</entry>
</feed>
