Page 1 of 1

Oxygen variable errors when whitespace is used

Posted: Wed Oct 30, 2024 5:09 pm
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

Re: Oxygen variable errors when whitespace is used

Posted: Thu Oct 31, 2024 9:38 am
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

Re: Oxygen variable errors when whitespace is used

Posted: Thu Oct 31, 2024 8:32 pm
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

Re: Oxygen variable errors when whitespace is used

Posted: Fri Nov 01, 2024 7:02 am
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