cancel
Showing results for 
Search instead for 
Did you mean: 

XMLHttpRequest preculiarity

johna69
Product and Topic Expert
Product and Topic Expert
0 Kudos

Has anyone else come across problems reading RSS (RDF) feeds with XMLHttpRequest.

When I try to access the ABAP feed for the SDN Weblogs I see that XMLHttpRequest.responseText has some entity characters missing that were received. I can determine that they were received using 'tcpdump -A -s1024' (don't you love that OS X is built on linux).

// The response XML is dying on the PEReference with

// 2006-10-05 15:15:59.125 Safari[492] Value error on line 6 at column 13: PEReference: HTMLlat1; not found

// even though response.responseText:

// <!DOCTYPE rdf:RDF [

// <!ENTITY TMLlat1 PUBLIC

// "-//W3C//ENTITIES Latin 1 for XHTML//EN"

// "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">

// HTMLlat1;

// ]>

// The sniffer shows:

// <?xml version="1.0"?>

// <!DOCTYPE rdf:RDF [

// <!ENTITY % HTMLlat1 PUBLIC

// "-//W3C//ENTITIES Latin 1 for XHTML//EN"

// "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">

// %HTMLlat1;

// ]>

You can see in the ENTITY that '# H' is missing.

I will explore some options on XMLHTtpRequest to see if I can clear this up.

JohnA

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Correction: OS X is built on Darwin which is based on FreeBSD, not Linux.

http://www.opensource.apple.com/darwinsource/

http://www.freebsd.org/