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

Re: Fwd: curly braces

Subject: Re: Fwd: curly braces
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Thu, 20 Sep 2012 15:00:55 +0100
Re: Fwd:  curly braces
On Thu, Sep 20, 2012 at 10:03 AM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>
> On 20/09/2012 01:27, Ihe Onwuka wrote:
>>
>> You may wish to try the code I sent you on saxonhe-9.2.1.1.
>>
>> I predict (don't know for sure because you are running a cut down
>> version of the code) the following
>>
>> ; SystemID: ; Line#: 10; Column#: -1
>> net.sf.saxon.trans.XPathException: Failed to load document
>>          at net.sf.saxon.expr.Expression.dynamicError(Expression.java:961)
>>
>> where Line 10 is
>>
>> <xsl:variable name="this" as="node()" select="doc('')"/>
>>
>>
> If doc('') fails then it's almost certainly because you compiled the
> stylesheet without supplying a base URI: for example you supplied it as a
> StreamSource or DOMSource with no SystemID. It could also happen because
> your base URI changes within the stylesheet module, for example as a result
> of using external entities or using xml:base.
>

Does this mean I could fix this by setting xml:base in the stylesheet?

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.