Need help with xml.. Chalanachithram.com | Topics | Search
Hide Clipart | Log Out | Register | Edit Profile

Last 30 mins | 1 | 2 | 4 hours     Last 1 | 7 Days

Chalanachithram.com DB » TF Industry related » Archive through March 17, 2011 » Need help with xml.. « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this 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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Gotcha:



thanks.. will try it out..
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Rowdy:

same code testing environment lo untundi kadaa ..



ade unte eeda taadu enduku esetodini..
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

http://www.experts-exchange.com/Web_Development/Web_Language s-Standards/XML/Q_24814185.html
This real estate is for sale.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

check this link for explanation
http://www.w3schools.com/xml/xml_cdata.asp
This real estate is for sale.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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..
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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..
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

emi data undi cheppu. is it regular text or binary data?
This real estate is for sale.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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...
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Rowdy:

BI



idetidi.. business inteliigence aaa... adukkune vaadi deggara geekkkodam ante idenemo.. j/k
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

bump..

idi etta solve seyyalo ardam aitaledu.. manaki xml mukka raadu .. kodga guide seyyundri flz...
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

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..
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

tags anni correct gane unnayi.. w3 schools lo ki velli validate chestey no errors ani seppindi..
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

i found an & in CDATA.. could that be an issue??
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

oka xml file undi.. daniki jhtml rendition create avtundi.. ee error aa jhtml ni parse seseppudu vastundi...
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

r u having base64 data in the xml?
This real estate is for sale.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


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
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Insert Quote Edit PostDelete PostPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

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..

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x93b9648){Movie Clipart}
Show / Hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  


Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: