XSLT Search Options
naho
Posted: Friday, July 25, 2008 7:32:34 PM
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
drobar
Posted: Friday, July 25, 2008 8:10:28 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,694
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
naho
Posted: Thursday, August 07, 2008 10:00:38 PM
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
mortenbock
Posted: Thursday, August 07, 2008 10:08:17 PM

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.aspx

Could your problem be related with the preview fields and context setting that doug mentions (a few posts down the thread)

Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

naho
Posted: Thursday, August 07, 2008 10:17:38 PM
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. :(
drobar
Posted: Thursday, August 07, 2008 10:34:48 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,694
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
naho
Posted: Friday, August 08, 2008 2:33:02 PM
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
drobar
Posted: Friday, August 08, 2008 3:40:17 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,694
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
naho
Posted: Friday, August 08, 2008 5:10:46 PM
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
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.