Skip to main content.
home | support | download

Back to List Archive

Re: special characters

From: David Wood <dwood(at)not-real.inter.nl.net>
Date: Thu May 27 2004 - 10:10:27 GMT
Hi Jonas,

I don't know whether this will fix your problem, but that '&' char should 
probably be escaped as '&amp;' in your XML.  You might want to try that and 
see whether it helps.

Cheers,

David



At 11:43 Thursday 27-5-2004, Jonas Wolf wrote:
>During my testing, I realised that certain files
>didn't turn up in my queries while they should have. And I've found the
>reason why. I have files that follow the following pattern:
>
><xml>
>   <title>This & That</title>
>   <description>Some important information</description>
></xml>
>
>It seems that swish-e indexes this file *only* up to the '&' character,
>and then stops. This means that any information after that is not indexed.
>
>Is there a particular reason why this is the case, or is it a bug? If it
>is
>a bug, I can always get around it by replacing that character with
>something
>else, or taking it out completely. If it is a feature, does this occur
>with
>other characters as well?
>
>Thanks, Jonas
Received on Thu May 27 03:10:27 2004