sinairv/YAXLib — pull request #11 by asbjornu (2012-10-04 10:58:23+00:00)
Title: Namespace on classes with properties serialized with `realtype` breaks deserialization

There's a bug that causes both the serialization and deserialization of classes that contains properties that for some reason is given the `realtype` attribute, to fail. The namespace prefix is erroneously set to `p2` during serialization and when deserializing, something fails so the object isn't serialized at all.

The added (and failing) `DeserializationTests.AttributeForKeyInDictionaryPropertyTest` test shows this behavior.