https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2020-11-18T16:08:24ZSaxonica Developer CommunitySaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=168632020-11-18T16:08:24ZMichael Kaymike@saxonica.com
<ul></ul><p>According to <a href="https://stackoverflow.com/questions/10585029/parse-an-html-string-with-js" class="external">https://stackoverflow.com/questions/10585029/parse-an-html-string-with-js</a> we should be doing</p>
<pre><code>new DOMParser().parseFromString(html, "text/html");
</code></pre>
<p>or perhaps we should be calling our existing parseXmlFromString() method with a second parameter giving the media type, which would have the same effect.</p> SaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=168672020-11-18T21:13:55ZMartynas Jusevicius
<ul></ul><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/DOMParser#Parsing_SVG_or_HTML" class="external">https://developer.mozilla.org/en-US/docs/Web/API/DOMParser#Parsing_SVG_or_HTML</a></p> SaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=171902021-02-09T10:54:40ZNorm Tovey-Walsh
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> changed from <i>Michael Kay</i> to <i>Norm Tovey-Walsh</i></li></ul> SaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=172752021-02-11T12:28:37ZCommunity Adminsupport@saxonica.com
<ul><li><strong>Applies to JS Branch</strong> <i>2</i> added</li><li><strong>Applies to JS Branch</strong> deleted (<del><i>2.0</i></del>)</li></ul> SaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=173432021-02-12T17:55:26ZNorm Tovey-Walsh
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul><p>This has been fixed. Any <code>text/html</code> response will now be parsed with the HTML parser.</p> SaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=173692021-02-17T17:33:38ZDebbie Lockettdebbie@saxonica.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>In Progress</i></li></ul><p>Reopening as I'm seeing some new failures for fn-transform tests in the browser (e.g. fn-transform-4), which look to be caused by the changes. The Platform.parseXmlFromString method already has a second argument (lineNumbering) defined for the NodePlatform, so we're now sometimes getting a conflict.</p> SaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=173702021-02-17T17:53:35ZDebbie Lockettdebbie@saxonica.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul><p>Further fixes committed, so that parseXmlFromString now has 3 consistent arguments.</p> SaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=174112021-03-01T19:25:15ZDebbie Lockettdebbie@saxonica.com
<ul><li><strong>Fix Committed on JS Branch</strong> <i>2</i> added</li></ul> SaxonJS - Bug #4830: HTML response from ixsl:schedule-action is parsed as XML, causing failurehttps://saxonica.plan.io/issues/4830?journal_id=174712021-03-02T12:56:04ZDebbie Lockettdebbie@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 JS Release</strong> set to <i>Saxon-JS 2.1</i></li></ul><p>Bug fix applied in the Saxon-JS 2.1 maintenance release.</p>