help_from_sci() sets a forbidden xml:id when the function's name starts with "%"
@sgougeon)
Reported by Samuel GOUGEON (BUG DESCRIPTION:
----------------
When the filename .sci and the function's name start with "%" as for overloads,
help_from_sci() sets the xml:id as is with the starting "%", while this character
is forbidden in XML values.
This makes xmlto#() failing afterwards.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
//use
help_from_sci(function_name) // for a function_name starting with "%".
// Then use
xmltohtml(dir_of_xml) // on it => error
OTHER INFORMATION:
------------------
Somewhat reported here:
https://www.mail-archive.com/users@lists.scilab.org/msg04837.html
We propose to replace "%" with "percent" in the xml:id, as for other Scilab native entries.
Edited by Vincent COUVERT