Open joneldiablo opened 5 years ago
Thank you for reporting this. First of all, it is a good idea to try the native Prolog interface as described here. It gives the following:
> swipl -g main cli.pl -- /home/fnogatz/tmp/release-notification.xsd
ERROR: -g main: open/4: source_sink `'/home/fnogatz/tmp/http://ddex.net/xml/avs/avs_20161006.xsd'' does not exist (No such file or directory)
As of now, xsd2json does not support remote locations as it can be found in the schema here:
<xs:import namespace="http://ddex.net/xml/avs/avs" schemaLocation="http://ddex.net/xml/avs/avs_20161006.xsd"/>
I try to convert with this code:
the xml schema from here http://service.ddex.net/xml/ern/37/release-notification.xsd but in the console just have this error
ERROR: -g user:main: false
what it means?
if I remove this
, {'debug-info':true}
from the function, the execution hangs