https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2018-11-04T22:49:10ZSaxonica Developer CommunitySaxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=125142018-11-04T22:49:10ZMichael Kaymike@saxonica.com
<ul><li><strong>Subject</strong> changed from <i>Undocumented and untested extensions to xsl;source-document</i> to <i>Undocumented and untested extensions to xsl:source-document</i></li></ul> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=127652018-11-23T15:14:10ZMichael Kaymike@saxonica.com
<ul></ul><p><code>saxon:line-numbering</code> now working and tested in xslt30extra/source-document</p> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=127662018-11-23T16:27:50ZMichael Kaymike@saxonica.com
<ul></ul><p>saxon:strip-space now working and tested. Allowed values #all, #none, #ignorable, #default.</p> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=132432019-03-06T16:03:40ZDebbie Lockettdebbie@saxonica.com
<ul></ul><p>9.9.1 release included the code fixes to allow <code>saxon:line-numbering</code> and <code>saxon:strip-space</code> attributes. The documentation has (belatedly) now been updated, see xsl-elements/source-document and extensions/attributes.</p>
<p>Committed on 9.9 and 10.0 dev branches. 9.9 documentation updated online (XML and HTML versions).</p> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=141682019-09-05T11:37:34ZMichael Kaymike@saxonica.com
<ul><li><strong>Category</strong> set to <i>Saxon extensions</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Priority</strong> changed from <i>Low</i> to <i>Normal</i></li></ul><p>Contrary to the documentation, these extensions are currently working in Saxon-HE. In accordance with the general policy that Saxon extensions require PE or EE, this will be changed.</p> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=150992020-03-19T17:39:46ZMichael Kaymike@saxonica.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>Applies to branch</strong> <i>10</i> added</li><li><strong>Fix Committed on Branch</strong> <i>10</i> added</li></ul><p>On the 10.0 branch I have made the change to check for a PE license when extension attributes are used.</p>
<p>Although this is consistent with the documentation, I will avoid adding the extra checks on the 9.9 branch in the interests of application stability.</p> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=151182020-03-20T17:21:21ZMichael Kaymike@saxonica.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>In Progress</i></li></ul><p>I don't think it is conformant to raise an error if these attributes are used on Saxon-HE</p>
<p>The spec (ยง3.2) says: "An implementation that does not recognize the name of an extension attribute, or that does not recognize its value, must perform the transformation as if the extension attribute were not present. As always, it is permissible to produce warning messages."</p>
<p>So I think we should produce a warning and ignore the attribute.</p> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=154462020-05-19T09:22:25ZMichael Kaymike@saxonica.com
<ul></ul><p>Revisiting this, and extending the scope to include options for saxon:doc(), saxon:parse(), and saxon:parse-html().</p>
<p>Currently xsl:source-document supports:</p>
<ul>
<li>validation</li>
<li>type</li>
<li>use-accumulators</li>
<li>saxon:dtd-validation - boolean</li>
<li>saxon:expand-attribute-defaults - boolean</li>
<li>saxon:line-numbering - boolean</li>
<li>saxon:xinclude - boolean</li>
<li>saxon:strip-space - #all, #none, #ignorable, #default</li>
</ul>
<p>saxon:doc supports:</p>
<ul>
<li>validation</li>
<li>type</li>
<li>dtd-validation</li>
<li>strip-space - all, none, package-defined</li>
<li>stable - boolean, not documented, accepted but not implemented</li>
<li>accumulators - xs:QName*, implemented but not documented</li>
<li>use-xsi-schema-location - boolean, implemented but not documented</li>
</ul>
<p>saxon:parse() and saxon:parse-html() do not have an options parameter, but I would like to give them one, especially to allow a base URI to be specified.</p>
<p>Other candidates for controlling parsing and document building (available in the Java ParseOptions interface) include:</p>
<ul>
<li>validationParams (for validating against a parameterized schema)</li>
<li>topLevelElement</li>
<li>topLevelType</li>
<li>parser class</li>
<li>tree model</li>
<li>error handling options</li>
</ul> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=176762021-03-31T10:15:57ZDebbie Lockettdebbie@saxonica.com
<ul><li><strong>Assignee</strong> changed from <i>Michael Kay</i> to <i>Debbie Lockett</i></li></ul> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=177402021-04-06T14:02:25ZDebbie Lockettdebbie@saxonica.com
<ul><li><strong>Assignee</strong> changed from <i>Debbie Lockett</i> to <i>Michael Kay</i></li></ul><p>Documentation updated to match what is currently implemented, i.e. :</p>
<ol>
<li>Added documentation for the <code>xsl:source-document</code> attributes <code>saxon:dtd-validation</code>, <code>saxon:expand-attribute-defaults</code>, and <code>saxon:xinclude</code> (at /xsl-elements/source-document, and under /extensions/attributes)</li>
<li>Added documentation for the <code>use-xsi-schema-location</code> option for <code>saxon:doc()</code>.</li>
</ol>
<p>Committed on the Saxon 10 and trunk branches. (The online documentation will be updated with the next maintenance release.)</p>
<p>I have not added the <code>saxon:doc</code> options <code>stable</code> and <code>base-uri</code>, as it seems that these are accepted but not actually implemented.</p>
<p>Note that it was suggested in <a href="#note-8">#note-8</a> that the options parameter might be added to <code>saxon:parse</code> and <code>saxon:parse-html</code>, but so far it has not been. (Perhaps we could open a new feature bug to pursue this, and close this bug.)</p> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=177552021-04-09T15:20:38ZMichael Kaymike@saxonica.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul><p>I think it's time to close this as resolved, we have done enough for the time being.</p> Saxon - Bug #3995: Undocumented and untested extensions to xsl:source-documenthttps://saxonica.plan.io/issues/3995?journal_id=177832021-04-14T15:49:30ZO'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.5</i> added</li></ul><p>Bug fix applied to Saxon 10.5 maintenance release.</p>