I'm starting to scrap the bottom of the barrel when it comes to #XML parser conformance tests. Almost everything that remains require me to:
1- Support external DTDs
2- Validate DTDs
So the questions to consider:
1- Instead of validating DTDs, should I look at something like #XSD or #RelaxNG instead?
2- Is it acceptable practice to bundle popular DTDs like #XHTML with the project so we can minimize the network calls? I don't think that'd be a bad idea, so long as licensing allows it.
Here's a blog post that just got published about the exciting new features my colleagues added to vscode-xml / lemminx: an improved formatter, and #RelaxNG schema support.
Der große Vorteil von XML: Es gibt für fast alle Probleme eine gereifte Technologie. Validieren (#RelaxNG, #XSD, #Schematron), Transformieren (#XSLT), Dokumente programmatische Zusammenstellen (#XProc), Formulare (#XForms). Und eine freundliche Community (#MarkupUK, #XMLPrague, #Balisage) mit erfahrenen Experten.
Kurz: Ich kann mich in meiner Arbeit auf die Schwierigen Dinge (Prozesse, Architektur, Semantik, Erwartungen) konzentrieren.
#relaxng #XSD #schematron #xslt #xproc #XForms #markupuk #xmlprague #Balisage
Überraschend einfach, eine #rdf Ontology mit shape constraints #shacl in eine #relaxng grammatik zu übersetzen.
https://github.com/dmj/vrsl/blob/master/src/main/xslt/ontology2rng.xsl