<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I have noticed that cxml is looping for a certain combination of xml/dtd. It loops in the recurse function inside compile-content-model in xml-parse.lisp. I cannot fix it myself but I am hoping that somebody else can find a solution using my minimal reproducible case, which can be found at <a href="https://doremir.com/files/cxml/xml-test.zip" class="">https://doremir.com/files/cxml/xml-test.zip</a>.</div><div class=""><br class=""></div><div class="">The xml file from the case looks like this:</div><div class=""><br class=""></div><div class=""><?xml version="1.0" encoding="UTF-8" standalone="no"?></div><div class=""><!DOCTYPE a PUBLIC "" ""></div><div class=""><a></div><div class=""> <c/></div><div class=""></a></div><div class=""><br class=""></div><div class="">And the dtd file looks like this:</div><div class=""><br class=""></div><div class=""><!ELEMENT b EMPTY></div><div class=""><!ELEMENT c EMPTY></div><div class=""><!ELEMENT a ((b?)*, c?)></div><div class=""><br class=""></div><div class="">The real world case is from MusicXML parsing and the problematic xml excerpt looks like this:</div><div class=""><br class=""></div><div class=""><sound tempo="90"></div><div class=""> <offset sound="yes">8</offset></div><div class=""></sound></div><div class=""><br class=""></div><div class="">And the corresponding dtd excerpt looks like this:</div><div class=""><br class=""></div><div class=""><!ELEMENT sound ((midi-device?, midi-instrument?, play?)*, offset?)></div><div class=""><br class=""></div><div class="">I have verified this using version "cxml-2008-11-30" from the Closure XML Parser home page at <a href="https://common-lisp.net/project/cxml/index.html" class="">https://common-lisp.net/project/cxml/index.html</a> and also with the latest version from Quicklisp "cxml-20181018".</div><div class=""><br class=""></div><div class="">By the way, why isn't the latest version downloadable from the Closure XML Parser home page?</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><span id="x-apple-selection:end"></span>Sven</div></body></html>