MCPcopy Index your code
hub / github.com/SignTools/SignTools / validateXML

Function validateXML

main_test.go:290–300  ·  view source on GitHub ↗
(input string)

Source from the content-addressed store, hash-verified

288}
289
290func validateXML(input string) error {
291 decoder := xml.NewDecoder(strings.NewReader(input))
292 for {
293 err := decoder.Decode(new(interface{}))
294 if errors.Is(err, io.EOF) {
295 return nil
296 } else if err != nil {
297 return err
298 }
299 }
300}

Callers 1

validateManifestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected