[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: namespace error : Namespace prefix xpage on head is not defined?



Yes, I have got the right page and I have now managed to save the edits.

However, I note that items are not being locked when two different users are editing the same record at the same time.  Does this feature actually work?

Regards,

Alex

Alex Birchall
Library Systems Manager
Ext 5235
Mob 07765 237 570


-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Tim Brody
Sent: 05 March 2012 13:01
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: namespace error : Namespace prefix xpage on head is not defined?

There isn't an <xpage:head> in that document (did you paste the correct thing?)?

For reference, the index.xpage should look like:
http://trac.eprints.org/eprints/browser/branches/3.2/system/lib/defaultcfg/lang/en/static/index.xpage

And live in archives/[archiveid]/cfg/lang/en/static/index.xpage

/Tim.

On Mon, 2012-03-05 at 11:24 +0000, Alex Birchall wrote:
> Hi Tim,
> 
> I have pasted the index.xpage to http://pastebin.com/62seUdAy.
> 
> Thanks.
> 
> Alex Birchall
> Library Systems Manager
> Ext 5235
> Mob 07765 237 570
> 
> 
> -----Original Message-----
> From: eprints-tech-bounces at ecs.soton.ac.uk 
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Tim Brody
> Sent: 05 March 2012 08:59
> To: eprints-tech at ecs.soton.ac.uk
> Subject: [EP-tech] Re: namespace error : Namespace prefix xpage on head is not defined?
> 
> On Mon, 2012-03-05 at 08:32 +0000, Alex Birchall wrote:
> > Hi,
> > 
> > At http://wiki.eprints.org/w/New_Features_in_EPrints_3.2, the following is written:
> > 
> > __
> > If upgrading from 3.1 to 3.2, the following changes to your own configuration are suggested to gain the features described above [e.g. edit locking].
> > 
> >     cp lib/defaultcfg/cfg.d/rdf* archives/YOURID/cfg/cfg.d/
> >     run epadmin recommit
> >     edit cfg/lang/en/static/index.xpage and add the following to the <xpage:head> section. 
> > 
> > <xpage:head>
> >   <link rel="alternate" type="application/rss+xml" title="Items in {phrase('archive_name')}" href="{$config{http_cgiurl}}/latest_tool?output=RSS2"></link>
> >   <link rel="alternate" type="application/atom+xml" title="Items in {phrase('archive_name')}" href="{$config{http_cgiurl}}/latest_tool?output=Atom"></link>
> >   <link rel="alternate" type="application/rdf+xml" title="Repository Summary RDF+XML" href="{$config{http_cgiurl}}/repositoryinfo/RDFXML/devel.rdf"></link>
> >   <link rel="alternate" type="text/n3" title="Repository Summary
> > RDF+N3" 
> > href="{$config{http_cgiurl}}/repositoryinfo/RDFN3/devel.n3"></link>
> > </xpage:head>
> > 
> > (you may already have the rss & atom bits) __
> > 
> > I am trying to edit cfg/lang/en/static/index.xpage as per the instructions, but am getting the following error:
> > 
> > namespace error : Namespace prefix xpage on head is not defined 
> > <xpage:head>
> >            ^
> > Entity: line 10: parser error : Opening and ending tag mismatch: 
> > page line 0 and head </xpage:head>
> >              ^
> > 
> > Please can anyone suggest what I am doing wrong here?
> 
> Please post your index.xpage source to pastebin (or similar).
> 
> /Tim.
> 
> *** 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/
> *** 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/


*** 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/