Re: SVG12: charset parameter for image/svg+xml

On Monday, November 1, 2004, 10:19:01 PM, Bjoern wrote:

BH> * Chris Lilley wrote:
>>BH> The W3C Markup Validator considers resources such as
>>
>>BH>   Content-Type: image/svg+xml;charset=iso-8859-1
>>
>>BH>   <?xml version='1.0' encoding='utf-8'?>
>>BH>   ...
>>
>>BH> ISO-8859-1 encoded.
>>
>>Yes, there are two inconsistent pieces of metadata and the markup
>>validator correctly applies the rules to determine which to use.

BH> What makes you think there is inconsistent metadata here?

The encoding is declared in two places, and they are different. One is
the charset parameter, and one is the xml encoding declaration.

BH> The charset parameter in the example above has no semantics that
BH> could be inconsistent with other information.

Its clearly inconsistent! The encoding declaration has the same
semantic. It agree that there is a mechanism to *resolve* the ambiguity,
but the inconsistency is clearly there.




-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group

Received on Monday, 1 November 2004 21:35:42 UTC