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

Re: [syndication] Rogue "&"



2001-10-12 08:58:20, Julian Bond <julian_bond@voidstar.com>:

> Well a lot of RSS readers have been built out of simple string
> manipulation with no awareness of XML at all.

That's really too bad. XML *is* very easy to parse (that's one of 
its main selling point!). (There are many XML parsers freely 
available that an RSS reader can use.)

Also, this means that the RSS readers won't understand correct use 
of entities (entities don't have to single characters, they can be 
strings, or even trees -- see <URL: 
http://home.no.net/huftis/kritikk/stress.xml > (last item) for an 
example).

> That's what I
> meant by non-validating readers. 

See the XML specification for the (normative) definition of 'non-
validating processors'.

-- 
Karl Ove Hufthammer