cannot produce valid HTML5 <svg ...> elements

Bug #1446209 reported by JVD
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Is inkscape meant to be able to produce <svg... > ... </svg> elements that can be included in an HTML
document conforming to HTML5 ?
Because I cannot seem to get it to do so without producing loads of HTML validation errors from the W3C's
validator ( http://validator.w3.org ) :

    Info Using experimental feature: HTML5 Conformance Checker.

    The validator checked your document with an experimental feature: HTML5 Conformance Checker. This feature has been made available for your convenience, but be aware that it may be unreliable, or not perfectly up to date with the latest development of some cutting-edge technologies. If you find any issues with this feature, please report them. Thank you.

↑ Top
Validation Output: 77 Errors

    Error Line 8, Column 221: Attribute xmlns:rdf not allowed here.

    …c="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">

    ✉
    Warning Line 8, Column 221: Attribute with the local name xmlns:rdf is not serializable as XML 1.0.

    …c="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">

    ✉
    Error Line 8, Column 221: Attribute xmlns:cc not allowed here.

    …c="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">

    ✉
    Warning Line 8, Column 221: Attribute with the local name xmlns:cc is not serializable as XML 1.0.

    …c="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">

    ✉
    Error Line 8, Column 221: Attribute xmlns:dc not allowed here.

    …c="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">

    ✉
    Warning Line 8, Column 221: Attribute with the local name xmlns:dc is not serializable as XML 1.0.

    …c="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">

    ✉
    Warning Line 10, Column 11: Element name rdf:rdf cannot be represented as XML 1.0.

      <rdf:RDF>

    ✉
    Error Line 10, Column 11: Element rdf:rdf not allowed as child of element metadata in this context. (Suppressing further errors from this subtree.)

      <rdf:RDF>

    ✉
    Warning Line 11, Column 25: Attribute rdf:about is not serializable as XML 1.0.

       <cc:Work rdf:about="">

    ✉
    Warning Line 11, Column 25: Element name cc:work cannot be represented as XML 1.0.

       <cc:Work rdf:about="">

    ✉
    Warning Line 12, Column 15: Element name dc:format cannot be represented as XML 1.0.

        <dc:format>image/svg+xml</dc:format>

    ✉
    Warning Line 13, Column 68: Attribute rdf:resource is not serializable as XML 1.0.

        <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>

    ✉
    Warning Line 13, Column 68: Element name dc:type cannot be represented as XML 1.0.

        <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>

    ✉
    Warning Line 14, Column 15: Element name dc:title cannot be represented as XML 1.0.

        <dc:title/>

    ✉
    Error Line 19, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 22, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 25, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 28, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 31, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 34, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 37, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 40, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 43, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 46, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 49, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 52, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 55, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 58, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 61, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 64, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 67, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 70, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 73, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 76, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 79, Column 152: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 82, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 85, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 88, Column 153: Attribute se_type not allowed on element marker at this point.

    …rkerUnits="strokeWidth" markerWidth="5" viewBox="0 0 100 100" markerHeight="5">

    ✉
    Error Line 94, Column 93: Bad value null for attribute stroke-linejoin on element g.

    …nejoin="null" stroke="#000" stroke-linecap="null" fill="none" stroke-width="2">

    ✉
    Error Line 94, Column 93: Bad value null for attribute stroke-linecap on element g.

    …nejoin="null" stroke="#000" stroke-linecap="null" fill="none" stroke-width="2">

    ✉
    Error Line 126, Column 120: Bad value null for attribute stroke-linejoin on element g.

    …&apos;Andale Mono&apos;" fill="#000000" stroke-linecap="null" stroke-width="0">

    ✉
    Error Line 126, Column 120: Bad value null for attribute stroke-linecap on element g.

    …&apos;Andale Mono&apos;" fill="#000000" stroke-linecap="null" stroke-width="0">

    ✉
    Error Line 127, Column 251: Attribute line-height not allowed on element text at this point.

    …0" y="21" x="45" style="writing-mode:lr;text-anchor:middle;text-align:center"/>

    ✉
    Error Line 131, Column 142: Attribute line-height not allowed on element text at this point.

    …xt-align:center" line-height="125%" y="29" x="201">wl-ci-PT main process</text>

    ✉
    Error Line 132, Column 143: Attribute line-height not allowed on element text at this point.

    …chor:middle;text-align:center" line-height="125%" y="294" x="264">SQLite</text>

    ✉
    Error Line 133, Column 143: Attribute line-height not allowed on element text at this point.

    …t-anchor:middle;text-align:center" line-height="125%" y="316" x="264">DB</text>

    ✉
    Error Line 134, Column 142: Attribute line-height not allowed on element text at this point.

    …iddle;text-align:center" line-height="125%" y="58" x="117">wl_ci_pt main</text>

    ✉
    Error Line 135, Column 143: Attribute line-height not allowed on element text at this point.

    …-anchor:middle;text-align:center" line-height="125%" y="119" x="313">ci4</text>

    ✉
    Error Line 137, Column 164: Attribute line-height not allowed on element text at this point.

    …ign:center" line-height="125%" stroke-dasharray="2,2" y="70" x="367">ci3</text>

    ✉
    Error Line 139, Column 142: Attribute line-height not allowed on element text at this point.

    …or:middle;text-align:center" line-height="125%" y="95" x="511">CIv4 host</text>

    ✉
    Error Line 140, Column 143: Attribute line-height not allowed on element text at this point.

    …ddle;text-align:center" line-height="125%" y="179" x="505">SAL HTTP host</text>

    ✉
    Error Line 141, Column 143: Attribute line-height not allowed on element text at this point.

    …hor:middle;text-align:center" line-height="125%" y="271" x="507">DV host</text>

    ✉
    Error Line 142, Column 143: Attribute line-height not allowed on element text at this point.

    …or:middle;text-align:center" line-height="125%" y="358" x="511">SAL host</text>

    ✉
    Error Line 145, Column 153: Attribute line-height not allowed on element text at this point.

    …le;text-align:center" line-height="125%" y="43.973682" x="463.01315">ssh</text>

    ✉
    Error Line 148, Column 142: Attribute line-height not allowed on element text at this point.

    …xt-anchor:middle;text-align:center" line-height="125%" y="33" x="546">CI</text>

    ✉
    Error Line 149, Column 145: Attribute line-height not allowed on element text at this point.

    …nchor:middle;text-align:center" line-height="125%" y="323" x="470.5">ssh</text>

    ✉
    Error Line 150, Column 143: Attribute line-height not allowed on element text at this point.

    …anchor:middle;text-align:center" line-height="125%" y="230" x="467">http</text>

    ✉
    Error Line 151, Column 145: Attribute line-height not allowed on element text at this point.

    …chor:middle;text-align:center" line-height="125%" y="138" x="465.5">http</text>

    ✉
    Error Line 154, Column 143: Attribute line-height not allowed on element text at this point.

    …r:middle;text-align:center" line-height="125%" y="138" x="310">coprocess</text>

    ✉
    Error Line 155, Column 143: Attribute line-height not allowed on element text at this point.

    …hor:middle;text-align:center" line-height="125%" y="205" x="295">ssh SQL</text>

    ✉
    Error Line 156, Column 143: Attribute line-height not allowed on element text at this point.

    …-anchor:middle;text-align:center" line-height="125%" y="206" x="189">SQL</text>

    ✉
    Error Line 158, Column 165: Attribute line-height not allowed on element text at this point.

    …n:center" line-height="125%" stroke-dasharray="null" y="196" x="60">java</text>

    ✉
    Error Line 159, Column 165: Attribute line-height not allowed on element text at this point.

    …enter" line-height="125%" stroke-dasharray="null" y="214" x="61">/groovy</text>

    ✉
    Error Line 163, Column 93: Bad value null for attribute stroke-linejoin on element g.

    …nejoin="null" stroke="#000" stroke-linecap="null" fill="none" stroke-width="2">

    ✉
    Error Line 163, Column 93: Bad value null for attribute stroke-linecap on element g.

    …nejoin="null" stroke="#000" stroke-linecap="null" fill="none" stroke-width="2">

    ✉
    Error Line 185, Column 74: Bad value null for attribute stroke-linejoin on element g.

      <g stroke-linejoin="null" stroke-linecap="null" stroke-dasharray="null">

    ✉
    Error Line 185, Column 74: Bad value null for attribute stroke-linecap on element g.

      <g stroke-linejoin="null" stroke-linecap="null" stroke-dasharray="null">

    ✉
    Error Line 186, Column 267: Attribute line-height not allowed on element text at this point.

    …="173" x="378" font-family="&apos;Andale Mono&apos;" fill="#000000">curl</text>

    ✉
    Error Line 187, Column 269: Attribute line-height not allowed on element text at this point.

    …198" x="378.5" font-family="&apos;Andale Mono&apos;" fill="#000000">curl</text>

    ✉
    Error Line 190, Column 144: Bad value null for attribute stroke-linejoin on element g.

    …ddle" stroke="#000000" stroke-dasharray="null" stroke-width="0" fill="#000000">

    ✉
    Error Line 190, Column 144: Bad value null for attribute stroke-linecap on element g.

    …ddle" stroke="#000000" stroke-dasharray="null" stroke-width="0" fill="#000000">

    ✉
    Error Line 192, Column 140: Attribute line-height not allowed on element text at this point.

    …hor:middle;text-align:center" line-height="125%" y="268" x="98">WL-CI-PT</text>

    ✉
    Error Line 193, Column 140: Attribute line-height not allowed on element text at this point.

    …chor:middle;text-align:center" line-height="125%" y="290" x="99">process</text>

    ✉
    Error Line 194, Column 140: Attribute line-height not allowed on element text at this point.

    …or:middle;text-align:center" line-height="125%" y="313" x="96">structure</text>

    ✉
    Error Line 196, Column 197: Attribute line-height not allowed on element text at this point.

    …eight="125%" y="232" x="544" font-family="&apos;Andale Mono&apos;">wl-dv</text>

    ✉
    Error Line 198, Column 135: Bad value null for attribute stroke-linejoin on element rect.

    …roke="#000" stroke-linecap="null" y="46" x="520" stroke-width="2" fill="none"/>

    ✉
    Error Line 198, Column 135: Bad value null for attribute stroke-linecap on element rect.

    …roke="#000" stroke-linecap="null" y="46" x="520" stroke-width="2" fill="none"/>

    ✉
    Error Line 199, Column 201: Bad value null for attribute stroke-linejoin on element g.

    …text-anchor="middle" stroke="#000000" stroke-dasharray="null" stroke-width="0">

    ✉
    Error Line 199, Column 201: Bad value null for attribute stroke-linecap on element g.

    …text-anchor="middle" stroke="#000000" stroke-dasharray="null" stroke-width="0">

    ✉
    Error Line 200, Column 141: Attribute line-height not allowed on element text at this point.

    …-anchor:middle;text-align:center" line-height="125%" y="69.5" x="545">CI</text>

    ✉
    Error Line 201, Column 139: Attribute line-height not allowed on element text at this point.

    …ext-anchor:middle;text-align:center" line-height="125%" y="69" x="562">4</text>

    ✉
    Error Line 202, Column 139: Attribute line-height not allowed on element text at this point.

    …ext-anchor:middle;text-align:center" line-height="125%" y="34" x="563">3</text>

    ✉
    Error Line 203, Column 140: Attribute line-height not allowed on element text at this point.

    …-anchor:middle;text-align:center" line-height="125%" y="219" x="376">ssh</text>

    ✉
    Error Line 204, Column 140: Attribute line-height not allowed on element text at this point.

    …chor:middle;text-align:center" line-height="125%" y="135" x="547">python</text>

    ✉
    Error Line 205, Column 140: Attribute line-height not allowed on element text at this point.

    …chor:middle;text-align:center" line-height="125%" y="325" x="543">wl-sal</text>

    ✉
    Error Line 207, Column 100: Bad value null for attribute stroke-linejoin on element g.

    …"null" stroke="#000" stroke-linecap="null" stroke-dasharray="null" fill="none">

    ✉
    Error Line 207, Column 100: Bad value null for attribute stroke-linecap on element g.

    …"null" stroke="#000" stroke-linecap="null" stroke-dasharray="null" fill="none">

Tags: exporting svg
Revision history for this message
JVD (jason-vas-dias) wrote :

Example html file containing SVG that generated above validator errors

su_v (suv-lp)
tags: added: exporting
tags: removed: exporting
Revision history for this message
JVD (jason-vas-dias) wrote :
Download full text (67.4 KiB)

Matters are not helped by changing the DOCTYPE to xhtml 1.1 + MathML 2.0 + SVG 1.1 :
Validation Output: 71 Errors

    Error Line 17, Column 68: there is no attribute "xmlns"

    ….org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="100…

    ✉

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Error Line 17, Column 104: there is no attribute "height"

    …s="http://www.w3.org/2000/svg" height="100mm" width="200mm" version="1.1" xmln…

    ✉

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
    Error Line 17, Column 118: there is no attribute "width"

    …w3.org/2000/svg" height="100mm" width="200mm" version="1.1" xmlns:cc="http://c

    ✉

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired...

Revision history for this message
JVD (jason-vas-dias) wrote :
Revision history for this message
JVD (jason-vas-dias) wrote :

Errors from HTML 5 version :

    Info Using experimental feature: HTML5 Conformance Checker.

    The validator checked your document with an experimental feature: HTML5 Conformance Checker. This feature has been made available for your convenience, but be aware that it may be unreliable, or not perfectly up to date with the latest development of some cutting-edge technologies. If you find any issues with this feature, please report them. Thank you.

↑ Top
Validation Output: 5 Errors

    Error Line 12, Column 259: Attribute xmlns:rdf not allowed here.

    …xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 708.66142 354.33071">

    ✉
    Warning Line 12, Column 259: Attribute with the local name xmlns:rdf is not serializable as XML 1.0.

    …xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 708.66142 354.33071">

    ✉
    Error Line 12, Column 259: Attribute xmlns:cc not allowed here.

    …xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 708.66142 354.33071">

    ✉
    Warning Line 12, Column 259: Attribute with the local name xmlns:cc is not serializable as XML 1.0.

    …xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 708.66142 354.33071">

    ✉
    Error Line 12, Column 259: Attribute xmlns:dc not allowed here.

    …xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 708.66142 354.33071">

    ✉
    Warning Line 12, Column 259: Attribute with the local name xmlns:dc is not serializable as XML 1.0.

    …xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 708.66142 354.33071">

    ✉
    Warning Line 33, Column 11: Element name rdf:rdf cannot be represented as XML 1.0.

      <rdf:RDF>

    ✉
    Error Line 33, Column 11: Element rdf:rdf not allowed as child of element metadata in this context. (Suppressing further errors from this subtree.)

      <rdf:RDF>

    ✉
    Warning Line 34, Column 25: Attribute rdf:about is not serializable as XML 1.0.

       <cc:Work rdf:about="">

    ✉
    Warning Line 34, Column 25: Element name cc:work cannot be represented as XML 1.0.

       <cc:Work rdf:about="">

    ✉
    Warning Line 35, Column 15: Element name dc:format cannot be represented as XML 1.0.

        <dc:format>image/svg+xml</dc:format>

    ✉
    Warning Line 36, Column 68: Attribute rdf:resource is not serializable as XML 1.0.

        <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>

    ✉
    Warning Line 36, Column 68: Element name dc:type cannot be represented as XML 1.0.

        <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>

    ✉
    Warning Line 37, Column 15: Element name dc:title cannot be represented as XML 1.0.

        <dc:title/>

    ✉
    Error Line 43, Column 174: Element flowroot not allowed as child of element g in this context. (Suppressing further errors from this subtree.)

    …ight:125%;word-spacing:0px;fill:black"><flowRegion><rect y="117.19" width="108…

Revision history for this message
JVD (jason-vas-dias) wrote :

So I can't get any HTML document containing any SVG produced by either SVG-Edit or Inkscape through the W3 HTML validator without errors .
Is there any SVG editor that can produce documents that pass the W3C's validation tests ?

Revision history for this message
JVD (jason-vas-dias) wrote :

OK, I see what the problem is now .

The attached document is a version of ab1.xhtml that validates OK against the W3C's "XHTML 1.1 plus MathML 2.0 plus SVG 1.1" DTD
( "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd" ) .

It is changed from the SVG produced by Inkscape in the inclusion of 'svg:' namespace prefixes on every svg tag name.

Is there a way to get Inkscape to use 'svg:' prefixes on svg element attributes and tag names ?

Revision history for this message
JVD (jason-vas-dias) wrote :

It is a rather tedious, non-trivial and error prone job to strip out the unsupported syntax and add all the missing 'svg:' prefixes to tag names .
Why does the validator require these namespace prefixes, are they mandated by the SVG standard, if so why does Inkscape not comply with
it by default ? Is there any way of getting Inkscape to use these 'svg:' namespace prefixes ?

Revision history for this message
JVD (jason-vas-dias) wrote :

Here is the HTML5 passing version . You cannot use ANY namespace prefixes or extra namespaces in the svg element attributes in HTML5 ,
unless you change the doctype to XHTML ( then it is a not an HTML5 document).
Can Inkscape be made to produce valid HTML5 svg elements (ie. without namespace references or prefixes used) ?

Revision history for this message
JVD (jason-vas-dias) wrote :

It doesn't seem possible to get Inkscape to either entirely not use XML namespaces (for HTML5) or use them only with appropriate prefixes (XHTML 1.1 + SVG + MathML) - so what standard HTML doctype + DTD should I use to include SVG produced by Inkscape ?

Revision history for this message
jazzynico (jazzynico) wrote :

Some details on inline SVG: http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Web-Use.html#Web-Use-Inline

Did you create the document with Inkscape?
Some of the errors reported by the w3c validator (inappropriate "text-align" attributes in text elements, invalid "se_type" attributes in marker elements and invalid "null" values in stroke-linecap and stroke-linejoin attributes) are apparently due to an external tool.

su_v (suv-lp)
tags: added: exporting svg
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.