[oXygen-user] [OXYGEN-22994] Suppressing Oxygen Error Messages for DITA Files with Base64-Encoded Images
Frank Dissinger
frank.dissinger at cgs-oris.com
Tue Dec 17 06:57:36 CST 2024
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 at oxygenxml.com> Im Auftrag von Oxygen XML Editor Support (Radu Coravu)
Gesendet: Dienstag, 17. Dezember 2024 13:37
An: oxygen-user at 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 at oxygenxml.com <mailto:support at 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 at cgs-oris.com> frank.dissinger at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20241217/d0085bd0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 61884 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20241217/d0085bd0/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 151 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20241217/d0085bd0/attachment-0003.png>
More information about the oXygen-user
mailing list