Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No-namespace nodes, Web compat

3 views
Skip to first unread message

Henri Sivonen

unread,
Apr 2, 2009, 9:05:39 AM4/2/09
to
Does Web compat require no-namespace output nodes from XSLT to be
treated as HTML when the 'html' output method has not been specified?

Like here:
http://mxr.mozilla.org/mozilla-central/source/content/html/content/test/3
47174transform.xsl

--
Henri Sivonen
hsiv...@iki.fi
http://hsivonen.iki.fi/

Jonas Sicking

unread,
Apr 6, 2009, 8:37:19 PM4/6/09
to
Henri Sivonen wrote:
> Does Web compat require no-namespace output nodes from XSLT to be
> treated as HTML when the 'html' output method has not been specified?
>
> Like here:
> http://mxr.mozilla.org/mozilla-central/source/content/html/content/test/3
> 47174transform.xsl

That actually does specify the 'html' output method. It's just that it
does it implicitly.

See fourth paragraph in http://www.w3.org/TR/xslt#output , starting with
"The default for the"


If you output null namespaced nodes in the XML output method firefox
will create null-namespaced XML elements. I.e. not real HTML elements.
So they won't render as HTML elements, nor implement the HTML DOM APIs.

/ Jonas

0 new messages