Thanks Jason.
But then I have to wonder why the element names are not case-
insensitive...
Check this out: In the autoComplete example at
http://code.google.com/gme/samples.html#autoComplete, change
"gm:template" to "gm:Template" on line 5 and line 27 and the syntax
validator throws an error 'Line 3: Attribute name "template" must have
value that matches the "id" attribute of an existing template;
"autocomplete" was not found.'
Benjamin
On Aug 22, 2:54 am, Jason <gmej...@google.com> wrote:
Hi Benjamin. I apologize for the delay. After digging around a bit, I
learned that all GME attribute names were designed to be case-
insensitive as a convenience to developers. This way, if you
accidentally use 'pageSize' (or even 'pAgEsIzE') instead of
'pagesize,' your application should compile and load as it would
otherwise.
- Jason
On Aug 16, 12:30 pm, Benjamin <chec...@gmail.com> wrote:
In the <gm:item> and <gm:handleEvent> example, the <gm:list> element
has an attribute "size". I assume that should be "pagesize"?
When looking at the other examples, I realized that you are always
using pageSize as the attribute name. I tried pagesize, pageSize, even
pAgEsIzE and all three versions worked just fine, but element and
attribute names are supposed to be case sensitive in XML...
I am sorry if I seem to be picky; just want to help improving the
documentation.