PrimalXML Crash on Simple XPath Search

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 12 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
sblaylock
Posts: 41
Last visit: Thu Jun 02, 2022 10:25 am

PrimalXML Crash on Simple XPath Search

Post by sblaylock »

PrimalXML will consistently crash when a trailing argument is missing while using the Simple XPath Search function.

XML:

<project> <configuration> <settings> <setting1>xyz</setting1> <setting2>123</setting2> </settings> </configuration></project>

These searches work:
/project/configuration/settings[setting1='xyz'].
/project/configuration/settings[setting1='xyz']/setting1
/project/configuration/settings[setting1='xyz']/setting2

This search will crash the program:
/project/configuration/settings[setting1='xyz']

It should probably return "XPath Error: Format Error: Missing Object".

Scott.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

PrimalXML Crash on Simple XPath Search

Post by davidc »

What version of PrimalXML do you have installed? David
David
SAPIEN Technologies, Inc.
User avatar
sblaylock
Posts: 41
Last visit: Thu Jun 02, 2022 10:25 am

PrimalXML Crash on Simple XPath Search

Post by sblaylock »

PrimalXML 2011.
Scott.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

PrimalXML Crash on Simple XPath Search

Post by davidc »

The issue will be resolved in the next service release. David
David
SAPIEN Technologies, Inc.
This topic is 12 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.