# SVG 1.1

Source: https://xmlvalid.com/schemas/svg-1.1

> SVG images checked against the SVG 1.1 DTD: elements, attributes and nesting.

The SVG 1.1 DTD is the only schema W3C published for SVG. It is strict: attributes from other namespaces (such as Inkscape's or Sketch's) and SVG 2 features are reported, which is useful to clean files for older renderers and print workflows.
This entry uses the flattened, single-file form of the DTD.

- Type: DTD
- Version: 1.1
- Namespace: `http://www.w3.org/2000/svg`
- Root element: `svg`
- Publisher: W3C (W3C Software and Document License), source: https://www.w3.org/TR/SVG11/
- Validate against it: https://xmlvalid.com/validate?schema=svg-1.1

## Notes

- libxml2 warns that the DTD declares the xml:space attribute of style twice; the warning comes from the DTD itself and can be ignored.
- Browsers render SVG 2 and many non-standard attributes that this DTD reports; an error here does not mean a browser will fail to show the image.
- The example is by xmlvalid.com.
