Re: [go-nuts] using the xml package with data with complex name spacing

2020-12-14 Thread 'Dan Kortschak' via golang-nuts
On Mon, 2020-12-14 at 13:53 +, Sam Whited wrote: > In the example you provided it is working as expected. The element > you're unmarshaling is in the " > http://www.w3.org/1999/02/22-rdf-syntax-ns#; namespace (it has an > "rdf" > prefix) but the thing you're unmarshaling it into expects >

Re: [go-nuts] using the xml package with data with complex name spacing

2020-12-14 Thread Sam Whited
In the example you provided it is working as expected. The element you're unmarshaling is in the " http://www.w3.org/1999/02/22-rdf-syntax-ns#; namespace (it has an "rdf" prefix) but the thing you're unmarshaling it into expects "http://purl.obolibrary.org/obo/go/subsets/goslim_yeast.owl#; because

[go-nuts] using the xml package with data with complex name spacing

2020-12-13 Thread 'Dan Kortschak' via golang-nuts
I'm needing to consume some XML which has a namespace identifier reused. http://purl.obolibrary.org/obo/go/subsets/goslim_yeast.owl#; xml:base="http://purl.obolibrary.org/obo/go/subsets/goslim_yeast.owl; xmlns:go="http://purl.obolibrary.org/obo/go#;