7
edits
ChrisLilley (talk | contribs) (→Declare DOCTYPE for SVG: this should never be required) |
ChrisLilley (talk | contribs) (→Declare DOCTYPE for SVG: no response on discussion, so left the rumor as "unconfirmed") |
||
Line 17: | Line 17: | ||
== Declare DOCTYPE for SVG == | == Declare DOCTYPE for SVG == | ||
Similarly, declaring a correct DOCTYPE for .svg files may be | Similarly, declaring a correct DOCTYPE for .svg files may be useful for DTD validation. Thic can catch some, but not all errors and is a useful supplement to well-formedness checking. | ||
''There are uncomfirmed reports that an SVG file without namespace and incorrect doctype did work in Adobe SVG, but with the namespace added it didn’t work, until the DOCTYPE was corrected as well.'' | |||
The doctype for SVG 1.1 Full is: | |||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | ||
= use namespace-aware methods in javascript= | = use namespace-aware methods in javascript= |
edits