fix typo that caused an exception when generating XML for a WStringArrayTypeNode