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 scoder
Recipients eli.bendersky, scoder, serhiy.storchaka
Date 2017-09-30.09:03:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506762204.8.0.213398074469.issue31648@psf.upfronthosting.co.za>
In-reply-to
Content
Well, there's XPath for a standard:
https://www.w3.org/TR/xpath/

ElementPath deviates from it in its namespace syntax (it allows "{ns}tag" where XPath requires "p:tag" prefixes), but that's about it. All other differences are basically needless limitations of ElementPath.

In fact, I had noticed these two limitations in lxml, so I implemented them for the next release. And since ElementPath in ElementTree is still mostly the same as ElementPath in lxml, here's the same thing for ET.
History
Date User Action Args
2017-09-30 09:03:24scodersetrecipients: + scoder, eli.bendersky, serhiy.storchaka
2017-09-30 09:03:24scodersetmessageid: <1506762204.8.0.213398074469.issue31648@psf.upfronthosting.co.za>
2017-09-30 09:03:24scoderlinkissue31648 messages
2017-09-30 09:03:24scodercreate