50 likes | 160 Views
Simple example. Why it’s painfull. SVG source is 1275 lines 124 paths No ID on the erroneous paths to make easiest the identification of them As seen after, common tools doesn’t give us a useful diagnosis. Diagnosis by common tools. Opera : error console Nothing
E N D
Whyit’spainfull • SVG source is • 1275 lines • 124 paths • No ID on the erroneous paths to make easiest the identification of them • As seen after, common tools doesn’t give us a useful diagnosis
Diagnosis by commontools • Opera: error console • Nothing • Firefox: error console • Nothing • W3C XML Validator • Nothinguseful for the currentproblem
Our tool • Call • java -jar SvgValidator.jar -dtdschema\svg11-flat.dtd -f jack_of_hearts_en_ERR.svg • Gives • <error> • <description>attribute not allowedatthispoint:fiil</description> • <elementname="path"> • <attributename="fiil"></attribute> • </element> • <line>1214</line> • <conlumn>125</conlumn> • <suggestions> • <suggestion>fill</suggestion> • … • </suggestions> • … • </error>