PxPlus User Forum

Twitter Twitter Twitter

Author Topic: *obj/xml issue  (Read 1362 times)

Stéphane Devouard

  • Diamond Member
  • *****
  • Posts: 128
  • PxPlus guru with skills in PHP, JS, C#, Java
    • View Profile
    • Stéphane's Web Resume
*obj/xml issue
« on: October 11, 2022, 03:59:41 AM »

There is a minor issue in *obj/xml with the find_node() method

Code: [Select]
-}? x'find_node(xpath$)'value$

I can work around by sending the parameter by value with parentheses or as an expression such as xpath$+""

But I think it should be handled in the method itself by protecting the _tag$ input parameter

Stéphane Devouard
Portfolio | Work

Mike King

  • Diamond Member
  • *****
  • Posts: 3830
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: *obj/xml issue
« Reply #1 on: October 11, 2022, 09:29:43 AM »
Thanks, we have adjusted this for the next build.

You can apply the same correction by changing line 238 in *obj/xml.pvc from:

0238 ENTER _tag$,_after=0


0238 ENTER (_tag$),_after=0

Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com