Actions
Bug #4608
closedReading JSON resource over HTTP: TypeError: c.codePointAt is not a function
Start date:
2020-06-20
Due date:
% Done:
100%
Estimated time:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-
Description
Following stylesheet fails with TypeError: c.codePointAt is not a function
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="3.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ixsl="http://saxonica.com/ns/interactiveXSLT"
exclude-result-prefixes="#all">
<xsl:output method="adaptive"/>
<xsl:param name="url" as="xs:string">https://swapi.dev/api/people/</xsl:param>
<xsl:template name="xsl:initial-template">
<ixsl:schedule-action document="{$url}">
<xsl:call-template name="output-json">
<xsl:with-param name="url" select="$url"/>
</xsl:call-template>
</ixsl:schedule-action>
</xsl:template>
<xsl:template name="output-json">
<xsl:param name="url" select="$url"/>
<xsl:variable name="json-doc1" select="json-doc($url)"/>
<xsl:result-document href="json-doc-test-with-schedule-action-5.json" method="json" indent="yes">
<xsl:sequence select="$json-doc1"/>
</xsl:result-document>
</xsl:template>
</xsl:stylesheet>
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page