SVG Validation and Sanitization


Synoptic Panel v2 checks and sanitizes SVG maps when you import them from a file, load them from a URL, or upload an SVG file to My Storage from the visual. Synoptic Panel Lite applies these checks to local maps.

Validation

Synoptic Panel reads the map as XML and checks that the document has an SVG root element. If it cannot read the SVG, it reports an Invalid SVG error. When importing a local file, the visual also checks its file type and size.

Sanitization

Before displaying an imported map, Synoptic Panel removes scripts, event handlers, JavaScript links, and embedded HTML. The remaining SVG can still be used as a map. See Unsupported Elements and Attributes for examples.

External Resources in Synoptic Panel Lite

Synoptic Panel Lite also removes references to external resources, such as linked images, stylesheets, and fonts. To include an image in a Lite map, embed it in the SVG before importing the file. See Creating SVG Maps for export guidance.

Last update: Nov 19, 2026