[oXygen-user] Re: "content is not allowed in prolog" using Oxygen
Oliver Meyer
Fri Jun 2 10:06:24 CDT 2006
Hi Joshua,
I receive a digest and read the mail using outlook. In my view the byte sequence EF BB BF precedeces the first character of your XML file. That is the BOM for UTF-8 (http://www.unicode.org/faq/utf_bom.html#BOM) and that content is correct XML (sec. 4.3.3 of XML Spec: ... entities encoded in UTF-8 MAY begin with the Byte Order Mark ... )
Usually Oxygen handles encoding very well, so maybe you use some other editor in your processing chain that is not that standard conform and adds another BOM. I had similar problems using Ultraedit.
HTH
Oliver
> -----Ursprüngliche Nachricht-----
> Message: 1
> Date: Thu, 01 Jun 2006 11:49:34 -0400
> From: Joshua Noble <>
> Subject: [oXygen-user] "content is not allowed in prolog" using Oxygen
> for MXML files
> To:
> Message-ID: <>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
>
>
> I'm trying to use Oxygen to edit MXML files (Macromedia Flex).
> Everything works fine except that this error always appears:
> content is
> not allowed in prolog. What's up with this? Here's the line
> it chokes on:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> This is the way all Flex files start and there don't seem to be any
> problems there. Anybody know what's up?
More information about the oXygen-user
mailing list