|
http://validator.w3.org/ bug with <style id>: msg#00068org.w3c.validator
Running <http://pretzelnet.org/~epg/tmp/test.html> through the on-line validator produces the following error: * Line 11, column 14: <style id="internal-style" type="text/css" media="screen, print, t ... ^ Error: there is no attribute "id" for this element (in this HTML version) The document where i first noticed this began life as a lazy HTML document, not compliant to any standard. I followed the recommendations in <http://www.w3.org/TR/xhtml1/#guidelines> "HTML Compatability Guidelines" to make it a backwards-compatible document, that validates to the XHTML 1.0 Strict DTD. Later i noticed section C.14, which recommends using the xml-stylesheet PI. Unfortunately, despite that document's recommendations, the validator does not think the <style> element has an id attribute. Is this a bug in the validator or the DTD? BTW, the test document is currently XHTML 1.1 because i tried that in hopes of working around the problem; no luck :-/. -- Eric Gillespie, Jr. <*> epg@xxxxxxxxxxxxxx Build a fire for a man, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life. -Terry Pratchett |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Validator fails horribly on ill-formed XMLDecls: 00068, Olivier Thereaux |
|---|---|
| Next by Date: | Re: http://validator.w3.org/ bug with <style id>: 00068, Liam Quinn |
| Previous by Thread: | Suggestion: Batch validationi: 00068, Marc-Andre Roberge |
| Next by Thread: | Re: http://validator.w3.org/ bug with <style id>: 00068, Liam Quinn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |