<block>
<s>Hello there!</s>
<add> <i>100</i> <i>2</i> </add>
<i>42</i>
</block>
<cond>
<and>
<notnull><ref>accounts[Exchange].firstname</ref></notnull>
<notnull><ref>accounts[Exchange].lastname</ref></notnull>
</and>
<concat>
<substr>
<ref>accounts[Exchange].firstname</ref>
<i>0</i>
<i>1</i>
</substr>
<ref>accounts[Exchange].lastname</ref>
</concat>
</cond>
Ha ha ha, wouldn't it be funny if somebody decided to write a programing language in XML?
When XSLT Is Too Compact (Score:1)
Haven't We Learned Our Lesson? (Score:2)
XML is a fantastic tool, but trying to beat all problems into submission with it is simply ridiculous. What on earth is Sun trying to solve with XPRESS (with they describe as a "scripting language") that requires the verbosity of XML?
Torturing users to benefit the implementers. (Score:2)
The (false) laziest language designers and implementers in the world? "Grammar? Parser? Eh, just use XML." To paraphrase Matt Robinson [livejournal.com], whenever a programmer thinks 'I'll just use XML' their computer's speakers should create some sort of cock-shaped soundwave and plunge it repeatedly through their skulls.
Patrick quoted Larry Wall in his Perl 6 talk to the effect that language designers torment language implementers to the benefit of the users. This would appear to be the opposite.
Tell Me About It...? (Score:2)
This week I'm on a SAP training course learning their XI/PI middleware application. It's built on a mixture of their legacy ABAP (COBOL like) technology and all new Java code. Internally the whole middleware engine uses a proprietary form of SOAP to send messages along their system. It's little more than XSLT with bells on but it's horribly slow and bloated.
In the class, a colleague mistyped a parameter instead of raising a sensible error message, Java dumped and he got a Java stack dump thing. I don't like
-- "It's not magic, it's work..."
Let's try it with bacon... (Score:1)
block{
s{Hello there!}
add{ i{100} i{2} }
i{42}
}
cond{
and{
notnull{ref{accounts\[Exchange\].firstname}}
notnull{ref{accounts\[Exchange\].lastname}}
}
concat{
substr{ ref{accounts\[Exchange\].firstname} i{0} i{1}}
ref{accounts\[Exchange\].lastname}
}
}
Yeah, still ridiculous, but co