I have similar problem now. The PHP code generating XML is in the
loop:
$str .= '<marker lat="'.$mapa['lat'].'" lng="'.$mapa['lng'].'"
><name><![CDATA['.utf8_encode( $row['nazwa_obiektu'] ).']]></
name><address><![CDATA['.utf8_encode( $row['miasto'] ).']]></
address><text><![CDATA['.substr( strip_tags( str_replace( '"', '', $row
['opis_obiektu'] ), '<br/>' ), 0 , 150 ).']]></text></marker>';

I simplified it. Now I removed utf8_encode from <text> beacase in such
JS:
var text = decodeURIComponent( escape( GXml.value( markers
[i].getElementsByTagName( "text" )[0] ) ) );

I got error: "malformed URI sequence".
When I removed it and changed JS:
var text1 = markers[i].getElementsByTagName( "text" )[0];
      text1 = decodeURIComponent( GXml.value( text1 )  );

FF works fine but under IE7 I get error in XML and on the page. How to
repair it?

Regards,
masterix

On 27 Wrz, 22:47, Rossko <[email protected]> wrote:
> > >         <!DOCTYPE Server SYSTEM "opt/pdos/etc/pdoslrd.dtd">
> > > which isn't valid XML
>
> Finger trouble there, sorry, try again -
> Valid XML, but the dtd you have specified doesn't exist.
--~--~---------~--~----~------------~-------~--~----~
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