I use the Gadget Editor; i paste my code change in the editorfrom notepad;
then I put my cursor between xml and version...  I hit the space bar a few
times and it will eventually produce the space you need ... more then one
space works fine.  Then click the save and it should  work fine.

Regards,

Chris

On Thu, Feb 4, 2010 at 4:31 PM, Rob Russell <[email protected]> wrote:

> Hi Mark,
> This seems to be a new problem, it appears that the xml preamble is
> corrupted. Basically the space between "xml" and "version" is removed when
> the Gadget Editor saves the file. Please file an issue in the tracker
> http://code.google.com/p/opensocial-resources/wiki/IssuesTab?tm=3 and I'll
> forward it along.
>
> In the mean time, the best way to develop your gadget will be to host it
> somewhere else (either on your own server or free hosting like
> code.google.com)
>
> Thanks,
>
> Rob Russell
> Google Developer Relations
>
>
> On Thu, Feb 4, 2010 at 7:24 AM, Mark <[email protected]> wrote:
>
>> Hi,
>>
>> I'm new to gadgets dev. I go to the intro page which has the gadgets
>> code editor:
>>
>>  http://code.google.com/apis/gadgets/docs/tools.html
>>
>> a hello-world sample is already provided. I try File -> Publish, but
>> get an error:
>>
>>  "Validation is not allowed for this file."
>>
>> my code is just the hello-world code that was already pre-populated by
>> the site:
>>
>>  <?xmlversion="1.0" encoding="UTF-8" ?>
>>  <Module>
>>    <ModulePrefs title="hello world example" />
>>    <Content type="html">
>>       <![CDATA[
>>         Hello, world!
>>       ]]>
>>    </Content>
>>  </Module>
>>
>> I can save the module as a new file, just can't publish it. I don't
>> understand, isn't the GCE there for developing gadgets?
>>
>> Thanks
>>
>> --
>> 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]<google-gadgets-api%[email protected]>
>> .
>> For more options, visit this group at
>> http://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]<google-gadgets-api%[email protected]>
> .
> For more options, visit this group at
> http://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.

Reply via email to