With great parser comes great responsibility

On the OPML-DEV mailing list, Andrew Houghton confirms that undeclared entity declarations can prevent an XML file from being well-formed. Les Hill has sent me some code that solves this problem for an OPML browser written with Java that uses JDOM. I'll be posting more on it soon when I have time to try it out. He says that to read OPML, it "basically replaces the SAX parser with an almost identical parser that will recognize the XHTML entity set." Ouch. ... (read more)

Undeclared entities in OPML outlines

OPML Link Publisher uses XOM, an XML processing library for Java that requires well-formed XML. Because of this, I've run into a problem: Radio and Frontier can author OPML files that contain undeclared entity references, which breaks the well-formedness rule. Based on my rudimentary understanding of this situation, any XML data that does not have a document type declaration (such as OPML) must declare entity references for any entity other than &amp, &apos, &gt, &lt, and ... (read more)

Using OPML bookmarks in Mozilla and Netscape Navigator

I've released version 0.1 of OPML Link Publisher, a Java application that publishes an OPML link directory outline as a bookmarks.html file, which can be automatically loaded by Mozilla or Netscape Navigator and manually imported into Internet Explorer. I wrote the application because a Mozilla crash wiped out my bookmarks and I was tired of having bookmarks in several different browsers and other files. Radio UserLand's outliner can be used to create link directories (other outliners may ... (read more)

OPML: Gopher for a New Generation

UserLand's OPML-to-HTML capabilities are useful, but when Dave Winer describes them as a mindbomb, I can't help but smile. The bomb went off a decade ago and it was called Gopher! ... (read more)