Home › Forums › DITA and XMetaL Discussion › Script error in XMetaL 8.0 › Reply To: Script error in XMetaL 8.0
Reply to: Script error in XMetaL 8.0
April 11, 2013 at 1:59 amThe MapEditor feature doesn't support editing ditamaps containing the BOM character. The only workaround is to remove the BOM character before opening the file with the MapEditor or use only the XML view for editing ditamaps with the BOM character.
Part of this limitation in the MapEditor is due to the scripting technologies underneath, namely FileSystemObject and MSXML. We load the XML from file into a string (BSTR object) before passing it to MSXML. But, the MSXML loadXML API has limitations as noted in the following MSDN KB article:
[url=http://support.microsoft.com/kb/247708]http://support.microsoft.com/kb/247708[/url]
Regards,
Addam