3 ms·
I do think XML gets the bad rap from its abusive usage in RPC/services. Using XML in those cases resulted in bloat. But, from a configuration language or markup
by mrbonner 3y ago
I do think XML gets the bad rap from its abusive usage in RPC/services. Using XML in those cases resulted in bloat. But, from a configuration language or markup language point of view, I can hardly find something that offer: schema for validation, IDE with auto-completion (I used to use Eclipse and it filled out the enum, attributes very well), comments, and raw string data (use the CDATA tag) gracefully like XML. Go on, prove me wrong.
- imoverclocked 3y agoFor something like rpc where data is automatically encoded/decoded then there are definitely better alternatives if you don’t need string representation of the entire blob. Eg: protobuf has a schema and code generation for most languages that can then work with whatever editor you use to write code. I think editing xml is just as bad as editing anything else and is only made better by having some kind of plugin which understands xml + a specific schema.
- Mikhail_Edoshin 3y agoAFAIK Vim can do simple XML auto-fill given a DTD. (Never tried it myself though.)