diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 1d75cff8..50b73ea0 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -161,12 +161,16 @@ text/x-python = exec rclpython text/x-shellscript = internal text/plain text/x-srt = internal text/plain text/x-tex = exec rcltex -application/xml = execm rclxml.py -text/xml = execm rclxml.py -# Using these instead of the two above would index all parameter and tag -# names, attribute values etc, instead of just the text content. -#application/xml = internal text/plain -#text/xml = internal text/plain + + +# Generic XML is best indexed as text, else it generates too many errors +# All parameter and tag names, attribute values etc, are indexed as +# text. rclxml.py tries to just index the text content. +#application/xml = execm rclxml.py +#text/xml = execm rclxml.py +application/xml = internal text/plain +text/xml = internal text/plain + ## ############################################# # Icons to be used in the result list if required by gui config diff --git a/src/windows/mimeconf b/src/windows/mimeconf index 07724b04..1112fd5b 100644 --- a/src/windows/mimeconf +++ b/src/windows/mimeconf @@ -154,12 +154,13 @@ text/x-python = exec python rclpython text/x-shellscript = internal text/plain text/x-srt = internal text/plain -application/xml = execm python rclxml.py -text/xml = execm python rclxml.py -# Using these instead of the two above would index all parameter and tag -# names, attribute values etc, instead of just the text content. -#application/xml = internal text/plain -#text/xml = internal text/plain +# Generic XML is best indexed as text, else it generates too many errors +# All parameter and tag names, attribute values etc, are indexed as +# text. rclxml.py tries to just index the text content. +#application/xml = execm rclxml.py +#text/xml = execm rclxml.py +application/xml = internal text/plain +text/xml = internal text/plain ## ############################################# # Icons to be used in the result list if required by gui config