xpath length limitation in xalan - J 2003-09-16 - By Raveendranath, Rohith (LNG - AUS)
Hi all,
Is there any limitation interms of the xpath query size?
An xpath query thats having 10 chars is working fine but when in similar note the query is 8000 chars its failing and giving
ERROR : java.lang.ArrayIndexOutOfBoundsException: 500 java.lang.ArrayIndexOutOfBoundsException: 500 at org.apache.xpath.compiler.Lexer.addToTokenQueue(Lexer.java:593) at org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:348) at org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:139) at org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:143) at org.apache.xpath.XPath.<init>(XPath.java:217) at org.apache.xpath.XPathAPI.eval(XPathAPI.java:270) at org.apache.xpath.XPathAPI.selectNodeIterator(XPathAPI.java:163) at org.apache.xpath.XPathAPI.selectNodeIterator(XPathAPI.java:143)
have any body come across same error.
Thanks in Advance Rohith
This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's permission. We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this e-mail. We cannot accept liability for any loss or damage caused by software viruses.
|
|