You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like access to the namespace short codes to long form mappings used during an unmarshaling. This is useful for processing custom element and attribute values that reference the short codes like xpaths in IETF RFC6241 NETCONF
Here I need to parse xpath and lookup that z's full namespace is zee
Fix: to encoding/xml/xml.go
// LookupNs will return the full namespace string give a short code. This will// only be useful from implementations of Unmarshaler while the namespaces// are still in scopefunc (d*Decoder) LookupNs(shortcodestring) string {
returnd.ns[shortcode]
}
Proposal Details
I would like access to the namespace short codes to long form mappings used during an unmarshaling. This is useful for processing custom element and attribute values that reference the short codes like xpaths in IETF RFC6241 NETCONF
Example:
Here I need to parse
xpath
and lookup thatz
's full namespace iszee
Fix: to encoding/xml/xml.go
Example:
The text was updated successfully, but these errors were encountered: