Re: document() function query
Steve Benner <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <p06200704be2a75f6a81a@[192.168.0.3]> |
At 12:58 pm +0100 5/2/05, Martin Honnen wrote: > >The FAQ > <http://www.mozilla.org/projects/xslt/faq.html> >says that a stylesheet is not loaded from a different domain for >security reasons, from what you describe the same seems to apply for >any attempt to load a secondary XML input from a different domain. > Yes, I'd seen that and wondered whether my problem was related in some way to it. While it makes perfect(ish) sense to apply this restriction to stylesheets, I can see no justification for constraining datasources in this way, as it represents a major reduction in the function's usefulness. The XSLT specs certainly suggest it should operate across domains. I can't see any appropriate Bugzilla entries but am sorely tempted to raise one. -Steve