Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 11755] New: Unrecognized text: CDATA in XML not parsed cor

Date: Mon, 23 Nov 2015 13:40:08 +0000
Bug ID 11755
Summary Unrecognized text: CDATA in XML not parsed correctly
Product Wireshark
Version 2.0.0
Hardware x86-64
OS Windows 7
Status UNCONFIRMED
Severity Normal
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:
Version 2.0.0 (v2.0.0-0-g9a73b82 from master-2.0)
Compiled (64-bit) with Qt 5.3.2, with WinPcap (4_1_3), with libz 1.2.8, with
GLib 2.42.0, with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.2, with GnuTLS
3.2.15, with Gcrypt 1.6.2, with MIT Kerberos, with GeoIP, with QtMultimedia,
with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with locale C, with
WinPcap version 4.1.3 (packet.dll version 4.1.0.2980), based on libpcap version
1.0 branch 1_0_rel0b (20091008), with GnuTLS 3.2.15, with Gcrypt 1.6.2, without
AirPcap.
Intel(R) Core(TM) i7-4702MQ CPU @ 2.20GHz (with SSE4.2), with 16265MB of
physical memory.

Built using Microsoft Visual C++ 12.0 build 31101
--
I am capturing XML over HTTP (filter: http && xml) and some of our XML data is
displayed in red.

Expanding the XML I see the message 

Unrecognized text
  [Expert Info (Warn/Protocol): Unrecognized text]
    [Unrecognized text]
    [Severity level: Warn]
    [Group: Protocol]

I have checked the XML with online validators
(http://www.xmlvalidation.com/?L=2) and as far as I can tell, the XML is
correct. Also, from the expand/collapse boxes, the XML is expandable in places
where it shouldn't be.

IMHO this is related to XML-like text data which is placed inside a <![CDATA[
item.

The following XML should reproduce the problem, it is a minimized and
anonymized version of the XML we're sending:

<?xml version="1.0" encoding="iso-8859-1"?>
<data>
    <![CDATA[
    <A0>
        <URL="" href="http://example.com/">http://example.com/ >    
    </A0>
    <**>
        <URL="" href="http://example.com/">http://example.com/ >    
    </**>
    ]]>
</data>


You are receiving this mail because:
  • You are watching all bug changes.