11 messages in com.googlegroups.google-mashup-editor[gme] Re: Very Strange Error
FromSent OnAttachments
newcomer15 Jun 2008 08:33 
Ray15 Jun 2008 14:05 
Ray15 Jun 2008 15:16 
Christian Muise15 Jun 2008 15:22 
Frankie Roberto16 Jun 2008 02:22 
Jason16 Jun 2008 10:52 
newcomer16 Jun 2008 20:59 
Jason17 Jun 2008 11:28 
frankie roberto17 Jun 2008 14:04 
newcomer20 Jun 2008 22:18 
newcomer20 Jun 2008 22:35 
Subject:[gme] Re: Very Strange Error
From:newcomer (RT.D@gmail.com)
Date:06/20/2008 10:35:03 PM
List:com.googlegroups.google-mashup-editor

Please ignore my previous post..

very sorry,..I was doing stupid thing,..the compilation error comes from other file.

sorry, i had modified my code to get through it,...

But new error comes in complier. There is a compilation error, saying Line 80: Element type "td" must be followed by either attribute specifications, ">" or"/>"

The strange 1. the published app is fine to run,...,the same source code,...cannot be compiled at GME, show above error. 2. line 80 is a code line in <script>,...no td at all 3. no matter i add a line above or below,...the error always happens in line 80

I have checked of tags are properly closed.

Below is my mashup.

http://news-analysis.googlemashups.com/

On 6月18日, 上午5時04分, "frankie roberto" <fran@frankieroberto.com> wrote:

Does escaping (via either a CDATA section or &lt;) not work? It ought to, surely?

On Tue, Jun 17, 2008 at 7:28 PM, Jason <gmej@google.com> wrote:

I haven't seen this before. GME does have a bug where if you specify the 'type' attribute of your script element (e.g. <script type="application/javascript">...), certain characters within the script block (such as '<', '>', '--', etc.) are interpreted as XML. If you omit the 'type' attribute and properly close all of your tags, you shouldn't have any problems using '<' in your JavaScript. If you share the URL of your mashup, I can try to help you figure out what the original problem was.

- Jason

On Jun 16, 9:00 pm, newcomer <RT.D@gmail.com> wrote:

I think the GME confuse the HTML's "<" with Javascript's "<"

When simple gml,...the problem does not appear. When complicated gml,...more and more <gm:...> tags appears before Javascript,...the GME compiler confuses.

The problems also appear with while...loop,...or whatever involving "<".

I figure out a better workaround.....Avoiding to "<".... changing the statement from i>0 to 0<i,...the problem disappears.

On Jun 17, 1:52 am, Jason <gmej@google.com> wrote:

Can you post your mashup's URL?

- Jason

On Jun 15, 8:33 am, newcomer <RT.D@gmail.com> wrote:

I have a very strange with for loop...below.

<script> function doSomething(){

for(var i=0; i<5; i++){ ...

} }

</script>

Originally, it is very simple...but it returns the compilation error:"The content of the elements must consist of well-formed character data or markup".

The above error consistently exists in one gml,...but not in

another.- Hide quoted text -

- Show quoted text -