lbellonda / qxmledit

QXmlEdit XML editor. Downloads: https://sourceforge.net/projects/qxmledit/files
http://qxmledit.org
Other
164 stars 48 forks source link

Copy Path-Elements to Clipboard -> Search -> No Results #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Windows XP, V 0.8.10

<DATEN>
  <NODEXXX>xxx</NODEXXX>
</DATEN>

Select NODEXXX -> Copy element path to clipboard

/DATEN/NODEXXX

Insert the path /DATEN/NODEXXX to the search-dialog (XPath enabled)

Hit Search -> No Results

/NODEXXX works, it seems that you have to remove the first path-entry

Original issue reported on code.google.com by martin.s...@googlemail.com on 25 Apr 2014 at 1:16

GoogleCodeExporter commented 9 years ago

Original comment by lbello...@gmail.com on 25 Apr 2014 at 8:53

GoogleCodeExporter commented 9 years ago

Original comment by lbello...@gmail.com on 27 Apr 2014 at 6:49

GoogleCodeExporter commented 9 years ago
Fixed in revision 1250. To be included in the 0.8.11 release.
The root of the search was the root element by default and not the containing 
document.

A short note: the path copied in the clipboards does not take into account the 
cardinality of the nodes, but only the tags of the elements encountered in the 
traversal.

Original comment by lbello...@gmail.com on 27 Apr 2014 at 3:38