Michael Gratton wrote:
> 
> Ranjit Mathew wrote:
> >
> > It would be quite nice (REALLY nice) if Moz could
> > apply a default XSL to XML files that do not supply
> > one. That shouldn't be too hard.
> 
> I dunno, it seems much more correct to not have a default, because
> unless you *do* specify a stylesheet, style for arbitrary XML is
> inherently undefined.

Undefined means that browsers can do whatever they like with it. MSIE
does whatever it likes with it; it shows it as a collapsible tree.
Mozilla does whatever it likes with it; it shows it as stream of text.
The tree rendering is clearly more useful than the stream of text
rendering. Therefore MSIE's behavior is more correct.

> But to be able to configure one if needed, either through the
> Preferences, via a hidden pref or using something like userContent.css
> would be cool.
>...

Cool but useless, since even amongst those users who liked to look at
vanilla XML files (developers, mainly), a majority would not -- and
should not have to -- bother doing anything special to see the tree.

`[RFE] Better Default layout for "vanilla" XML documents'
<http://bugzilla.mozilla.org/show_bug.cgi?id=64945>.

-- 
Matthew `mpt' Thomas, Mozilla UI Design component default assignee thing
<http://mozilla.org/>


Reply via email to