1.0 is just annoying enough...
I don't know. Maybe the popup is the update notifier?
8)
It's not directly easy to place scripts anywhere you want in a generic XML document. Mozilla supports three ways I'm aware of:
Obviously each of these has to be a descendant of the root element, or the root element itself... XML processing instructions are only slightly encumbered, in that they must come after the XML declaration (<?xml version="1.0" ?>, for example) if it's present. What if you want a script loaded before any other element? What if you don't want extra namespaces?
PHP isn't hampered this way at all. <?php ?> works just fine, and as intended by the W3C's XML 1.0 and 1.1 Recommendations.
From XML 1.1:
[Definition: Processing instructions (PIs) allow documents to contain instructions for applications.]
Isn't that, fundamentally, what JavaScripts are? Instructions for applications?
I'd propose two XML PI's for Mozilla:
Note that I'm not locked on those PI names. I also don't necessarily think inline scripts, per the first processing instruction, are something we want to support... but the second, which is equivalent to <html:script src="foo.js"/>, is probably a good idea.
Feedback? I suspect implementing this wouldn't be hard. But would it be healthy for Mozilla, in your opinion?
I've not filed an enhancement bug, yet. I want to use this blog as a sounding board.
I like glazou's latest idea. Considering he gave us HTML overlays, maybe we as the community owe him one.
I commented that it looked a lot like a DOM node filter. I wonder how hard it would be to write a JS to do what he's suggesting, generically. I also would have to figure out how to import the script (maybe as a Mozilla component), particularly with respect to XML (which prefers <?xml-stylesheet ?>).
Daniel, I'm thinking about ways to implement this for you.
$1,600.00 (USA).
With free, timeless-honored tools, I have a personal development box that burns chrome. Now I have to see what I'm going to do with it...
One of Abacus's goals is to define and implement a XML language of analytic geometry. So I'm working on JS code to implement a subset of the language.
I'm also using the JS code as an example I'd like to write an article on, contrasting XBL and XTF for implementing XML languages. One emphasis of this article is on including more than one element in the language implementation.
There's only one problem with picking a practical example. Namely, to make it work, you have to write a lot of code. Probably more than the article's readers would want to wade through... I'll cut a part of it for the article.
But, when I get it finished, I'll have a nice long demo of how you can create XPI's to install XML languages into Mozilla.
Now, where will I find a technical journal willing to buy the article... :)
Just create a new profile from your SVG build for your SVG build.
For months, Mozilla volunteers have put out SVG builds, and I never got them to work. Until now.
I'll e-mail someone later about adding this to the Mozilla SVG FAQ.
First, install the newest JSLib (thank you very, very much, Mr. Collins -- and sorry for lambasting your crew earlier). Then if you're in the mood for something that works but will have a good deal of behind-the-scenes revamping soon, try out Abacus again.
I'll probably do some work on it over the next few days, and if I'm lucky, Abacus 0.1.3 will come out mid-month.
Next on the hit list for Abacus? Just a nice XHTML editor.