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

RE: xsl:function problem

Subject: RE: xsl:function problem
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 14 May 2007 14:06:35 +0100
RE:  xsl:function problem
> Ok, this is really weird, but when I tried to go back and 
> reimplement the function it now validates properly.  Leaving 
> the context node based xpath in there produces a correct 
> validation error.  I'm not sure what was wrong before, I take 
> it that it was due to the context node access from the 
> function, which wasn't parsed correctly and instead of 
> throwing a context node access exception, instead didn't have 
> function a available in the namespace which produced the 
> function not found error. 

It's possible that the way your environment is configured, you're only
seeing the last error message. Just speculating, but it's possible that the
first message said the code of the function was invalid because of the
context reference, and the second message said that the function didn't
exist (which would be a spurious error caused by the function being
invalid.) How are you running the transformation, and (if you can reproduce
it) what exactly did the error output look like? 

Michael Kay
http://www.saxonica.com/

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-2011 All Rights Reserved.