xml-stylesheet and HTML5 (was Re: XML Core WG Status and Open Actions as of 2011 November 21)

"Grosso, Paul" <pgrosso@ptc.com> writes:

> Henry took an action to file a bug about xml-stylesheet
> handling.  Done:
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=14689
>
> Henry has some more work to do for Hickson.
>
> ACTION to Henry:  Do some more fiddling with reporting the issue.

Done, pretty much.  Some more examples awaiting reply from this WG to
my previous message . . .

> HT: I have an *xhtml* doc with an xml-stylesheet PI with type=text/xsl.
> Does the HTML5 specs cover this case? 
>
> ACTION to Henry: Consider asking the above question of the HTML5 WG
> after doing some research to determine what does currently happen.

This is covered by one of the examples I submitted -- all the browsers
_do_ apply the stylesheet.

> HT: Section 5.5.3 doesn't appear to distinguish between xhtml and 
> non-xhtml xml documents.  The spec does not make it obvious what 
> should happen for non-xhtml xml documents.
>
> ACTION to Henry:  Think about the above statement and determine
> if we need to file a bug report or ask a question about it.

Also covered by my examples.  Further examples _could_ be added, as we
need to decide about existing browser behaviour wrt non-XHTML XML when
a _text/css_ xml-stylesheet PI is present.  All of Chrome, Firefox, IE
and Opera _do_ produce a rendering per that stylesheet as of today.
Do we want to ask HTML WG to spec. this behaviour into the future?

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

Received on Wednesday, 23 November 2011 10:15:26 UTC