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 (supp...@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.dissin...@cgs-oris.com <mailto:frank.dissin...@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
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to