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

David R Newman drn at ecs.soton.ac.uk
Tue Dec 1 14:18:51 GMT 2020


Hi all,

EPrints 3.4 has has the patch applied for issues with newer versions of 
LibXML and EPrints 3.4.2 onwards should have this particular issue 
resolved.  Regarding special characters, I will look into producing (or 
hopefully finding) an entities.dtd for all the special characters that 
EPrints repositories may want use and then update standard template and 
phrase files to use this.  In fact it is probably even worth doing this 
for citation and workflow files as well.  I have created an issue for 
EPrints 3.4 to address this:

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fissues%2F112&data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348749872%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=FdMbOzf%2B9tfYSzlEml2LoBjhWhapiJBJemsCci0Yv2A%3D&reserved=0

Regards

David Newman


On 01/12/2020 13:35, martin.braendle at uzh.ch wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
>
> Hi Thomas,
>
> there should be  an entities.dtd file in [eprints_root]/lib/, maybe 
> this is missing or entries are missing in it?
>
> Also a phrase file should mention that in the
>
> <!DOCTYPE phrases SYSTEM "entities.dtd">
>
> definition right at the beginning after the XML declaration.
>
> Kind regards,
>
> Martin
>
> --
> Dr. Martin Brändle
> Zentrale Informatik
> Universität Zürich
> Stampfenbachstr. 73
> CH-8006 Zürich
>
>
> Inactive hide details for "David R Newman via Eprints-tech" 
> ---01/12/2020 14:24:14---Hi Thomas, Named HTML entities are not 
> sup"David R Newman via Eprints-tech" ---01/12/2020 14:24:14---Hi 
> Thomas, Named HTML entities are not supported in XML you need to use 
> the decimal
>
> Von: "David R Newman via Eprints-tech" <eprints-tech at ecs.soton.ac.uk>
> An: <eprints-tech at ecs.soton.ac.uk>, <th.lauke at arcor.de>
> Datum: 01/12/2020 14:24
> Betreff: Re: [EP-tech] perl module update introduced some trouble with 
> entities
> Gesendet von: <eprints-tech-bounces at ecs.soton.ac.uk>
>
> ------------------------------------------------------------------------
>
>
>
> 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_
>     <http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech>
>     *** Archive:
>     _https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348749872%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=oD0bLiCN%2BQKbhJ1A17f95ZK%2BulfecBsTmL5JPP%2FXKDU%3D&amp;reserved=0
>     <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348749872%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=oD0bLiCN%2BQKbhJ1A17f95ZK%2BulfecBsTmL5JPP%2FXKDU%3D&amp;reserved=0>
>     *** EPrints community wiki:
>     _https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348749872%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=q68QhdKK6tcPU6frtob9iLVVLrUoiyD1pKz1bh3PEkU%3D&amp;reserved=0
>     <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348759868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=mUrCzwQ3%2B07e2TEeQQWrEb%2F2%2BDGDIH2SqYK98n1h0z4%3D&amp;reserved=0>
>
> 	
>
>     Virus-free. _https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com_%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348759868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=a5UCJlIe6norYBenAHt1gTfcnWhAjk1%2FyxthGPqO1T0%3D&amp;reserved=0
>     <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348759868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=W3jeuJrgmYxdp6PTKhouMM5SR1cGuimgeEvm%2FC2%2BSMU%3D&amp;reserved=0>
>
> *** Options: 
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech 
> <http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech>
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348759868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=EV1NlA%2BmpXRBe%2BCneYG%2B5RGBIBlNHU%2BSXuZss3XpL3U%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348759868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=EV1NlA%2BmpXRBe%2BCneYG%2B5RGBIBlNHU%2BSXuZss3XpL3U%3D&amp;reserved=0>
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348759868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=mUrCzwQ3%2B07e2TEeQQWrEb%2F2%2BDGDIH2SqYK98n1h0z4%3D&amp;reserved=0 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348759868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=mUrCzwQ3%2B07e2TEeQQWrEb%2F2%2BDGDIH2SqYK98n1h0z4%3D&amp;reserved=0>
>


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7C%7C01fad1a772c84ce39dc008d896040774%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637424291348759868%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=OQAMvWIzPGCUkKjmaeZN85Znp%2BiTfhdRPemPJXcDf0w%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20201201/55dc7e1e/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20201201/55dc7e1e/attachment-0001.gif 


More information about the Eprints-tech mailing list