cdata warning doesn't point to line.

For topics about current BETA or future releases, including feature requests.

cdata warning doesn't point to line.

Postby RSteinwand » Mon Feb 22, 2010 10:31 pm

I've got this warning in b2:

"This document contains 1 CDATA section. Using CDATA sections is not recommended due to poor browser support (even some newer browsers fail to properly support it) and due to other complications. AI Internet Solutions recommends avoiding CDATA sections if possible or commenting them out (for example, using "//<![CDATA[" and "//]]>" in a "script" element)."

... but there's no line number listed and when I click on the error, it doesn't point to the line in error (line22), like the other errors.

Document is xhtml strict and the offending script looks like this:
<script type="text/javascript">
//<![CDATA[
...
...
//]]>
</script>
Rick
User avatar
RSteinwand
Rank IV - Intermediate
Rank IV - Intermediate
 
Posts: 199
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND

Re: cdata warning doesn't point to line.

Postby Albert Wiersch » Tue Feb 23, 2010 9:34 am

Hi Rick,

Thanks. This isn't a bug, but a design limitation. I have made a note to see if this can be improved in a future version/beta.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX

Re: cdata warning doesn't point to line.

Postby RSteinwand » Tue Feb 23, 2010 9:36 am

Hi Albert.

After posting that I realized that it probably wasn't a bug since there was other entries at the top w/o a line number.
Rick
User avatar
RSteinwand
Rank IV - Intermediate
Rank IV - Intermediate
 
Posts: 199
Joined: Mon Jun 09, 2008 2:12 pm
Location: Fargo, ND


Return to CSE BETA Talk

Who is online

Users browsing this forum: No registered users and 2 guests