Subjects
Home
Xalan extension functions
Fomatting question serializing DOM with pretty print
xalan with pull parser
Cannot find the declaration
Apache Xalan drop support to run on JRE 1 1 x
Why does Doctype change processing of a document
Node set to XML string via Java extensions in Xalan J: possible?
Templates/Transformers + thread safety???
Problem evaluating xpath with muliple prefix with different namespace
remove an arbitrary attribute from xsl output
Xalan3 XSLT 2 0 XPath 2 0 support?
Problem using compiled translets with Xalan !!
Xalan and jstl 1 1 problem with transform tag
NullPointer in DOM2DTM getLocalName
URIResolvers base parameter with xsltc and cascaded imports
Performance problem for Xalan J on intel dual core
Standard libraries in JAXP?
Serializing a DOM tree to XML file, customize entities replacement
Library Conflict Involving BCEL Library
A question on how users are using <xsl:message >
Kevin Cormier as a new Apache Xalan J committer
Struggling to iterate over tokenized string
Xalan count() trouble
Problem with recursive xpath
Error when switching to java 1 5
document( ' ')
Problem with Xalan2 7 0 transformation
cr/lf options
entity encoded XML
can xalan transform 2 xml using one xslt?
Xalan J JIRA defect review Monday October 16, 2006 from 2:00 to 3:30 pm ED
xsl transform with cdata section elements
xslt parameters not expanded
Weird behavior of XPath evaluate()
How to avoid <xsl:message > instruction prints stylesheet file informations ?
Cannot find SimpleTransform subdirectory after installing Xalan J
recover from document not found exceptions
jdk1 5 and Xalan jar differences?
Performance Issue
Error/Bug adding floating point numbers
XPathAPI: eval exp using nodes with default namespace
modifying xalan to output invalid XML
NullPointerException
mege two separate xml nodes into one
Is this a XALAN document identification bug?
is StylesheetRoot really java io Serializable ?
transform() fails for DOMSource but succeeds for StreamSource
Thoughts on Transformer parameter passing
HELP, Xalan and jstl 1 1 problem with transformer
Problem with XPath namespace axis?
string utils:replace deleting search string if replacement string is an HTML
help with enumeration values pls
xalan 2 5 1 vs 2 7 performance question
How to insert/update in XML document
HTML Serialization and Handling of Ampersands in HREF Attributes
XHTML link tag stripping
SystemId Unknown; Line #24; Column #49; java lang NullPointerException
xpath text() help
Apostrophe problem with xalan 2 7 0
How to set variables in XML document?
Links
Home
Oracle database error code ...
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
experiencing problem with Xalan (insertOp method)

experiencing problem with Xalan (insertOp method)

2005-11-09       - By PEYRACHON V Ext ROSI/SICOR
Reply:     1     2  


Hi !
Inmy application, every page are done using XML and XSL processed by Xalan
(2.4.0). My problem is that from time to time, Xalan just stop working !
Evary transformation asked after this break point generate the following
exception :

java.lang.ArrayIndexOutOfBoundsException
at org.apache.xpath.compiler.XPathParser.insertOp(III)V(Optimized Method)
at org.apache.xpath.compiler.XPathParser.AndExpr()V(Optimized Method)
at org.apache.xpath.compiler.XPathParser.OrExpr()V(XPathParser.java:749)
at
org.apache.xpath.compiler.XPathParser.initXPath(Lorg.apache.xpath.compiler.C
ompiler;Ljava.lang.String;Lorg.apache.xml.utils.PrefixResolver;)V(Optimized
Method)
at
org.apache.xalan.processor.StylesheetHandler.createXPath(Ljava.lang.String;)
Lorg.apache.xpath.XPath;(Optimized Method)
at
org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(Lorg.apache.xalan.p
rocessor.StylesheetHandler;Ljava.lang.String;Ljava.lang.String;Ljava.lang.St
ring;Ljava.lang.String;Ljava.lang.Object;)V(Optimized Method)
at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes(
Lorg.apache.xalan.processor.StylesheetHandler;Ljava.lang.String;Lorg.xml.sax
.Attributes;Ljava.lang.Object;)V(Optimized Method)
at
org.apache.xalan.processor.ProcessorTemplateElem.startElement(Lorg.apache.xa
lan.processor.StylesheetHandler;Ljava.lang.String;Ljava.lang.String;Ljava.la
ng.String;Lorg.xml.sax.Attributes;)V(Optimized Method)
at
org.apache.xalan.processor.StylesheetHandler.startElement(Ljava.lang.String;
Ljava.lang.String;Ljava.lang.String;Lorg.xml.sax.Attributes;)V(Optimized
Method)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Lorg.apache.xerces.
xni.QName;Lorg.apache.xerces.xni.XMLAttributes;Lorg.apache.xerces.xni.Augmen
tations;)V(Optimized Method)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Lorg.apache.xerces.x
ni.QName;Lorg.apache.xerces.xni.XMLAttributes;Lorg.apache.xerces.xni.Augment
ations;)V(Optimized Method)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement()Z(Optimize
d Method)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Z)Z(Optimized Method)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(Unkno
wn Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Z)Z(Unknown Source)
at
org.apache.xerces.parsers.DTDConfiguration.parse(Lorg.apache.xerces.xni.pars
er.XMLInputSource;)V(Unknown Source)
at
org.apache.xerces.parsers.XMLParser.parse(Lorg.apache.xerces.xni.parser.XMLI
nputSource;)V(Unknown Source)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)
V(Unknown Source)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Ljavax.xml.tr
ansform.Source;)Ljavax.xml.transform.Templates;(TransformerFactoryImpl.java:
934)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Ljavax.xml.
transform.Source;)Ljavax.xml.transform.Transformer;(TransformerFactoryImpl.j
ava:750)
at org.apache.taglibs.xtags.xslt.StyleTag.doEndTag()I(StyleTag.java:155)

Does anybody experienced the same kind of problem ?

Thanks
Vincent


***********************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de
ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. Le Groupe France
Telecom decline toute responsabilite au titre de
ce message s'il a ete altere, deforme ou falsifie.
Si vous n'etes pas destinataire de ce message, merci de le detruire
immediatement et d'avertir l'expediteur.
***********************************
This message and any attachments (the "message") are confidential and intended
solely for the addressees. Any unauthorised
use or dissemination is prohibited.
Messages are susceptible to alteration. France Telecom Group shall not be
liable for the message if altered, changed or
falsified.
If you are not receiver of this message, please cancel it immediately and
inform the sender.
***********************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV class=pad10x0><FONT face=Arial size=2>Hi !<BR><SPAN
class=338314607-09112005>In</SPAN>my application, every page are done using XML
and XSL processed by Xalan (2.4.0). My problem is that from time to time, Xalan
just stop working !&nbsp;<SPAN class=338314607-09112005>Evary
</SPAN>transformation asked after this break point generate the following
exception : <BR><BR>java.lang.ArrayIndexOutOfBoundsException<BR>at
org.apache.xpath.compiler.XPathParser.insertOp(III)V(Optimized Method)<BR>at
org.apache.xpath.compiler.XPathParser.AndExpr()V(Optimized Method)<BR>at
org.apache.xpath.compiler.XPathParser.OrExpr()V(XPathParser.java:749)<BR>at
org.apache.xpath.compiler.XPathParser.initXPath(Lorg.apache.xpath.compiler
.Compiler;Ljava.lang.String;Lorg.apache.xml.utils.PrefixResolver;)V(Optimized
Method)<BR>at
org.apache.xalan.processor.StylesheetHandler.createXPath(Ljava.lang.String;
)Lorg.apache.xpath.XPath;(Optimized
Method)<BR>at
org.apache.xalan.processor.XSLTAttributeDef.setAttrValue(Lorg.apache.xalan
.processor.StylesheetHandler;Ljava.lang.String;Ljava.lang.String;Ljava.lang
.String;Ljava.lang.String;Ljava.lang.Object;)V(Optimized
Method)<BR>at
org.apache.xalan.processor.XSLTElementProcessor.setPropertiesFromAttributes
(Lorg.apache.xalan.processor.StylesheetHandler;Ljava.lang.String;Lorg.xml.sax
.Attributes;Ljava.lang.Object;)V(Optimized
Method)<BR>at
org.apache.xalan.processor.ProcessorTemplateElem.startElement(Lorg.apache.xalan
.processor.StylesheetHandler;Ljava.lang.String;Ljava.lang.String;Ljava.lang
.String;Lorg.xml.sax.Attributes;)V(Optimized
Method)<BR>at
org.apache.xalan.processor.StylesheetHandler.startElement(Ljava.lang.String
;Ljava.lang.String;Ljava.lang.String;Lorg.xml.sax.Attributes;)V(Optimized
Method)<BR>at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Lorg.apache.xerces.xni
.QName;Lorg.apache.xerces.xni.XMLAttributes;Lorg.apache.xerces.xni.Augmentations
;)V(Optimized
Method)<BR>at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Lorg.apache.xerces.xni
.QName;Lorg.apache.xerces.xni.XMLAttributes;Lorg.apache.xerces.xni.Augmentations
;)V(Optimized
Method)<BR>at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement()Z(Optimized
Method)<BR>at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
.dispatch(Z)Z(Optimized
Method)<BR>at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Z)Z(Unknown
Source)<BR>at org.apache.xerces.parsers.XML11Configuration.parse(Z)Z(Unknown
Source)<BR>at
org.apache.xerces.parsers.DTDConfiguration.parse(Lorg.apache.xerces.xni.parser
.XMLInputSource;)V(Unknown
Source)<BR>at
org.apache.xerces.parsers.XMLParser.parse(Lorg.apache.xerces.xni.parser
.XMLInputSource;)V(Unknown
Source)<BR>at
org.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)V
(Unknown
Source)<BR>at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Ljavax.xml
.transform.Source;)Ljavax.xml.transform.Templates;(TransformerFactoryImpl.java
:934)<BR>at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Ljavax.xml
.transform.Source;)Ljavax.xml.transform.Transformer;(TransformerFactoryImpl.java
:750)<BR>at
org.apache.taglibs.xtags.xslt.StyleTag.doEndTag()I(StyleTag.java:155)<BR><BR
>Does
anybody experienced the same kind of problem ?<BR><BR>Thanks</FONT></DIV>
<DIV class=pad10x0><SPAN class=338314607-09112005><FONT face=Arial
size=2>Vincent </FONT></SPAN></DIV></DIV></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000>****************************
*******<br>
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de<br>
ses destinataires.<br>
Toute utilisation ou diffusion non autorisee est interdite.<br>
Tout message electronique est susceptible d'alteration. Le Groupe France
Telecom decline toute responsabilite au titre de<br>
ce message s'il a ete altere, deforme ou falsifie.<br>
Si vous n'etes pas destinataire de ce message, merci de le detruire
immediatement et d'avertir l'expediteur.<br>
***********************************<br>
This message and any attachments (the "message") are confidential and intended
solely for the addressees. Any unauthorised<br>
use or dissemination is prohibited.<br>
Messages are susceptible to alteration. France Telecom Group shall not be
liable for the message if altered, changed or<br>
falsified.<br>
If you are not receiver of this message, please cancel it immediately and
inform the sender.<br>
***********************************<br>
</font></td></tr></table>