Ticket #1008 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

xmlformat-calendar.xsd does not allow STATUS:NEEDS ACTION

Reported by: mkoller Owned by: dgollub
Priority: normal Milestone: Plugin Format: XMLFormat 0.40
Component: Format Plugin: xmlformat Version: 0.38
Severity: normal Keywords:
Cc:

Description

My phone (Nokia 2360) dumps an event entry like this:

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
DTSTART:20090110T090000
DTEND:20090110T093000
DALARM:20090110T084500
AALARM:20090110T084500
PRIORITY:0
STATUS:NEEDS ACTION
CATEGORIES:MEETING
SUMMARY:Adgjm
END:VEVENT
END:VCALENDAR

during sync I get:

element Content: Schemas validity error : Element 'Content': [facet 'enumeration'] The value 'NEEDS ACTION' is not an element of the set {'TENTATIVE', 'CONFIRMED', 'CANCELLED'}.

Change History

comment:1 Changed 3 years ago by mkoller

This patch fixes the problem:

Index: xmlformat-calendar.xsd
===================================================================
--- xmlformat-calendar.xsd      (revision 4483)
+++ xmlformat-calendar.xsd      (working copy)
@@ -435,6 +435,8 @@
        <xsd:enumeration value="TENTATIVE"/>
        <xsd:enumeration value="CONFIRMED"/>
        <xsd:enumeration value="CANCELLED"/>
+        <!-- weird status given by Nokia 2360 -->
+       <xsd:enumeration value="NEEDS ACTION"/>
     </xsd:restriction>
   </xsd:simpleType>

comment:2 Changed 3 years ago by felixmoeller

  • Status changed from new to closed
  • Resolution set to duplicate

this is a duplicate of #590

Note: See TracTickets for help on using tickets.