Package: libydpdict1
Version: 0.99.1-2
Severity: normal

ydpdict_read_xhtml() produces output which is not well-formed XML.
For example, with dict100.dat and the first entry, xmllint complaints:


-:3: parser error : Opening and ending tag mismatch: p line 3 and span
ad><body><p><b> x</b><b><sup>x</sup></b><b> x</b><b><sup>x</sup></b> xxxx</span>
                                                                               ^
-:3: parser error : Opening and ending tag mismatch: body line 3 and p
body><p><b> x</b><b><sup>x</sup></b><b> x</b><b><sup>x</sup></b> xxxx</span></p>
                                                                               ^
-:3: parser error : Opening and ending tag mismatch: p line 3 and span
/span></i> x xxx xxxx</b><span style="color: green;"> x x xxx xxxx</span></span>
                                                                               ^
-:3: parser error : Opening and ending tag mismatch: html line 3 and i
n></i> x xxx xxxx</b><span style="color: green;"> x x xxx xxxx</span></span></i>
                                                                               ^
-:3: parser error : Extra content at the end of the document
n></i> x xxx xxxx</b><span style="color: green;"> x x xxx xxxx</span></span></i>
                                                                               ^

(I have replaced textual data with xes.)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages libydpdict1 depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries

libydpdict1 recommends no packages.

-- no debconf information

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to