NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 215 - Require that if a <meta> charset is included, the encoding be ASCII-compatible. Update the list of SVG attributes (commented out) to work around errors in the SVG spec...
Require that if a <meta> charset is included, the encoding be ASCII-compatibl...
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-25 21:07 CEST by Henri Sivonen
Modified: 2008-05-28 14:46 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-05-25 21:07:05 CEST
Index: source
===================================================================
--- source	(revision 1699)
+++ source	(revision 1700)
@@ -6939,18 +6939,29 @@
 
   <p>If the document does not start with a BOM, and if its encoding is
   not explicitly given by <span title="Content-Type">Content-Type
-  metadata</span>, then the character encoding used must be a superset
-  of US-ASCII (specifically, ANSI_X3.4-1968) for bytes in the range
-  0x09 - 0x0D, 0x20, 0x21, 0x22, 0x26, 0x27, 0x2C - 0x3F, 0x41 - 0x5A,
-  and 0x61 - 0x7A<!-- XXX #refs RFC1345 ? --> <!-- is that list ok? do
-  any character sets we want to support do things outside that range?
-  -->, and, in addition, if that encoding isn't US-ASCII itself, then
-  the encoding must be specified using a <code>meta</code> element
-  with a <code title="attr-meta-charset">charset</code> attribute or a
+  metadata</span>, then the character encoding used must be an
+  <span>ASCII-compatible character encoding</span>, and, in addition,
+  if that encoding isn't US-ASCII itself, then the encoding must be
+  specified using a <code>meta</code> element with a <code
+  title="attr-meta-charset">charset</code> attribute or a
   <code>meta</code> element in the <span
   title="attr-meta-http-equiv-content-type">Encoding declaration
   state</span>.</p>
 
+  <p>If the document contains a <code>meta</code> element with a <code
+  title="attr-meta-charset">charset</code> attribute or a
+  <code>meta</code> element in the <span
+  title="attr-meta-http-equiv-content-type">Encoding declaration
+  state</span>, then the character encoding used must be an
+  <span>ASCII-compatible character encoding</span>.</p>
+
+  <p>An <dfn>ASCII-compatible character encoding</dfn> is one that is
+  a superset of US-ASCII (specifically, ANSI_X3.4-1968) for bytes in
+  the range 0x09 - 0x0D, 0x20, 0x21, 0x22, 0x26, 0x27, 0x2C - 0x3F,
+  0x41 - 0x5A, and 0x61 - 0x7A<!-- is that list ok? do any character
+  sets we want to support do things outside that range?  -->. <!-- XXX
+  #refs RFC1345 ? --></p>
+
   <p>Authors should not use JIS_X0212-1990, x-JIS0208, and encodings
   based on EBCDIC. Authors should not use UTF-32. Authors must not use
   the CESU-8, UTF-7, BOCU-1 and SCSU encodings. <a
@@ -42074,6 +42085,7 @@
    <thead>
     <tr> <th> Attribute name on token <th> Attribute name on element
    <tbody>
+    <tr> <td> <code title="">attributename</code> <td> <code title="">attributeName</code>
     <tr> <td> <code title="">attributetype</code> <td> <code title="">attributeType</code>
     <tr> <td> <code title="">basefrequency</code> <td> <code title="">baseFrequency</code>
     <tr> <td> <code title="">baseprofile</code> <td> <code title="">baseProfile</code>
@@ -42084,11 +42096,6 @@
     <tr> <td> <code title="">diffuseconstant</code> <td> <code title="">diffuseConstant</code>
     <tr> <td> <code title="">edgemode</code> <td> <code title="">edgeMode</code>
     <tr> <td> <code title="">externalresourcesrequired</code> <td> <code title="">externalResourcesRequired</code>
-    <tr> <td> <code title="">fecolormatrix</code> <td> <code title="">feColorMatrix</code>
-    <tr> <td> <code title="">fecomposite</code> <td> <code title="">feComposite</code>
-    <tr> <td> <code title="">fegaussianblur</code> <td> <code title="">feGaussianBlur</code>
-    <tr> <td> <code title="">femorphology</code> <td> <code title="">feMorphology</code>
-    <tr> <td> <code title="">fetile</code> <td> <code title="">feTile</code>
     <tr> <td> <code title="">filterres</code> <td> <code title="">filterRes</code>
     <tr> <td> <code title="">filterunits</code> <td> <code title="">filterUnits</code>
     <tr> <td> <code title="">glyphref</code> <td> <code title="">glyphRef</code>
@@ -42122,6 +42129,7 @@
     <tr> <td> <code title="">repeatcount</code> <td> <code title="">repeatCount</code>
     <tr> <td> <code title="">repeatdur</code> <td> <code title="">repeatDur</code>
     <tr> <td> <code title="">requiredextensions</code> <td> <code title="">requiredExtensions</code>
+    <tr> <td> <code title="">requiredfeatures</code> <td> <code title="">requiredFeatures</code>
     <tr> <td> <code title="">specularconstant</code> <td> <code title="">specularConstant</code>
     <tr> <td> <code title="">specularexponent</code> <td> <code title="">specularExponent</code>
     <tr> <td> <code title="">spreadmethod</code> <td> <code title="">spreadMethod</code>