Edgewall Software

Ticket #342 (new defect)

Opened 5 years ago

Last modified 5 years ago

py:match does not match class

Reported by: Mitar Owned by: cmlenz
Priority: major Milestone: 0.6.1
Component: XPath support Version: 0.5.1
Keywords: mmitar@gmail.com Cc:

Description

If I try this match it works:

<py:match path="div[@id='ctxtnav']//li[1]"><li class="first">${select('*|text()')}</li></py:matc

but this one does not:

<py:match path="div[@class='nav']//li[1]"><li class="first">${select('*|text()')}</li></py:match

on a <div> element with both id and class set accordingly. I believe this is a bug.

Attachments

Change History

Changed 5 years ago by cmlenz

  • milestone changed from 0.5.2 to 0.6

Milestone 0.5.2 deleted

Changed 5 years ago by cmlenz

  • milestone changed from 0.6 to 0.6.1

Add/Change #342 (py:match does not match class)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cmlenz. Next status will be 'new'
The owner will change from cmlenz to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.