How to validate an SVG 1.2 document

To validate an SVG 1.2 document, you must include the following Relax NG Schema in the SVG 1.2 document: http://www.w3.org/Graphics/SVG/1.2/rng/Tiny-1.2/Tiny-1.2.rng. Once you've included this schema in your SVG 1.2 document, XMLBlueprint XML Editor will support XML Completion for your SVG 1.2 document. To validate your SVG 1.2 document, open it in XMLBlueprint XML Editor and click XML > Validate.

To use this Relax NG Schema, start your SVG 1.2 document with:

<?xml version="1.0" encoding="utf-8"?>

<?blueprint

      namespace="http://www.w3.org/2000/svg"

      schema="http://www.w3.org/Graphics/SVG/1.2/rng/Tiny-1.2/Tiny-1.2.rng"?>

<svg xmlns="http://www.w3.org/2000/svg">

</svg>