EPrints Technical Mailing List Archive

Message: #08378


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] perl module update introduced some trouble with entities


CAUTION: This e-mail originated outside the University of Southampton.

Hi Thomas,

Another possibility is that recently-ish, there was an update to LibXML - which might be related if the issue started after updating some modules.

This outlines the issue, and possible resolution:
https://github.com/eprints/eprints/issues/511

If your phrases file references an external dtd that defines e.g. &auml; then the above issue might help fix it.

 

Cheers,

John

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of David R Newman via Eprints-tech
Sent: 01 December 2020 13:21
To: eprints-tech@ecs.soton.ac.uk; th.lauke@arcor.de
Subject: Re: [EP-tech] perl module update introduced some trouble with entities

 

Hi Thomas,

Named HTML entities are not supported in XML you need to use the decimal code XML entity for &auml; which is &#228;

This is the same as needing to replace things like &amp; and &copy; with their equivalent decimal code XML entities.

Regards

David Newman

On 01/12/2020 12:00, th.lauke--- via Eprints-tech wrote:

CAUTION: This e-mail originated outside the University of Southampton.
 
Hi all,
 
any hint where to start digging for reason(s) after following error:
Failed to parse XML file: /usr/share/eprints/site_lib/lang/en/phrases/modified.xml: Entity: line 226: parser error : Entity 'auml' not defined
 
This error occurs after updating some perl modules ... :(
 
Is the 'bad' module already known?
What is more effective: Fixing the module (version) or the phrase file?
 
Thanks for any idea in advance
Thomas
 
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url="">
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url="">

 

Image removed by sender.

Virus-free. www.avg.com