<div dir="ltr"><div dir="ltr">Hi Nasser,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 21, 2024 at 2:04 AM Nasser M. Abbasi <<a href="mailto:nma@12000.org">nma@12000.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I keep getting lots of messages<br>
<br>
[WARNING] domfilter: DOM parsing of indexsubsection475.htm failed:<br>
[WARNING] domfilter: ...ive/2024/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag (/span) [char=61990]<br>
<br>
[WARNING] domfilter: DOM parsing of indexsubsection477.htm failed:<br>
[WARNING] domfilter: ...ive/2024/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag (/span) [char=61400]<br>
<br>
[WARNING] domfilter: DOM parsing of indexsubsection477.htm failed:<br>
[WARNING] domfilter: ...ive/2024/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag (/span) [char=61400]<br>
<br>
On some files when compiling using tex4ht.<br>
<br>
But I am having hard time figuring the source of these.<br></blockquote><div><br></div><div>This message means that the generated HTML file cannot be parsed as XML. It will most likely look fine in the browser, but DOM filters won't be executed on such a file.  The usual cause is that some tags are wrongly nested. You can find the place where the error happens by looking at the byte position in the file specified by the value after char.</div><div><br></div><div>The development version of make4ht can print the problematic code with the -a debug option. It will also parse your file again with the HTML parser, so DOM filters will be executed. </div><div><br></div><div>But the underlying issue in your code should be fixed anyway. It will be most likely a wrong configuration. Try to find one place in your output file that causes the error and find the corresponding LaTeX code in your source. This way, you should be able to make a MWE. <br></div><div><br></div><div>Best regards,</div><div>Michal<br></div></div></div>