[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rogue "&"



On Thursday, October 11, 2001, at 09:57  AM,
dave.cantrell@gunter.af.mil wrote:

 2. Unknown entities (but valid in html) in feeds with no DTD.

 Simplest Solution: Have RSS allow all entities valid in HTML. No DTD
 required because the RSS parser should understand and accept
 these entities
 and the RSS elements by design.

 Spec or no spec, this should be standard behavior.

This is no solution since those who use validating parsers
(should be most folks) are not going to be able to go in and
start mucking with their XML parser. XML parsers should be a
black box to most RSS users.

Couldn't the XHTML entity modules be added to the root RSS DTD? I'm still getting oriented with XHTML modularization, but this seems like a good application.

<http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_xhtml_character_entities>

As noted, not much you can do about XML that isn't well-formed. The whole point of XML is to be strict about certain things.

Joe

--
--
* Joe Germuska    { joe@germuska.com }
"It's pitiful, sometimes, if they've got it bad. Their eyes get glazed, they go white, their hands tremble.... As I watch them I often feel that a dope peddler is a gentleman compared with the man who sells records."
	--Sam Goody, 1956