XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Johan WendinSubject: Options to control whether BOM gets saved or not.
Author: Johan Wendin
Date: 03 Nov 2015 08:52 AM

It seems X15 doesn't remove BOM upon saving XML files like older versions did. (previous version we used where this worked was 2010).

I can't find any option to disable this feature - or rather any option to control whether to save with or without BOM.

Stylus saving files with BOM forces us to post-process the files in a second editor to use the files as input in another transformation tool. We've filed a bug report for that tool as well - but having the option to control whether or not BOM gets saved would make Stylus much better for us.

Ivan PedruzziSubject: Options to control whether BOM gets saved or not.
Author: Ivan Pedruzzi
Date: 03 Nov 2015 02:31 PM
Hi Johan,

if you are using Unicode encoding the BOM signature is required to improve compatibility with other Unicode aware tools.

If you switch to UTF-8 the BOM will not be added.
Click on Edit -> Change Encoding.

Newly created document in Stylus Studio defaults to UTF-8, no BOM.

Any conform XML parser should handle the BOM correctly.
Which software is giving you trouble?

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.