NextSibling() segfault when called on the root node, so add a check
authorkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Tue, 27 Jan 2009 00:04:58 +0000 (00:04 +0000)
committerkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Tue, 27 Jan 2009 00:04:58 +0000 (00:04 +0000)
and retrung NULLT if the argument is ther root node. It's consistent with
the behaviour of calling FirstChild on a leaf node.

git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@65 3cdefd35-fc62-479d-8e8d-bae585ffb9ca


No differences found