> Okay, XML is painful to read and not Turing complete, which is a bit
> annoying.

Some usage of XML just seems to model an AST and as such, are indeed
Turing complete. The Ujac reporting/templating library comes to mind:
http://ujac.sourceforge.net/UJAC/docs/api/org/ujac/util/template/package-summary.html

> But the tools are really top notch and completely pervasive, even if you're
> not using an IDE. I'm not even talking about catching trivial problems like
> forgetting to close a bracket but immediately catching bad enum values
> thanks to a DTD or an XSD.

Hmm from experience with JSF/XML, it's all too easy to adhere to
syntax (XSD schema) yet put gibberish together - which you will only
learn at runtime as the XML is expanded to instances of native strong
types.

> I was editing a plugin.xml file earlier today, and as soon as I made a
> mistake or a typo, my editor and outline views light up with squiggly red
> lines.

Have you done Spring XML configuration? That has gone so far that it's
practically impossible to get right unless you are lucky enough to
have the assistance of a tool, hell they even maintain a fork of
Eclipse called SpringSource, for the purpose.

I think it was James Gosling who once said "Every configuration file
ends up becoming a programming language" and I think we can all agree
that XML, Turing complete or not, is a crappy programming language.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to