Whitespace in DITA XML attribute values
Posted: Tue Jun 23, 2020 11:20 am
I have a colleague who's defined dozens and dozens of variables that have spaces in varid values and now sees parsing errors in Oxygen. We are using version 20 since March and the exact error says "W [Document]:java.net.MalformedURLException: ID value "xxxxx/xx xx xx" contains whitespaces". The content, where variable values should appear, shows an error saying "Error while parsing external reference". The error bar (next to the scroll bar) doesn't show any red, so this seems like valid DITA XML.
Our content management system does not complain about these varid values and my colleague says that she's used them without any problems with the previous version of Oxygen, which was 17, I think. My colleague finds it impossible to work with the parsing error as it hides the variable value that the varref attribute brings to the content. An obvious solution would be "get rid of whitespace in varid and varref attribute values", but apparently that is too much work. Is there a way to make oXygen tolerate the whitespace and allow my colleague to continue working with the current varid values that have whitespace?
Our content management system does not complain about these varid values and my colleague says that she's used them without any problems with the previous version of Oxygen, which was 17, I think. My colleague finds it impossible to work with the parsing error as it hides the variable value that the varref attribute brings to the content. An obvious solution would be "get rid of whitespace in varid and varref attribute values", but apparently that is too much work. Is there a way to make oXygen tolerate the whitespace and allow my colleague to continue working with the current varid values that have whitespace?