RE: Problem with Efficient XML Interchange (EXI) Primer (W3C Working Draft 24 April 2014)

Hi,

I tried the runnable JAR[1] which you can find on http://exificient.github.io/java/ and decoded the EXI body streams shown in the Primer, and it produces the following XML snippet.

<notebook date="2007-09-12">
    <note date="2007-07-23" category="EXI">
        <subject>EXI</subject>
        <body>Do not forget it!</body>
    </note>
    <note date="2007-09-12">
        <subject>shopping list</subject>
        <body>milk, honey</body>
    </note>
</notebook>

Hence, this means that the EXI primer document shows a slightly different example.

"Shopping List" vs. "shopping list"

The encoding must have been changed once and the document was not properly updated.

The EXI working group has been closed meanwhile and the example cannot be updated.

Hope this helps,

-- Daniel


[1] http://exificient.github.io/java/exificient-gui-jar-with-dependencies.jar




From: tianyinanbei <1181147779@qq.com>
Sent: Thursday, August 29, 2024 11:57 AM
To: public-exi-comments <public-exi-comments@w3.org>
Subject: Problem with Efficient XML Interchange (EXI) Primer (W3C Working Draft 24 April 2014)


Hello,


I am reading the document : Efficient XML Interchange (EXI) Primer (W3C Working Draft 24 April 2014), and I am slightly confused by 3.3 Encoding Example.
The numbers I circled in red seem to be wrong.
[cid:image001.png@01DAFAEF.2A0E29F0]

1)The correct result corresponding to 0x7B seems to be 0x7A. Here's what I can think about: the ASCII code of the string“Shopping List”is 53686F7070696E67204C697374, but“S”(0x53) is mistakenly thought to be“s”(0x73) in the table.

2)The correct result corresponding to 0x03 seems to be 0x02.Here's what I can think about: the ASCII code of the string“Shopping List”is 53686F7070696E67204C697374, but“L”(0x4C) is mistakenly thought to be“\”(0x5C) in the table.

All above is based on my own cognitive and computational process, please help me point out any mistakes.



Regards,

Zhiyun Zhang



________________________________


[cid:image002.jpg@01DAFAEF.2BCDB440]
tianyinanbei
1181147779@qq.com<mailto:1181147779@qq.com>

Received on Friday, 30 August 2024 13:13:37 UTC