This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"The $encoding argument, if present, is the name of an encoding. The values for this attribute follow the same rules as for the encoding attribute in an XML declaration." The specification expects the encoding to be a valid encoding name, but does not state what happens when the encoding name is invalid. Should it raise an error or silently default to, say, UTF-8?
The WG discussed this today and resolved to extend the meaning of error code 1190 to cover the case where the value of the encoding attribute is not in the valid lexical space of encoding names. Tim, please do the honours...
Thanks.