|
|
Rank: Newbie
Joined: 5/30/2008 Posts: 21 Location: USA
|
Hi I am getting a parsing error on XSLT Search only when I try to search with a word that is part of href link names/URLs embedded in bodyText of some pages. For example, I have a link to www.tfsgreen.com. When I search for 'green' or 'tfs', I get Error parsing XSLT file: \xslt\XSLTSearch.xslt. If I search with words not used by any of the links, however, the search works just fine. Has anyone had the same issue and figured out what to change in the XSLT to fix it? Thanks Naho
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,696 Location: KY, USA
|
Hi, Naho, I've never heard of this problem before and don't experience the problem on my sites (I just tried it to be sure). Can you give us a link to your site so we can look into it further? cheers, doug.
MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
|
|
Rank: Newbie
Joined: 5/30/2008 Posts: 21 Location: USA
|
Hi Doug
You are right. It seems to work for the most part. It fails only when I search for 'green' and 'tfsgreen'. If I search for 'tfs green' (with space) and 'tfs' alone, the search works! What is the best way to debug this problem?
Thanks
Naho
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 789 Location: Århus, Denmark
|
try looking a Doug's posts in this thread. http://forum.umbraco.org/yaf_postst2461p2_NEW-Website-Package-is-HERE--HURRAY.aspxCould your problem be related with the preview fields and context setting that doug mentions (a few posts down the thread)
|
|
Rank: Newbie
Joined: 5/30/2008 Posts: 21 Location: USA
|
Hi Morten Thanks for the link. I compared my previewFields and searchFields and they are correct. I actually found more words that give me an error. They are also part of another link I have on my site. I'm not sure what's going on. :(
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,696 Location: KY, USA
|
I'd love to know what is going on. It is very strange behavior indeed! If you could give me a link to your site I might be able to find the problem. If you'd rather not post the link on the forum, feel free to contact me through my website. cheers, doug.
MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
|
|
Rank: Newbie
Joined: 5/30/2008 Posts: 21 Location: USA
|
Hi Doug This is the URL: http://uat.tradition.com Search fails when I search for 'tfsgreen', 'green', 'asiel' - there might be more. Thanks Naho
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,696 Location: KY, USA
|
Hi, Naho, The first thing I notice is that you're running XSLTsearch 2.1. This is rather old. Please download the latest version from the package repository (by right-clicking on the Macros node in umbraco's Developer section). There is an upgrade package that will only give you the new xslt file. It is backwards compatible with 2.1. You'll want to read the documentation to see what new features are available. After you've upgraded your xsltsearch.xslt file let us know if the problem remains or has been solved by the newer version. cheers, doug. cheers, doug.
MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
|
|
Rank: Newbie
Joined: 5/30/2008 Posts: 21 Location: USA
|
Hi Doug Upgrading it to the the latest version fixed the issue. Thanks so much.
Naho
|
|
|
Guest |