On Sat, Dec 18, 2021 at 03:15:04PM -0800, Per Bothner wrote:
> 
> If you want command-line/batch testing of well-formedness then nxml-mode
> is probably not your best bet.

Ok.

> One possibility is to use xltproc with a null or identity stylesheet.

Ok, I think I managed to do that, this should be ok in a first step to
find out what needs to be changed.  Thanks.

> Well-formedness of normal XML documents (without external entities
> or other complications that nobody uses) is pretty trivial.  The main
> issue is making sure that special characters are escaped properly.  And
> of course all elements have to be properly nested and terminated.
> This requires no semantic knowledge.

Sure, but I would like to check both well-formedness and semantic
correctness for generated output files at some point.

-- 
Pat

Reply via email to