Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: David Carlisle <davidc@--------->
To:
Date: 9/1/2005 11:39:00 AM
> 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
________________________________________________________________________


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent