I wanted to try out the XML import service (to load a local XML) from Flash Builder 4 , but once I selected the folder (actually selected the file); I got an error :
org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog
I thought it was the header (<?xml version="1.0" encoding="utf-8"?> ), but removing this one did not seems to change the situation.
Can some one point me in the right direction. ...
I too am having the exact same issue. I guess if I find a solution I will let you know
Hi, I got the error too. I have found the solution. You may have a try.
Use an advanced text editor such as the UltraEdit to open the xml file, and then open the 'Save As‘ dialog, change the format option to 'UTF-8 without BOM' and save it.
Finishing the steps above, rebind the data from the FB4 GUI, locate the xml file you just modified, then everything is OK.