Menu

#1 valarm-handling in xslt not correct

open
nobody
None
5
2008-02-20
2008-02-20
Anonymous
No

Hi,

I think there is an error in the xcal2ical.xslt.
If I apply it to a xCal containing a valarm in a vevent does not only add a BEGIN:VALARM ... END:VALARM but it also adds a VALARM:...

I think this is because the <xsl:apply-templates select="xCal:*"/> after the valarm-template does also apply to the valarm.

After I added a when to check if it is an alarm to the <xsl:template match="xCal:*">...</xsl:template> it worked correctly.

Thanks for your work

Discussion


Log in to post a comment.