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

Re: document() function refuses http adresses

Subject: Re: document() function refuses http adresses
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 8 Nov 2006 13:47:18 GMT
Re:  document() function refuses http adresses
Syntactically your code looks OK. Whether or not a given system can
access external http URI depends an awful lot on local firewall and
security issues.

The URI you referenced is served as text/plain rather than with an XML
mime type, which could cause an xsl system to reject it as not being
xml, but most ignore the mime type and treat it as xml if it looks like
xml (which is also conformant behaviour). However UnknownHostException
sounds more like firewall not letting you see the outside at all than
with any mime type problems.

You probably don't want to use value-of on the whole document (as you
just get the character data, ignoring any element markup) but I assume
that's just for testing the document() function.

David

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.