tracker issue : CFB-3775884

select a category, or use search below
(searches all categories and all time range)

Incorrect Code Validation for <script>

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Christopher Tierney / CFJSGeek (Christopher Tierney)

Created: 06/13/2014

Components: Editor Features

Versions: 3.0

Failure Type:

Found In Build/Fixed In Build: 3.0 Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 4

Problem Description:
CFML Code validation for <script> is throwing a "syntax error" and "illegally formed XML syntax" errors on correct JavaScript.

Steps to Reproduce:
Create .cfm page, write code and save:
<!DOCTYPE html>
        <script src="//"></script>
        <script>window.jQuery || document.write('<script src="/js/libs/jquery-1.8.3.min.js"><\/script>')</script>

Actual Result:
"syntax error" and "illegally formed XML syntax"  error icons and description in gutter

Expected Result:
No error thrown

Any Workarounds:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3775884

External Customer Info:
External Company:  
External Customer Name: CFJSGeek
External Customer Email:  
External Test Config: My Hardware and Environment details:

ColdFusion Builder



We are also experiencing this exact same problem with most of our .cfm files. Can't find a solution to this anywhere and it is preventing me from wanting to make any use of Coldfusion Builder until this can be fixed.
Vote by extuser
26974 | August 29, 2014 11:45:21 PM GMT
CFBuilder is flagging "errors" of "illegally formed XML syntax" and "missing ; before statement" errors that do not match the working file. These are problematic as it makes seeing real issues difficult.
Vote by extuser
26975 | August 29, 2014 11:49:26 PM GMT
Is this every going to get fixed? I can't turn off the XML parser, and this error effectively makes the builder useless for developing CFM pages.
Vote by extuser
26976 | May 17, 2015 12:52:49 PM GMT
Error flags for nonexistent errors, placed in files to which they don't even apply.
Vote by extuser
26977 | May 17, 2016 06:48:01 PM GMT