Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xml

 
kallu nal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the parsing of below string works in my local machine but not in my office machine... can someone please suggest

String xmlstr= "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><rsp:FepocResponse xmlns:rsp=\"http://xml.bcbsfl.com/commonplatform/fep/rsp20101231\">"

+" <M1ApprovedClaimRec>"
+" <HipaaRelatedFieldsM1> <PlanOrigClaimNumberM1>1111111111111</PlanOrigClaimNumberM1>"

+" <PlanSubChFirstNameM1>MACE </PlanSubChFirstNameM1>"

+"<PlanSubChMiddleInitM1>G </PlanSubChMiddleInitM1>"

+"<PlanSubChLastNameM1>BARRON </PlanSubChLastNameM1>"

+" </HipaaRelatedFieldsM1> <LineCodeShbr>M1</LineCodeShbr>"
+" <ContractIdNumberShbr>R57714574 </ContractIdNumberShbr>"
+"<ReportingPlanCodeShbr>90 </ReportingPlanCodeShbr>"
+"<ClaimNumberShbr>BBBBBBBBBBB</ClaimNumberShbr>"
+" </M1ApprovedClaimRec> </rsp:FepocResponse>";
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want help with this problem, then you should start by describing the problem. "Works here but not there" doesn't have nearly enough detail for anybody to say anything practical. Do you really mean to say that you have no information at all about why it "doesn't work" in one place? If you don't, then you should find some information.
 
kallu nal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul,

Sorry for not providing enough information. Your words made me to check the difference and i got the solution.Thorough my application i am getting from the database and there is a space in the data base value.

Thanks a ton
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good work!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic