Why won't my XML file validate at a precise link?
June 5, 2004 11:13 AM   Subscribe

What's wrong with this XML file? Why won't it validate at that precise link? Thanks!
posted by Masi to Computers & Internet (7 answers total)
 
You have links in the form of index.php?c=1&a=14495
You need to encode the ampersands, replacing & with &, - as in:
index.php?c=1&a=14495
posted by kickingtheground at 11:25 AM on June 5, 2004


That is, replace & with &. (Let's see if this survives preview...)

You've also got HTML entities in there which won't validate -- â for example. Lazy way to fix that would be to just encode the ampersand as above.
posted by ook at 11:34 AM on June 5, 2004


Nope. One more try: & to &
posted by ook at 11:35 AM on June 5, 2004


Response by poster: It didn't work with amp;, but it did with 38;. I shall try to encode all the others too.

Thank you for your patience and kindness. This n00b appreciates it.
posted by Masi at 11:37 AM on June 5, 2004


For the "&" stuff, there's also the URL Cleaner that can automate the task for you.
posted by kchristidis at 1:39 PM on June 5, 2004


Response by poster: Thanks!

Anything like that which can cover *all* HTML weird characters (such as my needed Romanian words-with-diacritics)?
posted by Masi at 2:35 PM on June 5, 2004


Masi, try this Character Entity Chart.
posted by riffola at 10:50 PM on June 5, 2004


« Older Win XP   |   Michael Dummett's book Truth and the Past? Newer »
This thread is closed to new comments.