# Don't Invent XML Languages

Tim Bray argues developers should reuse existing XML vocabularies rather than invent their own, despite extensibility being XML's headline selling point.

Record as of 10 January 2006. Labels written by Codex, for review. JSON: <https://texxr.com/v3/article/1176365.json>

## Don't Invent XML Languages

*as of 10 January 2006; judged by one reader, needs review*

**In one line:** The publisher’s headline and the coverage around it.

tbray.org · [10 January 2006](/2006/01/10) · [Read original](http://www.tbray.org/ongoing/When/200x/2006/01/08/No-New-XML-Languages)

The X in XML stands for "Extensible"; one big selling point is that you can invent your own XML languages to help you solve your own problems.  But I've become convinced, over the last couple of years, that you shouldn't.  Unless you really have to.  This piece explains why.

**Context**

Bray's argument lands at the end of a year in which the feed ecosystem was actively litigating format choices: Microsoft's RSS team had pressed the case that feeds must be [well-formed XML](/1175826) if they were going to be consumed by anything beyond a browser, while EirePreneur traced how OPML kept spreading as the de facto interchange format for outlines precisely because nobody had to agree to adopt it. A parallel rant from Smalltalk Tidbits had already made the blunter point that someone simply has to say these things out loud.

Against that backdrop, the essay is a norm-setting move from one of XML's co-editors: the 'X' sold extensibility, but Bray now argues the default should be reusing an existing vocabulary — Atom or RSS for syndication-shaped problems — and inventing a language only when nothing fits.

*First-order effects*

- Developers weighing a custom XML dialect for a new project get an explicit argument — from inside the XML establishment itself — that reuse of established vocabularies is the correct default, which shifts the burden of proof onto anyone proposing a new schema.

*Second-order effects*

- Format authors who might otherwise have shipped bespoke dialects face pressure to extend existing ones instead, concentrating mindshare and tooling investment on a smaller set of shared vocabularies like the feed formats already contested through 2005.

*Third-order effects*

- If the pattern holds, XML ecosystems consolidate around a few core languages with disciplined extension mechanisms rather than a long tail of one-off dialects — making interoperability, not expressiveness, the measure of a good format decision.

**The trend:** Data-format design is moving from per-project vocabulary invention toward reuse and extension of a small set of shared standards, with respected spec authors increasingly policing the temptation to roll your own.

Related: [Why OPML is winning](/1175890) · [Feeds and well-formed XML](/1175826) · [Some one has to say it](/1175501)

**Relationships**

- essay author controversy [XML](/entity/xml) · confirmed · Essay argues that developers should not invent their own extensible XML languages unless truly necessary, despite extensibility being a key selling point.

**Similar stories**

- [WHAT'S WRONG WITH OPML](https://texxr.com/1244543/opml-faces-criticism) · The Fishbowl, 3 October 2005 · [publisher](<http://fishbowl.pastiche.org/2005/10/02/whats_wrong_with_opml>) · 52%
- [Some one has to say it](https://texxr.com/1175501/scoble-calls-for-opml) · Smalltalk Tidbits, Industry Rants, 30 September 2005 · [publisher](<http://www.cincomsmalltalk.com/blog/blogView?showComments=true&entry=3305486922>) · 51%
- [Reinventing HTML](https://texxr.com/1245206/researchers-propose-reinventing-html-standards) · Decentralized Information Group …, 27 October 2006 · [publisher](<http://dig.csail.mit.edu/breadcrumbs/node/166>) · 50%
- [Why OPML is winning](https://texxr.com/1175890/opml-wins-rss-format-debate) · EirePreneur, 26 November 2005 · [publisher](<http://eirepreneur.blogs.com/eirepreneur/2005/11/why_opml_is_win.html>) · 50%
- [Doing It Wrong](https://texxr.com/1186743/enterprise-systems-miss-the-mark) · ongoing, 5 January 2010 · [publisher](<http://www.tbray.org/ongoing/When/201x/2010/01/02/Doing-It-Wrong>) · 49%
- [Feeds and well-formed XML](https://texxr.com/1175826/windows-improves-feeds-well-formed-xml) · Microsoft Team RSS Blog, 4 November 2005 · [publisher](<http://blogs.msdn.com/rssteam/archive/2005/11/03/489065.aspx>) · 47%
- [Clone the Google APIs: Kill That Noise](https://texxr.com/1175811/developers-clone-google-apis) · 25hoursaday.com, 3 November 2005 · [publisher](<http://www.25hoursaday.com/weblog/PermaLink.aspx?guid=3faf48bb-cf43-4fad-9145-cd749bd0288e>) · 47%
- [Why formats like RSS 2.0 work](https://texxr.com/1248019/rss-2-0-format-proves-effective) · Scripting News, 22 February 2006 · [publisher](<http://www.scripting.com/2006/02/22.html#whyFormatsLikeRss20Work>) · 47%
- [An Attention Namespace for OPML](https://texxr.com/1247739/opml-proposes-attention-namespace-for-sharing) · Nick Bradbury, 18 November 2005 · [publisher](<http://nick.typepad.com/blog/2005/11/an_attention_na.html>) · 47%
- [The Long-Term Failure of Web APIs](https://texxr.com/1193176/web-apis-face-long-term-failure) · Nick Bradbury, 4 November 2011 · [publisher](<http://nick.typepad.com/blog/2011/11/the-long-term-failure-of-web-apis.html>) · 47%
- [The Next Big Language](https://texxr.com/1241014/new-programming-language-emerges-as-contender) · Stevey's Blog Rants, 11 February 2007 · [publisher](<https://steve-yegge.blogspot.com/2007/02/next-big-language.html>) · 47%
- [Why Getting the User To Create Web Content Isn't Always Progress](https://texxr.com/1248664/user-generated-content-limits-progress-explained) · Wall Street Journal, 7 June 2006 · [publisher](<http://online.wsj.com/public/article/SB114964368857673340.html>) · 46%
- [Wiring the Web](https://texxr.com/1248092/ray-ozzie-argues-for-open-interoperable-web) · Ray Ozzie, 7 March 2006 · [publisher](<https://spaces.msn.com/rayozzie/blog/cns!FB3017FBB9B2E142!285.entry>) · 46%
- [Please Don't Learn to Code](https://texxr.com/1254751/writer-urges-against-learning-to-code) · Coding Horror, 15 May 2012 · [publisher](<http://www.codinghorror.com/blog/2012/05/please-dont-learn-to-code.html>) · 46%
- [Boy, is James McGovern enterprise or what!](https://texxr.com/1248195/james-mcgovern-discussed-enterprise-trends) · Loud Thinking, 20 March 2006 · [publisher](<http://www.loudthinking.com/arc/000577.html>) · 46%
- [Language lessons](https://texxr.com/1178607/language-shapes-online-communities) · Jon Udell, 9 June 2007 · [publisher](<http://blog.jonudell.net/2007/06/08/language-lessons/>) · 45%
- [Language Wars](https://texxr.com/1245118/language-wars-discuss-programming-paradigms) · Joel on Software, 1 September 2006 · [publisher](<http://www.joelonsoftware.com/items/2006/09/01.html>) · 45%
- [Creating a maintainable and thriving web](https://texxr.com/1181428/web-services-embrace-decentralized-architecture) · Scripting News, 19 November 2007 · [publisher](<http://www.scripting.com/stories/2007/11/19/creatingAMaintainableAndTh.html>) · 45%
- [HTML Validation: Does It Matter?](https://texxr.com/1184819/html-validation-faces-relevance-test) · Coding Horror, 7 March 2009 · [publisher](<http://www.codinghorror.com/blog/archives/001234.html>) · 45%
- [Outlining by the fittest](https://texxr.com/1175919/opml-outlining-challenges-xoxo) · 0xDECAFBAD, 27 November 2005 · [publisher](<http://decafbad.com/blog/2005/11/26/outlining-by-the-fittest>) · 44%

- **Judged:** Scribe wrote the corpus context.

## Sources

### The TEXXR article archive

*Section `articles`, as of 10 January 2006; judged by one reader, needs review*

The archive supplies the article and its links. Similar stories use the saved text vectors.

**Method**

- The archive holds the headline, publisher excerpt, coverage and discussion.
- Relationships use the article ID. Similar stories use the archive’s stored text vectors.

**Limits**

- Some articles have no Scribe context, recorded tags or relationships.
