Patent ID: 7013425

Claim:
In a computing environment, a decoder for decoding an encoded XML document by computer control, said decoder comprising: means for determining whether an XML document being processed contains encoding inclusive of compression based on header information in the XML document; means for decompressing the XML document by a mode relevant to a type of the compression if it is determined by said determining means that the XML document is provided with encoding inclusive of compression; and character code converting means for converting a character code of the decompressed XML document into a character code required by an application which uses the XML document, wherein said means for determining: reads an encoding declaration in the header information, obtains information concerning the type of compression of the XML document, transfers the information to said decompressing means, obtains information concerning a character code, and transfers the information to the character code converting means if the information about said character code used in the XML document is found in information of the XML document other than the header information.