https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2021-08-05T06:20:18ZSaxonica Developer CommunitySaxonC - Bug #5055: setCatalog not included in python APIhttps://saxonica.plan.io/issues/5055?journal_id=182192021-08-05T06:20:18ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>File</strong> <a href="/attachments/54783">saxonc.pyx</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/54783/saxonc.pyx">saxonc.pyx</a> added</li><li><strong>File</strong> <a href="/attachments/54782">saxoncClasses.pxd</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/54782/saxoncClasses.pxd">saxoncClasses.pxd</a> added</li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Bug fixed and available for the next release.</p>
<p>Also the set_catalog function has been patched into the Saxon/C 1.2.1 release file attached to this bug issue. You will need to replace both the saxoncClasses.pxd and the saxon.pyx files with the ones attached.</p>
<p>Example:</p>
<pre><code>with PySaxonProcessor(license=False) as saxonproc2:
saxonproc2.set_catalog('catalog.xml')
trans = saxonproc2.new_xslt30_processor()
.....
</code></pre>
<p>set_catalog(str file_name) - The file_name argument requires a full path to the file, but should also look into the current directory too.</p> SaxonC - Bug #5055: setCatalog not included in python APIhttps://saxonica.plan.io/issues/5055?journal_id=191982022-02-01T15:43:31ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>Fixed in version</strong> set to <i>11.1</i></li></ul><p>Bug fix patched in SaxonC 11.1 release</p>