Malthe Borch wrote:
> 2008/9/27 Wichert Akkerman<[EMAIL PROTECTED]>:
>    
>> I'm not sure if this is a known problem, but if you do not have lxml
>> installed chameleon.core breaks badly in several ways at the moment: a
>> missing dependency on PDIS_XPath, missing TAL namespaces which is used
>> for comments, and use of an unsupported XPath axis in pdis.xpath.
>>      
>
> This is known by me, but it's not well documented; the story is that I
> was quite surprised when I integrated PDIS.XPath and learned that it
> did not support even very simple XPath-expressions.
>
> I've contacted the authors, but they unfortunately do not have the
> time to maintain it.
>
> For the moment, the next-best solution would be to rip out the
> XPath-usage inside the compiler (rewrite it to custom tree walking
> logic).
>
> Of course, for Genshi, where template designers will want to use
> custom XPath expressions, we will need a library that does this.
>
> It seems ElementTree 1.3 will have better XPath support. Last I
> checked it was unreleased.
>    

How about making lxml a requirement in the meantime?

Wichert.

-- 
Wichert Akkerman<[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"z3c.pt" group.
To post to this group, send email to z3c_pt@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/z3c_pt?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to