SVG12: charset parameter for image/svg+xml

Chris Lilley chris at w3.org
Mon Nov 1 22:35:42 CET 2004


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 at w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group




More information about the Ietf-types mailing list