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

Re: debugging document() call

Subject: Re: debugging document() call
From: Lars Huttar <lars_huttar@xxxxxxx>
Date: Fri, 02 Jul 2010 22:37:38 -0500
 Re: debugging document() call
Hi everybody,

Just FYI, the problem was not with Saxon, nor with Cocoon.
It was not a problem with a relative URI being resolved relative to an
unexpected base URI.

The problem was that document() was being called with an empty string as
the argument (with the result that the stylesheet was pulling in itself
instead of the href'd document).
This behavior was due to a bug in the oldish implementation of
Schematron that I was using, that affected the processing of the
<iso:include> element when its href attribute had no '#' in it.
The latest version of this implementation does not have this bug.

I'm kicking myself for not having grabbed the latest version... although
you never know... I thought the version we had been using was stable.

Thanks to those of you who took time to help me troubleshoot this. I
learned some things about troubleshooting Cocoon and Saxon in the process.

Lars


On 6/29/2010 3:06 PM, Lars Huttar wrote:
> Hello,
>
> I'm wrestling with a problem getting document() to retrieve an XML
> document, in the environment of a web application framework (Cocoon 2.1.11).

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.