Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - oleksii

Pages: [1]
1
Compression / Archives / XML structure of LastErrorXml
« on: November 08, 2017, 08:48:31 AM »
Hi,

Where can I get specification of the XML structure in LastErrorXml?

I need to parse it somehow to get user-friendly representation. For example, I got the following value after calling entry.Extract method:

<ChilkatLog>
  <Extract>
    <DllDate>Aug 30 2017</DllDate>
    <ChilkatVersion>9.5.0.69</ChilkatVersion>
    <UnlockPrefix>XXXXXXXXXXX</UnlockPrefix>
    <Architecture>Little Endian; 64-bit</Architecture>
    <Language>.NET 4.5 / x64</Language>
    <VerboseLogging>0</VerboseLogging>
    <inflateToBaseDir>
      <inflateMappedEntry>
        <inflateToOutput2>
          <mappedInflateToOutput>
            <error>Unsupported compression method.</error>
            <_cMethod>95</_cMethod>
          </mappedInflateToOutput>
        </inflateToOutput2>
        <error>Unzip failed</error>
        <path>C:\Users\user\AppData\Local\Temp\171\Extracted_archives\Zip_lmde0008.zipx\lmde0009.trc</path>
      </inflateMappedEntry>
    </inflateToBaseDir>
    <error>Failed.</error>
  </Extract>
</ChilkatLog>

What I want to get is only the following part: "Unsupported compression method.". To achieve this I need to know XML structure. As I understand structure depends on the operation that is failed. In this particular case XML contains Extract element.

Or maybe there is more simple way to get exact error, other than parsing XML.

Pages: [1]