Skip to content

Commit 0151c6b

Browse files
namedgraphclaude
andcommitted
Drop invalid document="ixsl:page()" from modal-search debounce
The in-modal live-search onkeyup handler scheduled its deferred search with <ixsl:schedule-action wait="$delay" document="ixsl:page()">. The document attribute names fetchable document URIs; the literal string ixsl:page() made SaxonJS attempt fetch("ixsl:page()"), logging "Fetch API cannot load ixsl:page(). URL scheme ixsl is not supported" on every debounced keystroke. The deferred body reaches the live page via ixsl:page() at execution time and needs no preloaded document, so wait alone is the correct trigger — matching the typeahead debounce in form.xsl. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d2458f9 commit 0151c6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client

src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client/navigation.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ ORDER BY DESC(?created)
13551355
<xsl:choose>
13561356
<xsl:when test="$key-code = 'Enter'"/> <!-- handled by form-submit -->
13571357
<xsl:when test="string-length($text) gt 0">
1358-
<ixsl:schedule-action wait="$delay" document="ixsl:page()">
1358+
<ixsl:schedule-action wait="$delay">
13591359
<xsl:call-template name="ldh:SearchLoadDeferred">
13601360
<xsl:with-param name="input" select="."/>
13611361
<xsl:with-param name="text" select="$text"/>

0 commit comments

Comments
 (0)