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

Post bugreports for the Linux version here
tmc
New User
New User
Posts: 5
Joined: Sun Apr 09, 2023 9:42 pm

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

Post 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.
freak
PureBasic Team
PureBasic Team
Posts: 5946
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

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

Post by freak »

fixed.
quidquid Latine dictum sit altum videtur
Post Reply