Closed greenyouse closed 7 years ago
See the (general) comment to issue #32. There are various options to tell the tool how to find included XSDs. I think it should actually work also with relative paths, but they will be considered relative to the current working directory. Making them relative to something else (the location of the including file?) might be confusing, perhaps.
Thanks, I overlooked the erlsom options for including XSD files. That works for importing XSDs with relative paths.
I had a larger project so I ended up converting the relative paths to absolute and that seemed to work too but it was much more of a hack.
I have some WSDLs with XSD includes that use relative paths. When running the tool it errors out on relative paths but works for full paths. Here's a sample error message:
I uploaded a case for repro that highlights the problem. There's a WSDL here and a XSD to import here.
This seems like a fairly common case. I could try working on a patch if this seems helpful.