This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 410 - getinputencoding tests case-sensitive
Summary: getinputencoding tests case-sensitive
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: DOM Level 3 (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-12 14:25 UTC by Andrew Clover
Modified: 2003-12-16 00:41 UTC (History)
0 users

See Also:


Attachments
Makes encoding comparison case-insensitive, metadata, copyright changes (6.95 KB, patch)
2003-12-15 19:38 UTC, Curt Arnold
Details

Description Andrew Clover 2003-12-12 14:25:25 UTC
level3/core/getinputencoding01,
level3/core/getinputencoding03:
level3/core/getinputencoding04:

Generated encoding string comparison should be case-insensitive, I see nowhere
in the spec stating that encoding names not read from a document must be
uppercased. Additionally, getinputencoding04 description mentions
getXmlEncoding, should be inputEncoding.
Comment 1 Curt Arnold 2003-12-15 19:36:13 UTC
From http://www.iana.org/assignments/character-sets

The character set names may be up to 40 characters taken from the
printable characters of US-ASCII.  However, no distinction is made
between use of upper and lower case letters.

That would suggest that comparison should be case-insensitive as suggested.
Comment 2 Curt Arnold 2003-12-15 19:38:37 UTC
Created attachment 110 [details]
Makes encoding comparison case-insensitive, metadata, copyright changes