![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
D. Stussy wrote: This sort of thing is always a good laugh. The fact that the "document type declaration" is syntactically a COMMENT, i.e. it starts "<!", Don't do much SGML, do you? |
|
An SGML declaration begins with "<!" and ends with ">". Inside of that, comments are the stuff between matching sets of '--' delimiters. |
#22
| |||
| |||
|
|
(Note that not even HTML Tidy which is created by someone working for the W3C includes the system identifier in tidied documents ...) |
#23
| |||
| |||
|
#24
| |||
| |||
|
|
* Thomas Lahn wrote in comp.infosystems.www.authoring.html: (Note that not even HTML Tidy which is created by someone working for the W3C includes the system identifier in tidied documents ...) Oh, it does when it thinks it makes sense. For example if the input document had a system identifier or if the output is XHTML. |
|
Always adding one is asking for trouble with doctype-switch disabled browsers. |
#25
| ||||
| ||||
|
|
On Mon, 26 Apr 2004, Sherm Pendley wrote: D. Stussy wrote: This sort of thing is always a good laugh. The fact that the "document type declaration" is syntactically a COMMENT, i.e. it starts "<!", Don't do much SGML, do you? No, I don't. An SGML declaration begins with "<!" and ends with ">". Inside of that, comments are the stuff between matching sets of '--' delimiters. Then I stand corrected. However, it in itself still isn't a pure HTML construct, |
|
which is what one SHOULD have if it were part of the specification of the language. |
|
Instead, it appears to be an escape to a different language. |
|
[...] HTML 4 is an SGML application conforming to International Standard ISO 8879 -- Standard Generalized Markup Language [ISO8879]. |
#26
| |||
| |||
|
|
Thomas 'PointedEars' Lahn <PointedEars (AT) web (DOT) de> wrote: So how can something that can be obtained in other ways be *required*? It simply cannot. They just did. The definition of a markup system can impose any rules that its designers want. They can surely require conformance to one of three DTDs _and_ require that one of three specific <!DOCTYPE>s be useed _and_ that the first character on line 42 must be an "A". If they so wish. |
#27
| ||||
| ||||
|
|
Jukka K. Korpela wrote: They just did. The definition of a markup system can impose any rules that its designers want. |
|
They can surely require conformance to one of three DTDs _and_ require that one of three specific <!DOCTYPE>s be useed _and_ that the first character on line 42 must be an "A". If they so wish. |
|
So *their* validator violates *their* specification. |
|
Thanks for clarification ... |
#28
| |||
| |||
|
|
Thomas 'PointedEars' Lahn <PointedEars (AT) web (DOT) de> wrote: Firstly, you are wrong that "well-formedness" is independent of the DTD. Invalid markup (i.e. markup that did not validate against a DTD) does not fulfill the requirement of well-formedness, too. Not necessarily. -v please (Actually, I don't know what "-v" means, [...] |

#29
| |||
| |||
|
|
On Tue, 4 May 2004, Thomas 'PointedEars' Lahn wrote: So [the W3C's] validator violates [the W3C's] specification. Does it? |
|
Remember, the term "validation" has a rather precise technical meaning in an SGML context. It certainly does *not* guarantee that it will point up all the issues on which a document does not conform to an HTML specification. |
#30
| |||
| |||
|
|
Alan J. Flavell wrote: On Tue, 4 May 2004, Thomas 'PointedEars' Lahn wrote: So [the W3C's] validator violates [the W3C's] specification. Does it? Unfortunately, it does, if we assume that the system identifier is required. |
|
If the DOCTYPE declaration of the resource to be validated misses the system identifier and there are no further errors, the document is called Valid HTML (4.01). |
|
until further notice I will adhere to the thesis that section 19 is supplemental to subsection 7.2 and thus a *HTML 4.01* DOCTYPE declaration without system identifier is correct. |
![]() |
| Thread Tools | |
| Display Modes | |
| |