Comment 5 for bug 1446204

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

How can I include an SVG element produced by inkscape in an HTML5 document without resulting in a document that does not pass HTML5
validation ?

The following notes and warnings highlight missing or conflicting information which caused the validator to perform some guesswork prior to validation, or other things affecting the output below. If the guess or fallback is incorrect, it could make validation results entirely incoherent. It is highly recommended to check these potential issues, and, if necessary, fix them and re-validate the document.

    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 10, 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 10, 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 10, 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 10, 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 10, 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 10, 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 31, Column 11: Element name rdf:rdf cannot be represented as XML 1.0.

      <rdf:RDF>

    ✉
    Error Line 31, 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 32, Column 25: Attribute rdf:about is not serializable as XML 1.0.

       <cc:Work rdf:about="">

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

       <cc:Work rdf:about="">

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

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

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

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

    ✉
    Warning Line 34, 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 35, Column 15: Element name dc:title cannot be represented as XML 1.0.

        <dc:title/>

    ✉
    Error Line 41, 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…