[EP-tech] Re: XML entity error

Matthew Brady Matthew.Brady at usq.edu.au
Fri Apr 19 04:53:33 BST 2013


In the thread  http://www.eprints.org/tech.php/17105.html 

> From: Tim Brody <tdb2 AT ecs.soton.ac.uk>
> Date: Tue, 02 Oct 2012 09:26:09 +0100
>
> RedHat have managed to break XML::LibXML in an obscure way. Either
> downgrade libxml2 (although that opens a security hole) or I built a
> current release of libxml2 2.7 here:
> http://rpm.eprints.org/RHEL/6/
>
>Somebody needs to complain to RedHat :-(
> 
> /Tim.

It appears that there is no .../RHEL/6/ path.... has it been moved? or am i missing something obvious??

Thanks

Matt

> 
________________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk [eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Tim Brody [tdb2 at ecs.soton.ac.uk]
Sent: Thursday, 18 April 2013 6:23 PM
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: XML entity error

The libxml problem would kill the process before it even starts, so you
shouldn't (!) have any obscure data-loss problems related to this.

The entities problem only relates to phrases anyway ... generated
EPrints XML have no entities embedded.

--
All the best,
Tim.

On Thu, 2013-04-18 at 14:03 +1000, Matthew Brady wrote:
> This might be a Tim level question… J
>
>
>
> Would this LibXML2 problem cause the upgrade process to fail in any
> other ways (that I might not have picked up in logs), due to being
> unable to handle the XML files correctly ??
>
> Should I re-sync all the data/reload database with 3.1.2 version and
> run the entire process again?
>
>
>
> Thanks again for the pin point link to cause
>
>
>
> Matt
>
>
>
>
>
> From: eprints-tech-bounces at ecs.soton.ac.uk
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Mark
> Gregson
> Sent: Thursday, 18 April 2013 1:15 PM
> To: eprints-tech at ecs.soton.ac.uk
> Subject: [EP-tech] Re: XML entity error
>
>
>
>
> Matthew’s right in general however EPrints does defines the entities.
> The problem is more likely the libxml2 problem described here
> http://www.eprints.org/tech.php/17105.html
>
>
>
> Cheers
>
> Mark
>
>
>
> Mark Gregson | Applications and Development Team Leader
> Library eServices | Queensland University of Technology
> Level 3 | R Block | Kelvin Grove Campus | GPO Box 2434 | Brisbane 4001
> Phone: +61 7 3138 3782 | Web: http://eprints.qut.edu.au/
> ABN: 83 791 724 622
> CRICOS No: 00213J
>
>
>
> From: eprints-tech-bounces at ecs.soton.ac.uk
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Matthew
> Kerwin
> Sent: Thursday, 18 April 2013 12:56 PM
> To: eprints-tech at ecs.soton.ac.uk
> Subject: [EP-tech] Re: XML entity error
>
>
>
>
> For what it’s worth, the first error message is correct.  Without any
> DTDs, &nbsp; is not a valid XML entity (it’s a HTML entity.)  You can
> use &#160; if you don’t want to write/include a HTML-compatibility
> DTD.
>
>
>
> --
>
> Matthew Kerwin  |  QUT Library eServices  |  ph 3138 3910  |
>  matthew.kerwin at qut.edu.au
>
>
>
>
> From: eprints-tech-bounces at ecs.soton.ac.uk
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Matthew
> Brady
> Sent: Thursday, 18 April 2013 12:38
> To: eprints-tech at ecs.soton.ac.uk
> Subject: [EP-tech] XML entity error
>
>
>
>
> Hi All,
>
>
>
> I am in the process of upgrading eprints up to 3.3.10 (from 3.1.2),
> and all seems to have worked so far… database has been upgraded
> successfully etc., but I’m getting the following error, and I hope
> someone can tell me where to start looking… It hasn’t occurred in the
> dev machine, so I’m hoping it’s simply something I missed in migrating
> from dev to tst.
>
>
>
> Thanks
>
>
>
> Matt
>
>
>
>
>
> Failed to parse XML
> file: /opt/eprints3/lib/lang/en/phrases/system.xml: Entity: line 396:
> parser error : Entity 'nbsp' not defined
>
> age or title page. If there are more than four authors, click on the
> [More&nbsp;
>
>
> ^
>
> Entity: line 396: parser error : Entity 'nbsp' not defined
>
> e page. If there are more than four authors, click on the
> [More&nbsp;input&nbsp;
>
>
> ^
>
> Entity: line 397: parser error : AttValue: ' expected
>
> <br/>Example: [<span class="ep_form_example">Smith</span>] [<span
> class="
>
>
> ^
>
> Entity: line 397: parser error : attributes construct error
>
> <br/>Example: [<span class="ep_form_example">Smith</span>] [<span
> class="
>
>
> ^
>
> Entity: line 397: parser error : Couldn't find end of Start Tag span
>
> <br/>Example: [<span class="ep_form_example">Smith</span>] [<span
> class="
>
>
>                                                               ^
>
>
>
>
>
>
> ______________________________________________________________________
> This email (including any attached files) is confidential and is for
> the intended recipient(s) only. If you received this email by mistake,
> please, as a courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the University of Southern Queensland. Although all
> reasonable precautions were taken to ensure that this email contained
> no viruses at the time it was sent we accept no liability for any
> losses arising from its receipt.
>
> The University of Southern Queensland is a registered provider of
> education with the Australian Government.
> (CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )
>
>
>
> ______________________________________________________________________
> This email (including any attached files) is confidential and is for
> the intended recipient(s) only. If you received this email by mistake,
> please, as a courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the University of Southern Queensland. Although all
> reasonable precautions were taken to ensure that this email contained
> no viruses at the time it was sent we accept no liability for any
> losses arising from its receipt.
>
> The University of Southern Queensland is a registered provider of
> education with the Australian Government.
> (CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/


This email (including any attached files) is confidential and is for the
intended recipient(s) only.  If you received this email by mistake,
please, as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the University of Southern Queensland.  Although all
reasonable precautions were taken to ensure that this email contained no
viruses at the time it was sent we accept no liability for any losses
arising from its receipt.

The University of Southern Queensland is a registered provider of education
with the Australian Government.
(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )





More information about the Eprints-tech mailing list