This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jjolly
Recipients jjolly
Date 2018-01-01.19:19:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1514834346.9.0.467229070634.issue32476@psf.upfronthosting.co.za>
In-reply-to
Content
The current implementation of the xpath specification in ElementTree does not allow for predicates that may contain both an apostrophe and a quote. Either one or the other is allowed, but escaping (either string escaping using the backslash or html escaping) is not supported.

A simple solution would be to implement the xpath concat function for predicates. This would allow the combination of quote types in the predicate. Attached is a proposed patch for this fix.
History
Date User Action Args
2018-01-01 19:19:07jjollysetrecipients: + jjolly
2018-01-01 19:19:06jjollysetmessageid: <1514834346.9.0.467229070634.issue32476@psf.upfronthosting.co.za>
2018-01-01 19:19:06jjollylinkissue32476 messages
2018-01-01 19:19:06jjollycreate