Ticket #108 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

XMLSerializer should not serialize public static properties

Reported by: mikey Assigned to: schst
Priority: major Milestone: 0.4.0
Component: XMLSerializer Version: SVN-trunk
Keywords: Cc:

Description

Currently the XMLSerializer serializes public static properties as well. This may lead to unexpected behaviour, in particular when serializing stubEnum instances. Additionally, a static property does not belong to a specific instance of a class. Therefore this should be changed to serialize public static properties only when explicitly stated with an annotation.

Change History

11/22/07 21:56:32 changed by schst

  • status changed from new to closed.
  • resolution set to fixed.

This has been fixed in changeset [1062]. The old behaviour can be restored using an option.