Bug#446499: ydpdict_read_xhtml() produces invalid XHTML

2007-10-13 Thread Jakub Wilk

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
adbodypb x/bbsupx/sup/bb x/bbsupx/sup/b /span
   ^
-:3: parser error : Opening and ending tag mismatch: body line 3 and p
bodypb x/bbsupx/sup/bb x/bbsupx/sup/b /span/p
   ^
-:3: parser error : Opening and ending tag mismatch: p line 3 and span
/span/i x xxx /bspan style=color: green; x x xxx /span/span
   ^
-:3: parser error : Opening and ending tag mismatch: html line 3 and i
n/i x xxx /bspan style=color: green; x x xxx /span/span/i
   ^
-:3: parser error : Extra content at the end of the document
n/i x xxx /bspan style=color: green; x x xxx /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]



Bug#446499: [EMAIL PROTECTED]: Bug#446499: ydpdict_read_xhtml() produces invalid XHTML]

2007-10-13 Thread Marcin Owsiany
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
---BeginMessage---

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
adbodypb x/bbsupx/sup/bb x/bbsupx/sup/b /span
   ^
-:3: parser error : Opening and ending tag mismatch: body line 3 and p
bodypb x/bbsupx/sup/bb x/bbsupx/sup/b /span/p
   ^
-:3: parser error : Opening and ending tag mismatch: p line 3 and span
/span/i x xxx /bspan style=color: green; x x xxx /span/span
   ^
-:3: parser error : Opening and ending tag mismatch: html line 3 and i
n/i x xxx /bspan style=color: green; x x xxx /span/span/i
   ^
-:3: parser error : Extra content at the end of the document
n/i x xxx /bspan style=color: green; x x xxx /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---