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

Oxygen XML Editor Support (Radu Coravu) support at oxygenxml.com
Tue Dec 17 06:36:32 CST 2024


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) 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 at cgs-oris.com 
> <mailto:frank.dissinger at 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 at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20241217/87e8fd2c/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/87e8fd2c/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/87e8fd2c/attachment-0003.png>


More information about the oXygen-user mailing list