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

Re: Problems parsing properties with empty value



If you ever want to fix the bug, you need to have the yacc parser. do you have it?
if you have the parser, maybe you can look at the grammar rule and modify it. it is not very easy, but can try.
if success, can also can me a copy?
Thanks
 
Yours
Caiyuan
----- Original Message -----
Sent: Thursday, December 13, 2001 5:14 AM
Subject: 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