General Community > Site Comments, Issues and Concerns
RSS bug
SparkieGeek:
http://www.simplemachines.org/community/index.php?action=.xml&type=rss
Errors in Win/IE6 and Moz FB 0.7+
--- Quote ---XML Parsing Error: undefined entity
Location: http://www.simplemachines.org/community/index.php?action=.xml&type=rss
Line Number 72, Column 12: <author>­ ªcf</author>
--- End quote ---
The hint arrow points at the ­ ...
[Unknown]:
Well, the problem is xml doesn't use any predefined entities... (except the four main ones.) know of any DTDs I could use to get them?
-[Unknown]
SparkieGeek:
Well the way I see it, you'd have to write a DTD which cross-references ­ with something like ALT text...
[Unknown]:
­ is just another standard HTML entity. I don't see why I should have to write a DTD for standard entities... it's not something the feed is doing, is part of the name of the member. (if you look at the source.)
-[Unknown]
SparkieGeek:
--- Quote from: [Unknown] on February 05, 2004, 02:15:07 PM ---­ is just another standard HTML entity. I don't see why I should have to write a DTD for standard entities... it's not something the feed is doing, is part of the name of the member. (if you look at the source.)
-[Unknown]
--- End quote ---
Sorry got confused there. I didn't realise what was going on, cos I couldn't view the source properly.
OK so ­ is an entity in HTML, but isn't included in the XML standard. The way i see it you have two choices:
1. Switch the HTML entities that aren't in XML (here's a list of ones that are) to there ASCII/Unicode equivalents (look down the bottom of the page)
2. Find or write a DOCTYPE to do the same thing...
Should RSS2 have a DOCTYPE? I'm not up to scratch on these things
Navigation
[0] Message Index
[#] Next page
Go to full version