Skip to main content
Legend
June 5, 2014
Answered

xmlParse CF10 vs. CF11

  • June 5, 2014
  • 1 reply
  • 565 views

I'm having a problem with xmlParse and CF11. I have a site running perfectly under either CF9 or CF10. It uses xml files for various site settings and static content. Under CF11 I'm receiving the following:

An error occurred while Parsing an XML document. Invalid byte 2 of 2-byte UTF-8 sequence.

I've sent the document through various xml validators, no issues. Like I said, the exact same document parsed fine under CF9 & CF10 -- in fact it was created by CF9 and/or CF10.
Any ideas on what might be causing this (other than a CF11 bug) and a possible work around. (it's hard to create a work around when I'm not even sure the issue)

BTW, I downloaded and installed the latest CF11 yesterday. A check for updates does not show any available.

    This topic has been closed for replies.
    Correct answer Steve Sommers

    Hmmm, I found the issue. I found a post on another forum that suggested opening the xml document in Firefox as it's xml parser is very sensitive (as is CF11 apparently). It pointed right to the offending text -- a high byte character (actually a few). It still baffles me that CF9 & 10 created these XML documents and parsed them without issue all this time.

    1 reply

    Steve SommersAuthorCorrect answer
    Legend
    June 5, 2014

    Hmmm, I found the issue. I found a post on another forum that suggested opening the xml document in Firefox as it's xml parser is very sensitive (as is CF11 apparently). It pointed right to the offending text -- a high byte character (actually a few). It still baffles me that CF9 & 10 created these XML documents and parsed them without issue all this time.