Can't really understand why but it is. Fortunately, there's a fix that passes on existing systems and makes it pass on mine and in general is better practice to not have // in the middle of an xpath.

we_love_xpath.patch1.58 KBchx
PASSED: [[SimpleTest]]: [MySQL] 57,894 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community

We never figured out why this passes in HEAD, but best guess is PHP version?

chx is 5.4.15, neclimdul could reproduce with 5.4.9.

Either way, table/tbody/tr is preferred over table//tr anyway, so +1 for this, even as a standalone improvement.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 57b9f31 and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.