- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 22 Sep 2009 23:36:37 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7703
Cameron McCormack <cam@mcc.id.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|http://burningbird.net/newbo|
|ok/test5html.php |
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
Summary|Allow elements beyond just |HTML document conformance
|HTML, MathML, and SVG into |should explicitly depend on
|SVG element |foreign content conformance
--- Comment #2 from Cameron McCormack <cam@mcc.id.au> 2009-09-22 23:36:36 ---
(In reply to comment #1)
> > So we're really leaving the conformance of
> >
> > <!DOCTYPE html>
> > <title></title>
> > <svg><yowsers/></svg>
> >
> > undefined?
>
> Not at all. We're just saying that the conformance of that document is the
> same as the conformance of the following XML file:
>
> <html xmlns="http://www.w3.org/1999/xhtml"><head><title></title>
> </head><body><svg
> xmlns="http://www.w3.org/2000/svg"><yowsers/></svg></body></html>
I have the same issue with the conformance of the above not being well defined;
this bug just happened to be using text/html syntax.
> The conformance of this is defined in a number of specs, including most
> notably HTML and SVG. It's not conforming, because SVG says that you can't
> use the element "yowsers" from the SVG namespace as a child of the <svg>
> element.
So HTML5 doesn't define a "valid HTML5 document" conformance class, but just
provides a number of conformance assertions that should apply in any document?
I didn't really think of it like that. Can you point me to where in the spec
it says this?
What you probably can guess I think is missing is an explicit hook to say that
a text/html document represented by the string '<!DOCTYPE
html><title></title><svg><yowsers/></svg>' is non-conforming.
> > What should an HTML5 validator report? Is the conformance of the
> > document dependent on whether the validator you are targetting supports SVG?
>
> No, the conformance of the document has nothing to do with the validator. A
> document is conforming or not even in the absence of any validation tool.
OK, that's good.
> Whether the validator complains about the <html> element, the <svg> element, or
> the <yowsers> element, depends on whether it supports only SVG, only HTML, or
> both.
All right, so the validator might not complain about these conformance problems
because it doesn't support SVG, yet they are still indeed conformance problems.
--
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 Tuesday, 22 September 2009 23:36:48 UTC