Closed fnogatz closed 7 years ago
The read_string/3 predicate used in markup_to_string/4 of helpers.pl is defined only since SWI-Prolog of version 6 (corresponding commit). That's why xsd2json fails for XSDs which include xs:documentation tags:
read_string/3
markup_to_string/4
helpers.pl
xs:documentation
> ./lib-pl/cli test/xsd/annotation.xsd ERROR: Prolog initialisation failed: ERROR: helpers:markup_to_string/4: Undefined procedure: helpers:read_string/3
The
read_string/3
predicate used inmarkup_to_string/4
ofhelpers.pl
is defined only since SWI-Prolog of version 6 (corresponding commit). That's why xsd2json fails for XSDs which includexs:documentation
tags: