I'm working with a simple XML file, after editing it with Liquid XML Studio its seems to have added some random chars () to the beginning of the file. Whats going on?
Liquid XML writes odd chars  on the front of the file my xml file
205 views Asked by Sprotty At
1
There are 1 answers
Related Questions in XML
- Postgres && statement Error in Mybatis Mapper?
- Sorting items after building an XML feed?
- C# XML ModelBinding - ASP.NET Core 8 Web API - required field not found
- How can I create an automatic table of contents in docx without the text being bold?
- Odoo 16 Make Fields Readonly Using XPath
- Using similar tags for different objects in XML
- Android Studio problem like gradle sync project failed and plugin error, version 2023.2.1 Iguana
- error: cannot find symbol View root = inflater.inflate(R.layout.toolbar, parent, false);
- Android camera application restriction to 12 mp
- Azure Data Factory Copy Activity Only Importing First Row of XML file
- I am not able to remove space below the navigation view icon in android studio. What;s wrong with code?
- Field can be converted to a local variable ,convert field to local variable in onCreate method
- Deserialize XML with optional different name
- Retrieve tags from xml using python
- Getting attribute from xml and printing it error
Related Questions in LIQUID-XML
- Generate JsonSchema from liquid Object
- Running LiquidXML code generated from the Data Binder produces a 'Version Mismatch Error' at Runtime
- How to I convert files above 200 kb in size to JSON schema on liquid XML?
- Custom Transformation Component templates for visual studio
- Section not showing Youtube URL
- Problem with restriction in xsd complex type inheritance
- Issue with line 450 of an XSD file doesn't let me convert it to XML
- UnknownAttribute event for LxSerializer
- organizing json schema in liquid-xml projects
- How To Execute XSLT Transform In Liquid Studio Community Edition
- XML to CSV with data header using Liquid Data Mapper
- How do I specifty the order of properties in json schema created by Liquid Studio?
- XML Liquid Studio 2018 - Schema Subset - similar to XmlSpy
- liquid-xml not supporting exception for string attributes
- Liquid-XML Editor Line Numbers for text files
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Byte Order Marker (BOM) and Document Encoding
For further information about the Byte Order Marker (BOM) please see Byte Order Marker.
When Liquid XML Studio loads a document it uses the BOM (if present) to determine the encoding, and uses this to decode the document into an internal Unicode format. The encoding attribute from the XML (if present), is used to refine the decoding of the data to its Unicode form.
If the BOM and encoding attribute conflict then a best guess is made (typically relying on the BOM).
The XML document is stored and manipulated internally as Unicode, and it keeps the encoding provided by the encoding attribute (or BOM) as a property of the document.
Whenever you paste data into the document, it is dealt with as Unicode.
When you save the document the document is written out using the encoding property associated with the document (this may be changed by the user in the properties window). So you should have no issues with encoding.
Issues when using a BOM with UTF-8 Encoded Documents
Unicode files must have a BOM to identify them. The only time the BOM becomes an issue is UTF-8. For UTF-8 there is no standard that says whether the BOM should be written or not. Most Microsoft applications and newer applications write the BOM, some older applications do not write the BOM and worse still don’t understand it when a document is read in that contains a BOM. They may just see the characters EF BB BF or  at the start of the document and assume the document is invalid.
In order to accommodate this we write the BOM by default, but there is a global option to turn it off for UTF-8.
In Liquid XML Studio you can stop the BOM from getting written by changing the setting in:
Tools->Options->Environment->Write Byte Order Marker (BOM)