fixed problem parsing xhtml docs small modification to avoid problem in
* doc/index.py: fixed problem parsing xhtml docs
* doc/xmlreader.html,doc/guidelines.html: small modification
to avoid problem in python parsing.
* doc/search.php: fixed upper case filename problem for XSLT docs
diff --git a/doc/index.py b/doc/index.py
index 49a2cfc..470f1b2 100755
--- a/doc/index.py
+++ b/doc/index.py
@@ -1019,7 +1019,10 @@
if html == "xml.html":
continue
try:
+ doc = libxml2.parseFile(html)
+ except:
doc = libxml2.htmlParseFile(html, None)
+ try:
res = analyzeHTML(doc, html)
print "Parsed %s : %d paragraphs" % (html, res)
ret = ret + 1