Index generic XML as text by default. Closes issue #277
This commit is contained in:
parent
ca5fe29841
commit
d9759f376b
2 changed files with 17 additions and 12 deletions
|
@ -161,12 +161,16 @@ text/x-python = exec rclpython
|
||||||
text/x-shellscript = internal text/plain
|
text/x-shellscript = internal text/plain
|
||||||
text/x-srt = internal text/plain
|
text/x-srt = internal text/plain
|
||||||
text/x-tex = exec rcltex
|
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
|
# Generic XML is best indexed as text, else it generates too many errors
|
||||||
# names, attribute values etc, instead of just the text content.
|
# All parameter and tag names, attribute values etc, are indexed as
|
||||||
#application/xml = internal text/plain
|
# text. rclxml.py tries to just index the text content.
|
||||||
#text/xml = internal text/plain
|
#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
|
# Icons to be used in the result list if required by gui config
|
||||||
|
|
|
@ -154,12 +154,13 @@ text/x-python = exec python rclpython
|
||||||
text/x-shellscript = internal text/plain
|
text/x-shellscript = internal text/plain
|
||||||
text/x-srt = internal text/plain
|
text/x-srt = internal text/plain
|
||||||
|
|
||||||
application/xml = execm python rclxml.py
|
# Generic XML is best indexed as text, else it generates too many errors
|
||||||
text/xml = execm python rclxml.py
|
# All parameter and tag names, attribute values etc, are indexed as
|
||||||
# Using these instead of the two above would index all parameter and tag
|
# text. rclxml.py tries to just index the text content.
|
||||||
# names, attribute values etc, instead of just the text content.
|
#application/xml = execm rclxml.py
|
||||||
#application/xml = internal text/plain
|
#text/xml = execm rclxml.py
|
||||||
#text/xml = internal text/plain
|
application/xml = internal text/plain
|
||||||
|
text/xml = internal text/plain
|
||||||
|
|
||||||
## #############################################
|
## #############################################
|
||||||
# Icons to be used in the result list if required by gui config
|
# Icons to be used in the result list if required by gui config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue