[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems parsing properties with empty value



I'm using the vcc.y parser from the VCalendar/vCard SDK found at imc.org.
If I run an empty property through the parser, I get problems.
 
E.g.:
 
I have a .vcs file with
...
BEGIN:VTODO
DUE:20011111T000000
COMPLETED:20011111T000000
DESCRIPTION:
SUMMARY:task1
PRIORITY:Normal
STATUS:Needs action
END:VTODO
...
 
Note the empty value for DESCRIPTION
When I run this through the parser, it returns the following name/value pairs:
 
...
DUE,20011111T000000
COMPLETED,20011111T000000
DESCRIPTION,SUMMARY:task1
PRIORITY,Normal
STATUS,Needs action
...
 
Is this a known bug in the parser? Does anyone have a fix?
 
Regards,
Arne Morken
MindMatters