On Nov 26, 6:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Nov 26, 5:48 am, Schall <[EMAIL PROTECTED]> wrote:> Hi, > > > Small problem, big headache withhttp://www.globespots.com/test.php > > > I'm generating markers from database trough an XML file - similar to > > the Google Map tutorial. They show up fine in IE, but nothing in FF. > > > I have put alert boxes, which shows that the XML is generated fine in > > both cases, but in FF the markers array is not created (markers.length > > = 0). > > > Any ideas any one? > > Firefox has this thing called the "Error Console". It reports: > Error: XML or text declaration not at start of entity > Source File:http://www.globespots.com/test.php > Line: 2, Column: 1 > Source Code: > <?xml version="1.0"?> > > Notice the "Line: 2". There is white space before the <?xml ... > which is invalid. Firefox rejects invalid xml, apparently IE doesn't > care in this case. > When I remove the blank line, it works: http://www.geocodezip.com/GenericMapBrowser.asp?filename=globespots_markersXMLa.xml
When I load your xml, it doesn't: http://www.geocodezip.com/GenericMapBrowser.asp?url=http://www.globespots.com/markersXML.php -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
