go-xml
go-xml copied to clipboard
utility and code-generation libraries for XML
Hi, I am trying to use xsdgen with a large xsd file with several large dependencies. I get this error after a few seconds. runtime: goroutine stack exceeds 1000000000-byte limit...
Hi, I am trying to include the external xmldsig schema into my schema and to generate the structs. This steps works and this is great! In the next step I...
I cannot, despite my best efforts, find a way to decode the response body. The envelope is processed fine, just the contents of the Body is not decoded. I think...
WSDL allows for the definition of faults that a given RPC may through. They can be defined in the XML schema like any other type. If we detect that a...
When developing new features and fixing bugs, progress is impeded by the lack of thorough automated tests. There are tests for each package that verify xsd files can be parsed...
A WSDL can define multiple related services in a single definition, but wsdlgen will only output the last one to appear in the file. It might be nice to alter...
Let's talk about the elephant in the room: references in SOAP documents. We can generate the greatest type declarations ever, but that won't do us any good in the face...
Consider the element declaration below (note the "maxOccurs" attribute) In Go, the ideal declaration for this type would be []time.Time. For scalar types, we can get away with converting a...
The xsdgen package flattens the XSD type hierarchy to produce nicer code. a → b→ c → anyType becomes a → anyType b → anyType c → anyType Practically speaking,...
It would be nice to make types derived from XSD's `duration` type use `time.Duration`, and provide Marshal/UnmarshalXML methods for it. It's an... interesting notation, described here: https://www.w3.org/TR/xmlschema11-2/#duration