3 ms·
XML + DTD + XMLSchema had things we're still figuring out to do with YAML ja JSON You could easily generate an UI based on just the DTD and Schema that could b
by theshrike79 3y ago
XML + DTD + XMLSchema had things we're still figuring out to do with YAML ja JSON
You could easily generate an UI based on just the DTD and Schema that could be used to fill a perfectly valid XML file.
Validating incoming XML was a breeze, just give it to the validator class along with the DTD and Schema and boom, done.
- bayindirh 3y ago> Validating incoming XML was a breeze, just give it to the validator class along with the DTD and Schema and boom, done. See the boom? It's boomer tech. We can't have old, boomer tech in 2024. Jokes aside, I wish people spent the time to understand the technologies before disliking them and blindly implementing a different, inferior one.
- boredtofears 3y agoXML is more popular today than it's ever been. It's just called JSX now.
- incrudible 3y agoBesides being aesthetically similar to SGML, because it maps to HTML, JSX has nothing to do with XML. It is Javascript.
- bayindirh 3y agoIt just looks like JavaScript version of JSP to be honest.
- boredtofears 3y agoIt's literally shorthand for "Javascript XML" and its templating syntax is the same as XML. It has a lot to do with XML.
- incrudible 3y agoJSX stands for JSX. Your definition is something that people just imagine to be true. The React docs do not mention the word XML at all. The “templating” syntax is not XML. It has no defined semantics and does not generally support crucial XML features like namespaces.
- boredtofears 3y agoyou obviously didn't spend two seconds researching this https://en.wikipedia.org/wiki/JSX_(JavaScript) https://en.wikipedia.org/wiki/JSX_(JavaScript) https://facebook.github.io/jsx/ https://facebook.github.io/jsx/
- dragonwriter 3y agoAll of that is doable with JSON Schema, though, noy so sonething that we’re still figuring out how to so.
- theshrike79 3y ago> It is specified in an Internet Draft at the IETF, currently in 2020-12 draft, which was released on January 28, 2021 It took them a few decades to catch up to XML. Support for Schema is still a bit dodgy in most big libraries.