[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: how do I deal with special characters?
From:       Djuro Drljaca <djurodrljaca () gmail ! com>
Date:       2012-06-27 16:56:37
Message-ID: CALTgeGXN479U=KpVjEiTSMpsWJ7qDB337GVMROZinQW5YoWECA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

from what I see in the error string it probably expects only letters (and
'#' character). Could you write the function call (with a small description
what is going on) and the problematic input data so that the problem can be
"debugged"?

Regards,
Djuro Drljaca

On Wed, Jun 27, 2012 at 5:09 AM, Eric Mesa <ericsbinaryworld@gmail.com>wrote:

> got this error: Error FODC0002 in
> tag:trolltech.com,2007:QtXmlPatterns:QIODeviceVariable:src, at line 1,
> column 23816: Expected '#' or '[a-zA-Z]', but got ' '
>
> Traced it to that column and the offending character  was an ampersand
> (&).  My program is grabbing titles from an API that could have any
> character.  How do I deal with this?
>
> thanks!
> --
> Eric Mesa
> http://about.me/ericmesa
> http://www.ericsbinaryworld.com
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>

[Attachment #5 (text/html)]

Hello,<br><br>from what I see in the error string it probably expects only letters \
(and &#39;#&#39; character). Could you write the function call (with a small \
description what is going on) and the problematic input data so that the problem can \
be &quot;debugged&quot;?<br> <br>Regards,<br>Djuro Drljaca<br><br><div \
class="gmail_quote">On Wed, Jun 27, 2012 at 5:09 AM, Eric Mesa <span dir="ltr">&lt;<a \
href="mailto:ericsbinaryworld@gmail.com" \
target="_blank">ericsbinaryworld@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">got this error: Error FODC0002 in<br> tag:<a \
href="http://trolltech.com" \
target="_blank">trolltech.com</a>,2007:QtXmlPatterns:QIODeviceVariable:src, at line \
1,<br> column 23816: Expected &#39;#&#39; or &#39;[a-zA-Z]&#39;, but got &#39; \
&#39;<br> <br>
Traced it to that column and the offending character   was an ampersand<br>
(&amp;).   My program is grabbing titles from an API that could have any<br>
character.   How do I deal with this?<br>
<br>
thanks!<br>
--<br>
Eric Mesa<br>
<a href="http://about.me/ericmesa" target="_blank">http://about.me/ericmesa</a><br>
<a href="http://www.ericsbinaryworld.com" \
target="_blank">http://www.ericsbinaryworld.com</a><br> \
_______________________________________________<br> Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" \
target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br> \
</blockquote></div><br>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic