Wireshark-bugs: [Wireshark-bugs] [Bug 1614] New: export capture-file as pdml with tshark isnt xm
Date: Thu, 24 May 2007 09:12:21 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1614

           Summary: export capture-file as pdml with tshark isnt xml-conform
           Product: Wireshark
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pascal.schoettle@xxxxxxxxxxxxxxx


Build Information:
TShark 0.99.5 (SVN Rev 20677)

Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.12.7, with WinPcap (version unknown), with libz 1.2.3,
with

libpcre 6.4, with Net-SNMP 5.4, with ADNS, with Lua 5.1, with GnuTLS 1.6.1,
with

Gcrypt 1.2.3, with MIT Kerberos.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0
(packet.dll version 4.0.0.755), based on libpcap version 0.9.5.

Built using Microsoft Visual C++ 6.0 build 8804
--
I try to export the capturefiles directly from tshark to an xml file. So
first I tried it wit wireshark and the "export -> file -> as pdml" . the
file i get(capturefile.pdml) looks good! So I wanted to do the same thing
with tshark so I used "tshark -i 2 -T pdml > capturefile.pdml" and "tshark
-i 2 -T pdml -w capturefile.pdml". But none of these files looks like the
one I get with wireshark. My main problem is, that the first 2 lines of
the file
(<?xml version="1.0"?>
<pdml version="0" creator="wireshark/0.99.5">)
, I get with wireshark are missing in the tshark file. And so my
XSLT-Stylesheet cant parse those files.
I just wanted to ask if there is an other possibility to solve this
problem or if is an known bug.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.