https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2019-10-18T12:23:02ZSaxonica Developer CommunitySaxon - Bug #4347: Imported schema component model requires XSD version 1.1 when running XQuery with EE licensehttps://saxonica.plan.io/issues/4347?journal_id=143702019-10-18T12:23:02ZRadu Coravuradu_coravu@sync.ro
<ul></ul><p>Attaching again the XML source:</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<Data>
:20:PmtReferenceID000012
:21:Not used
:25: PHMNLBICXXX/Account00010203
:28c:00001/0001
</Data>
</code></pre> Saxon - Bug #4347: Imported schema component model requires XSD version 1.1 when running XQuery with EE licensehttps://saxonica.plan.io/issues/4347?journal_id=143712019-10-18T12:27:29ZRadu Coravuradu_coravu@sync.ro
<ul></ul><p>Attaching again the XML source:</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<Data>
:20:PmtReferenceID000012
:21:Not used
:25: PHMNLBICXXX/Account00010203
:28c:00001/0001
</Data>
</code></pre>
<p>The problem seems to be that "AnalyzeStringFn" attempts to load an XML Schema "xpath-functions.scm" and this breaks and I do not know what setting to set on our side to make this work.</p> Saxon - Bug #4347: Imported schema component model requires XSD version 1.1 when running XQuery with EE licensehttps://saxonica.plan.io/issues/4347?journal_id=143762019-10-18T20:30:00ZMichael Kaymike@saxonica.com
<ul></ul><p>XSD 1.1 became the default setting in Saxon 9.9, and it looks as if we compiled xpath-functions.xsd with the default settings, which therefore marked the xpath-functions.scm file as being dependent on 1,1,, even though the schema uses no 1.1 features. We'll need to recompile it with the configuration setting xsd-version="1.0" so that it still works if used in a configuration with that setting.</p>
<p>I'm not sure how much longer we want to retain 1.0 support. It's already the case that we're not 100% conformant with the 1.0 spec when you request xsd-version="1.0" -- the non-conformances are mainly in areas where the spec is known to be buggy, such as the rules for valid complex type derivation and edge cases with regular expressions. How many people would worry if 1.1 was always enabled?</p> Saxon - Bug #4347: Imported schema component model requires XSD version 1.1 when running XQuery with EE licensehttps://saxonica.plan.io/issues/4347?journal_id=144012019-10-21T04:58:12ZRadu Coravuradu_coravu@sync.ro
<ul></ul><p>I think most people don't know that XML Schema has two versions :)
But as long as you have a choice in the code between 1.0 and 1.1 the analyze-string() should probably work in both cases.
Is 1.1 a perfect superset of 1.0? Because if so it would not matter much... right now in our code we set the XSD version in the Saxon configuration depending on our Oxygen Preferences which still have 1.0 as default.</p> Saxon - Bug #4347: Imported schema component model requires XSD version 1.1 when running XQuery with EE licensehttps://saxonica.plan.io/issues/4347?journal_id=151042020-03-20T09:17:13ZMichael Kaymike@saxonica.com
<ul><li><strong>Category</strong> set to <i>Schema-Aware processing</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Michael Kay</i></li><li><strong>Applies to branch</strong> <i>9.9</i> added</li></ul><p>The version of xpath-functions.scm shipped with 10.0 is labelled xsdVersion="1.0", so it seems we quietly fixed this. The version in 9.9.1.7, however, is still labelled xsdVersion="1.1".</p>
<p>I'll copy the 1.0 version into the 9.9 repository so the next maintenance build should pick it up.</p> Saxon - Bug #4347: Imported schema component model requires XSD version 1.1 when running XQuery with EE licensehttps://saxonica.plan.io/issues/4347?journal_id=151052020-03-20T09:30:01ZMichael Kaymike@saxonica.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>Priority</strong> changed from <i>Low</i> to <i>Normal</i></li><li><strong>Fix Committed on Branch</strong> <i>9.9</i> added</li><li><strong>Fixed in Maintenance Release</strong> <i>10.0</i> added</li></ul><p>Fixed as suggested.</p> Saxon - Bug #4347: Imported schema component model requires XSD version 1.1 when running XQuery with EE licensehttps://saxonica.plan.io/issues/4347?journal_id=165892020-10-22T16:16:04ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Fixed in Maintenance Release</strong> <i>9.9.1.8</i> added</li></ul><p>Bug fix applied on the Saxon 9.9.1.8 maintenance release.</p>