Oxygen variable errors when whitespace is used

Post here questions and problems related to editing and publishing DITA content.
craigcharlie
Posts: 14
Joined: Thu Oct 27, 2022 6:24 pm

Oxygen variable errors when whitespace is used

Post by craigcharlie »

Hi,
Oxygen is throwing this error:

Code: Select all

System ID: ish:/C:/Users/username/Documents/RWS/InfoShare/1871522280/username/Predefined source system=GUID-6E624BA4-BFA4-401E-8100-E9BFCE32AFAC=6=en=.xml
Severity: warning
Description: [Document]:java.net.MalformedURLException: ID value "GUID-6E624BA4-BFA4-401E-8100-E9BFCE32AFAC/MDM SaaS business application." contains whitespaces.
The content still publishes fine in all outputs, but this message prevents our writers from viewing the content properly, and appears as an error. Is there a way to turn off this validation?
thanks,
Charlie
Radu
Posts: 9273
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen variable errors when whitespace is used

Post by Radu »

Hi,
I would need to know more about the context in which the error is reported. Do you open a DITA XML topic and validate it? Is it shown at publishing time? Could you also attach a screenshot of the entire Oxygen application when the error is received?
Oxygen seems to complain about an invalid ID value ""GUID-6E624BA4-BFA4-401E-8100-E9BFCE32AFAC/MDM SaaS business application."", how does the DITA XML content look like on your side? Do you actually have an ID attribute with a value which contains spaces?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
craigcharlie
Posts: 14
Joined: Thu Oct 27, 2022 6:24 pm

Re: Oxygen variable errors when whitespace is used

Post by craigcharlie »

Hi Radu,
This is the XML:

Code: Select all

<ph varref="MDM SaaS business application." id="GUID-E20B5C9F-A3EB-4784-91D4-EB1CF8850B65">MDM SaaS</ph>
So the varref attribute has spaces, but the ID does not. This happens in the Author mode.
thanks,
Charlie
Radu
Posts: 9273
Joined: Fri Jul 09, 2004 5:18 pm

Re: Oxygen variable errors when whitespace is used

Post by Radu »

Hi Charlie,
The "varref" is a Tridion specific DITA non-standard extension supported by implementing with a Tridion-specific framework configuration various APIs Oxygen has to offer. Please ask Tridion for help on this one, if they need our input on something specific they can get back to us.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply