ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ignore not closed tags in XML input
@ 2022-05-16 15:08 Pablo Rodriguez via ntg-context
  2022-05-16 15:22 ` mf via ntg-context
  2022-05-16 15:30 ` Hans van der Meer via ntg-context
  0 siblings, 2 replies; 15+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-05-16 15:08 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

Dear list,

I would like to feed
https://seumasjeltzz.github.io/LinguaeGraecaePerSeIllustrata/001.html 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:

  \xmlsetsetup{#1}{html/head/(meta|link)}{-}

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

Many thanks for your help,

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-05-21 18:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16 15:08 ignore not closed tags in XML input Pablo Rodriguez via ntg-context
2022-05-16 15:22 ` mf via ntg-context
2022-05-16 16:37   ` Pablo Rodriguez via ntg-context
2022-05-16 15:30 ` Hans van der Meer via ntg-context
2022-05-16 16:50   ` Pablo Rodriguez via ntg-context
2022-05-16 18:13     ` Taco Hoekwater via ntg-context
2022-05-17 16:36       ` Pablo Rodriguez via ntg-context
2022-05-18  1:23         ` Thangalin via ntg-context
2022-05-18 16:00           ` Pablo Rodriguez via ntg-context
2022-05-18 17:14             ` Thangalin via ntg-context
2022-05-21 17:01               ` Pablo Rodriguez via ntg-context
2022-05-18 22:09             ` Bruce Horrocks via ntg-context
2022-05-21 17:28               ` Pablo Rodriguez via ntg-context
2022-05-19 15:33             ` juh via ntg-context
2022-05-21 18:23               ` Pablo Rodriguez via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).