The apache configuration files is a strange mix between xml and not xml, strange stuff, I'm not quite sure if I like it or not, but it at least kind of works.
Conversation
Notices
-
Sotolf :arch: :vim: :terminal: (sotolf@fosstodon.org)'s status on Monday, 11-Apr-2022 09:38:15 UTC Sotolf :arch: :vim: :terminal: -
Santa Claes πΈπͺππ°π (clacke@libranet.de)'s status on Monday, 11-Apr-2022 09:38:15 UTC Santa Claes πΈπͺππ°π @sotolf It's confusing because it's older than XML, just like some Firefox files are or was.
In the 90s people experimented with various HTML-inspired formats which each may or may not have been described as some profile of SGML.
XML came out of observing those experiments and banning some bad ideas while adding new bad ideas. π
(I like XML when it's used right) -
Sotolf :arch: :vim: :terminal: (sotolf@fosstodon.org)'s status on Monday, 11-Apr-2022 10:36:20 UTC Sotolf :arch: :vim: :terminal: @clacke Yeah, xml can be great, just not XSLT which is an abomination and couldn't die fast enough :p
For real structured documents though, it's a decent if wordy format :)
-
Jens FinkhΓ€user π» (jens@social.finkhaeuser.de)'s status on Monday, 11-Apr-2022 10:36:20 UTC Jens FinkhΓ€user π» @sotolf @clacke It helps to know that the configuration parser knows sections and keywords starting a line. Everything in that line is handed to the matching module to parse. So it's up to the module author what the config format for the line is, etc.
Santa Claes πΈπͺππ°π likes this. -
Santa Claes πΈπͺππ°π (clacke@libranet.de)'s status on Monday, 11-Apr-2022 14:34:24 UTC Santa Claes πΈπͺππ°π @valhalla @sotolf There's that. =)
And then not supporting all the things like entities defined inside the document, external DTD loaded dynamically and all of those vectors.
Just a bunch of elements with namespaces that the receiving application already knows about or ignores. -
valhalla (valhalla@social.gl-como.it)'s status on Monday, 11-Apr-2022 14:34:27 UTC valhalla @clacke @sotolf XML used right is XML that is completely parsed by some library and you don't have to see it ever, right? :D
-