EPrints Technical Mailing List Archive

Message: #00082


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

[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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Tim Brody
> Sent: 05 March 2012 08:59
> To: eprints-tech@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/