Print Page | Close Window

Bug in PX_String when empty xml tag

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=19883
Printed Date: 18 June 2025 at 5:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug in PX_String when empty xml tag
Posted By: cpede
Subject: Bug in PX_String when empty xml tag
Date Posted: 20 June 2012 at 9:39am
When using the XML parser:
 
PX_String(pPX,_T("text"),m_sText);
 
and the XML file contains the data:
 
<text />
 
the returned string is not m_sText==_T(""), but it includes some odd bytes.
 
This must be a bug.
 
-cpede


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net