• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

greater/lower than signs converted to > and <

 
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to output the following



but the data is coming out as shown below..


Does anyone know why this is happening?

[ July 25, 2008: Message edited by: O. Ziggy ]
[ July 25, 2008: Message edited by: O. Ziggy ]
 
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In what context are you outputting the data?
 
O. Ziggy
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The data is sent via SOAP/Webservice using Axis/Rampart.

The message is built by Axis but i have to add the message body(payload) which i did as shown below.



The problem is that the < > are being converted to & l t; and & g t (without the spaces);
[ July 25, 2008: Message edited by: O. Ziggy ]
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The ampersand-lt; and ampersand-gt; are normal HTML tags for the greater/less than or arrowhead symbols. If you go back to your original post and use the pencil-and-paper icon to try editing you will see that happens on the Ranch server too.
Can't help you any further, I am afraid.
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"& lt" and "& gt" are what I think are called xml "entities" - it means they code for "<" and ">" because those symbols serve a purpose in an xml file. I would bet that method: setIEEdifactString is doing this conversion.

[ July 25, 2008: Message edited by: Dan Walin ]
[ July 25, 2008: Message edited by: Dan Walin ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic