- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
</>*
*Comment_Not_Found
Admin
Oh yes, XML's tag name limitations are well known. Damn Tim Bray and his invention. :-)
Admin
Now now, maybe the intention was to say that he (in the tag) had nothing worth saying - a null tag
Admin
I hope you're bullshiting me right? It must be, it isn't, isn't it? Please tell me it isn't, please? Otherwise all of my XML of the last X years has been invalid... Nah, you must be bullshitting me, aren't you? Seriously, please tell me this is bullshit.
Admin
I think constructions like that may be legal in some applications of SGML. But not in XML.
I've always been amused that <_/> is a legal XML document, though.
Admin
Of course he's not bullshitting you
Admin
Imagine if namespaces were used to bridge the "limitation"
dicti:onary defin:ition </defin:ition> </dicti:onary>
Admin
YHBT, fairly comprehensively!
Admin
WTF? I've seen plenty of XML that use more than 5 characters in tags. Are you telling me this isn't really valid XML, despite conforming to the W3C standards for XML?
Admin
The five letters thing was sarcasm...
Admin
good grief.
In future perhaps we should have <sarcasm></sarcasm> tags?
Admin
Admin
<sarcasm>NOW you tell me, it has taken me hours to go through all our XML documents and redo the tags - not to mention building up a cross reference XML document indicating what the tags were and are now.</sarcasm>
Admin
And even without the <sarcasm /> tags, it's probably worth noting that the XML specs are available for free on the iterweb. The interweb is a neat little tool that really helps software developers out. If you haven't checked it out yet, give it a try.
Admin
Actually, all English communication is supposed to be words of five characters or less. About the only legal words on the Internet are those CAPTCHA thingies.
Admin
Excuse me, but how exactly can a series of tubes help in software development?
Admin
XML is overused and underused at the same time. I see it used for things that would have been handled better by traditional formats or custom formats. But then I also see ugly custom "I can't believe it's not XML!" formats used where XML would have done the trick nicely. I suspect the decision to use XML is primarily driven by marketing and management, rarely by developers who might actually have a clue about what's appropriate.
Also, I once saw XML used to contain HTML. A literal ampersand had to be written out thusly: & . In context it looked like this: <mydata>Hello <b>Alex & Jake!</b></mydata> . Wow.
Admin
"The schemas are just considered documentation and are not binding. The actual binding specification of the communication format are these Excel sheets."
Admin
All of the XHTML is bad then! was illegal for so long!
Admin
Admin
I like how the dump was "XML-like". No doubt the programmer thought improving on XML was way better than conforming to the standard.
Admin
Admin
Brillant! :D
Admin
Admin
Quite so. In full SGML, "</> means "End the current element", and "<>" means "Repeat the most recent start-tag". So "
foo</><>bar</>" was short for "
foo
bar
".It's also true that the default maximum length for tags is 8 characters (not 5), though implementations could and did extend that.
Admin
You must be new here. This is how Alex et. al. do humor.
Admin
Is it just me or is the real WTF some of these comments?
Admin
Admin
I think your sarcasm detector is broken.
Admin
Doesn't seem unreasonable to me. You have normative (the spreadsheets) and descriptive (the schemas). If there is a inconsistency between the two, you hold up the defined "correct" copy as the standard and use that to fix the schemas...
Admin
But oh well. :-)
Admin
Admin
Admin
Admin
What great wit. I didn't know Oscar Wilde had the Internet in the hereafter. (I am purposely leaving off any tags to indicate my tone.)
Admin
homocide:
accidental justifiable laudable
Admin
Admin
There was this MLS service which abruptly cut off the ability to downloads SQL dumps for a client and then said everyone had to use their badly-documented SOAP service and a demo/test site which would inexplicably fail every other invocation.
The XML specification for my query simply would not work when I put it into the soap body.
Then I found out that it wanted my XML in <![CDATA[ tags...
Admin
Using Excel sheets instead of a schema to specify an XML format is like being faced with the task of putting a nail into a wall and deliberately choosing an empty bottle instead of a (prefectly available) hammer as a tool.
Admin
And this is why I continue to read Daily WTF. Even when the owners of the site can't manage to post a real WTF for weeks on end, occasionally, a user comment strikes WTF gold!
Admin
Hmmmm.
<spoon></spoon>
Admin
Or they could just use a CDATA block...
Admin
Hi David,
the irony meter manufacturer just called. Your device is malfunctioning. Please take it to the nearest service station ASAP.
Admin
Not to mention that there aren't too many tools that can automatically check the validity of an XML document using an Excel spreadsheet "schema".
Admin
I'll wait until it's available on computers.
Admin
You must also be new here. TRWTF(tm) is always the comments. That's why you read them.
Admin
The guy hoped it was a joke, and begged for confirmation.His sarcasm detector was fine.
His hope that anything in IT, anywhere, ever, is even remotely sane, is right on the edge. It's okay David. You don't have to break down yet.
Admin
...and turn an ugly-but-working data format into one that breaks as soon as your user input contains the characters ]]>.
Admin
Because the available alternatives at the time were SGML, ASN.1, Gopher's hypertext format, or something from Microsoft.
If the timing had played out a little differently, web browsers would have shipped with BSD and web pages would probably end up written in m4 or something. <shiver>
Admin
Of course we all know it was supposed to be: <>There is no spoon</>