473,473 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how is this XML not well-formed???

hi all

i've been bashing my head against this for some time now, but it just makes
no sense

what is wrong with the XML fragment (line 4)?

1.. <item>
2.. <title><![CDATA[Gunsmoke]]></title>
3.. <link>http://whatson.wellington.net.nz/event.php?event=3439</link>
4.. <description><![CDATA[At Circa. By Jeffrey Thomas Directed by Ray
Henwood A dark comedy exploring friendship and dependency, about a writer
with a penchant for pot, and a dealer with a way with
words. ]]></description>
5..
<comments>http://whatson.wellington.net.nz/event.php?event=3439</comments>
6.. <dc:date>2003-07-09</dc:date>
7.. </item>
the validator that i'm using to validate my RSS stream
(http://feeds.archive.org/validator/c...tson.wellingto
n.net.nz%2Fdailyfeed.php) freaks out on line 4, half-way along the text,
between the CDATA bits.

arg??!

Rimu
Jul 20 '05 #1
1 1709
Rimu Atkinson wrote:
hi all

i've been bashing my head against this for some time now, but it just makes
no sense

what is wrong with the XML fragment (line 4)?

1.. <item>
2.. <title><![CDATA[Gunsmoke]]></title>
3.. <link>http://whatson.wellington.net.nz/event.php?event=3439</link>
4.. <description><![CDATA[At Circa. By Jeffrey Thomas Directed by Ray
Henwood A dark comedy exploring friendship and dependency, about a writer
with a penchant for pot, and a dealer with a way with
words. ]]></description>
5..
<comments>http://whatson.wellington.net.nz/event.php?event=3439</comments>
6.. <dc:date>2003-07-09</dc:date>
7.. </item>
the validator that i'm using


Unless there is some invisible character buried in your text,
it might be a bug in your validator.

But why all those CDATA Marked Sections, when there's nothing
in them needing it?

///Peter
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: SAN CAZIANO | last post by:
can you help me please because I can't understand why the code doesn't seems to function very well: in onkeypress it must verify if insert number or string value in the fiels, but it doesn't...
14
by: delerious | last post by:
Is there a list of well designed web sites anywhere? Or could you please list some that you think are well designed? Thanks!
6
by: Praveen | last post by:
I am pretty much curious about the authenticity of the following article that I recieved from a friend of mine. It is an interview of Bjarne Stroustrup in 1998. I would appreciate some...
24
by: George Hester | last post by:
For awhile I have been trying to take a commercial java cube (each face is a link) and make it better. When I say better I'm referring to making the cube provide CLEARLY the destination of each...
8
by: wen | last post by:
due to the work reason, i have to learn python since last month. i have spent 1 week on learning python tutorial and felt good. but i still don't understand most part of sourcecode of...
13
by: Ben | last post by:
Could anyone suggest an open source project that has particularly well written Python? I am especially looking for code that people would describe as "very Python-ic". (Not trying to start any...
1
by: ad | last post by:
I want to determinate if a xml is well-format and valid before export it to database. We can determinate if xml is valid from the article:...
83
by: deppy_3 | last post by:
Hi.I am started learning Programm language C before some time.I am trying to make a programm about a very simple "sell shop".This programm hasn't got any compile problem but when i run it i face...
3
by: eliasen | last post by:
Hi I would like to run through an XML file using C# 2.0 and check for well formedness - and I would like to get all errors and not jsut the first one. My code is, off course, very simple:...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.