Page 1 of 1
xml-parsing-error (xml-verarbeitungsfehler) in links!?
Posted: Tue Sep 27, 2005 7:57 pm
by netzkobold
hey there,
very often i have links, that the xml parsing engine doesn't like:
http://www.netzkobold.com/index.php?/feeds/atom.xml
so i get the error message:
"XML-Verarbeitungsfehler: nicht wohlgeformt"
but these are the external links i have to use, cause they are just like that.
shall i just ignore it or is there any other way to solve this parsing error?
thanks in advance for your answers
Re: xml-parsing-error (xml-verarbeitungsfehler) in links!?
Posted: Tue Sep 27, 2005 9:50 pm
by garvinhicking
You must either properly use XHTML encoding for your links, so that you write
Code: Select all
http://host/mylink.php?link1=1&link2=2
instead of just
Code: Select all
http://host/mylink.php?link1=1&link2=2
(Note that the "&" character is not a well-formed entity).
Or you must use the XHTML Cleanup plugin, which will fix those kinds of links for you automatically. But that automagic does only work on 90% of all XHTML errors...
The problem of XML validity is, that Serendipity can only show valid XML if you enter valid XHTML in your entries.
Regards,
Garvin
Posted: Tue Sep 27, 2005 10:14 pm
by netzkobold
dear garvin,
thank you very much for your quick answer.
but where can i do this extra "coding"?
while writing a blog post i only use existing external links like this "
http://www.analyzeblood.be/index.php?ty ... TMJPMFYVBY" and there are no changes to be done.
could the activated "top exits" plugin cause any problems?
hm, but the code there is like you said with "&" in between <a href="
http://www.netzkobold.com/exit.php?url_ ... ntry_id=60" title="
http://www.analyzeblood.be/index.php?ty ... TMJPMFYVBY">
ah, the "title-tag" causes the problem here, but this is also done by serendipity, not me. can i change that anywhere?
cheers, netzkobold
ref:
http://www.netzkobold.com/index.php?/feeds/atom.xml
Posted: Tue Sep 27, 2005 10:42 pm
by garvinhicking
Netzobkold,
please read my posting again. Using "&" in your links is wrong. You need to use "&" instead.
When you edit the entry, how does your code look like? It may not look like this:
Code: Select all
<a href="http://www.analyzeblood.be/index.php?type=IF&ID=82023&pwd=TVTMJPMFYVBY">Analyzeblood</a>
Instead it needs to look like
Code: Select all
<a href="http://www.analyzeblood.be/index.php?type=IF&ID=82023&pwd=TVTMJPMFYVBY">Analyzeblood</a>
Regards,
Garvin
Posted: Tue Sep 27, 2005 10:57 pm
by netzkobold
ups, i see, sorry ... thank you very much for answering again!