Fiexed a issue when xmlNamespaces = true