On 09.Aug.2003 -- 04:50 PM, Steve Schwarz wrote:
> Hi
> I'm using SimpleFormTransformer to process the results of 
> FormValidatorAction and I am getting invalid xml generated after applying 
> the transformation. It looks like when <error> elements are removed from 
> within surrounding <td> elements I end up with an empty element <td/> 
> followed by a closing element </td>.

In 2.0.x there are a number of issues with this transformer. I believe
all are solved in 2.1. Please upgrade and report back.
(I believe the fixes are not in 2.0.5)

> I'm using 2.0.4 but I diffed the SimpleFormTransformer source against 2.1 
> and didn't see any obvious differences related to this..(??) Do I need to 
> specify some config/pipeline parameters to resolve this?

see above. 

> I also have a dumb question:
> What is the difference between using: <error when-ge="error" ...> and 
> <error when="error" ...> ?

The former is displayed when the result is "error" or worse (when-ge translates
to "when greater or equal") while the latter is displayed _only_ in case of 
"error" e.g. not when it is "too_small".

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to