missing </img>

35 views
Skip to first unread message

Dario Basset

unread,
May 17, 2022, 4:42:38 AM5/17/22
to Dataverse Users Community
Hi friends.

We have a problem with our Dataverse 4.2 in production.

The system shows the message:
XML: missing tag </img>.


The system also shows the following message:
<a href="http://dataverse.org/" title="The Dataverse Project" target="_blank"><img src="/resources/images/dataverse_project_logo.svg" onerror="this.src='/resources/images/dataverseproject_logo.png'" alt="The Dataverse Project" width="118" height="40"></a><span class="version">v. 4.20</span>

Do you know what is the root cause of this problem?
Thx a lot.

Kris Dekeyser

unread,
May 17, 2022, 7:41:30 AM5/17/22
to Dataverse Users Community
Hi Dario,

We have seen a similar error as well with our custom footer. The root cause is likely because in HTML the img tag does not have to be closed, but in XHTML - which requires well-formed XML - would require the closing tag (or self-closing tag). We changed the <img ...> tags in our custom footer into <img .../> and that fixed the problem.

But your message seems to indicate that the issue is with the fixed footer and I do not know how to change that, except by changing the xhtml in the deployed war.

regards,
Kris

Dario Basset

unread,
May 18, 2022, 2:23:32 AM5/18/22
to Dataverse Users Community
Thx Kris,
I will look inside.

Dario Basset

unread,
May 24, 2022, 10:09:25 AM5/24/22
to Dataverse Users Community
After a more careful look, we realized that there is an internal server error (500) that is preceding the mis-pelled footer.
Do you know how to debug such a situation?
How can I get more info on the internal server error?

Thx a lot again.

Philip Durbin

unread,
Jun 8, 2022, 3:52:49 PM6/8/22
to dataverse...@googlegroups.com
I'd suggest looking at Payara's server.log for that 500 error.

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/5d94c0d2-0e39-46f3-b423-7e598f7c259en%40googlegroups.com.


--

Dario Basset

unread,
Jun 9, 2022, 2:18:08 AM6/9/22
to Dataverse Users Community
Thx Philip, I'm going surely to take a look.
Reply all
Reply to author
Forward
0 new messages