Netscape Dumps Critical File, Breaks RSS 0.9 Feeds 137
An anonymous reader writes "In the standard definition of RSS 0.91, there are a couple of lines referring to 'DOCTYPE' and referencing a 'dtd' spec hosted on Netscape's website. According to an article on DeviceForge.com quite a few RSS feeds around the web probably stopped working properly over the past few weeks because Netscape recently stopped hosting the critical rss-0.91.dtd file. Probably someone over at netscape.com simply thought he was cleaning up some insignificant cruft." Some explanation has been offered by a Netscape employee.
Did you think this through? (Score:0, Informative)
Of course they retrieve it - unless they already have a local or cached copy. How else would they be able to parse a document marked up using a custom DTD?
Don't answer - go hang your head in shame.
Re:Why would this break RSS readers? (Score:5, Informative)
The DTD contains more than just the element definitions and hierarchy. Its also used to define entities (&...;) that are non-standard to XML but may be expected in the file. HTML has tons of pre-defined entities but XML only has the core 4. All others are defined in DTDs and loaded on the fly as part of the processing.
There are ways to turn it off at the lowest levels, but higher-level abstractions/libraries might not give access to that. For example, with JAXP + SAX you can turn off DTD loading, but Jakarta Commons Digester doesn't give a setting where you can trigger that, so Digester tries to load the dtd, and even with validation off you can't change that. My only recourse is to take the DTD lines out of the various config files. (Reason: My JBoss server is deployed in private networks where the server can't reach the internet).
Did you read the XML specification? (Score:1, Informative)
Netscape Says No RSS 0.91 For You (Score:5, Informative)
It seems as though it just took them 5+ years to follow up on the threat? Primary links are broken, but of course the lively
Sorry about that (Score:5, Informative)
Now, why this file was living under my.netscape.com is anybody's guess, but we'll have it restored ASAP. I only wish that someone had brought it to our attention so that I didn't have to find out about it from Slashdot.
Christopher Finke
Netscape Developer
Re:Sorry about that (Score:5, Informative)
What's the official way to let you know about this sort of thing? I'm not trolling -- the better you can inform folk like us about how to interact with you, the more likely it is you'll get a response when you need it. For example, a quick scan of the Help and FAQ pages linked to off of the Netscape home page shows no mention of how to contact folk like you.
Re:Did you think this through? (Score:2, Informative)
Re:Sorry about that (Score:5, Informative)
For something as serious as this, a user could have checked the profile of one of the Netscape Anchors or developers, where many of them list their screennames or websites, and subsequently, their e-mail addresses. (At least, I know I do [netscape.com].) Alternatively, any Netscape.com member could use Netscape sitemail to contact any of the staff members. Obviously, these are unacceptable for normal circumstances, but I wouldn't call this situation a normal circumstance.
Re:You gotta be kidding me... (Score:5, Informative)
Re:Why would this break RSS readers? (Score:2, Informative)
Re:Then they're broken! (Score:2, Informative)
It's called a non-validating processor and it's totally compliant with the XML 1.0 specification [w3.org].
Re:Then they're broken! (Score:2, Informative)
Yes, that's totally feasible. You're mistaking the semantics of document types with the external DTD subset.
It's true that inventing new element types and putting them in your DTD isn't going to magically make software understand what those element types mean. But DTDs provide other information - for instance, what entity references expand to, which attributes are IDs, and so on. This is useful information and can be processed in a generic fashion.
Re:Sorry about that (Score:5, Informative)
And BTW, it appears that the DTD file will be restored early tomorrow morning at the latest.
Re:Sorry about that (Score:3, Informative)
Re:You gotta be kidding me... (Score:2, Informative)