OK. We got it. XConnection was using hard coded values for shifting DTM
nodes. That value has been changed and is now kept in
DTMManager.IDENT_DTM_NODE_BITS. I changed the code to use this new constant
and it all looks fine. John, could please give that a try and let me know
if that works?
Xalan users, should we do another Developers build to include this fix or
can you wait another week or so??
Myriam
John Gentilin
<jgentilin@sma To: [EMAIL PROTECTED]
rt911.com> cc: (bcc: Myriam Midy/CAM/Lotus)
Subject: Re: Extension Errors with new
08/14/01 11:32 build
PM
Please respond
to xalan-dev
Myriam,
We had this same problem last week when Scott and Gary were working
on a problem with passing in variables from the SetParameter interface.
I am not sure what was changed to fix the problem.
Regards
JohnG
[EMAIL PROTECTED] wrote:
> You're right. I didn't run the samples one last time! I was able to
> recreate a NPE (which I can easily fix) with 6-sqllib-instantdb. The real
> problem seems to be that the variable "table" always evaluates to null.
I'm
> have not yet had a chance to look at that code to really know what is
going
> on. If you have any idea, please let me know. I have to run now, but I
will
> continue on this tomorrow.
>
> Thanks,
> Myriam
>
>
> John Gentilin
> <johnglinux@eyecatch To: Xalan Mailing List
> ing.com>
<[EMAIL PROTECTED]>
> Sent by: cc: (bcc: Myriam
Midy/CAM/Lotus)
> [EMAIL PROTECTED] Subject: Extension
Errors with new build
> tching.com
>
>
> 08/14/01 04:43 PM
> Please respond to
> xalan-dev
>
>
>
> It seems that any extension function a DTM will fail with the catch all
> "Unknown Error in XPath" attached is a copy of the stack trace. Any of
> the SQL Extension Tests should be able to exercise the error.
>
> John G
>
> ; SystemID: file:///home/gentijo/jbproject/Xalan/mkay-headeronly.xsl;
> Line#: 26; Column#: 66
> javax.xml.transform.TransformerException: Unknown error in XPath
> at org.apache.xpath.XPath.execute(XPath.java, Compiled Code)
> at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java,
> Compiled Code)
> at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java,
> Compiled Code)
> at
>
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2182)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2008)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:638)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
>
> at org.apache.xalan.xslt.Process.main(Process.java:865)
> ---------
> java.lang.NullPointerException:
> at
>
org.apache.xpath.axes.ChildTestIterator.setRoot(ChildTestIterator.java:286)
>
> at
> org.apache.xpath.axes.OneStepIterator.setRoot(OneStepIterator.java:77)
> at org.apache.xpath.objects.XObjectFactory.create(XObjectFactory.java,
> Compiled Code)
> at org.apache.xpath.objects.XObject.create(XObject.java, Compiled Code)
>
> at
> org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java,
> Compiled Code)
> at org.apache.xpath.XPath.execute(XPath.java, Compiled Code)
> at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java,
> Compiled Code)
> at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java,
> Compiled Code)
> at
>
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2182)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2008)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:638)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
>
> at
>
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
>
> at org.apache.xalan.xslt.Process.main(Process.java:865)
--
--------------------------------------
John Gentilin
SMART911
18314 Carlwyn Drive
Castro Valley CA 94546
Contact Info
[EMAIL PROTECTED]
Phone 1-510-881-4821
--------------------------------------
(See attached file: jgentilin.vcf)
jgentilin.vcf