Dmitry-Me

Results 20 comments of Dmitry-Me

The empty cannot be loaded afterwards - that's why there's "empty.xml" in the testset. So the current implementation is happy to save an empty document but then will not load...

Here's a comment https://github.com/leethomason/tinyxml2/commit/e4dc7218a5d0a34e2347269ab4426e4be30f561a#commitcomment-23118510 which contains extra details for this issue.

I guess more details of which error happens would be useful.

Do you have `using namespace tinyxml` in your code?

IMO the obvious solution is to drop `using namespace tinyxml`.

https://stackoverflow.com/questions/28007600/detecting-integral-overflow-with-scanf Looks like `sscanf()` yields undefined behavior if the value being parsed cannot fit into the variable.

I don't see how this can be fixed other than storing the decoded integer value of the pointer inside the attribute "just in case". Current code sees entity encoding and...

@leethomason Actually there is code inside that can handle this. And the problem is not with coding strings back and forth, it's about getting a single character (perhaps as `int`).

@pofider This downloads the data to your program and reuploads it. The new library has `StartCopy()`/`StartCopyAsync()`