I also get that error. It seems to me that GGE is slow and it takes a while for it to register things. What I do is type the line twice and then wait for few minutes. The error disappears. Then I remove one of the XML declarations.
It seems weird but it has worked for me so far. Otherwise any time I start a new gadget that is the first message I get even though the XML declaration is there. Also, sometime when I want to modify an old gadget I load it from the GGE library. It loads fine but I can not make any changes. I go to the end delete/add new line and suddenly the editor becomes alive and now I can edit the Gadget source code in the editor window. Again my guess is that 1. The Javascript programs running in Browsers are not very responsive 2. Javascript interpreter probably has some bugs These are my guesses I am really not sure. I am thinking to learn profiling Javascript to figure out what is going on. Javed On May 22, 2:37 pm, Andre Seib <[email protected]> wrote: > tellus, > > I'm having the same issue, and I'm not sure if you noticed but all the > Popular Gadgets and API examples > here:http://code.google.com/apis/gadgets/docs/legacy/gs.html#Scratchpaddo > the same thing when loaded. > > -Andre > > On May 21, 7:34 am, tellus <[email protected]> wrote: > > > > > > > Hi! > > > I'm working on my first gadget and have made a dummy in GGE. But even > > though I write the first line > > > <?xml version="1.0" encoding="UTF-8" ?> > > > when I save the sample.xml, the text is change to > > > <?xmlversion="1.0" encoding="UTF-8" ?> which off course gives en xml- > > error. > > > Is this an indication that I should not use the GGE, and use another > > editor instead? ;-) > > > br > > -tellus > > > -- > > You received this message because you are subscribed to the Google Groups > > "iGoogle Developer Forum" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/Google-Gadgets-API?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "iGoogle Developer Forum" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/Google-Gadgets-API?hl=en. -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en.
