xpath expressions fail to properly deal with some namespace variants
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mozilla-devscripts (Debian) |
Fix Released
|
Unknown
|
|||
mozilla-devscripts (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: mozilla-devscripts
Forwarding Debian Bug about xpath expressions fail to properly deal with some namespace variants.
IRC logs:
<asac> TARGET_VERSION = $(shell xpath -q -e '//em:targetApp
<asac> TARGET_VERSION = $(shell xpath -q -e '//local-
<asac> so the right approach is:
<asac> //node(
<asac> so for each occurance of: "em:targetAppli
<asac> and for each occurence of Description make
<asac> node()[
<asac> xpath -q -e "//node(
Changed in mozilla-devscripts (Debian): | |
status: | Unknown → New |
Changed in mozilla-devscripts (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in mozilla-devscripts (Debian): | |
status: | New → Fix Released |
we should do the whole namespace business proper. full spec is http:// www.w3. org/TR/ xpath ... also xpath tool is buggy, so only some variants of doing this will work.