[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texi to epub

From: Patrice Dumas
Subject: Re: texi to epub
Date: Sun, 19 Dec 2021 00:32:05 +0100

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.


> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]