Hi
all,
I
have a page which has about 1500 lines of code, which has been merged together
with another edit of the same file. After merging I'm getting an xpath error
somewhere in the page
Failure converting untyped value "" to a
number
Saxon is returning an exception class
of org.orbeon.saxon.trans.DynamicError at line 1.
The file with the
error is xforms-epilogue, but that is just where the exception is being
thrown. Is there anyway to get a file name and line number where to locate the
actual problem in my xforms page?
Thanks
Ryan
Ryan
Puddephatt -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Ryan Puddephatt wrote:
> Hi all, > I have a page which has about 1500 lines of code, which has been > merged together with another edit of the same file. After merging I'm > getting an xpath error somewhere in the page > > Failure converting untyped value "" to a number > Saxon is returning an exception class of > org.orbeon.saxon.trans.DynamicError at line 1. > > The file with the error is xforms-epilogue, but that is just where > the exception is being thrown. Is there anyway to get a file name and > line number where to locate the actual problem in my xforms page? way as far as I know. Sometimes there just is no location information. Mike Kay did some work in Saxon to provide more location data, but Orbeon Forms has yet to make use of that. BTW is this an error that comes from an XSLT transformation or an XPath expression in XForms? -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik,
This is an xpath within xforms, I get location data from xslt problems. Is this a huge change? Do you know of any documentation? I'll have a look around and see if I can find more information on implementing this Thanks Ryan Ryan Puddephatt Software Engineer Teleflex Group - IT UK 1 Michaelson Square Livingston West Lothian Scotland EH54 7DP e> [hidden email] t> +44(0)1506 407 110 f> +44(0)1506 407 108 >-----Original Message----- >From: Erik Bruchez [mailto:[hidden email]] On Behalf Of >Erik Bruchez >Sent: 08 January 2007 21:05 >To: [hidden email] >Subject: Re: [ops-users] Locating a xpath problem > >Ryan Puddephatt wrote: >> Hi all, >> I have a page which has about 1500 lines of code, which has been >> merged together with another edit of the same file. After >merging I'm >> getting an xpath error somewhere in the page >> >> Failure converting untyped value "" to a number Saxon is >returning an >> exception class of org.orbeon.saxon.trans.DynamicError at line 1. >> >> The file with the error is xforms-epilogue, but that is just >where the >> exception is being thrown. Is there anyway to get a file >name and line >> number where to locate the actual problem in my xforms page? > >Well, that would be nice, but in such a case, there is no out >of the box way as far as I know. Sometimes there just is no >location information. > >Mike Kay did some work in Saxon to provide more location data, >but Orbeon Forms has yet to make use of that. > >BTW is this an error that comes from an XSLT transformation or >an XPath expression in XForms? > >-Erik > >-- >Orbeon Forms - Web Forms for the Enterprise Done the Right Way >http://www.orbeon.com/ > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Ryan Puddephatt wrote:
> Erik, > This is an xpath within xforms, I get location data from xslt > problems. Is this a huge change? Do you know of any documentation? I'll have > a look around and see if I can find more information on implementing this Location information is a tricky thing because there are several issues: o In cases the source page may first go through XSLT (e.g. xforms-widgets.xsl). Currently, this means that all location data is lost. But with the latest Saxon, we should be able to extract some meaningful location data again. o Now assume that the XForms that reaches the XForms engine has location information. o The XForms engine extracts parts of the file and saves this as the page's "static state". Currently, that static state loses location information. So we should add location information to the static state. This will also allow location information to be provided in Ajax requests. o The XForms page is also streamed out through SAX to produce the initial HTML. Here, location data would be available. o There are in general many places in the XForms engine where even if location data was available, it is not passed to Java exceptions (which is the necessary to see location data in error messages). So in short it's not a trivial task, but obviously it would be very beneficial for users. I did not find an RFE for this, so I entered one: http://forge.objectweb.org/tracker/index.php?func=detail&aid=306558&group_id=168&atid=350207 -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |