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
However, when I unmarshal, I get the following error:
proxy_test.go:18: lint.Chiser_binding field "Attr_type" with tag " type,attr" conflicts with field "Attr_xsi_type" with tag "http://www.w3.org/2001/XMLSchema-instance type,attr"
The text was updated successfully, but these errors were encountered:
Okay, I think this is a Go issue: golang/go#13400 . There appear to be many issues with namespaces in there, and in particular, golang/go#8535 that points to this one.
Yes, there are issues in go/xml's ability to handle namespaces. I have commented either in one of those many issues or in the golang list (quite a while ago, like a year). I will add this external limitation to the chidley 'Limitations' section.
They really are showstoppers for anyone who wants to do serious XML.... :-(
You're probably loving all of these issues...Sorry about that.
I found something that I'm not sure if it's a Go
encoding/xml
error, or if there's something wrong with my XML. The following piece of XMLGenerates the following struct:
However, when I unmarshal, I get the following error:
The text was updated successfully, but these errors were encountered: