Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I'm not exactly sure why, but I was getting lots of values being set that shouldn't. Basically, I removed the if check (against 3) in the top of setText. That seemed to fix how almost every node was getting \n, \t, etc... and registering that it had text when it didn't. Example: //! sets the state that text was found. Returns true if set should be set bool setText(char_type* start, char_type* end) { // Commented out the below if statement. // odds are, we won't spend a LOT of time in this loop, so it's ok since the first // non whitespace char breaks out. - Llock //if (end - start) { char_type* p = start; for(; p != end; ++p) if (!isWhiteSpace(*p)) break; if (p == end) return false; } Good engine, just wanted to file away any changes I'm making locally. |
||||
|
This was the problem i discovered in my thread below... hope this helps those who come to it again. |
|