| Author |
Message |
   
Dreamcatcher
Comedian Username: Dreamcatcher
Post Number: 1407 Registered: 11-2009 Posted From: 208.86.145.68
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:42 pm: |
    |
Blackmamba:
Tammudu, try trial and error. Divide content into multiple sub sections and comment or take the subsection out that you suspect most that could be causing the error. See if XML passes parsing. If it does, then you have a smaller section to look at and debug and figure out what could be causing error in that sub section. Good luck. |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5361 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:23 pm: |
    |
Gotcha:
thanks.. will try it out.. |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5360 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:23 pm: |
    |
Rowdy:same code testing environment lo untundi kadaa ..
ade unte eeda taadu enduku esetodini.. |
   
Gotcha
Side Hero Username: Gotcha
Post Number: 7876 Registered: 02-2008 Posted From: 24.13.71.222
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:10 pm: |
    |
http://www.experts-exchange.com/Web_Development/Web_Language s-Standards/XML/Q_24814185.html This real estate is for sale. |
   
Gotcha
Side Hero Username: Gotcha
Post Number: 7875 Registered: 02-2008 Posted From: 24.13.71.222
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:09 pm: |
    |
check this script which removes special characters: private function strip_invalid_xml_chars( $in ) { $out = ""; // Used to hold the output. $current; // Used to reference the current character. if ( empty($in) ) { return ""; // vacancy test. } $length = strlen($in); for ( $i = 0; $i < $length; $i++) { $current = ord($in{$i}); if ( ($current == 0x9) || ($current == 0xA) || ($current == 0xD) || (($current >= 0x20) && ($current <=>= 0xE000) && ($current <=>= 0x10000) && ($current <= 0x10FFFF))) { $out .= chr($current); } else { $out .= " "; } } return $out; } This real estate is for sale. |
   
Rowdy
Side Hero Username: Rowdy
Post Number: 8676 Registered: 01-2010 Posted From: 76.17.133.130
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:08 pm: |
    |
Blackmamba:
same code testing environment lo untundi kadaa ... elli test cheyyakudada? Fans are mainly fans of their own fanship rather than the fans of whom they claim to be fans of - RGV |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5352 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:06 pm: |
    |
Gotcha:first part lo una text okate unchi migatadi delete chesi xml load avutundo ledu oka sari test chesi chudu.
annai idi prod env.. and to do that i have to create a new version of that document which will be published to the website.. so aa testing eti seyyalenu |
   
Gotcha
Side Hero Username: Gotcha
Post Number: 7874 Registered: 02-2008 Posted From: 24.13.71.222
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:04 pm: |
    |
first part lo una text okate unchi migatadi delete chesi xml load avutundo ledu oka sari test chesi chudu. This real estate is for sale. |
   
Gotcha
Side Hero Username: Gotcha
Post Number: 7873 Registered: 02-2008 Posted From: 24.13.71.222
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:02 pm: |
    |
check this link for explanation http://www.w3schools.com/xml/xml_cdata.asp This real estate is for sale. |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5349 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 10:00 pm: |
    |
Gotcha:regular text
there are two parts in that xml.. first part CDATA lo <p> lo regular text undi.. second CDATA lo google maps nundi edo undi.. andulo #,& virivigaa use sesaar.. |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5348 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:58 pm: |
    |
Gotcha:CDATA ai use chesedi anduke kada to wrap around all espace sequences.
bayya kodga explain seyyi.. CDATA lo error undi ani soofitta undi log lo.. akkada chooste emo special characters tappa emi kanafadatledu... deni valla aiundochantav.. |
   
Gotcha
Side Hero Username: Gotcha
Post Number: 7872 Registered: 02-2008 Posted From: 24.13.71.222
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:56 pm: |
    |
emi data undi cheppu. is it regular text or binary data? This real estate is for sale. |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5346 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:56 pm: |
    |
Gotcha:
endo artham aitaledu sakkaga.. oke name tho two objects unnayi.. okati emo russian language inkoti emo english lo undi.. endulo error vattando ardam aitaledu.. denemma edava jeevitham... |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5345 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:54 pm: |
    |
Rowdy:BI
idetidi.. business inteliigence aaa... adukkune vaadi deggara geekkkodam ante idenemo.. j/k |
   
Gotcha
Side Hero Username: Gotcha
Post Number: 7871 Registered: 02-2008 Posted From: 24.13.71.222
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:54 pm: |
    |
Blackmamba:found an & in CDATA.. could that be an issue??
nope. CDATA ai use chesedi anduke kada to wrap around all espace sequences. This real estate is for sale. |
   
Rowdy
Side Hero Username: Rowdy
Post Number: 8675 Registered: 01-2010 Posted From: 76.17.133.130
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:53 pm: |
    |
Blackmamba:teliste kodga help seyyi anthe kaani edava logiklu mttadaku
nenu neekosam idi etukutaa ... naku oka customer-exit code kavali BI laa .. help chestava? :P Fans are mainly fans of their own fanship rather than the fans of whom they claim to be fans of - RGV |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5341 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:49 pm: |
    |
Rowdy:mukka rakunda inni mukkalela matadinav?
ehe akkada eti jarugutundo soosi seppa anthe... aa jhtml ni parse seseppudu error vatta undi... adi kooda log lo soosi seppa...eti seyyalo ardam aita ledu.. teliste kodga help seyyi anthe kaani edava logiklu mttadaku |
   
Rowdy
Side Hero Username: Rowdy
Post Number: 8674 Registered: 01-2010 Posted From: 76.17.133.130
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:46 pm: |
    |
Blackmamba:manaki xml mukka raadu
Blackmamba:oka xml file undi.. daniki jhtml rendition create avtundi.. ee error aa jhtml ni parse seseppudu vastundi...
mukka rakunda inni mukkalela matadinav? Fans are mainly fans of their own fanship rather than the fans of whom they claim to be fans of - RGV |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5339 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, March 16, 2011 - 09:43 pm: |
    |
bump.. idi etta solve seyyalo ardam aitaledu.. manaki xml mukka raadu .. kodga guide seyyundri flz... |
   
Kimura
Comedian Username: Kimura
Post Number: 1062 Registered: 07-2010 Posted From: 68.34.113.71
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 15, 2011 - 10:48 pm: |
    |
if the xml is formatted already.. that means there are spaces or something else.. so one way to handle this is to remove the special chars and try again or use DOM parsers instead of SAX parsers.. |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5282 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 15, 2011 - 10:29 pm: |
    |
tags anni correct gane unnayi.. w3 schools lo ki velli validate chestey no errors ani seppindi.. |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5281 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 15, 2011 - 10:22 pm: |
    |
i found an & in CDATA.. could that be an issue?? |
   
Gotcha
Side Hero Username: Gotcha
Post Number: 7867 Registered: 02-2008 Posted From: 24.13.71.222
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 15, 2011 - 10:15 pm: |
    |
try opening xml file in browser ad see what u see. is it well formed xml aa kada anadi telispotundi through browser. This real estate is for sale. |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5280 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 15, 2011 - 10:12 pm: |
    |
oka xml file undi.. daniki jhtml rendition create avtundi.. ee error aa jhtml ni parse seseppudu vastundi... |
   
Gotcha
Side Hero Username: Gotcha
Post Number: 7866 Registered: 02-2008 Posted From: 24.13.71.222
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 15, 2011 - 10:08 pm: |
    |
r u having base64 data in the xml? This real estate is for sale. |
   
Kadapanagfan
Legend Username: Kadapanagfan
Post Number: 39959 Registered: 12-2006 Posted From: 75.187.116.77
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 15, 2011 - 10:03 pm: |
    |
Blackmamba: how to resolve this.. evaranna kodga help seyyandi flzz..
space unnna leka yedannna unexpected charecter unnna yeee type errros vastayi parse chesey xml file ni neat ga align and format chesuko http://www.youtube.com/watch?v=Yd3yKwT2Yyk http://www.youtube.com/watch?v=Cu048ndTsWQ&feature=related |
   
Blackmamba
Side Hero Username: Blackmamba
Post Number: 5278 Registered: 05-2010 Posted From: 72.187.125.4
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, March 15, 2011 - 09:56 pm: |
    |
SAX error during XML processing. An invalid XML character (Unicode: 0xb) was found in the CDATA section. how to resolve this.. evaranna kodga help seyyandi flzz.. |