Problems about the coordinates of nodes under xml with desig
A source code analyzer
Brought to you by:
adangel,
juansotuyo
This bug makes no sense to me. Please include a stacktrace or error message describing the problem.
If it's about the XPath with namespace issue being discussed on the devel forum, please indicate so.
So it's the same way. For example I wrote ( //node()[starts-with(name(),'pd:name')] )in the XPath Query of the software Designer. When I click on Go , I have a solution ( pd:name at line -1 column -1 ). But it's not the good position in the tree. So I think it's du to the specifics namespaces. But before this, the Designer doesn't crash, it's just a bad display of coordinates.
You're talking about the line/column information. There's no way to get that from the DOM currently. If you know of a means, I'd be happy to consider it.
This is a duplicate of [#1054]. Line numbers are now reported for XML files since PMD 5.1.0
Related
Issues:
#1054