Errors found while checking this document as SVG 1.1 + XHTML

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
WilliamB
Posts: 10
Joined: Tue Apr 14, 2015 12:44 am

Errors found while checking this document as SVG 1.1 + XHTML

Postby WilliamB » Tue Apr 14, 2015 1:24 am

Hi, I'm having problems with validating a work I created with Inkscape.
After I made it (I put many hours in this) I tried to upload it to Commons Wikimedia, but the upload failed because of a internal token error.
I have added the SVG file to this message.

This is where I verfied it: http://validator.w3.org/check

This is the resulting report:

Code: Select all

 Info The Content-Type was image/svg+xml. Using the XML parser (not resolving external entities).

Warning Line 20, Column 30: This validator does not validate Inkscape extensions properly. Inkscape-specific errors may go unnoticed.
   inkscape:export-ydpi="700">

Warning Line 23, Column 13: This validator does not validate RDF. RDF subtrees go unchecked.
    <rdf:RDF>

Error Line 105, Column 25: Attribute paint from namespace http://www.openswatchbook.org/uri/2009/osb not allowed on SVG element linearGradient at this point.
       osb:paint="solid">

Error Line 486, Column 31: Inkscape element grid not allowed as child of Sodipodi element namedview in this context. (Suppressing further errors from this subtree.)
       originy="114.82912px" />
Attachments
File by WilliamB.svg
(208.83 KiB) Downloaded 230 times

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Errors found while checking this document as SVG 1.1 + X

Postby hulf2012 » Tue Apr 14, 2015 2:48 am

I have opened on Chrome, and it doesn't complain...

Try to save as plain SVG or Optimized SVG, and see what mesages appears

Edit: when saved as optimized, the file pass the test, but some setup must be done...
Last edited by hulf2012 on Tue Apr 14, 2015 3:14 am, edited 1 time in total.
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

WilliamB
Posts: 10
Joined: Tue Apr 14, 2015 12:44 am

Re: Errors found while checking this document as SVG 1.1 + X

Postby WilliamB » Tue Apr 14, 2015 2:56 am

I tried Plain SVG, and this is the new report by validator.w3.org/check:

Code: Select all

The Content-Type was image/svg+xml. Using the XML parser (not resolving external entities).

Warning Line 16, Column 13: This validator does not validate RDF. RDF subtrees go unchecked.

    <rdf:RDF>

Error Line 97, Column 31: Attribute paint from namespace http://www.openswatchbook.org/uri/2009/osb not allowed on SVG element linearGradient at this point.

       id="linearGradient6471">


I have no clue what openswatchbook is or why it's in there.

WilliamB
Posts: 10
Joined: Tue Apr 14, 2015 12:44 am

Re: Errors found while checking this document as SVG 1.1 + X

Postby WilliamB » Tue Apr 14, 2015 3:00 am

I tried Optimized SVG, and this is the new report by validator.w3.org/check:

Code: Select all

 The Content-Type was image/svg+xml. Using the XML parser (not resolving external entities).

Warning Line 4, Column 11: This validator does not validate RDF. RDF subtrees go unchecked.
  <rdf:RDF>

Congratulations

The uploaded document was successfully checked as SVG 1.1 + XHTML + MathML 3.0. This means that the resource in question identified itself as "SVG 1.1 + XHTML + MathML 3.0" and that we successfully performed a formal validation of it. The parser implementations we used for this check are based on Compound XML and libxml2 (XML).

Then I tried uploading to Commons Wikimedia, which again gave the same error as before...
[EDIT] I cleared my browser cache and tried uploading again: now it was accepted. ;)


Return to “Discuss Software Issues”