Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Our crm does some really crazy impressive stuff with xml. It works for us pretty well.
Although xpath is a chore, so I see your point. -
As a previous Java developer I support of this message. 😂
XML was made for machine yet humains have to read it ugh. -
Do you configure Spring with XML or in your Java code...? Both? Good thing I have no longer to deal with this.
-
The "if else" in xslt is the most horrible thing ever: ITS NOT "IF ELSE" BUT "CHOSE WHEN OTHERWISE" FUCK STANDARDS.
-
@kpenc
JSON
Pro:
Simple syntax, which results in less "markup" overhead compared to XML.
Easy to use with JavaScript as the markup is a subset of JS object literal notation and has the same basic data types as JavaScript.
JSON Schema for description and datatype and structure validation
JsonPath for extracting information in deeply nested structures
Con:
Simple syntax, only a handful of different data types are supported.
XML
Pro:
Generalized markup; it is possible to create "dialects" for any kind of purpose
XML Schema for datatype, structure validation. Makes it also possible to create new datatypes
XSLT for transformation into different output formats
XPath/XQuery for extracting information in deeply nested structures
built in support for namespaces
Con:
Relatively wordy compared to JSON (results in more data for the same amount of information).
Related Rants
Fuck XML. Fuck it right up it's X with it's M, all the way to L.
undefined
xml
swearing
honest opinion