Searching for multiple single or double quotes or space never returns
Hi,
When trying to search for quotes with no text between them (i.e. """") or a space, XSLTSearch falls into infinite processing and never returns. This probably has something to do with phrase-search and/or word delimiters. Is there a way to fix this and yet be able to search for phrases?
Let me look into it and see what I can find for solutions. Obviously I want to strip out irrelevant search terms but I'm also interested in why the xslt goes into an infinite loop in such cases.
@dwarakesh - XSLTsearch includes an xsltsearch.css file that has basic styling for the search form and results. (and next time, please start a new topic rather than jumping into a subject unrelated to your question, thanks!)
Searching for multiple single or double quotes or space never returns
Hi,
When trying to search for quotes with no text between them (i.e. """") or a space, XSLTSearch falls into infinite processing and never returns. This probably has something to do with phrase-search and/or word delimiters. Is there a way to fix this and yet be able to search for phrases?
Yikes, that's a nasty bug!
Let me look into it and see what I can find for solutions. Obviously I want to strip out irrelevant search terms but I'm also interested in why the xslt goes into an infinite loop in such cases.
I'll keep you posted.
cheers,
doug.
Hi
In XSLTsearch.xslt
<!-- display search box at the top of the page (the search box is always present even if no search was attempted) -->
<xsl:if test="$searchBoxLocation='TOP' or $searchBoxLocation='BOTH'">
<div class="xsltsearch_form">
<---------- Dont know from which css they are refering Class=input-->
<input name="search" type="text" class="input">
<xsl:attribute name="value">
<xsl:value-of select="$unescapedSearch"/>
</xsl:attribute>
</input>
<xsl:text> </xsl:text>
<---------- Dont know from which css they are refering Class=submit -->
<input type="submit" class="submit">
<xsl:attribute name="value">
<xsl:value-of select="$dictionaryButton-Search"/>
</xsl:attribute>
</input>
</div>
</xsl:if>
-------------------------------------------------
@dwarakesh - XSLTsearch includes an xsltsearch.css file that has basic styling for the search form and results. (and next time, please start a new topic rather than jumping into a subject unrelated to your question, thanks!)
cheers,
doug.
Hi, Andrey,
I've corrected the problem and will package up v3.0.3 tomorrow. Thanks for the bug report!
cheers,
doug.
Hi, Andrey,
You'll find an update package for XSLTsearch 3.0.3 that fixes the problem. http://our.umbraco.org/projects/website-utilities/xsltsearch
cheers,
doug.
Thank you very much, Douglas!
is working on a reply...