Forms and function

Forms handling is among the most important functions in a browser, the HTML 2.0 forms are seriously outdated and news.com.com considers the forms alternatives. As I see it there isn’t a conflict Web Forms 2.0 vs XForms. Web Forms is designed partially XForms compatible. There are substantial differences that run deeper than on the syntactic level (such as the names of the elements) and there is no tool today that can automatially turn arbitrary XForms forms into Web Forms. Some, probably most, forms will be very similar in the two languages both in structure and functionality and could be converted easily.

Media, style, and access

The css Zen Garden has done more than any other site to evangelize that having a simple, expressive markup will allow you to create a great variety of displays. Even so I am struck with how similar most of the designs are, just throwing in different pictures. It is the same with Opera skins. Many are pretty, more are ugly, some are plain weird. But only a few are original. Neither are conformity breaking or pragmatic.

Simple markup and baroque styles is also more mallable, something that matters most in the field where I spend most of my time, between device independence (device is most of the time Opera-speak for phone), accessibility, and multimodality (which in Opera most of the time means Voice). They all have similar, but not identical, requirements, there are even a few features that would be a boon for one group of users but detrimental for others.

(more…)

Printing with CSS

I’ve spent more time with other media than print lately, but this article on XML.com, Printing XML: Why CSS Is Better than XSL, is well worth the read.

I have no opinion of XSL-FO as a print formatter, relative to for instance Postscript. What I have noted is that the printer vendors have been working hard on using XHTML and CSS as printer drivers.

Now, if we were to get over the “printer-friendly version” habit…

More revolution or evolution

It was too tempting to stay away from and nobody has been able to. An election where the liberal pro-Europe candidate was predicted the winner by the exit poll, but the incumbent is declared the winner in a process where the election itself got the most of the attention, leaving the country split by geography. On deeper inspection the candidates aren’t as different as presented by their propagandists, but the differences that remain are still real.

Ukraine is the biggest country in Europe by area (if you disqualify Russia as Eurasian) and among the largest by population. Even though it has been peripheral in the grand power schemes of the continent (as its name indicates), it is simply too large to ignore.

The fall of the Soviet Union did not mean a fall in corruption. Ukraine has been more thoroughly pillaged than Russia, and is now seen as the 19th most corrupt country in the world according to one index. Elections are never completely fair anywhere, among other things they usually favour the incumbent, and if they can be manipulated they will. But in this case the system isn’t just bent, it is crooked, and the Ukrainians deserve better.

I think these last months have been good for Ukraine, on the principle of “one more push”. Ukraine and even Russia have conditional democracy, democracy with flaws. There may not be a velvet or rose revolution, but discounting a Yugoslavia breakdown and doubting a Belorus path, any change will be for the better.

HTML withdrawal

Yesterday I finally left the HTML working group. While it was a recent discussion that made me ask myself what was the point in staying, I have grown more disenchanted over the years.

Unlike some I don’t agree that XHTML 2.0 is an unmitigated disaster. There is much good stuff in the spec. It is also the first structural work on HTML since HTML 4.01, five years ago. In the meantime the focus has been to make HTML XML-compatible and to split HTML into modules. Whether HTML is formulated in XML or in some kind of SGML matters, but it isn’t important relative to how the language itself should evolve. HTML 4 is overdue for an update.

XML (and thus XHTML) has two obvious advantages. It separates between syntax errors (well-formedness) and expectation errors (validity), and the character set of the document is not in doubt. The XHTML modularization itself isn’t that useful for practical purposes where the conformance rules and the implicit fallback principle (ignore what you don’t understand) is what you need. A side effect of the work on XHTML 2.0 is that XHTML Modularization will be updated to actually describe the modules in the document itself, and not by reference to HTML 4.01 as has been the case up until now.

The revolutionary aspect of XHTML 2.0 was overdone. I don’t think the W3C, or browser vendors, or web editor vendors, or any other organization or group has control over the web or its formats. I don’t overly worry about Microsoft either. They tried to replace the web before and failed spectacularly. They might try again, but if they do they will fail again. The web is the world’s largest installed base. It will change, but not on command. A decade ago change by decree might have been feasible, but this is the difference between shepherding a flock of hundreds of sheep and one of several billions. That flock goes where it wants to go, not where we want it to go.

Gadget disk

Saw that Virgin had made an iPod competitor, and the low weight was welcome. But the reason I have never considered an iPod applies to this thing too. I don’t care about PC synchronisation, I care about phone synchronization. A 5GB external harddisk/MP3 player is an attractive addition to a phone, especially when it weights less than 100g. The radio would have been a welcome addition if it hadn’t been largely redundant with a phone.

There are other ways to get a GB external harddisk to a phone, not that it would make any sense even if I could.

Civilisation: What made us do it?

My travelling companion and favourite publication, New Scientist has a special issue on civilisation (vanity is posed as a prime suspect for the title question). Insightful as always, it still left open the question if there really is any new science to pre-history.

I got a more present puzzle: Why do US IT companies leave civilisation behind? I have arrived at a W3C multimodal working group meeting IBM is hosting in New York, but of course not in the city. Like any other event hosted in the US this is located deep into the suburban wasteland.

European events are in the city centre. Opera for instance is well placed in the middle of Oslo. Admittedly the company started in Kjeller (“Cellar”, if you ever get there you would agree the name fits), an out of place that can boast of being the birthplace of object-oriented programming, the first Internet node in the world outside of the USA, inventor of key mobile phone technology, and incubator of Opera. Opera still had the sense to move into my neighbourhood as soon as they got any ambition.

In USA the move would be in the opposite direction. It is not as if New York is a city to avoid, it is rightly recognized as one of the great cities in the world. The communications could be better, but the system is still fairly convenient and efficient.

Instead I am at a highway in the middle of the woods. Mercifully W3C meetings consume most of your waking moments, because the nightlife here is a vending machine.