Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

st.append output is in all lowerCase. why?  RSS feed

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,



The OUTPUT is all in lower case instead of actual data:


Why the output is not that is given as it is like </soap:envelope> instead of </soap:Envelope>??

Thanks & best regards
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look at your output, the content of the countrykey tag is in all uppercase, so it's not that the StringBuffer is changing the case of your output -- it's that something, somewhere in your code is parsing this XML and re-formatting it. We obviously don't know where that's happening, other than to say it's not happening in the code you've shown us here.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ernest Friedman-Hill.

You are right the problem was somewhere else and fixed now

Best regards
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!