Ticket #590 (assigned defect)

Opened 10 months ago

Last modified 2 weeks ago

Schemas validity error (StatusValue is not allowed to be 'NEEDS ACTION')

Reported by: lemos Assigned to: cstender (accepted)
Priority: normal Milestone: 0.39
Component: Plugin: vformat Version: 0.34
Severity: normal Keywords:
Cc: felixmoeller

Description (Last modified by felixmoeller)

While synchronizing a Nokia E50 with Google calendar, I get some of these:

element Content: Schemas validity error : Element 'Content': 'NEEDS ACTION' is not a valid value of the atomic type 'StatusValue'.
Received a entry 33 from member 2 (syncml-obex-client). Changetype ADDED
element Content: Schemas validity error : Element 'Content': [facet 'enumeration'] The value 'NEEDS ACTION' is not an element of the set {'TENTATIVE', 'CONFIRMED', 'CANCELLED'}.
element Content: Schemas validity error : Element 'Content': 'NEEDS ACTION' is not a valid value of the atomic type 'StatusValue'.

I am currently running this:

msynctool --sync sync_svn --conflict 2
  • msynctool is on revision 339.
  • libsyncml is on revision 259.
  • google-calendar is on revision 2691.
  • vformat is on revision 2691.
  • opensync is on revision 2691.

Attachments

log.tar.bz2 (0.5 MB) - added by lemos on 11/16/07 12:34:35.

Change History

11/03/07 18:18:31 changed by cstender

  • status changed from new to assigned.

11/11/07 00:42:35 changed by felixmoeller

  • version set to 0.33.

Setting the version to keep ticket tracker clean.

11/13/07 21:18:37 changed by felixmoeller

  • summary changed from Schemas validity error to Schemas validity error (StatusValue is not allowed to be 'NEEDS ACTION').

http://opensync.org/browser/trunk/misc/schemas/xmlformat-calendar.xsd contains:

  <!-- RFC2445: 4.8.1.11 Status - statvalue -->
  <xsd:simpleType name="StatusValue">
    <xsd:restriction base="xsd:string">
	<xsd:enumeration value="TENTATIVE"/>
	<xsd:enumeration value="CONFIRMED"/>
	<xsd:enumeration value="CANCELLED"/>
    </xsd:restriction>
  </xsd:simpleType>

11/13/07 21:27:25 changed by felixmoeller

  • cc set to felixmoeller.

Could you please post the offending entry. You should see it in the OpenSync? trace. (see: http://opensync.org/wiki/tracing) Looking at http://www.ietf.org/rfc/rfc2445.txt NEEDS-ACTION is allowed for VTODO ...

11/16/07 12:34:16 changed by lemos

I don't know how can I make out where the offending entry is, so I am attaching all the log files.

thanks

Ps.: did a svn up on all modules and installed the fresh versions before this

11/16/07 12:34:35 changed by lemos

  • attachment log.tar.bz2 added.

11/16/07 18:06:19 changed by cstender

  • version changed from 0.33 to 0.34.
  • milestone set to OpenSync 0.40.

Thanks for the logs. We have to investigate how we can fix this issue. STATUS:NEEDS ACTION isn't supported by our internal xmlformat.

11/16/07 18:11:06 changed by lemos

ok :)

just let me know if/when you need anything else.

11/19/07 11:47:03 changed by felixmoeller

07/30/08 18:46:30 changed by tuju

  • milestone changed from 0.40 to 0.39.

08/09/08 21:40:52 changed by felixmoeller

  • description changed.