URL:
  <https://puszcza.gnu.org.ua/bugs/?660>

                 Summary: domfilter: Error context: luaxml-mod-xml.lua:175:
Unbalanced Tag (/video) [char=944]
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Wed Jul  9 19:49:59 2025
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I am compiling an old file which used to compile OK but now fail. Using latest
TL 2025 updated a week or so again.

Here is MWE

-----------------

\documentclass{book}
\begin{document}

This is my simulation

\ifdefined\HCode
\HCode{
<video width="320" height="240" preload = "none" controls>
     <source src="random_walk_simulation/random_walk_3d.webm"
type="video/webm"> 
     <source src="random_walk_simulation/random_walk_3d.ogg"
type="video/ogg">
     <source src="random_walk_simulation/random_walk_3d.mp4" type="video/mp4">

    Your browser does not support the video tag.
</video>
}
\fi 

\end{document}
----------------------------------

Compiled using 

make4ht -ulm default -a debug foo.tex "mathjax,htm" 

Gives

-------------
....
Entering foo.tmp

[INFO]    mkutils: Parse LG
[INFO]    make4ht-lib: parse_lg process file: foo.htm
[INFO]    make4ht-lib: parse_lg process file: foo.htm
[WARNING] domfilter: XML DOM parsing of foo.htm failed:
[WARNING] domfilter:
...ive/2025/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced
Tag (/video) [char=944]

[DEBUG]   domfilter: Error context:
_3d.ogg" type="video/ogg"> <source
src="random_walk_simulation/random_walk_3d.mp4" type="video/mp4"> Your browser
does not support the video tag. </video> 
</p>   
 
</body> 
</html>

[DEBUG]   domfilter: Trying HTML DOM parsing
[WARNING] domfilter: HTML DOM parsing OK, DOM filters will be executed
----------------------------------

I am using same HTML syntax as shown in 


<https://www.w3schools.com/tags/tag_video.asp>

This code used to compile OK in the past.

Do I need to change something so not to get this domfilter error?

Thanks
--Nasser






    _______________________________________________________

Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?660>

_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>

Reply via email to