[Clipart] [Bug 4743] New: Many SVGs are invalid XML, all should be validated on submission

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 11 03:22:48 PDT 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=4743          
     
           Summary: Many SVGs are invalid XML, all should be validated on
                    submission
           Product: openclipart.org
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: clipart
        AssignedTo: clipart at lists.freedesktop.org
        ReportedBy: eseidel at apple.com


Many SVGs are invalid XML, all should be validated on submission

I have discovered while writing Safari+SVG, that many of the SVG files on OpenClipart.org are in fact 
invalid xml.  Two recent examples come to mind:

http://www.openclipart.org/incoming/jerusalem_cross_with_cr_01.svg

<?xml version="1" standalone="no"?> is invalid, only 1.0 and 1.1 are allowed.

As well as openclipart's own logo:

http://www.openclipart.org/logo/openclipartlibrary-logo-only-5colors.svg

the prefix "rdf" is never defined yet it's used.

My suggestion would be that the submission script should use either libTidy or validator.w3c.org to 
check every svg before allowing an author to submit.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the clipart mailing list