Disclaimer: These archives are mirrored from smsforum.net in 2007 before the forum got closed. Please only part of the forum is available here.
For any clarifications regarding these archives you can contact us at http://www.telecomspace.com/contact.

      TELECOMSPACE HOME PAGE         TELECOM DISCUSSION FORUM          CONTACT

+  SMS Forum Online Discussion
|-+  Protocols
| |-+  MMAP-Related (Moderator: SMS Forum Support)
| | |-+  SMAP handling of certain characters
« previous next »
Pages: [1] Go Down Print
Author Topic: SMAP handling of certain characters  (Read 1035 times)
smsdude
Newbie
*
Offline Offline

Posts: 1



« on: December 18, 2002, 21:41:52 UTC »

How does SMAP/XML handle processing characters such as '<' that may be contained in the body of the short message?
Logged
stephen_gryphon
Jr. Member
**
Offline Offline

Posts: 7



WWW
« Reply #1 on: March 07, 2003, 05:38:49 UTC »

MMAP/SMAP uses the standard XML handling for escaping character entities.

i.e. the message "1 < 2 is true" would be encoded as:

<Text>1 < 2 is true</Text>

When this is loaded via an XML processor and the value pulled out into a programming language the original string will be returned. The XML processor should take care of the encoding/decoding.

To learn more you can read the XML specifications from W3C, or just assume that whatever XML library you are using will just work.


Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length