The code works fine regardless of the *j->name check, and omitting this makes the code more symmetric between the "count" and "write" stage; additionally this improves coverage - due to how strcpy_insitu works it's not really possible to get an empty non-NULL name in the node. |
||
---|---|---|
.. | ||
pugiconfig.hpp | ||
pugixml.cpp | ||
pugixml.hpp |