summaryrefslogtreecommitdiff
path: root/source/fitz/xml.c
AgeCommit message (Collapse)Author
2014-12-03xml: Make accessors NULL-resistant. Add fz_xml_find functions.Tor Andersson
Find the first sibling, next sibling or first child matching tag name.
2014-12-03xml: Optimize creation of really long lists by keeping a tail pointer.Tor Andersson
2014-12-03xml: Don't emit empty text nodes between tags when preserving whitespace.Tor Andersson
2014-09-17xps: Add fz_xml_is_tag to simplify tag matching.Tor Andersson
2014-09-17Improve XML parser.Tor Andersson
Add a whitespace preserving mode, for future use with XHTML. Also parse XHTML entities. This is not strictly according to spec, but for properly formed XML documents it should not matter.
2014-04-23Fix bug 693580 by skipping xml tag namespace prefixes.Tor Andersson
fts_5904.xps and fts_5905.xps use namespace prefixes. Work around that by ignoring the namespace prefix for tag names. A more robust solution would be to expand or record the tag and attribute namespaces in the fz_xml node structure, but that's a overkill for our current needs.
2013-11-05Fix bug in fz_debug_xml.Tor Andersson
Print node and children, not node, children and siblings.
2013-11-05Ignore <!DOCTYPE ...> declaration in XML parser.Tor Andersson
2013-09-13Fix various compile warnings spotted by the cluster.Robin Watts
2013-06-20Rearrange source files.Tor Andersson