DTDs in Atom feed may break some readers

Bug #176438 reported by Philip Kent
8
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Edwin Grubbs

Bug Description

The Atom feeds in Launchpad contain DTDs. It appears to include an XHTML DTD in the header making it appear to look similar to web page.

Some feed readers may not like feeds that contain DTDs and so choke on this. An example of one reader that suffers is Internet Explorer 7. This is important to fix as some users who may be getting interested with Launchpad and products that use it may be unable to subscribe to these feeds.

It seems the solution is to remove the DTD, and use other ways to process HTML formatted text in a message (such as content:encoded and CDATA).

Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote :

It may be possible to tell IE7 to allow DTDs via javascript:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/8a65b5b1-d62a-4b21-b599-4d7fa5b7a8d6.asp

It also would be possible to convert all named entities into their numerical form. For example,   would become  
http://www.w3.org/TR/html4/sgml/entities.html

Changed in launchpad:
assignee: nobody → edwin-grubbs
milestone: none → 1.2.1
status: New → In Progress
Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote :

Removed DTD and encoded the entities to make them valid xml.

Changed in launchpad:
status: In Progress → Fix Committed
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.