Hi Wojtek,

I got the following report about libydpdict today.

regards,

Marcin
PS: when replying, please keep [EMAIL PROTECTED] in the
Cc header
-- 
Marcin Owsiany <[EMAIL PROTECTED]>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown
--- Begin Message ---
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




--- End Message ---

Reply via email to