on 10-06-2006 2:32 PM
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
Correction: OS X is built on Darwin which is based on FreeBSD, not Linux.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.