Page 1 of 1

[Done] PB 6.21 XMLNodePath() giving short path element name

Posted: Mon Sep 22, 2025 1:29 pm
by tmc
XMLNodeFromPath fails when XMLNodePath inserts []'s
User dougmo52usr created a thread about this bug in August but I know it has existed for much longer (I assumed at the time I tried it that I "didn't get it"). Path names for "arrays" are shortened to one character. It seems logical to me that the output from XMLNodePath() should be usable in XMLNodeFromPath(). Presumably if there are 2 types of element that both start with "c" then we would not be able to distinguish between them. This NodePath functionality makes working with known-structure XML files in PureBasic much more accessible than traversing node-to-node.

Many thanks.

Re: PB 6.21 XMLNodePath() giving short path element name

Posted: Tue Sep 30, 2025 9:03 pm
by freak
fixed.