XALANC-736 Assertion failure in debug mode

git-svn-id: https://svn.apache.org/repos/asf/xalan/c/branches/GSoC-2012@1449959 13f79535-47bb-0310-9956-ffa450edef68