Tiles in writing

111 tiles

@robin.berjon.com/xmlbp-xml-for-cyborgs

XML for Cyborgs

They are amongst us. I've seen them. Or rather their traces. Some XML languages have very obviously been designed for use by cyborgs. This article is part of a series based the paper on "Designing XML/Web Languages: A Review of Common Mistakes" which I presented at the XML Prague 2009 conference.

@robin.berjon.com/xmlbp-xml-error-handling

XML Error Handling

Contrary to common belief, apart from a set of specific cases, XML does not save you from having to pay attention to error processing at the syntax level. This article is part of a series based the paper on "Designing XML/Web Languages: A Review of Common Mistakes" which I presented at the XML Prag…

@robin.berjon.com/xmlbp-unreadable-names

Unreadable Names

After a number of articles on namespaces bad practices, follow a few that talk of the human in the loop. XML was intended to be human-readable. While that idea may make some people chortle, it is still a worthy goal to design with human readability — and writability — in mind. After all, if all one…

@robin.berjon.com/xmlbp-schemata-will-save-you

A Schema Will Save You

Schemata (also known as schemas for the less pedantic) seem for some people to belong to an almost mythical dimension. Not only do many appear to believe that you need a schema to "define a namespace" (whatever that means), but even those bereft of that error altogether too often expect a schema to…

@robin.berjon.com/xmlbp-reusing-the-useless

Reusing the Useless

At times it feels like the XML family of technologies is just that: one big family. Likewise web technologies. And you wouldn't want to forget anyone when your baby language is born. Or would you? This article is part of a series based the paper on "Designing XML/Web Languages: A Review of Common M…

@robin.berjon.com/xmlbp-overcomplexity

Overcomplexity

Excessive complexity is a scourge that hurts universally, from the paperwork involved in running the simplest of businesses in France to XML Schema's terminology but it is specifically dangerous in XML language design because it is too easily hidden. This article is part of a series based the paper…

@robin.berjon.com/xmlbp-non-http-namespaces

Non-HTTP Namespaces

Namespaces are defined to be URIs (IRI references for the pedants out there), and while many use HTTP URIs, some use anything else ranging from URNs to URIs with made-up schemes. In this article we look at why the latter's a bad idea. This article is part of a series based the paper on "Designing X…

@robin.berjon.com/xmlbp-no-versioning-strategy

No Versioning Strategy

In my experience, language design is nothing if not an enthusiastic moment. The sky is full of pie, and no problem seems nigh — in 1.0 that is. Given a choice between the mother of all hangovers and having to work on version 1.1 of a (naïve) language, I'll take that hangover thank-you-very-much and…

@robin.berjon.com/xmlbp-no-namespace

Not Using A Namespace

XML namespaces are one of the most hated aspects of the XML family. Not even XML Schema has received as much contempt, and it needed a lot more work and far longer specifications in order to get there. Maybe there will be a second version of the XML stack some day, and when that day comes we can ho…

@robin.berjon.com/xmlbp-no-lacunae-values

No Lacunae Values

A marked design problem, that leads to violations of the DRY (Don't Repeat Yourself) principle as well as to error handling issues, is the lack of lacunae (or default) values. This article is part of a series based the paper on "Designing XML/Web Languages: A Review of Common Mistakes" which I pres…

@robin.berjon.com/xmlbp-naming-without-context

Naming Without Context

One of the advantages that XML brings is that elements appear in the context of (at the very least) their parents. When one ignores this aspect, the result is useless extraneous information. This article is part of a series based the paper on "Designing XML/Web Languages: A Review of Common Mistake…

@robin.berjon.com/xmlbp-naive-versioning

Naïve Versioning

The penultimate chapter in this series works through a motley list of what I had originally dubbed "Wishful Thinking and Doe-Eyed Beliefs". The idea is that while the heart of a language designer is often in the right place; the problem has more to do with what their hands are doing. One of the mos…

@robin.berjon.com/xmlbp-intro

Introduction

At the XML Prague 2009 conference I presented a paper on "Designing XML/Web Languages: A Review of Common Mistakes". Since much of the subject matter presented there is still the topic of heated discussion amongst specialists I thought it a good idea to make a pass through that paper, updating it b…

@robin.berjon.com/xmlbp-inconsistency

Inconsistency

We continue our exploration of XML Bad Practices with issues pertaining to language design in general. Language design sits above the previous considerations yet is hard to set entirely apart from them. Some of the examples here mesh into other previous ones, and some apply outside of XML. This fir…

@robin.berjon.com/xmlbp-hard-to-memorise-names

Hard to Memorise Names

Even when people don't author by hand, they still often have to debug by hand. If a name is hard to memorise, not only will it be hard to write, but it will be hard to spot it misspelt. This article is part of a series based the paper on "Designing XML/Web Languages: A Review of Common Mistakes" wh…

@robin.berjon.com/xmlbp-excessive-microparsing

Excessive Microparsing

Microparsing has been the topic of much debate, often framed in Yes or No positions. I don't believe it possible to have such a clear-cut position on it, though there is little doubt that it can be used excessively. This article is part of a series based the paper on "Designing XML/Web Languages: A…

@robin.berjon.com/whats-next

Looking for my Next Project

As you well know, dear reader, I am a freelancer, and as freelancers well know "All Contracts Must Die. Thanks to the kind support of Adobe, Google, and Microsoft, I have had an interesting two-year run being part of the W3C Team and shepherding the HTML5 specification towards Recommendation. As Au…

@robin.berjon.com/webidl-parser

A WebIDL Parser for Javascript

WebIDL is a schema language for APIs that is being used (primarily) as part of W3C specifications in order to define various interfaces. If you've read any recent API specification, you've read WebIDL. It is abstract enough that using it one could generate interfaces for a great number of programmi…

@robin.berjon.com/web-2024

Web 2024

With all these Web@25, W3C@20, WHAT@10, and of course Robin@37 worldwide celebrations it seems like as good a time as any to take a few minutes for musings about where we’ll be ten years from now. The content here is not meant to be particularly serious (or anywhere near complete), but I operate un…

@robin.berjon.com/w3c-open-license

Go Fork and Multiply

The web standards community has been discussing using an open license for W3C standards for quite some time now. We've had a long time to look at this from quite a few angles. Having contemplated the arguments, I still feel that the fears that power the anti-forking sentiment, even though they stem…