Thank you for the link.  Was able to learn that

<!ELEMENT markers (marker*)>

instead of

<!ELEMENT markers (marker+)>

indicates there may be zero marker elements as opposed to one or more
marker elements.

So W3 now says the XML is valid:

http://validator.w3.org/check?uri=http%3A%2F%2F209.62.63.202%2Flocations%2Fphpsqlsearch_genxml.php%3Flat%3D33.7489954%26lng%3D-84.3879824%26radius%3D1&charset=%28detect+automatically%29&doctype=Inline&group=0

Unfortunately IE still says no but I won't ask that you respond to
that issue as it must be outside the purview of the group per your
previous responses.

Thank you for your time.

JG



On Mar 31, 12:38 pm, Andrew Leach <[email protected]>
wrote:
> On Mar 31, 6:29 pm, Jerry Garciuh <[email protected]> wrote:
>
> > Thank you for the reply.
>
> > When supplied that XML IE throws the JavaScript error
>
> > Error: 'documentElement' is null or not an object
>
> > referencing these lines
>
> >        var xml = GXml.parse(data);
> >        var markers =
> > xml.documentElement.getElementsByTagName('marker');
>
> > I would like to know what I can do to eliminate this JavaScript error.
>
> That's not the question you asked. Help us to help you: please supply
> a link as requested in the posting guidelines.
>
> The error means that the xml has not parsed correctly. There could be
> any number of reasons for that, including an invalid DTD -- or data
> which does not validate against the DTD. What your DTD is actually
> defining, and how to specify it to validate the data you are
> generating, is explained in the document I linked to.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-maps-api?hl=en.

Reply via email to