hi
  I am using the latest developer zip for xalan xalan-j_2_4_D1
  and have changed from transforming code to use StreamTextOutput instead of 
TextOutput
  but still i get the stackoverflow exception

  I want to set a nodeset as a param to a Translet
  the xalan documentation says convert the param to org.apache.xpath.NodeSet 
  
  since this originally gave me a class cast exception using xsltc i looked at 
using nodeset
  extn in xsltc. The BasisLibrary.referenceToResultTree method requires a 
DomAdapter hence i    converted the param and then i started getting this error 

  can u please tell me if i am on the right track

  regards
  --vikram

> -----Original Message-----
> From: Santiago Pericas-Geertsen
> [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 29, 2002 7:35 PM
> To: Vikram Uparkar; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: Stackoverflow exception using nodeset in xsltc translet
> 
> 
> Vikram:
> 
>  Please try the latest version of XSLTC available from 
> Apache. The class
> org.apache.xalan.xsltc.runtime.TextOutput is now deprecated. 
> If getting the
> latest version does not fix your problem, you can file a bug here:
> 
> http://nagoya.apache.org/bugzilla/index.html
> 
>  Thanks.
> 
> --
> Santiago Pericas-Geertsen
> Sun Microsystems
> 
> 
> ----- Original Message -----
> From: "Vikram Uparkar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, June 29, 2002 8:20 AM
> Subject: Stackoverflow exception using nodeset in xsltc translet
> 
> 
> > Hi,
> >    I am using XSLTC to transform an xml doc. The translet 
> class requires
> an extra dynamically generated xml nodeset as a parameter. 
> The parameter
> being set is of type DOMAdapter created using the 
> makeDOMAdapter method in
> this translet and the nodeset extension function is used to 
> convert the
> parameter to nodeset in the xsl file
> >
> >    But when i invoke the transform method on this translet 
> now i get a
> >      stack overflow exception The Translet executes alright if this
> parameter value is hardcoded
> >      in the xsl:param as a xml fragment
> >    what am i doing wrong
> >
> >    have attached a part of the stacktrace
> >
> > java.lang.StackOverflowError
> > at java.util.Stack.peek(Stack.java:83)
> > at
> org.apache.xalan.xsltc.runtime.TextOutput.lookupNamespace(Text
> Output.java:10
> 83)
> > at
> org.apache.xalan.xsltc.runtime.TextOutput.getNamespaceURI(Text
> Output.java:77
> 8)
> > at
> org.apache.xalan.xsltc.runtime.TextOutput.closeStartTag(TextOu
> tput.java:271)
> > at
> org.apache.xalan.xsltc.runtime.TextOutput.characters(TextOutpu
> t.java:398)
> > at
> org.apache.xalan.xsltc.runtime.TextOutput.characters(TextOutpu
> t.java:340)
> > at
> com.chase.ccs.presentation.xsl.web.col.GenerateSLRequest.apply
> Templates()
> > at
> com.chase.ccs.presentation.xsl.web.col.GenerateSLRequest.apply
> Templates()
> > ... multiple calls to applytemplates before this
> >
> >
> >    regards
> >    --vikram
> >
> 
> 

Reply via email to