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

Frank Dissinger frank.dissinger at cgs-oris.com
Tue Dec 17 03:49:20 CST 2024


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  <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

 <https://www.cgs-oris.com/signatur> ​

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20241217/08828b34/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 65714 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20241217/08828b34/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/08828b34/attachment-0003.png>


More information about the oXygen-user mailing list