Looks like new versions of sdf.XPath are coming out of door a bit too often, but there are bugs and they need to be fixed. Craig Neuwirt pointed me at several new incompatibilities with standard XmlSerializator. I've started to fix and found a whole lot more.
Part of them got fixed. Changelog:
- Fixed: XmlNode[] with XmlAnyElementAttribute is now transparent node with transparent children (of type XmlNode).
- Fixed: HasChildren and HasAttributes incorrectly returned true if node contains only tranparent children or attributes.
- Fixed: IList with XmlElementAttribute is now transparent.
- Fixed: XmlAnyElementAttribute with only name specified takes default namespace from class' XmlRoot or XmlType attributes.
- Fixed: InnerNodePolicy was created for objects of simple type.
- Minor fixes in several policies.
There is also known issue with support of XmlArrayAttribute and XmlArrayItemAttribute, but I've decided not to dig it at this time. The more I look in the behavior of standard serialization mechanism, the more I got scared. Maybe in the new version we all could move to very simple and logical transparent nodes? :)
Links: binary release, sources, help online.
Posted
Mar 23 2005, 06:28 PM
by
Andrew Mayorov