Re: KeyError when using XSLT renderer and own metadata sets

Eric Casteleijn <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Benno Luthiger wrote:
> Dear developers
> 
> After I've succesfully installed the XML/XSLT libraries necessary to use the
> Silva XSLT renderer, I've tried to work with Silva in XSLT mode. However,
> I've got a KeyError obviously cause by the fact that I use additional
> metadata sets.
> Is there an additional registration step needed for metadata sets when I use
> the Silva XSLT renderer?
> You find the error's traceback below.

Hi Benno,

That's strange. The XSLT Renderer shouldn't break existing extensions, 
but apparently it does. Or rather, the xmlexport funxtionality seems to. 
I think the namespace of your metadataset is not  defined in the xml 
export, and it should be. I'll look for an easy fix for now, and 
something more substantial for Silva-1.1 final. I'll let you know ASAP.

eric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.