Re: encoding="iso-8859-1" & http://validator.w3.org

SVG images from the SVG spec are not validating
for example:  http://www.w3.org/TR/SVG11/images/shapes/rect01.svg

I have been assured that this is a problem with the validator, rather  
than the SVG spec.

please can you confirm that this is correct.

Jonathan Chetwynd


> Jonathan Chetwynd wrote to www-svg@w3.org :
>
> > If you look with a little care, there is an example URI included:
> > http://www.w3.org/TR/SVG11/images/shapes/rect01.svg
>
> Yes I know, I did look with care, and I even took the time to supply  
> you with lots of validation results for that SVG from four different  
> validators.
>
> You said that it doesn't validate, but it does. The issue you are  
> experiencing is not with the SVG, but with the validator at
> http://validator.w3.org/ .
>
> > here is an example of the validation error message:
> > "I was not able to extract a character encoding labeling from any of
> > the
> > valid sources for such information. Without encoding information it  
> is
> > impossible to validate the document...."
>
> Only if the SVGs would be encoded in something other than UTF-8 or  
> UTF-16 they would have to have an encoding declaration:
>
> http://www.w3.org/TR/REC-xml.html#charencoding
> "In the absence of external character encoding information (such as  
> MIME headers), parsed entities which are stored in an encoding other  
> than UTF-8 or UTF-16 must begin with a text declaration (see 4.3.1 The  
> Text Declaration) containing an encoding declaration:"
>
> >  
> http://validator.w3.org/ 
> check?uri=http%3A%2F%2Fwww.w3.org%2FTR%2FSVG11%2Fimages%2Fshapes%2Frect 
> 01.svg
> >
> > This problem is general to all the images I have checked.
>
> As others on this list have also explained to you, you are describing  
> a problem with
> http://validator.w3.org/ ,
> so please report that issue at
> http://validator.w3.org/feedback.html ,
> supplying the error message and URL you list above. TIA.
>
> > please can you respond to the original query posted below?
>
> Yes, I can try again:
>
> >     encoding="iso-8859-1" & http://validator.w3.org
>
> I don't understand what you mean by
>   'encoding="iso-8859-1" & http://validator.w3.org',
> and how iso-8859-1 relates to the problem.
>
> >     Is there a great reason why the SVG images* in the spec:
> >     http://www.w3.org/TR/SVG11/ don't validate?
>
> Which SVGs don't validate? As you know since at least days, you can  
> use online validators listed on
> http://www.pinkjuice.com/check/ ,
> and as you know since at least some days, http://validator.w3.org/ has  
> various issues. The people at this list here (www-svg@w3.org)  
> typically can't do anything about it; but the people at  
> http://validator.w3.org/feedback.html are the right address, and  
> should be able to fix it.
>
> >     Is there a plan to validate SVG images at some time in the  
> future?
>
> Which SVGs are invalid?
>
> To show that an SVG (or any other XML document) is invalid, I  
> recommend to use multiple good validators, not just one single  
> validator that states on it's result page for XML resources:
> "Note: The Validator XML support has some limitations."
>
> >     This seems a rather poor practice, web accessibility and SVG have
> >     such great potential!
>
> I can't see why you would repeat a shouted statement like this after  
> being informed (see the other posts in this thread) that the issue is  
> not with the SVG.
>
> >     thanks
> >
> >     Jonathan Chetwynd
> >     http://www.peepo.com/svg/!home.svg
> >
> >     *http://www.w3.org/TR/SVG11/images/shapes/rect01.svg
>
> This SVG is valid (there has been no sign that it's invalid), please  
> see the previous mail.
>
> Tobi
>
> -- 
> http://www.pinkjuice.com/
>

Received on Monday, 7 July 2003 04:13:04 UTC