|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: http request - unexpected characters after documen
Tim Watts wrote:
I have never known anyone to use document() to call a XML by its full URL (http://www.google.com), and am unsure if the specifications for XSLT allow including an XML which isn't on your own server. Anyway it's security issue. And I believe implementors have to perform the cheching. Consider the following xml and stylesheet: test.xml: <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet href="style.xsl" type="text/xsl"?> <root></root> style.xsl: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:copy-of select="document('file://C:/sample.xml')"/> </xsl:template> </xsl:stylesheet> Being loaded from inet (try http://www.tkachenko.org/xsl/test.xml), it produce "Access is denied" error in ie5.5, particularly for me. -- Oleg Tkachenko Multiconn International XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








