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
What steps will reproduce the problem?
http://play.golang.org/p/Wl1_bz8M9I
What is the expected output?
NsRoot{HTable: HtmlTable{Rows: []HtmlTr[HtmlTr{Td: []string{"Apples",
"Bananas"}}}}, FTable: FurnTable{Name: "African Coffee Table",
Width: 80, Length: 120}}
What do you see instead?
unmarshal failed: main.NsRoot field "HTable" with tag
"http://www.w3.org/TR/html4/ table" conflicts with field "FTable"
with tag "http://www.w3schools.com/furniture table"
Which compiler are you using (5g, 6g, 8g, gccgo)?
Which operating system are you using?
Which version are you using? (run 'go version')
Please provide any additional information below.
This is the example from http://www.w3schools.com/xml/xml_namespaces.asp .
The text was updated successfully, but these errors were encountered:
Test case at https://golang.org/cl/7227056. The error comes from
the analysis done on the struct. This cannot be fixed until Marshal
distinguishes the two tables correctly (or else we'll break Marshal by
fixing the type info generator).
by chris.jones.yar:
The text was updated successfully, but these errors were encountered: