xsl-list
[Top] [All Lists]

Re: Diferent behaviour using document() in IE / FF

2005-09-01 04:38:37
This looks prima facie like an FF bug.

Michael Kay

I suspect that it's the issue that I raised as a bug some years back but
was rejected as a useful feature.

Arguably it's conformant as a system can do pretty much anything it
likes getting from a file on a server to an xpath node tree.

basically if an xml file has a <?xml-stylesheet instruction then that
stylesheet gets applied _always_ whenever the xml parser is invoked.
It's possible to use this as a cheap and cheerful pipelining process,
but I think it's fairly broken really.

It bit me as I had <?xml-stylesheet instructions on my stylesheets
coverting them to html for documentation purposes, and it was this html
that was being applied rather than the stylesheet itself if any other
document referenced a stylesheet, that is nothing worked until i removed
the documentation stylesheet reference.
Worst was the documentation stylesheet which had an xml-stylesheet link
to itself and put mozilla into an infinite loop (this was accepted as a
bug and fixed as I recall).

I think that (in both ie and mozilla) one can access the original xml
dom and the transformed dom from script, so the information is there,
somewhere, but it's a while since I looked into this...

couldn't find my old report (bugzilla doesn't seem to go that far back)
but
https://bugzilla.mozilla.org/show_bug.cgi?id=305121
appears to be relevant (and recent)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>