Differences between revisions 14 and 15
Revision 14 as of 2005-06-27 08:37:19
Size: 1550
Comment:
Revision 15 as of 2009-09-20 22:49:06
Size: 1550
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Introduction

This is a soap messege parser for axis-c++ implementation.

Contributors to the Project

  • Dasarath Weerathunga
  • Dinesh Premalal

Referances

Architecture

Basic Parser

Basic Parser with Encoding Support

Important Notes

Encoding

An article about Encoding ...

Utf-8 and Utf-16 Support for tspp

  • Now tspp can parse both Utf-8 and Utf-16 Encoded documents well. It determines the encoding support using BOM ( Byte Order Mark).
    • Utf-8 - 0xef 0xbb 0xbf Utf-16 - 0xff 0xfe (Little Endian)
      • 0xfe 0xff (Big Endian)
  • For time being it supports only Utf-16 character which is smaller than 65535 ( 2 Bytes Characters). It gives Utf-8 encoded strings as Out put , Just in case user wants to get Utf-16 Out put then user should give a macro variable at t the compile time

UNICODE_OUT

  • User have to give this compile time variable in order to obtain Utf-16 Output. Because parser's Default encoding is set to Utf-8. After giving this compile time variable , then parser re-defines its , output method (char *toString(UTF16_char unicodeState)) to give Utf-16 output. It uses short buffer to store characters.

Futher

premalal@opensource.lk

tspp (last edited 2009-09-20 22:49:06 by localhost)