Re: [oXygen-user] [OXYGEN-22994] Suppressing Oxygen Error Messages for DITA Files with Base64-Encoded Images

Hello Frank, I see you have an extra space in the "href" attribute value before the "data:" part, is it possible the error refers to that extra space in the href value? If so you should remove that extra starting space from the @href value because the href attribute needs to contain an URI-like reference. If not, would it be possible for you to send us directly (support@oxygenxml.com) a small DITA topic containing such an image with which I could reproduce the problem? Regards, Radu Radu Coravu Oxygen XML Editor On 12/17/24 11:49, Frank Dissinger wrote:
Hi list,
In one of my Oxygen projects, I need to generate an HTML file from DITA sources without using any external links. To achieve this, I embed a few icons directly into the output file using the following DITA code:
<image href=" data:image/png;base64,iVBOR…” scope="external*"*/>**
The … represents the remaining 1585 characters of the base64-encoded image data.
When I save the DITA file, Oxygen repeatedly displays the following error:
*Description** ***
Reference " data:image/png;base64 ,iVBOR…".
*Severity** ***
Error
*Engine name** ***
DITA Validation
*Additional info** ***
https:// www.oxygenxml.com/dita/ 1.3/specs/langRef/ attributes/ thehrefattribute.html <https://www.oxygenxml.com/dita/1.3/specs/langRef/attributes/thehrefattribute.html>
Despite the error message, the HTML transformation works correctly, and the output file is generated as expected.
How can I prevent Oxygen from displaying these error messages?
Freundliche Grüße | Best regards
*Frank Dissinger*
Documentation Manager
..........................................
*CGS ORIS GmbH*
*Email *frank.dissinger@cgs-oris.com <mailto:frank.dissinger@cgs-oris.com>| *Web* www.cgs-oris.com <http://www.cgs-oris.com/>
*Address*Kettelerstrasse 24 | 63512 Hainburg | Germany
*Phone*+49 6182 9626-0 | *Fax* +49 6182 9626-99
*Commercial register*Offenbach, HRB no. 21495
*Managing directors*Bernd Rückert, Christoph Thommessen
<https://www.cgs-oris.com/signatur>
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hi Radu, Thank you for your reply. You are right – it’s the extra space that causes the issue. I didn't suspect it at first because because even though I removed that space several times, it keeps getting added back automatically by some action. I will keep an eye on it to see what causes that space to get added. Regards, Frank Von: oXygen-user <oxygen-user-bounces@oxygenxml.com> Im Auftrag von Oxygen XML Editor Support (Radu Coravu) Gesendet: Dienstag, 17. Dezember 2024 13:37 An: oxygen-user@oxygenxml.com Betreff: Re: [oXygen-user] [OXYGEN-22994] Suppressing Oxygen Error Messages for DITA Files with Base64-Encoded Images Hello Frank, I see you have an extra space in the "href" attribute value before the "data:" part, is it possible the error refers to that extra space in the href value? If so you should remove that extra starting space from the @href value because the href attribute needs to contain an URI-like reference. If not, would it be possible for you to send us directly (support@oxygenxml.com <mailto:support@oxygenxml.com> ) a small DITA topic containing such an image with which I could reproduce the problem? Regards, Radu Radu Coravu Oxygen XML Editor --------------------------------------------------------------- On 12/17/24 11:49, Frank Dissinger wrote: Hi list, In one of my Oxygen projects, I need to generate an HTML file from DITA sources without using any external links. To achieve this, I embed a few icons directly into the output file using the following DITA code: <image href= <data:image/png;base64,iVBOR…”scope=> " data:image/png;base64,iVBOR…” scope="external"/> The … represents the remaining 1585 characters of the base64-encoded image data. When I save the DITA file, Oxygen repeatedly displays the following error: Description Reference " data:image/png;base64 ,iVBOR…". Severity Error Engine name DITA Validation Additional info <https://www.oxygenxml.com/dita/1.3/specs/langRef/attributes/thehrefattribute.html> https:// www.oxygenxml.com/dita/ 1.3/specs/langRef/ attributes/ thehrefattribute.html Despite the error message, the HTML transformation works correctly, and the output file is generated as expected. How can I prevent Oxygen from displaying these error messages? Freundliche Grüße | Best regards Frank Dissinger Documentation Manager .......................................... CGS ORIS GmbH Email <mailto:frank.dissinger@cgs-oris.com> frank.dissinger@cgs-oris.com | Web <http://www.cgs-oris.com/> www.cgs-oris.com Address Kettelerstrasse 24 | 63512 Hainburg | Germany Phone +49 6182 9626-0 | Fax +49 6182 9626-99 Commercial register Offenbach, HRB no. 21495 Managing directors Bernd Rückert, Christoph Thommessen
participants (2)
-
Frank Dissinger
-
Oxygen XML Editor Support (Radu Coravu)