Norman Walsh is the XML Rock Star. Who said being an XML guy is not glamorous?
Author Archives: admin
elementNames and attributeNames
I keep getting annoyed by the (Java-inspired) naming of elements and attributes in some people’s XML, where the names contain capital letters to help keep the names clear. I’m sure you’ve seen how it works: elementName, attributeName, myNewAndExcitingElement, ohLookICanCreateReallyLongQNamesForNoApparentReason, ad nauseam.
Göteborg Film Festival
For 11 days every year, I take time off XML and the IT business to show films at the Göteborg Film Festival. I’ve been involved in the festival since 1987 and showing films at the Draken Cinema (for the festival; I’ve worked at the place for longer than that in other contexts) since 1990.
In just over two weeks, it’s time for my 21st consecutive festival at the Draken.
XML Prague 2010
I’m proud to inform you that my little something on Film Markup Language has been accepted at XML Prague. The conference will take place on March 13-14.
Not the SGML FAQ
Had reason to revisit Not the SGML FAQ.
It’s still the funniest piece I’ve read on SGML or XML.
Finally, a new Intel Xorg driver in Debian Sid!
As most Intel video card users on Linux will know, the Xorg drivers have regressed significantly during the last year or so. From a reasonably stable driver with (mostly) expected performance and functionality, we’ve become accustomed to, well, a mess. For every bug fix, something new seems to break and I for one have become increasingly reluctant to upgrade unless I have to.
This time I really had to.
The new driver does seem to take care of the disappearing mouse pointer bug where any resolution higher than 1024×768 would make the pointer vanish. I had hopes it would also be able to recognise the correct resolution for my laptop when it is docked to an external screen (which the stable driver does without a problem) but no such luck.
Performance is still slow, too. The extra bells and whistles on KDE 4.3 just aren’t possible if you want a desktop you can work with. I don’t think they are that heavy on the system, it’s just that the Intel driver sucks.
Still, for the first time in months, the new driver means an actual improvement.
Words in Boxes
This is the day for reading other people’s blogs. Dave Pawson’s XProc tutorial indirectly pointed me to James Sulak’s blog, Words in Boxes. A lot of it is about XML-related stuff but I also found gems such as his rant on grammar.
Recommended reading.
An XProc Tutorial
Dave Pawson has written an XProc Tutorial, with contributions from James Fuller, James Sulak and Norman Walsh. If you need to do step-by-step XML processing in your application and haven’t yet heard of XProc, follow that link, now.
Happy New Year!
Title says it all.
XLink FTW, Part 2
Reading through my yesterday’s blog entry on XLink, I feel there are things I need to clarify. In no particular order, here goes…
- I think that a schema of some kind (speaking in the general sense and thus including anything from DTDs to XSDs) is always necessary for XML to work well. I know, that sets me apart from quite a few of the young whippersnappers in XML today, but I never consider the well-formedness advantage an advantage when it was marketed as such. But then, I’m a dochead, to borrow Ken Holman’s terminology.
- Namespaces frequently make life difficult, especially for those of us who feel that DTDs are superior to XSDs. Those pesky namespace attributes often keep popping up when processing XML, resulting in bug reports from desperate technical writers. And they all know my mobile number, it seems. However, namespaces really are a must in these days, regardless of your refusal to import foreign namespaces to your XML, because most of XML’s really useful sister recommendations depend on them.
- I do consider data typing in XML to be largely unnecessary, if we stick to using XML for documentation and publishing. Only rarely have I felt the need to include data typing in a schema, and in most of those instances I have been proven wrong by more sensible colleagues (or come to my senses on my own, resulting in the quick removal of unnecessary data types in my XSD).
- It is a pain to implement XLink in an XSD, but largely because of reasons that have nothing to do with XLink as such and everything to do with problems with namespaces (such as the problem hinted at above). Plus, of course, the fact that different XML editors still seem to implement different parts of the XML Schema recommendation in differing ways (or not at all).
- DTDs, on the other hand, work like a charm with XLink attributes added, provided that your tools follow the XML spec. I have experienced problems with MSXML and its derivatives, which proves my point.
Thank you for reading.