I have a BizTalk solution which is broken down into three projects: Orchestrations, Maps and Schemas. A few of my maps, I had to build in the Orchestrations project because they needed multiple input schemas and there is no easy way that I've found to do that with just the BizTalk Mapper. Once I got them working, I moved them to my Maps project. But when I try to build that project, I get the following errors for each of the moved maps (same spot on all the maps):
Error unexpected identifier: 'ÿþ' (Line 2, Column 2)
Error unexpected token: '<' (Line 2, Column 4)
I can't find those values anywhere in the map or anywhere they're not supposed to be. I've tried saving the map in different formats, copying and pasting to a fresh document, eliminating Line 2 (which is just an automatically generated comment of when the document was created), moving the maps back to the Orchestration project, everything short of completely recreating the maps from scratch.
Has anyone seen this before and know what is going wrong?
Thanks! Stephanie
I have no knowledge about BizTalk. At all.
But from the above errors I deduce that there is some file which looks like this:
The intention of a BOM is to be the first two bytes of an UTF-16-encoded file.
Therefore it looks like the file is an UTF-16-encoded XML file, however with some whitespace prepended at the beginning of the file.
I have no idea about what the file format should be, nor where the whitespace was introduced, nor where this should be fixed. But perhaps this analysis helps.