Description tag?

B

bob

I have an xml fil containing:

<item>
<title><![CDATA[Title C]]></title>
<link><![CDATA[http://www.eclipse.org/org/press-release/20090401_WTPeducation.php]]></link>
<description>
<![CDATA[
Test text´
]]>
</description>
<pubDate>Tue, 24 Mar 2009 10:30:00 EST</pubDate>
</item>


When I include :" ´ " the description text is not generated. Only when I
remove ' ´ ' does it work. Are there any restrictions on characters used
inside the description tag?
 
M

Martin Honnen

bob said:
I have an xml fil containing:

<item>
<title><![CDATA[Title C]]></title>
<link><![CDATA[http://www.eclipse.org/org/press-release/20090401_WTPeducation.php]]></link>

<description>
<![CDATA[
Test text´
]]>
</description>
<pubDate>Tue, 24 Mar 2009 10:30:00 EST</pubDate>
</item>


When I include :" ´ " the description text is not generated. Only when
I remove ' ´ ' does it work. Are there any restrictions on characters
used inside the description tag?

How do you "generate"? What exactly do you generate?

In terms of XML there is nothing special about the "´" character.
 
J

Joe Kesselman

Are there any restrictions on characters
used inside the description tag?

If that's a Microsoftish back-quote rather than the ASCII ` character,
it may be a problem. XML files normally default to being read as
Unicode, either UTF8 or UTF16, and the Microsoft extended-ASCII
characters don't play nicely with UTF8. (In UTF8, the high bit is
reserved for multibyte characters.) You may need to specify the file's
encoding (assuming it's an encoding your XML tools support), or use the
Unicode version of the character rather than the MS version.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top