On Thu, Dec 04, 2003 at 01:47:39PM +0100, Christian Haul wrote:
> Frederic Gaus wrote:
> 
> >On Tue, Dec 02, 2003 at 08:33:24PM +0100, Christian Haul wrote:
> > 
> >
> >>Christian Haul wrote:
> >>   
> >>
> >>>>Hi!
> >>>>I used cocoon 2.1.1 with no problems (using Form-validation).
> >>>>After a update to 2.1.3, I got very many problems with the 
> >>>>simple-form-transformer.
> >>>>I have no solution to these problems, maybe someone could help me:
> >>>>
> >>>>in my source-xml I used error-tags like:
> >>>><error name="ID" when="is-null">Errormsg <br/></error>
> >>>>or
> >>>><error name="ID" when="too-many"><em>false</em></error>
> >>>>
> >>>>to get a line-break. This is not working any longer. After transforming
> >>>>a few tags are missing (not the <br>, but for example the </form>-Tag)
> >>>>and my xml gets invalid.
> >>>>       
> >>>>
> >>I've tried to reproduce this with the samples to no avail. Everything
> >>seems to work fine here.
> >>   
> >>
> >
> >I also modified example two. I just added <br/> to every <error/> and I
> >is not working any longer (well, the example is still working, but look
> >at the html-code produced. This is not well-formated any longer!)
> >
> >Ok, this is what I changed in the example:
> >I comment out the css-style for error-tags
> >     --> Example is still working
> >I changed every error tag from:
> >     <error attribute="value">Text</error>
> >to
> >     <error attribute="value">Text</br></error>
> >     --> Example is not working any longer, I get a
> >     java.util.EmptyStackException
> > 
> >
> I assume this is a typo that is only in your mail and you did write 
> <br/> in the XML.

Of cause it is <br/> in my xml - sorry
> 
> I did check this with my current checkout but it appears that there are 
> no changes
> after release. Anyway, I will double check tonight.

I noticed that if I only add a few <br/>-elements, it is still working
(well, with 2 elements it is working..) - but changing every line is
not. :(

If I look at the produced html, every line
        <error attriubute="value">errormsg<br/></error>
changes into
        </error>

So, the closing-tags are not removed.

Freddy

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to