[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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).
|
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
|