Can't you use an editor with grep, searching for something like the pattern <meta.*^/> (with appropriate escapes of course).

dr. Hans van der Meer

On 16 May 2022, at 17:08, Pablo Rodriguez via ntg-context <> wrote:

Dear list,

I would like to feed as
XML input for ConTeXt.

The problem is that (as many other XML files that I haven’t generated
myself) some <meta> and <link> tags aren’t closed, such as in:

 <meta charset="utf-8">
 <link href="https://fonts/css?greek" rel="stylesheet">
 <link href="style.css" rel="stylesheet">

So, all that I get is the following message:

 invalid xml file - parsed text

Unsuccessfully I have tried the following:


Is there no way to make ConTeXt more tolerant, so that it is able to
ignore those tags?

Many thanks for your help,

If your question is of interest to others as well, please add an entry to the Wiki!

maillist : /
webpage  : /
archive  :
wiki     :