Home Forums DITA and XMetaL Discussion SVG images not showing in Tags on view Reply To: SVG images not showing in Tags on view

Derek Read

Reply to: SVG images not showing in Tags on view

I suspect the script we use to parse the SVG's is failing because of the format of the SVG files.

In order to obtain the width and height to render the SVG at the correct size we load the SVG into MSXML. If the SVG includes a reference to a schema (DTD or XSD) that would be one cause. MSXML may be trying to locate the DTD or Schema (XSD) and failing at that point.

Typically, after the XML declaration at the top of the SVG file many applications that create these files insert a DOCTYPE declaration that references the DTD. If you can remove this DOCTYPE declaration that may resolve the issue.

Reply

Products
Downloads
Support