I need to send an XML file created with XML Port object to an external web service. Webservice verify file signature to check real file format.
It expects to receive an xml file with the first 5 bytes set like this:
0x3C, 0x3F, 0x78, 0x6D, 0x6C, 0x20
but file created from BC contain file text signature: ef bb bf or ff fe 3c 20 3f 20
This is wikipedia link
So why BC does it create xml files without the correct signature?