Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 33481 invoked by uid 500); 2 Feb 2003 11:04:08 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 33470 invoked from network); 2 Feb 2003 11:04:08 -0000 Date: 2 Feb 2003 11:05:49 -0000 Message-ID: <20030202110549.13945.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: cocoon-dev@xml.apache.org Cc: Subject: DO NOT REPLY [Bug 16513] - simple form transformer aka SimpleFormTransformer problem, sticky tag X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16513 simple form transformer aka SimpleFormTransformer problem, sticky tag ------- Additional Comments From stark1@axelero.hu 2003-02-02 11:05 ------- In the documentation i read that 2.0.5-dev contains a bugfix: SimpleFormTransfomer: fixed error tags when no validation data available. So I had tried it. It is a downloadable version (link from the cocoon users list): http://www.apache.org/~vgritsenko/xml-cocoon-205-dev-20030201.tar.gz Before validation there isn't any error tag in the result html, so the transformer eliminates them successfully. But it also changes the surrounding tags too. For example: Before:
description required
After:
... I'd tried to change the position of the error element, but the result was always similar. I always get the HTML result page and an error message in the error.log file too: FATAL_E (2003-02-02) 11:59.11:052 [core.xslt-processor] (/cocoon/twr/mg.html) Thread-39/TraxErrorHandler: java.lang.ArrayIndexOutOfBoundsException javax.xml.transform.TransformerException: java.lang.ArrayIndexOutOfBoundsException at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1226) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3196) at java.lang.Thread.run(Thread.java:484) If a comment out the error element from the xsl file the error breaks off. I hope this information will help to solve the problem. --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org