Home Forums DITA and XMetaL Discussion special characters in xml map view Reply To: special characters in xml map view

Derek Read

Reply to: special characters in xml map view

This is a bug.

Of the characters that one should be concerned about being escaped in the navtitle attribute (ie: written as entities) in order to pass XML validation there are two that would potentially cause errors, those are < and " (less than and double quotation). Looks like our currrent release handles the double quote case correctly and writes the entity " but does not write out < unfortunately. The code that runs when “Refresh All References” is performed (F11 and some other events trigger this) does the right thing in the Map Editor (when the map is open in a tab in the Resource Manager). It is when the map is open in XML View of Map (Tags On or Normal view) and Refresh All References is triggered that this gets messed up. One good thing is that our validator (which is independent of the DITA scripts that mess this up) function as they always have and so you are at least warned when saving that the document is invalid, so you can then open the Attribute Inspector and fix the bad navtitle. I'll check on the status when I get into the office next week. I don't think I have an easy fix for it, but I'll check that as well.