Skip to content

Multiple XmlElementAttribute attributes are not supported #4

@charlie430

Description

@charlie430

It seems ObjectXPathNavigator doesn't support multiple XmlElementAttribute attributes.

http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlelementattribute.aspx

[XmlElement(typeof(int), ElementName = "ObjectNumber")]
[XmlElement(typeof(string), ElementName = "ObjectString")]
public ArrayList ExtraInfo;

After looking at sdf.XPath.NodeInfo, it seems for performance reasons, it caches the node name and namespace, however, in this case, there are multiple node names and namespaces that may be valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions