https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2020-09-22T11:01:28ZSaxonica Developer CommunitySaxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=163792020-09-22T11:01:28ZMichael Kaymike@saxonica.com
<ul></ul><p>Makes sense.</p>
<p>Note there's a static method DocumentKey.normalizeURI() used for a similar purpose - detecting when doc() uses the URI of something already in cache. it seems to handle some ignorable differences between equivalent URIs, but not this one. I'd suggest improving that method and using it.</p> Saxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=163802020-09-22T11:13:19ZMichael Kaymike@saxonica.com
<ul></ul><p>Note also, for Element declarations the code moved away from comparing components by source location, and instead does a value-based comparison (<code>ElementDecl.isSameDeclaration()</code>). But for other kinds of component, e.g.attribute declarations and types (<code>UserDefinedType.isSameType()</code>) it's still location-based. In general doing a value-based comparison is hard, because we're in the middle of a network of related components, not just a hierarchy. I think Element Declarations were special cased to make <code>xs:override</code> work, but I don't recall the details.</p> Saxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=163822020-09-22T11:40:29ZNorm Tovey-Walsh
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> Saxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=163842020-09-22T13:19:40ZNorm Tovey-Walsh
<ul><li><strong>Fix Committed on Branch</strong> <i>10, trunk</i> added</li></ul><p>Fixed in 10 and trunk.</p> Saxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=163852020-09-22T13:22:57ZNorm Tovey-Walsh
<ul><li><strong>Fix Committed on Branch</strong> <i>9.9</i> added</li></ul><p>And fixed in 9.9</p> Saxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=163862020-09-22T13:23:08ZNorm Tovey-Walsh
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul> Saxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=166412020-10-22T16:21:00ZO'Neil Delprattoneil@saxonica.com
<ul><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. Leaving open until applied on the Saxon 10 maintenance release.</p> Saxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=167312020-10-28T17:58:02ZO'Neil Delprattoneil@saxonica.com
<ul></ul><p>Bug fix applied in the Saxon 10.3 maintenance release</p> Saxon - Bug #4745: Testing for "the same" schema location is not sensitive to relative pathhttps://saxonica.plan.io/issues/4745?journal_id=167522020-10-28T18:12:55ZO'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>10.3</i> added</li></ul>