DOM Fix: 1. Make sure the passed in name is not null before creating the node. 2. Also allow replacing a document type node.
DOM Fix:
1. Make sure the passed in name is not null before creating the node.
2. Also allow replacing a document type node.


git-svn-id: 3ec853389310512053d525963cab269c063bb453@174214 13f79535-47bb-0310-9956-ffa450edef68

ctapmex/xerces-c,colorer/xerces-c,Distrotech/xerces-c,colorer/xerces-c,colorer/xerces-c,Distrotech/xerces-c,ctapmex/xerces-c,Distrotech/xerces-c,Distrotech/xerces-c,Distrotech/xerces-c,colorer/xerces-c,colorer/xerces-c,ctapmex/xerces-c,ctapmex/xerces-c