This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17980 - Default handling of non-XHTML XML docs is under-/un- specified
Summary: Default handling of non-XHTML XML docs is under-/un- specified
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:27 UTC by contributor
Modified: 2012-11-22 22:44 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:27:58 UTC
This was was cloned from bug 15180 as part of operation convergence.
Originally filed: 2011-12-14 12:48:00 +0000
Original reporter: Henry S. Thompson <ht@inf.ed.ac.uk>

================================================================================
 #0   Henry S. Thompson                               2011-12-14 12:48:07 +0000 
--------------------------------------------------------------------------------
Split off from https://www.w3.org/Bugs/Public/show_bug.cgi?id=14689 per Comment 3.  

When an XML document is processed, but _no_ stylesheet PI is present and the root element is not 'html', existing practice is to produce a default indented tree view of the XML itself.  It probably doesn't make sense to _require_ this, but it would be good if somewhere in section "Page load processing model for XML files" the 'other XML, no stylesheet' case was explicitly called out, and such default behaviour allowed.
================================================================================
 #1   Julian Reschke                                  2011-12-14 13:38:48 +0000 
--------------------------------------------------------------------------------
This obviously should *allow* UAs to process a stylesheet link header field.
================================================================================
 #2   Henry S. Thompson                               2011-12-14 15:09:07 +0000 
--------------------------------------------------------------------------------
Thanks Julian -- yes, I should have said, since CSSOM already covers the Link header case (along with basic xml-stylesheet stuff) "When an XML document is processed, but no stylesheets are associated with it per "6.3 Style Sheet Association" in CSSOM (http://dev.w3.org/csswg/cssom/#style-sheet-association)  and the root element is not 'html', . . ."
================================================================================
 #3   contributor@whatwg.org                          2012-01-28 18:29:01 +0000 
--------------------------------------------------------------------------------
Checked in as WHATWG revision r6928.
Check-in comment: copypasta
http://html5.org/tools/web-apps-tracker?from=6927&to=6928
================================================================================
 #4   Ian 'Hixie' Hickson                             2012-01-28 18:29:59 +0000 
--------------------------------------------------------------------------------
Apologies, that was intended for bug 15177.
================================================================================
Comment 1 Ian 'Hixie' Hickson 2012-07-19 23:22:27 UTC
Yeah I should just spec all the stuff I defined when I wrote the docs for how Mozilla and WebKit should implement this.
Comment 2 Ian 'Hixie' Hickson 2012-09-06 17:00:47 UTC
Specifically, my intent is to spec this: http://hixie.ch/tests/evil/xml/
Comment 3 contributor 2012-11-22 22:44:37 UTC
Checked in as WHATWG revision r7525.
Check-in comment: Allow XML documents to be rendered as DOM trees if they're not being used by a script or something.
http://html5.org/tools/web-apps-tracker?from=7524&to=7525