[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: Diferent behaviour using document() in IE / FF
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 1 Sep 2005 12:38:37 +0100
dom ie ff
> 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
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.