Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

XML is a markup language

Name: Anonymous 2012-08-26 20:11

Why are people using XML as a slow, bloated ENTERPRISE database? XML is a markup language for documents or for objects designed to be embedded in documents. DocBook, XHTML, ODF, MathML and SVG are good uses of XML. Except for SVG, these are all marked up text. The text between the tags is usually more important than the tags. Consider a text board thread without tags. It's still readable. An HTML document without tags is plain text without any formatting, scripts, images or other elements. Hierarchical databases are not marked up text documents.

PROTIP: If you strip all the tags and don't get a plain text version of the document, don't use XML.

Name: Anonymous 2012-08-27 12:17

>>16
XML is misleadingly simple. Just because the tags are nested properly doesn't mean that it's valid or does what you would expect. XHTML, for example, has certain rules about child elements. XHTML is almost always parsed as HTML so the developers don't notice the problems.
What do you think this does?
<p>a<p>b</p>c</p>d
It's actually this:
<p>a</p><p>b</p>c<p></p>d
Not what you expected, is it?
Another one:
a<table>b<tr>c<td>d</td>e</tr>f</table>g
It's actually this!
abcef<table><tbody><tr><td>d</td></tr></tbody></table>g
If you add in more tables and forms you can get something where the innerHTML has different semantics than the original code.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List