Referring to the ‘Save options’ section of the ‘XMLmind XML Editor - Configuration and Deployment’ documentation[1], it adds the following note about how ‘charsSavedAsEntityRefs’ works:

]]
    [Note]

There is no need to specify the non-breaking space character (nbsp = 160 = 0xa0 = 0240) as it is always implicitly added to this list.
[[

This appears currently to be incorrect. Here is what I did to find out:

1) I added following config to XMLmindXMLEditor:
  <cfg:saveOptions charsSavedAsEntityRefs="229”/>
2) Restarted XXE and typed both an ‘å’ and a no break
   space character into my document – and saved.

Result:

The ‘å’ was saved as an entity. Whereas nothing happened to the ‘no-break space' character – it was simply saved as directly typed. Hence, it does not seem to have been implicitly added to the list. In order to get non-breaking space characters to be saved as an entity, I had to explictly add it to the list.

[1] https://www.xmlmind.com/xmleditor/_distrib/doc/configure/wh/saveOptions.html
[2] https://mathml-refresh.github.io/xml-entities/

Leif Halvard Silli

--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to