Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>> So in the end you come up with so many approaches to express similar structures.

Expressiveness and flexibility are good so that you can define configuration to meet the needs of the system or application you are building.

XML Schema, Relax NG, etc. can be used to specify how the XML configuration should be structured, limits on data types, required versus optional configuration items.

As I said before, XML gets a lot of flack for being verbose, ugly, and complicated, but it is mature, widely-supported, and might be worth considering depending on your needs.



Some parts are extremly ugly, and mostly pointless. namespaces, doctype, processing instructions.

This is well-formed xml and good way to confuse people:

     <?xml version="1.0"?><!DOCTYPE abc[<?abc >]]<abc><abc/>]>>?>]><?x?><a/><?x <(x)>>?>




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: