Ticket #685 (assigned defect)

Opened 6 years ago

Last modified 5 years ago

element Completed: Schemas validity error : Element 'Completed': This element is not expected. Expected is one of ( Comment, Contact, Created, DateCalendarCreated, DateEnd, DateStarted ).

Reported by: jas Owned by: cstender
Priority: normal Milestone:
Component: Format Plugin: vformat: event Version: 0.38
Severity: normal Keywords:
Cc:

Description

Hi! I get this error when syncing with my nokia e51:

element Completed: Schemas validity error : Element 'Completed': This element is not expected. Expected is one of ( Comment, Contact, Created, DateCalendarCreated?, DateEnd?, DateStarted? ).

The vevent card is for a 'Task' that has been completed.

BEGIN:VCALENDAR
PRODID:-//OpenSync//NONSGML OpenSync vformat 0.3//EN
VERSION:2.0
BEGIN:VEVENT
CLASS:PRIVATE
COMPLETED:20080212T224422Z
DUE:20080211T000000
LAST-MODIFIED:20080212T224422Z
PRIORITY:2
SEQUENCE:0
STATUS:COMPLETED
SUMMARY:Foo bar
UID:z65cjDAQ4EFkg56AwF8ca1
END:VEVENT
END:VCALENDAR

Unlike #684 I get the same vevent card if I use both vevent10 and vevent20.

See also discussion at: http://thread.gmane.org/gmane.comp.misc.opensync.user/2453/focus=2455

Thanks, Simon

Change History

comment:1 Changed 6 years ago by jas

For reference, the vevent card retrived using syncml-obex-client is:

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VTODO
UID:z65cjDAQ4EFkg56AwF8ca1
SUMMARY:Foo bar
DUE:20080211T000000
X-EPOCTODOLIST:TODO
COMPLETED:20080212T224422Z
STATUS:COMPLETED
X-EPOCAGENDAENTRYTYPE:TODO
CLASS:PRIVATE
SEQUENCE:0
X-METHOD:NONE
LAST-MODIFIED:20080212T224422Z
PRIORITY:2
X-SYMBIAN-LUID:35
END:VTODO
END:VCALENDAR

comment:2 Changed 6 years ago by cstender

  • Status changed from new to assigned
  • Milestone set to OpenSync 0.40

comment:3 Changed 6 years ago by tuju

  • Milestone changed from 0.40 to 0.39

comment:4 Changed 5 years ago by tuju

  • Version changed from 0.36 to 0.38

comment:5 Changed 5 years ago by felixmoeller

I can reproduce this by putting the vcard from the original report in a file and run vconvert:

fm@macbook:~/log/log> vconvert cal4 --to-xmlformat
element Completed: Schemas validity error : Element 'Completed': This element is not expected. Expected is one of ( Comment, Contact, Created, DateCalendarCreated, DateEnd, DateStarted ).
Unable to convert data
XMLFormat validation failed.
fm@macbook:~/log/log> cat cal4
BEGIN:VCALENDAR
PRODID:-//OpenSync//NONSGML OpenSync vformat 0.3//EN
VERSION:2.0
BEGIN:VEVENT
CLASS:PRIVATE
COMPLETED:20080212T224422Z
DUE:20080211T000000
LAST-MODIFIED:20080212T224422Z
PRIORITY:2
SEQUENCE:0
STATUS:COMPLETED
SUMMARY:Foo bar
UID:z65cjDAQ4EFkg56AwF8ca1
END:VEVENT
END:VCALENDAR
fm@macbook:~/log/log> vconvert cal4 --to-xmlformat
element Completed: Schemas validity error : Element 'Completed': This element is not expected. Expected is one of ( Comment, Contact, Created, DateCalendarCreated, DateEnd, DateStarted ).
Unable to convert data
XMLFormat validation failed.

comment:6 Changed 5 years ago by dgollub

  • Milestone OpenSync 0.39 deleted

comment:7 Changed 5 years ago by cstender

  • Component changed from Format Plugin: vformat to Format Plugin: vformat: event
Note: See TracTickets for help on using tickets.