cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@infoplanning.com>
Subject Re: xsp attribute bug?
Date Sun, 24 Dec 2000 14:09:33 GMT
This should now be fixed.  I ran into that last week, made the fix on
Thursday or Friday.
Get new CVS and see if it is still a problem.

----- Original Message -----
From: Torsten Curdt <tcurdt@dff.st>
To: Cocoon-Dev <cocoon-dev@xml.apache.org>
Sent: Saturday, December 23, 2000 11:03 AM
Subject: xsp attribute bug?


>     <test>
>       <xsp:attribute name="color">blue</xsp:attribute>
>     </test>
>
> The above lines result into...
>
>     this.contentHandler.startElement("", "test", "test", xspAttr);
>     xspAttr.clear();
>     this.characters("\n     ");
>     xspAttr.addAttribute("", "color", "color", "CDATA", "");
>     this.characters("\n   ");
>     this.contentHandler.endElement("", "test", "test");
>
> But shouldn't it be:
>
>     xspAttr.addAttribute("", "color", "color", "CDATA", "blue");
>     this.contentHandler.startElement("", "test", "test", xspAttr);
>     xspAttr.clear();
>     this.characters("\n     ");
>     this.characters("\n   ");
>     this.contentHandler.endElement("", "test", "test");
>
> --
> Torsten


Mime
View raw message