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 9, 2013 at 10:13 pmThe map editor has some code that is attempting to preserve the encoding attribute in your XML declaration and it is having issues with the UTF-16 encoding in your bookmap_sample.ditamap, which is why the other maps you are trying don't trigger this issue, because they use UTF-8 encoding.
As we look at what it will take to actually resolve this issue the quickest solution would be to use UTF-8 encoding. I suspect you must have created these maps using some other tool as XMetaL uses UTF-8 encoding as its default (the W3C recommended encoding for XML).