Hi, I'm currently writing a fulltext search engine for Org's XHTML export. Export is not valid XHTML: 1.) CDATA: should be: Fix appended: - patch-missing-cdata-style.patch (org-exp.el) 2.) Missing quotes: should be: My fault. I copied and pasted. Fixes appended: - patch-stylesheet-missing-quotes.patch (org-publish.el, doc strings) - patch-stylesheet-missing-quotes-texi.patch (org.texi) 4.) missing entities in link texts (not the URL): http://xy.com/foo.php?f=1&t=bar should be: http://xy.com/foo.php?f=1&t=bar Not shure how to this in org-exp.el, org-export-as-html - is there a function I should use? 5.) index file is not well-formed XML: sitemap.html:291: parser error : Opening and ending tag mismatch: body line 43 and div ^ sitemap.html:297: parser error : Opening and ending tag mismatch: html line 3 and body ^ sitemap.html:298: parser error : Extra content at the end of the document ^ Seems there is one '' too much. It's the directly after the (never opened after title) Two possible fixes:

Sitemap

/* <- either insert this one */
/* <- or delete this one */ Last but not least, a general question: * Problem with xmllint: Not defined entities: - … - — - mayby more Not shure, how to fix this. http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd already includes these: http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent But: xmllint --dtdvalid http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd index.html gives me lots of errors for not defined enities. Regards, Sebastian