On Feb 8, 8:34 am, "[email protected]" <[email protected]>
wrote:
> On Feb 8, 7:03 am, rpboer <[email protected]> wrote:
>
> > Hello Larry,
> > thanks for your swift reply. I did remove the funny char on line 999.
> > No result.
>
> It was a thought.
>
> > The main problem lies within the fact ( I think) that IE is not able
> > to translate my XML correct. I've noticed some other posts also
> > complaining that the markers are not visible in IE.
> > What is needed is some kind of a guide-line how to use the api in IE.
> > (or tell us what code NOT to use).
>
> > ......anyone.....?
>
> It is definitly a problem with your xml. If I run it through my proxy
> (which as I recall changes the headers), it
> works:http://www.geocodezip.com/test_villasud_nl_google_maps_allB.html
I suspect this:
header("Content-Type: application/xml");
in your xml generation.
Two thoughts:
1. try moving it up with the other "header" statements
2. try changing it to:
header("Content-type: text/xml");
because
a.) that is what the tutorials use:
http://code.google.com/apis/maps/articles/phpsqlajax.html
http://code.google.com/apis/maps/articles/phpsqlsearch.html
and
b.) the feed validator that I pointed to earlier thinks:
> In addition, interoperability with the widest range of feed readers could be
> improved by implementing the
> following recommendation.
>
> - "application/xml" media type is not specific enough [help]
-- Larry
>
> > Would it help to post the code of the page ?
>
> No.
>
> -- Larry
>
>
>
>
>
> > On 6 feb, 23:40, "[email protected]" <[email protected]> wrote:
>
> > > On Feb 5, 5:28 pm, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Feb 5, 11:57 am,rpboer<[email protected]> wrote:
>
> > > > > Hello all,
> > > > > My site encounters a problem in IE only and the message is :
> > > > > Error Message: 'documentElement' is empty or not an object.
>
> > > > > I've the feeling it has something to do with the xml feature, not
> > > > > being read or translated. However I realy have no clue where to look.
>
> > > > > The url is :http://test.villasud.nl/omgeving_all.php
> > > > > The code is :
> > > > > ===============================================================
> > > > > header("Expires: Mon, 26 Jul 1990 05:00:00 GMT");
> > > > > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
> > > > > header("Cache-Control: no-store, no-cache, must-revalidate");
> > > > > header("Cache-Control: post-check=0, pre-check=0", false);
> > > > > header("Pragma: no-cache");
>
> > > > Are you setting the character encoding anywhere for the xml output
> > > > stream?
>
> > > > It works for
> > > > me:http://www.geocodezip.com/GenericMapBrowser.asp?url=http://test.villa...
>
> > > > (the proxy forces the character encoding as I recall)
>
> > > > And I can view the xml directly in
> > > > IE6:http://test.villasud.nl/google_maps.php?output=xml&omgeving=
>
> > > > Which is usually not the case if the xml is invalid. IE can be picky
> > > > about the character encoding though.
>
> > > If you run your xml through
> > > feedvalidator:http://beta.feedvalidator.org/check.cgi?url=http%3A%2F%2Ftest.villasu...
>
> > > It says:
> > > line 999, column 0: infowindow contains bad characters
>
> > > <td colspan=2 valign=top align=left><a href='/villa_detail.php?id=157'
> > > target='_blank' class='extraknop_groen'>Le Capitou d\x92Estérel</a></
> > > td>
>
> > > Try removing that infowindow or changing the character it is
> > > complaining about to a valid iso-8859-1 character.
>
> > > -- Larry
>
> > > -- Larry
>
> > > > > ================================================================
>
> > > > > Could anyone please help me out with this.I've been struggling over a
> > > > > week now....with no result. FF works like a charm.......
> > > > > Thanks in advance.
> > > > > Robin- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--
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.