W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > May 2011

[Bug 12106] 1. <quote> <!DOCTYPE HTML> </quote> Is this declaration part of an html document? Or is this part of a Document Type Definition (DTD)? Where are DTDs for html documents defined? 2. <title> Resource metadata management </title> <quote> A Document is always

From: <bugzilla@jessica.w3.org>
Date: Wed, 04 May 2011 23:08:56 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QHlBg-0006xH-Mc@jessica.w3.org>

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |NEEDSINFO

--- Comment #2 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-05-04 23:08:56 UTC ---
> Is this declaration part of an html document?


> Or is this part of a Document
> Type Definition (DTD)?


> Where are DTDs for html documents defined?

There are no official DTDs for HTML.

> "A Document is always set to one of three modes: no-quirks mode, the default;
> quirks mode, used typically for legacy documents; and limited-quirks mode,
> also known as "almost standards" mode. The mode is only ever changed from the
> default by the HTML parser, based on the presence, absence, or value of the
> DOCTYPE string."
> Where do I define, which of the above modes a document is in?

You don't, ideally. If you follow the spec rules, you'll always be in no-quirks

> "This specification refers to both HTML and XML attributes and IDL attributes,"
> Does this specification refers to all three or only to two (both?) of the
> above attribute series? 

It refers to HTML and XML attributes, and to IDL attributes. HTML and XML
attributes are the same thing for the purposes of this text.

> In the entire document it remains unclear, whether the standard pertains only
> to static html/xhtml (as e.g. sent from a web server) or also to dynamic
> html/xhtml (as e.g. produced by javascript invoked by user interaction). User
> Agents, in some cases, behave differently when receiving a text/html document
> from the web server, as opposed to when they execute javascript commands to
> generate dynamically the same content. 
> Are such User Agents not-conforming to this standard?

The spec is intended to cover all of this. Can you clarify why this is not
clear? I'm happy to make it clearer, but am not sure where to start.

> Could you please make a statement, that the character encoding of an XML
> attribute is defined by the Document Type Definition (e.g. <?xml version="1.0"
> encoding="utf-8"?>

Not sure what this means.

> Regarding the examples:
> I would expect, that in a standard document the examples are reproducible in
> all aspects, so that when I try an example in a User Agent, I get exactly what
> the document says, the example should produce. This is, however, not the case
> in many examples for 
> <title>
> Tabular Data
> </title>
> At least as far as border reproduction is concerned, practically all examples
> fail, i.e. the examples do not show the border as it should according to the
> document. And an example, which makes me first search the error does not help
> very much. 

HTML doesn't guarantee a particular presentation. You will need to use CSS to
change the presentation.

EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:

Status: Did Not Understand Request
Change Description: no spec change
Rationale: see above for specific questions that would help resolve this issue.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 4 May 2011 23:08:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:49 UTC