Small change to JXTemplateGenerator

2004-09-15 Thread Peter Brant
Hi all, I think this is a bug, but just to make sure. When copying an attribute value containing no expressions, the original value shouldn't be used because \ escapes will change the final value. Patch is against BRANCH_2_1_X. Thanks, Pete --- JXTemplateGenerator.java.orig 2004-09-16

Re: DO NOT REPLY [Bug 30351] - [PATCH] BooleanField - Convert String to Boolean in setValue

2004-07-27 Thread Peter Brant
Thanks. That does work. I'll close the bug. However, it's rather a pain in the neck to have to a specify a converter (excuse me, convertor) for all the non-string form fields. A patch to fix that is attached (should I open another Bugzilla bug?). ValueJXPathBinding has been modified so that

Re: [RT] On building on stone

2004-03-24 Thread Peter Brant
(also from a normal-developer-user perspective) I agree with Jorg that it's really nifty to be able to reuse my Cocoon components outside of a Cocoon/Web-oriented environment. It would be great to retain this ability regardless of the results of this discussion. Pete agree, YAC(tm) Yet

Problem with Woody DOM binding + PATCH

2004-01-23 Thread Peter Brant
Hi all -- I ran into a problem with org.apache.cocoon.util.jxpath.DOMFactory would throw a ClassCastException if called upon to create the document element. Attached is a patch that addresses this. It does have the limitation that namespace prefixes cannot be mapped to a URI when creating the

Question on EffectPipe (bug?) + patch

2004-01-20 Thread Peter Brant
Hi all, There appears to be a bug (or maybe something unfinished?) in EffectPipe.startPrefixMapping(). Line 426 is commented out (copy pasted in below). This causes EffectPipe.Output.startPrefixMapping() to send a null prefix and uri down the pipe when called from EffectPipe.Output.copy()