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

RE: What the .... ? Referencing XSL stylesheets across domains

  • To: "Wayne Steele" <xmlmaster@h...>,<jim@a...>,<xml-dev@l...>
  • Subject: RE: What the .... ? Referencing XSL stylesheets across domains
  • From: "Sebastian Schnitzenbaumer" <schnitz@m...>
  • Date: Thu, 15 Aug 2002 01:07:42 +0200
  • Thread-index: AcJDyAcpgVgcvPHARgabMlPKM2lmJwAG5Jm+
  • Thread-topic: What the .... ? Referencing XSL stylesheets across domains

stylesheet across domains
Wayne,
 
thanks for checking.
 
I have my blog in RSS. I want to see the RSS file
with an XSL stylesheet from somewhere else
on the web and allow other people to see this too. 
(ie. a XSL for printing as a web service)
 
I have to expect IE users won't see this page 
until they add my site to the trusted zone. I do
see a problem here. They don't understand why all this
is necessary, it's supposed to be a stylesheet
and just work over the web, like CSS does.
Instead it seems like it is being handled as a 
program that needs local quarantine. Why is it 
dangerous to load an XSL from somewhere else?
 
- Sebastian
 
 

	-----Ursprüngliche Nachricht----- 
	Von: Wayne Steele 
	Gesendet: Mi 14.08.2002 21:23 
	An: jim@a...; xml-dev@l... 
	Cc: Sebastian Schnitzenbaumer 
	Betreff: RE:  What the .... ? Referencing XSL
stylesheets across domains
	
	

	I just verified the behaviour you're reporting (in IE6).
	But if I add markuplanguage.oss4u.de to the "Trusted Sites" zone
in IE, and
	allow cross-domain scripting for these sites, everything works
fine.
	
	I don't think there's a problem here.
	
	-Wayne Steele
	
	>From: Jim Ancona <scarhill@y...>
	>Reply-To: jim@a...
	>To: xml-dev@l...
	>CC: Sebastian Schnitzenbaumer <schnitz@m...>
	>Subject: RE:  What the .... ? Referencing XSL
stylesheets across
	>domains
	>Date: Thu, 8 Aug 2002 09:10:05 -0700 (PDT)
	>
	>--- Sebastian Schnitzenbaumer <schnitz@m...> wrote:
	> > http://markuplanguage.oss4u.de/test3.xml
	> > references
http://www.w3.org/Style/XSL/stylesheets/public2html.xsl
	> >
	> > This works in Mozilla (the result looks bogus, I'm just
testing), my IE6
	> > says access denied. I just want to hear from someone "yes,
this is true,
	> > we've known this for years, or, no, actually it does work,
you must
	> > have some other bug". Please let me know...
	>
	>Note that MSDN[1] says the URI in the xsl-stylesheet PI "is the
Uniform
	>Resource Identifier (URI) of the style sheet. This URI is
relative to the
	>location of the XML document itself." The W3C REC that defines
the PI[2]
	>has no
	>such restriction.
	>
	>Since Microsoft allows the <msxsl:script> extension which
permits embedded
	>script code in stylesheets, it might be that this behavior is
designed to
	>prevent some kind of cross-site scripting exploit.
	>
	>Jim
	>
	>[1] -
	
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk
/htm/xml_concepts_369f.asp
	>
	>[2] - http://www.w3.org/TR/xml-stylesheet/
	>
	>=====
	>Jim Ancona
	>jim@a...                     jancona@x...
	
	
	
_________________________________________________________________
	Send and receive Hotmail on your mobile device:
http://mobile.msn.com
	
	


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.