Jump to content

Java console log/HTML rendered = Apparent parsing error


chopsticks
 Share

Recommended Posts

I noticed that there seems to be a XML/screenscraping issue happening (at least that's the only other time I've personally witnessed this situation occur in my experience).

The "band bio" area seems to update OK. The links are pulled in and everything looks purty. :wink:

but the HTML reveals that there is incorrect piggybacking of two hyperlinks -- resulting in an invalid URL.

I've noticed this happening in Firefox 2 & 1.507 (newest Java 1.5.0_10, Flash Switcher r28).

PANDORA RUSTED v4

________________________________________________________

Example 1:

<div id="bandBio2">

    <div class="f"></div>







            

                        Jessica Ann Simpson (born July 10, 1980) is an American <a target="_blank" href="http://last.fmhttp://www.last.fm/tag/pop" class="bbcode_tag" rel="tag">pop</a> music singer, author, and actress who rose to fame during the late 1990s.<br>

<br>

Simpson has released five albums: <a target="_blank" href="http://last.fmhttp://www.last.fm/music/Jessica+Simpson/Sweet+Kisses">Sweet Kisses</a> (1999), <a target="_blank" href="http://last.fmhttp://www.last.fm/music/Jessica+Simpson/Irresistible">Irresistible</a> (2001), <a target="_blank" href="http://last.fmhttp://www.last.fm/music/Jessica+Simpson/In+This+Skin">In This Skin</a> (2004), <a target="_blank" href="http://last.fmhttp://www.last.fm/music/Jessica+Simpson/Rejoyce%3A+The+Christmas+Album">Rejoyce: The Christmas Album</a> (2004), and <em>A Public Affair</em> (2006). <br>



<br>

On October 26, 2002 Simpson married <a target="_blank" href="http://last.fmhttp://www.last.fm/music/98+Degrees" class="bbcode_artist">98 Degrees</a> bandmember <a target="_blank" href="http://last.fmhttp://www.last.fm/music/Nick+Lachey" class="bbcode_artist">Nick Lachey</a>.  From 2003 to 2005, Simpson and Lachey let MTV cameras into their home to film their own reality TV show, entitled <em>Newlyweds: Nick and Jessica</em>.  She starred in another show with Lachey, ABC's <em>Nick and Jessica's Variety Hour</em>, in 2004.  In 2005, Simpson starred in her first major film role as Daisy Duke in <em>The Dukes of Hazzard</em>.   <br>

<br>

In 2004, Simpson released a wedding how-to hardcover, entitled <em>I Do: Achieving Your Dream Wedding</em>.  She has also released her own line of beauty products, entitled <em>Dessert</em>, and a women's clothing line.<br>



<br>

In November 2005, Simpson and Lachey announced their split and on December 16, 2005, Simpson filed for divorce.  The divorce was finalized on June 30, 2006.<br>

<br>

Simpson's latest album, <em>A Public Affair</em> was released on August 29, 2006.  Her next film role is in the comedy <em>Employee of the Month</em>, costarring <a target="_blank" href="http://last.fmhttp://www.last.fm/music/Dane+Cook" class="bbcode_artist">Dane Cook</a>, which will be released at the end of 2006.

            

</div>

NOTE--> http://last.fmhttp://www.last.fm

__

Example 2:

<div id="bandBio2">

    <div class="f"></div>







            

                        The Darling Buds were an indie band from Caerleon near Newport, Wales. The band were formed in 1986 and took their name from a British novel called The Darling Buds of May.<br>

<br>

Influenced by the catchy simpler sound of the early Beatles, the band created very melodic hook driven short duration singles. They were considered part of the short lived "Blonde" movement(bands that were fronted by blondes with the band members dressed in black) along with the like of <a target="_blank" href="http://last.fmhttp://www.last.fm/music/The+Primitives" class="bbcode_artist">The Primitives</a> but also referenced the C86 scene of a few years earlier.<br>

<br>

Whilst the band were not hugely successful, they did manage to score a number of notable hits in their native UK and managed to release three full length albums as listed below:<br>

<br>

Pop Said - Epic 1988<br>

<br>



Crawdaddy - Epic 1990<br>

<br>

Erotica - Epic 1992<br>

<br>

They also released numerous 7" & 12" vinyl/cd singles. The release of their 1992 cd caused some minor controversy when it was released several months prior to Madonna's cd of the same title. For more information go to: <a target="_blank" href="http://last.fmhttp://www.stutter.demon.co.uk/elastica/darling.html%3Cbr">www.stutter.demon.co.uk/elastica/darling.html<br></a> />

<br>

<br>

<br>

Members<br>



<br>

    * Andrea Lewis - Vocals<br>

    * Harley Farr - Guitar<br>

    * Chris McDonogh - Bass<br>

    * Blos - Drums (1986-1990)<br>

    * Jimmy Hughes - Drums (1990-1993)<br>

<br>



            

</div>

NOTE--> http://last.fmhttp://www.stutter.demon.co.uk

***

Also, on a related note... here's the contents of the Java window:

Welcome to Pandora's Jar 7.4.0 <<Rusted Out v4>>

Attempting to lauch on port 80...OK!

Resetting save-directory...

Remember, you MUST use Flashplayer 7 - 8.0 to save files

If you are having problems, try the Flash Switcher extension for Firefox

(server ready)

-------------------------------------------------------------

unable to retrieve bio from last.fm: Script '(function(){

function m(b){return b!=null?'"'+b+'"':'""'}function B(b){if(typeof encodeURIComponent=="function"){return encodeURIComponent(b)}else{return escape(b)}}function c(b,a){if(a){window.google_ad_url+="&"+b+"="+a}}function f(b,a){if(a){c(b,B(a))}}function l(b,a,d){if(a&&typeof a=="object"){a=a[d%a.length]}c("color_"+b,a)}function D(b,a){var d=b.screen,g=navigator.javaEnabled(),e=-a.getTimezoneOffset();if(d){c("u_h",d.height);c("u_w",d.width);c("u_ah",d.availHeight);c("u_aw",d.availWidth);c("u_cd",d.colorDepth)}c("u_tz",

e);c("u_his",history.length);c("u_java",g);if(navigator.plugins){c("u_nplug",navigator.plugins.length)}if(navigator.mimeTypes){c("u_nmime",navigator.mimeTypes.length)}}function y(b){b=b.toLowerCase();if(b.substring(0,3)!="ca-"){b="ca-"+b}return b}function G(b,a,d){d=d.substring(0,1000);d=d.replace(/%w?$/,"");if(b.google_ad_output=="js"&&(b.google_ad_request_done||b.google_radlink_request_done)){a.write('<script language="JavaScript1.1" src='+m(d)+"></script>")}else if(b.google_ad_output=="html"){if(b.name!=

"google_ads_frame"){a.write('<iframe name="google_ads_frame" width='+m(b.google_ad_width)+" height="+m(b.google_ad_height)+" frameborder="+m(b.google_ad_frameborder)+" src="+m(d)+' marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no">');a.write("</iframe>")}}else if(b.google_ad_output=="textlink"){a.write('<script language="JavaScript1.1" src='+m(d)+"></script>")}}function F(b){var a=null;b.google_ad_frameborder=a;b.google_ad_format=a;b.google_page_url=a;

b.google_language=a;b.google_gl=a;b.google_country=a;b.google_region=a;b.google_

city=a;b.google_hints=a;b.google_safe=a;b.google_encoding=a;b.google_ad_output=a

;

b.google_max_num_ads=a;b.google_ad_channel=a;b.google_contents=a;b.google_altern

a

te_ad_url=a;b.google_alternate_color=a;b.google_color_bg=a;b.google_color_text=a

;

b.google_color_link=a;b.google_color_url=a;b.google_color_border=a;b.google_colo

r

_line=a;b.google_adtest=a;b.google_kw_type=a;b.google_kw=a;b.google_num_radlinks

=

a;b.google_max_radlink_len=

a;b.google_rl_filtering=a;b.google_rl_mode=a;b.google_rt=a;b.google_ad_type=a;b.

google_image_size=a;b.google_feedback=a;b.google_skip=a;b.google_page_location=a

;

b.google_referrer_url=a;b.google_ad_region=a;b.google_ad_section=a;b.google_bid=

a

;b.google_cpa_choice=a;b.google_cust_age=a;b.google_cust_gender=a;b.google_cust_

i

nterests=a;b.google_cust_id=a;b.google_cust_job=a;b.google_cust_u_url=a;b.google

_

ed=a}function A(){var b=null,a=window,d=document,g=new Date,e=g.getTime(),j=a.google_ad_format;if(a.google_cpa_choice){a.google_ad_url=

"http://pagead2.googlesyndication.com/cpa/ads?";a.google_ad_url+="client="+escape(y(a.google_ad_client));a.google_ad_region="_google_cpa_region_";c("cpa_choice",a.google_cpa_choice);if(typeof d.characterSet!="undefined"){f("oe",d.characterSet)}else if(typeof d.charset!="undefined"){f("oe",d.charset)}}else{a.google_ad_url="http://pagead2.googlesyndication.com/pagead/ads?";a.google_ad_url+="client="+escape(y(a.google_ad_client))}var k=a.google_num_slots_by_client,w=a.google_num_slots_by_channel,i=a.google_prev_a

d_formats_by_region;

a.onerror=a.google_org_error_handler;if(a.google_ad_region==b&&a.google_ad_section!=b){a.google_ad_region=a.google_ad_section}var h=a.google_ad_region==b?"":a.google_ad_region,q=false;if(j){q=j.indexOf("_0ads")>0}if(q){if(a.google_num_0ad_slots){a.google_num_0ad_slots=a.google_num_0ad_sl

ots+1}else{a.google_num_0ad_slots=1}if(a.google_num_0ad_slots>1){return}}else if(!a.google_cpa_choice){if(a.google_num_ad_slots){a.google_num_ad_slots=a.googl

e_num_ad_slots+1}else{a.google_num_ad_slots=1}if(a.google_num_slots_to_rotate){i

[

h]=

b;if(a.google_num_slot_to_show==b){a.google_num_slot_to_show=e%a.google_num_slots_to_rotate+1}if(a.google_num_slot_to_show!=a.google_num_ad_slo

ts){return}}else if(a.google_num_ad_slots>3&&h==""){return}}c("dt",g.getTime());c("hl",a.google_language);if(a.google_country){c("gl",a.google_country)}else{c("gl",a.google_gl)}c("gr",a.google_region);f("gcs",a.google_city);f("hints",a.google_hints);c("adsafe",a.google_safe);c("oe",a.google_encoding);c("lmt",a.google_last_modified_time);f("alternate_ad_url",

a.google_alternate_ad_url);c("alt_color",a.google_alternate_color);c("skip",a.google_skip);var n=a.google_ad_client;if(!k[n]){k[n]=1;k.length+=1}else{k[n]+=1}if(i[h]){f("prev_fmts",i[h].toLowerCase());if(k.length>1){c("slot",k[n])}}if(j){f("format",j.toLowerCase());if(i[h]){i[h]=i[h]+","+j}else{i[h]=j}}c("num_ads",a.google_max_num_ads);c("output",a.google_ad_output);c("adtest",a.google_adtest);if(a.google_ad_channel){var r=a.google_ad_channel.toLowerCase();f("channel",r);var s="",t=r.split("+");for(var o=

0;o<t.length;o++){var p=t[o];if(!w[p]){w[p]=1}else{s+=p+"+"}}f("pv_ch",s)}f("url",a.google_page_url);l("bg",a.google_color_bg,e);l("text",a.google_color_text,e);l("link",a.google_color_link,e);l("url",a.google_color_url,e);l("border",a.google_color_border,e);l("line",a.google_color_line,e);c("kw_type",a.google_kw_type);f("kw",a.google_kw);f("contents",a.google_contents);c("num_radlinks",a.google_num_radlinks);c("max_radlink_len",a.google_max_radlink_len);c("rl_filtering",a.google_rl_filtering);c("rl_mode",

a.google_rl_mode);c("rt",a.google_rt);c("ad_type",a.google_ad_type);c("image_size",a.google_image_size);c("region",a.google_ad_region);c("feedback_link",a.google_feedback);f("ref",a.google_referrer_url);f("loc",a.google_page_location);c("bid",a.google_bid);c("cust_age",a.google_cust_age);c("cust_gender",a.google_cust_gender);c("cust_interests",a.google_cust_interests);c("cust_id",a.google_cust_id);c("cust_job",a.google_cust_job);c("cust_u_url",a.google_cust_u_url);c("ed",a.google_ed);if(z(a,d)&&d.body){var u=

d.body.scrollHeight,v=d.body.clientHeight;if(v&&u){f("cc",Math.round(v*100/u))}}D(a,g);G(a,d,a.google_ad_url);F(a)}function C(b,a,d){A();return true}function z(b,a){return b.top.location==a.location}function x(b,a){var d=a.documentElement;if(z(b,a))return false;if(b.google_ad_width&&b.google_ad_height){var g=1,e=1;if(b.innerHeight){g=b.innerWidth;e=b.innerHeight}else if(d&&d.clientHeight){g=d.clientWidth;e=d.clientHeight}else if(a.body){g=a.body.clientWidth;e=a.body.clientHeight}if(e>2*b.google_ad_height||

g>2*b.google_ad_width){return false}}return true}function E(){var b=window,a=document,d=a.location,g=a.referrer,e=null;b.google_org_error_handler=

b.onerror;b.onerror=C;if(b.google_ad_frameborder==e){b.google_ad_frameborder=0}i

f

(b.google_ad_output==e){b.google_ad_output="html"}if(b.google_ad_format==e&&b.google_ad_output=="html"){b.google_ad_format=b.google_ad_width+"x"+b.google_ad_height}if(b.google_page_url==e){b.google_page_url=g;if(!x(b,a)

){b.google_page_url=d;b.google_last_modified_time=Date.parse(a.lastModified)/

1000;b.google_referrer_url=g}}else{b.google_page_location=g;if(!x(b,a)){b.google

_page_location=d}}if(b.google_num_slots_by_channel==e){b.google_num_slots_by_cha

n

nel=[]}if(b.google_num_slots_by_client==e){b.google_num_slots_by_client=[]}if(b.

g

oogle_prev_ad_formats_by_region==e){b.google_prev_ad_formats_by_region=[]}}E();A

(

);

})()' failed: ConversionError: The undefined value has no properties. (httpunit; line 2)

unable to retrieve top fans from last.fm: top friends not found

No enum const class enums.FileType.WRITE(

URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "a."

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve top fans from last.fm: Error on HTTP request: 503 Service Temporarily Unavailable [http://www.last.fm/music/Jessica+Simpson/_/I+Have+Loved+You]

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve bio from last.fm: Error on HTTP request: 503 Service Temporarily Unavailable [http://www.last.fm/music/Tegan+And+Sara/+wiki]

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve bio from last.fm: band info not found

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve top fans from last.fm: top friends not found

unable to retrieve top fans from last.fm: top friends not found

unable to rip MP3 unable to find file make sure you have Pandora running in a FIRFOX browser

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...