![]() |
PX_ Property Exchange bug? |
Post Reply ![]() |
Author | |
Algae ![]() Senior Member ![]() ![]() Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
![]() ![]() ![]() ![]() ![]() Posted: 25 January 2009 at 5:12pm |
Version 10.42
Not sure if this is by design, but I did discover a problem with the property exchange mechanism while saving. Lets say you have a string that is preceded by a space " ". Now we use that string to make a property. tStr = _T(" All"); PX_Bool(&px,tStr,bVal); During the "create" process GetEntryNode is called: CXTPDOMNodePtr xmlEntryPtr = GetEntryNode(pszPropName, TRUE); The process asserts in ASSERT(xmlNodeEntryPtr != 0); xtppropexchange.cpp removing the space allows the process to complete normally. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
It have to be valid XML node string. Don't add this space.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Algae ![]() Senior Member ![]() ![]() Joined: 08 January 2007 Location: United States Status: Offline Points: 217 |
![]() ![]() ![]() ![]() ![]() |
Ya.. that's pretty much what I discovered thank you
![]() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |