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]>
Eric Casteleijn wrote:
> 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

Right, I found a fix, and not a quick and dirty one, but one that should 
fix this oversight in an architecturally sound way. I haven't checked it 
in yet, but will later today if all goes well.

BTW: I take it this means that you did get libxslt to run on windows? 
I'm sorry for not responding to that yet but I haven't done that before 
and I didn't find the time yet to investigate.
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.