Edgewall Software
Modify

Opened 7 years ago

Last modified 7 years ago

#342 new defect

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 (0)

Change History (2)

comment:1 Changed 7 years ago by cmlenz

  • Milestone changed from 0.5.2 to 0.6

Milestone 0.5.2 deleted

comment:2 Changed 7 years ago by cmlenz

  • Milestone changed from 0.6 to 0.6.1

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain cmlenz.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from cmlenz to the specified user. Next status will be 'new'.
The owner will be changed from cmlenz to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.