# Bug in editing xml file if file ending is not \*.xml?

**URL:** https://www.finalbuilder.com/forums/t/bug-in-editing-xml-file-if-file-ending-is-not-xml/851
**Category:** Discussion
**Created:** [May 27, 2008, 11:08am UTC](https://www.finalbuilder.com/forums/t/bug-in-editing-xml-file-if-file-ending-is-not-xml/851 "2008-05-27T11:08:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [May 27, 2008, 11:08am UTC](https://www.finalbuilder.com/forums/t/bug-in-editing-xml-file-if-file-ending-is-not-xml/851/1 "2008-05-27T11:08:08Z")

</div>

Hi,  
  
I used the "Edit XML File" and "Create XML Node" actions  
for to change a \*.bdsproj file (Borland Developer Studio Project File)  
which is actually an xml file that has the ending \*.bdsproj instead  
of \*.xml.  
  
The two actions I use always lead to a change of the first line  
of the \*.bdsproj file.  
The action deletes the first three characters of the file which  
means that after running the action the first line looks always like  
  
ml version="1.0" encoding="utf-8"?\>  
  
Is this a known bug?

Kind regards,

&nbsp;

Jens

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [May 28, 2008, 1:46am UTC](https://www.finalbuilder.com/forums/t/bug-in-editing-xml-file-if-file-ending-is-not-xml/851/2 "2008-05-28T01:46:47Z")

</div>

Hi Jens,   
  
 Thanks for posting. It looks like one of the actions might have gone looking for a Unicode byte order mark, or something. Very odd, given that it’s the MSXML APIs that are performing the actual edit operations.   
  
 We’ll see if we can reproduce it here, and get back to you.   
  
 Regards,   
  
 Angus
