Re: unknown-content-type usable with xulrunner?

[email protected] Wed, 9 Apr 2014 04:54:43 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Am Freitag, 8. März 2013 01:27:55 UTC+1 schrieb [email protected]:
> 
> I have stumbled upon this feature. And yes, it does work "out-of-the-box", it just takes a bit of digging. Since I agree that the "solution" to the branding issue described was a bit sketchy, I have documented the steps that worked for me at: ==> https://sites.google.com/a/digital-parts.com/xul-unknowncontent/home .
> 
> I haven't tested the steps, though, so if you find anything that needs correcting, let me know.
> 
> 
> 
> Ken



Hi, I run into this 

XML Parsing Error: undefined entity
Location: chrome://mozapps/content/downloads/unknownContentType.xul
Line Number 30, Column 18:

with a current xulrunner (version 28) based application following an approach similar to the myBrowser in https://github.com/matthewkastor/XULRunner-Examples.

My Xul window just contains a <browser> that loads a fixed url. This page then contains links that download an executable. And here I get the error (instead of the download dialog window) 

All the hints given seem to be for old versions of xulrunner that were packaged differently? I.e. there is no "content" folder in the xulrunner package and no en-us.jar or anything like that. 

I have 
/ (application.ini, chrome.manifest, stub.exe)
   /xulrunner    
   /defaults/preferences/prefs.js
   /chrome
        /content (my xul and js files)
        /icons   (app icon)
        /locale  
             /en-US (my app dtd)

If I extract stuff from the firefox omni.ja (DTDs containing the missing entities), where would I need to put them and how to reference them in the manifest? Or how else to include the necessary files?

thanks, Jens