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

Re: SAXON 8 - Error at element constructor

Subject: Re: SAXON 8 - Error at element constructor
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 25 Jan 2005 12:39:36 +0000
colin 2005 error
>>>>> "Tommy" == Tommy Skarateppen <ts@xxxxxxxxxxxx> writes:

    Tommy> But anyway, I'm planning to use this function in my
    Tommy> stylesheet, but I don't understand the error "XT1170:
    Tommy> Cannot resolve relative URI: no protocol:".

    Tommy> What does it mean and why do I get it?

    Tommy> I tried this in my stylesheet: <xsl:value-of
    Tommy> select="unparsed-text('help/print.html', 'iso-8859-1')"
    Tommy> disable-output-escaping="yes"/>

1) Don't use disable-output-escaping - it's deprecated, so if Mike
   decides to suddenly remove support from it from Saxon 8, which he is
   entitled to do so, your stylesheet will suddenly stop
   working. Likewise if you try to use another XSLT 2.0 processor, it
   might not work.
2) 'help/print.html' is a relative URI (it does not start with a
   protocol (i.e. there is no colon within the string)), so it must be
   resolved relative to the base URI. 
   So, what is your base URI? If it is one that doesn't support
   relative URIs (such as a URN), then this would explain the message.
-- 
Colin Paul Adams
Preston Lancashire

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.