While banging my head because of bug 3323189, I fell upon this. For some strange reason, the “parent” string is treated specially, unless it is because this value happens to be also the name of the element in my case.
$ xml ed -P -S -O -N p='http://maven.apache.org/POM/4.0.0' -u '/p:project/p:parent[p:artifactId="paxent"]/p:version' -v 'test' w-eclipse/adir-batch_adir/pom.xml
Erreur de segmentation
$ xml ed -P -S -O -N p='http://maven.apache.org/POM/4.0.0' -u '/p:project/p:parent[p:artifactId="parent"]/p:version' -v 'test' w-eclipse/adir-batch_adir/pom.xml
The latter does not crash!
By the way, libxml2 is version 2.7.1 and libxslt is version 1.1.24.
This artifact has been marked as a duplicate of artifact 3323189 with reason:
same underlying bug