Debian Bug report logs - #54386
docbook-stylesheets: Wrong entity reference in dbl1ru.dsl

version graph

Package: docbook-stylesheets; Maintainer for docbook-stylesheets is (unknown);

Reported by: Alexey Vyskubov <alexey@pepper.spb.ru>

Date: Fri, 7 Jan 2000 23:03:01 UTC

Severity: normal

Found in version 1.49-1

Fixed in version sgml-data/1.5.0

Done: Adam Di Carlo <aph@debian.org>

Bug is archived. No further changes may be made.

Forwarded to ndw@nwalsh.com

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Adam Di Carlo <aph@debian.org>:
Bug#54386; Package docbook-stylesheets. (full text, mbox, link).


Acknowledgement sent to Alexey Vyskubov <alexey@pepper.spb.ru>:
New Bug report received and forwarded. Copy sent to Adam Di Carlo <aph@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Alexey Vyskubov <alexey@pepper.spb.ru>
To: submit@bugs.debian.org
Subject: docbook-stylesheets: Wrong entity reference in dbl1ru.dsl
Date: Sat, 8 Jan 2000 01:33:54 +0300
Package: docbook-stylesheets
Version: 1.49-1
Severity: normal

I am not sure. May be this bug should be posted for "jade" package; but it's
easy to fix in docbook-stylesheets.

/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/dbl1ru.dsl contains the
following line:

<!ENTITY % cyr1 PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN">

Format of "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" is:

<!ENTITY acy    SDATA "[acy   ]"--=small a, Cyrillic-->
...

But if we want to use sgmltools, it will call jade. Jade doesn't understand
SDATA "[*cy ]", so when we, e.g., trying to convert docbook
<article LANG="ru"> document to HTML, there will be no Russian equivalents for
"Next" and "Prev". There will be empty place.

(Because dbl1ru.dsl uses

(define (gentext-ru-nav-prev prev)
  (make sequence (literal "&Pcy;&rcy;&iecy;&dcy;.")))

and &*cy; are defined in ISOcyr1 as SDATA).

Instead of SDATA we should use something like

<!ENTITY acy    "&1072;">

Maybe we should make proper file (something like
ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML -- but in decimal notation,
jade doesn't understand &#xNumber;) -- and put link to this file in dbl1ru.dsl.

File with russian cyrillic entities in decimal notation is below.
Pointing to it in dbl1ru.dsl fixes the problem.

<!-- Derived from the corresponding ISO 8879 standard entity set
     and the Unicode character mappings provided by Sebastian Rahtz -->

<!ENTITY acy	"&#1072;"> <!-- CYRILLIC SMALL LETTER A -->
<!ENTITY Acy	"&#1040;"> <!-- CYRILLIC CAPITAL LETTER A -->
<!ENTITY bcy	"&#1073;"> <!-- CYRILLIC SMALL LETTER BE -->
<!ENTITY Bcy	"&#1041;"> <!-- CYRILLIC CAPITAL LETTER BE -->
<!ENTITY vcy	"&#1074;"> <!-- CYRILLIC SMALL LETTER VE -->
<!ENTITY Vcy	"&#1042;"> <!-- CYRILLIC CAPITAL LETTER VE -->
<!ENTITY gcy	"&#1075;"> <!-- CYRILLIC SMALL LETTER GHE -->
<!ENTITY Gcy	"&#1043;"> <!-- CYRILLIC CAPITAL LETTER GHE -->
<!ENTITY dcy	"&#1076;"> <!-- CYRILLIC SMALL LETTER DE -->
<!ENTITY Dcy	"&#1044;"> <!-- CYRILLIC CAPITAL LETTER DE -->
<!ENTITY iecy	"&#1077;"> <!-- CYRILLIC SMALL LETTER IE -->
<!ENTITY IEcy	"&#1045;"> <!-- CYRILLIC CAPITAL LETTER IE -->
<!ENTITY iocy	"&#1105;"> <!-- CYRILLIC SMALL LETTER IO -->
<!ENTITY IOcy	"&#1025;"> <!-- CYRILLIC CAPITAL LETTER IO -->
<!ENTITY zhcy	"&#1078;"> <!-- CYRILLIC SMALL LETTER ZHE -->
<!ENTITY ZHcy	"&#1046;"> <!-- CYRILLIC CAPITAL LETTER ZHE -->
<!ENTITY zcy	"&#1079;"> <!-- CYRILLIC SMALL LETTER ZE -->
<!ENTITY Zcy	"&#1047;"> <!-- CYRILLIC CAPITAL LETTER ZE -->
<!ENTITY icy	"&#1080;"> <!-- CYRILLIC SMALL LETTER I -->
<!ENTITY Icy	"&#1048;"> <!-- CYRILLIC CAPITAL LETTER I -->
<!ENTITY jcy	"&#1081;"> <!-- CYRILLIC SMALL LETTER SHORT I -->
<!ENTITY Jcy	"&#1049;"> <!-- CYRILLIC CAPITAL LETTER SHORT I -->
<!ENTITY kcy	"&#1082;"> <!-- CYRILLIC SMALL LETTER KA -->
<!ENTITY Kcy	"&#1050;"> <!-- CYRILLIC CAPITAL LETTER KA -->
<!ENTITY lcy	"&#1083;"> <!-- CYRILLIC SMALL LETTER EL -->
<!ENTITY Lcy	"&#1051;"> <!-- CYRILLIC CAPITAL LETTER EL -->
<!ENTITY mcy	"&#1084;"> <!-- CYRILLIC SMALL LETTER EM -->
<!ENTITY Mcy	"&#1052;"> <!-- CYRILLIC CAPITAL LETTER EM -->
<!ENTITY ncy	"&#1085;"> <!-- CYRILLIC SMALL LETTER EN -->
<!ENTITY Ncy	"&#1053;"> <!-- CYRILLIC CAPITAL LETTER EN -->
<!ENTITY ocy	"&#1086;"> <!-- CYRILLIC SMALL LETTER O -->
<!ENTITY Ocy	"&#1054;"> <!-- CYRILLIC CAPITAL LETTER O -->
<!ENTITY pcy	"&#1087;"> <!-- CYRILLIC SMALL LETTER PE -->
<!ENTITY Pcy	"&#1055;"> <!-- CYRILLIC CAPITAL LETTER PE -->
<!ENTITY rcy	"&#1088;"> <!-- CYRILLIC SMALL LETTER ER -->
<!ENTITY Rcy	"&#1056;"> <!-- CYRILLIC CAPITAL LETTER ER -->
<!ENTITY scy	"&#1089;"> <!-- CYRILLIC SMALL LETTER ES -->
<!ENTITY Scy	"&#1057;"> <!-- CYRILLIC CAPITAL LETTER ES -->
<!ENTITY tcy	"&#1090;"> <!-- CYRILLIC SMALL LETTER TE -->
<!ENTITY Tcy	"&#1058;"> <!-- CYRILLIC CAPITAL LETTER TE -->
<!ENTITY ucy	"&#1091;"> <!-- CYRILLIC SMALL LETTER U -->
<!ENTITY Ucy	"&#1059;"> <!-- CYRILLIC CAPITAL LETTER U -->
<!ENTITY fcy	"&#1092;"> <!-- CYRILLIC SMALL LETTER EF -->
<!ENTITY Fcy	"&#1060;"> <!-- CYRILLIC CAPITAL LETTER EF -->
<!ENTITY khcy	"&#1093;"> <!-- CYRILLIC SMALL LETTER HA -->
<!ENTITY KHcy	"&#1061;"> <!-- CYRILLIC CAPITAL LETTER HA -->
<!ENTITY tscy	"&#1094;"> <!-- CYRILLIC SMALL LETTER TSE -->
<!ENTITY TScy	"&#1062;"> <!-- CYRILLIC CAPITAL LETTER TSE -->
<!ENTITY chcy	"&#1095;"> <!-- CYRILLIC SMALL LETTER CHE -->
<!ENTITY CHcy	"&#1063;"> <!-- CYRILLIC CAPITAL LETTER CHE -->
<!ENTITY shcy	"&#1096;"> <!-- CYRILLIC SMALL LETTER SHA -->
<!ENTITY SHcy	"&#1064;"> <!-- CYRILLIC CAPITAL LETTER SHA -->
<!ENTITY shchcy	"&#1097;"> <!-- CYRILLIC SMALL LETTER SHCHA -->
<!ENTITY SHCHcy	"&#1065;"> <!-- CYRILLIC CAPITAL LETTER SHCHA -->
<!ENTITY hardcy	"&#1098;"> <!-- CYRILLIC SMALL LETTER HARD SIGN -->
<!ENTITY HARDcy	"&#1066;"> <!-- CYRILLIC CAPITAL LETTER HARD SIGN -->
<!ENTITY ycy	"&#1099;"> <!-- CYRILLIC SMALL LETTER YERU -->
<!ENTITY Ycy	"&#1067;"> <!-- CYRILLIC CAPITAL LETTER YERU -->
<!ENTITY softcy	"&#1100;"> <!-- CYRILLIC SMALL LETTER SOFT SIGN -->
<!ENTITY SOFTcy	"&#1068;"> <!-- CYRILLIC CAPITAL LETTER SOFT SIGN -->
<!ENTITY ecy	"&#1101;"> <!-- CYRILLIC SMALL LETTER E -->
<!ENTITY Ecy	"&#1069;"> <!-- CYRILLIC CAPITAL LETTER E -->
<!ENTITY yucy	"&#1102;"> <!-- CYRILLIC SMALL LETTER YU -->
<!ENTITY YUcy	"&#1070;"> <!-- CYRILLIC CAPITAL LETTER YU -->
<!ENTITY yacy	"&#1103;"> <!-- CYRILLIC SMALL LETTER YA -->
<!ENTITY YAcy	"&#1071;"> <!-- CYRILLIC CAPITAL LETTER YA -->
<!ENTITY numero	"&#8470;"> <!-- NUMERO SIGN -->

-- System Information
Debian Release: potato
Kernel Version: Linux pepper 2.2.13 #1 ÷ÓË äÅË 12 22:32:09 MSK 1999 i586 unknown

Versions of the packages docbook-stylesheets depends on:
ii  docbook         3.1-2          SGML DTD for software documentation
ii  jade            1.2.1-14       James Clark's DSSSL Engine
ii  sgml-base       1.01           utilities to maintain the SGML catalog file
ii  sgml-data       1.2            common SGML DTDs and entities
perl	Not installed or no info
ii  perl-5.005      5.005.03-4.1   Larry Wall's Practical Extracting and Report
	^^^ (Provides virtual package perl5)


Reply sent to Adam Di Carlo <adam@onshore.com>:
You have marked Bug as forwarded. (full text, mbox, link).


Message #8 received at 54386-forwarded@bugs.debian.org (full text, mbox, reply):

From: Adam Di Carlo <adam@onshore.com>
To: ndw@nwalsh.com
Cc: 54386-forwarded@bugs.debian.org, Alexey Vyskubov <alexey@pepper.spb.ru>
Subject: Re: Bug#54386: docbook-stylesheets: Wrong entity reference in dbl1ru.dsl
Date: 07 Feb 2000 14:44:10 -0500
Alexey Vyskubov <alexey@pepper.spb.ru> writes:

> I am not sure. May be this bug should be posted for "jade" package; but it's
> easy to fix in docbook-stylesheets.
> 
> /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/dbl1ru.dsl contains the
> following line:
> 
> <!ENTITY % cyr1 PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN">
> 
> Format of "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" is:
> 
> <!ENTITY acy    SDATA "[acy   ]"--=small a, Cyrillic-->
> ...
> 
> But if we want to use sgmltools, it will call jade. Jade doesn't understand
> SDATA "[*cy ]", so when we, e.g., trying to convert docbook
> <article LANG="ru"> document to HTML, there will be no Russian equivalents for
> "Next" and "Prev". There will be empty place.
> 
> (Because dbl1ru.dsl uses
> 
> (define (gentext-ru-nav-prev prev)
>   (make sequence (literal "&Pcy;&rcy;&iecy;&dcy;.")))
> 
> and &*cy; are defined in ISOcyr1 as SDATA).

That seems like a jade bug.

> Instead of SDATA we should use something like
> 
> <!ENTITY acy    "&1072;">

Well, um, for SGML by default, in Debian we use the SDATA entities.
For XML we use the kind of declarations you are mentioning here,
basically, CDATA (implied) Unicode entities.

> Maybe we should make proper file (something like
> ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML -- but in decimal notation,
> jade doesn't understand &#xNumber;) -- and put link to this file in dbl1ru.dsl.
> 
> File with russian cyrillic entities in decimal notation is below.
> Pointing to it in dbl1ru.dsl fixes the problem.
> 
> <!-- Derived from the corresponding ISO 8879 standard entity set
>      and the Unicode character mappings provided by Sebastian Rahtz -->
> 
> <!ENTITY acy	"&#1072;"> <!-- CYRILLIC SMALL LETTER A -->

[snip]

We already have this file in the sgml-data package -- it comes from
docbk-xml, with the formal public identifier:

      "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"

But you're asking me to change the public identifier in the dbl1ru.dsl
file from an SGML entities file to an XML entities file.  this doesn't
seem like the right thing to do.

I'm really not sure what the proper way to handle this problem. 

Norm, was this issue possibly solved in 1.53?

If the problem is simply that 'SDATA "[acy ]"' isn't recognized by the
processor (jade), then that is definately a Jade bug.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>


Message #9 received at 54386-forwarded@bugs.debian.org (full text, mbox, reply):

From: Norman Walsh <ndw@nwalsh.com>
To: Adam Di Carlo <adam@onshore.com>
Cc: 54386-forwarded@bugs.debian.org, Alexey Vyskubov <alexey@pepper.spb.ru>
Subject: Re: Bug#54386: docbook-stylesheets: Wrong entity reference in dbl1ru.dsl
Date: Tue, 8 Feb 2000 07:35:05 -0500
/ Adam Di Carlo <adam@onshore.com> was heard to say:
| Alexey Vyskubov <alexey@pepper.spb.ru> writes:
[...]
| > (Because dbl1ru.dsl uses
| > 
| > (define (gentext-ru-nav-prev prev)
| >   (make sequence (literal "&Pcy;&rcy;&iecy;&dcy;.")))
| > 
| > and &*cy; are defined in ISOcyr1 as SDATA).
| 
| That seems like a jade bug.

Yep. Looks that way.

| > Instead of SDATA we should use something like
| > 
| > <!ENTITY acy    "&1072;">
| 
| Well, um, for SGML by default, in Debian we use the SDATA entities.
| For XML we use the kind of declarations you are mentioning here,
| basically, CDATA (implied) Unicode entities.

Numeric character references, you mean. Yes, it looks like
that's (one) way to fix the problem. Another would be to use the
\U-xxxx; syntax that Jade understands. Either way, however, I
get "????" (literally question marks) in the output, which
doesn't seem to help much.

Do the Unicode references work correctly on an appropriately RU
localized machine?

| > File with russian cyrillic entities in decimal notation is below.
| > Pointing to it in dbl1ru.dsl fixes the problem.

Ok.

| > <!-- Derived from the corresponding ISO 8879 standard entity set
| >      and the Unicode character mappings provided by Sebastian Rahtz -->
| > 
| > <!ENTITY acy	"&#1072;"> <!-- CYRILLIC SMALL LETTER A -->
| 
| [snip]

Er, if someone unsnips this and sends it to me, I'll stick it
in.  I'll probably add the decls literally to the module instead
of putting another file in the distribution, but that should be
OK.

| We already have this file in the sgml-data package -- it comes from
| docbk-xml, with the formal public identifier:
| 
|       "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML"
| 
| But you're asking me to change the public identifier in the dbl1ru.dsl
| file from an SGML entities file to an XML entities file.  this doesn't
| seem like the right thing to do.
| 
| I'm really not sure what the proper way to handle this problem. 

I think the quick/easy/right answer is to either directly or
indirectly replace the &name; references with &number;
references.

In an XML world, SDATA goes away anyway. But I agree, it would
be wrong to point to the XML entity set from the DSSSL
stylesheets.  I'd rather just merge the references in. Er, not
that that seems a lot better, but...

| 
| Norm, was this issue possibly solved in 1.53?

No. The I18N fixes I made in 1.53 had to do with missing mappings.

| If the problem is simply that 'SDATA "[acy ]"' isn't recognized by the
| processor (jade), then that is definately a Jade bug.

It looks that way, at first glance.

                                        Cheers,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | As a general rule, the most
http://nwalsh.com/                 | successful man in life is the man
                                   | who has the best
                                   | information.--Benjamin Disraeli



Message #10 received at 54386-forwarded@bugs.debian.org (full text, mbox, reply):

From: Alexey Vyskubov <alexey@pepper.spb.ru>
To: Norman Walsh <ndw@nwalsh.com>
Cc: Adam Di Carlo <adam@onshore.com>, 54386-forwarded@bugs.debian.org
Subject: Re: Bug#54386: docbook-stylesheets: Wrong entity reference in dbl1ru.dsl
Date: Tue, 8 Feb 2000 15:55:41 +0300
[Message part 1 (text/plain, inline)]
On Tue, Feb 08, 2000 at 07:35:05AM -0500, Norman Walsh wrote:
> | > <!-- Derived from the corresponding ISO 8879 standard entity set
> | >      and the Unicode character mappings provided by Sebastian Rahtz -->
> | > 
> | > <!ENTITY acy	"&#1072;"> <!-- CYRILLIC SMALL LETTER A -->
> | 
> | [snip]
> 
> Er, if someone unsnips this and sends it to me, I'll stick it
> in.  I'll probably add the decls literally to the module instead
> of putting another file in the distribution, but that should be
> OK.

Attached. Pointing to this file allows me to have no problem with Russian &
jade on my (properly RU localized :-) ) system.

-- 
Alexey Vyskubov
(at home)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
[iso-cyr1-hack.ent (text/plain, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Message #11 received at 54386-forwarded@bugs.debian.org (full text, mbox, reply):

From: Norman Walsh <ndw@nwalsh.com>
To: Alexey Vyskubov <alexey@pepper.spb.ru>
Cc: Adam Di Carlo <adam@onshore.com>, 54386-forwarded@bugs.debian.org
Subject: Re: Bug#54386: docbook-stylesheets: Wrong entity reference in dbl1ru.dsl
Date: 15 Jul 2000 07:24:49 -0700
I've lost the context of this discussion. That's what I get for
not replying for 22 weeks, 4 days, 1 hour, 25 minutes, and 46 seconds.

The entity sets I have show:

<!ENTITY acy	"&#x0430;"> <!-- CYRILLIC SMALL LETTER A -->
<!ENTITY Acy	"&#x0410;"> <!-- CYRILLIC CAPITAL LETTER A -->
<!ENTITY bcy	"&#x0431;"> <!-- CYRILLIC SMALL LETTER BE -->
<!ENTITY Bcy	"&#x0411;"> <!-- CYRILLIC CAPITAL LETTER BE -->
...

The attachment to this message shows:

<!ENTITY acy	"&#1072;"> <!-- CYRILLIC SMALL LETTER A -->
<!ENTITY Acy	"&#1040;"> <!-- CYRILLIC CAPITAL LETTER A -->
<!ENTITY bcy	"&#1073;"> <!-- CYRILLIC SMALL LETTER BE -->
<!ENTITY Bcy	"&#1041;"> <!-- CYRILLIC CAPITAL LETTER BE -->
<!ENTITY vcy	"&#1074;"> <!-- CYRILLIC SMALL LETTER VE -->

Remind me again, what's the source of the discrepancy? Are my sets
really wrong?


/ Alexey Vyskubov <alexey@pepper.spb.ru> was heard to say:
| On Tue, Feb 08, 2000 at 07:35:05AM -0500, Norman Walsh wrote:
| > | > <!-- Derived from the corresponding ISO 8879 standard entity set
| > | >      and the Unicode character mappings provided by Sebastian Rahtz -->
| > | > 
| > | > <!ENTITY acy	"&#1072;"> <!-- CYRILLIC SMALL LETTER A -->
| > | 
| > | [snip]
| > 
| > Er, if someone unsnips this and sends it to me, I'll stick it
| > in.  I'll probably add the decls literally to the module instead
| > of putting another file in the distribution, but that should be
| > OK.
| 
| Attached. Pointing to this file allows me to have no problem with Russian &
| jade on my (properly RU localized :-) ) system.
| 
| -- 
| Alexey Vyskubov
| (at home)
| Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
| 
| <!-- Derived from the corresponding ISO 8879 standard entity set
|      and the Unicode character mappings provided by Sebastian Rahtz -->
| 
| <!ENTITY acy	"&#1072;"> <!-- CYRILLIC SMALL LETTER A -->
| <!ENTITY Acy	"&#1040;"> <!-- CYRILLIC CAPITAL LETTER A -->
| <!ENTITY bcy	"&#1073;"> <!-- CYRILLIC SMALL LETTER BE -->
| <!ENTITY Bcy	"&#1041;"> <!-- CYRILLIC CAPITAL LETTER BE -->

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Fast. Cheap. Well. Pick two.
http://nwalsh.com/            | 



Message #12 received at 54386-forwarded@bugs.debian.org (full text, mbox, reply):

From: Alexey Vyskubov <alexey@pepper.spb.ru>
To: Norman Walsh <ndw@nwalsh.com>
Cc: Adam Di Carlo <adam@onshore.com>, 54386-forwarded@bugs.debian.org
Subject: Re: Bug#54386: docbook-stylesheets: Wrong entity reference in dbl1ru.dsl
Date: Sat, 15 Jul 2000 22:21:56 +0400
> The entity sets I have show:
> 
> <!ENTITY acy	"&#x0430;"> <!-- CYRILLIC SMALL LETTER A -->
> <!ENTITY Acy	"&#x0410;"> <!-- CYRILLIC CAPITAL LETTER A -->
> <!ENTITY bcy	"&#x0431;"> <!-- CYRILLIC SMALL LETTER BE -->
> <!ENTITY Bcy	"&#x0411;"> <!-- CYRILLIC CAPITAL LETTER BE -->
> ...
> 
> The attachment to this message shows:
> 
> <!ENTITY acy	"&#1072;"> <!-- CYRILLIC SMALL LETTER A -->
> <!ENTITY Acy	"&#1040;"> <!-- CYRILLIC CAPITAL LETTER A -->
> <!ENTITY bcy	"&#1073;"> <!-- CYRILLIC SMALL LETTER BE -->
> 
> Remind me again, what's the source of the discrepancy? Are my sets
> really wrong?

The first doesn't work with sgmltools because jade doesn't
recoginze &#x notation.

Please notice that I *do not ask* to replace &#xnumber; entitites with
&#number; ones; it will be "dirty hack" to fix jade bug. But probably it will
be good at least put something like README.CYRILLIC and my file in
doc directory. Then people who want to do the hack will know how to do it.

-- 
Alexey Vyskubov
(at home)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!



Information forwarded to debian-bugs-dist@lists.debian.org, Adam Di Carlo <aph@debian.org>:
Bug#54386; Package docbook-stylesheets. (full text, mbox, link).


Acknowledgement sent to Alexey Vyskubov <alexey@pepper.spb.ru>:
Extra info received and forwarded to list. Copy sent to Adam Di Carlo <aph@debian.org>. (full text, mbox, link).


Message #17 received at 54386@bugs.debian.org (full text, mbox, reply):

From: Alexey Vyskubov <alexey@pepper.spb.ru>
To: Adam Di Carlo <adam@onshore.com>
Cc: 70785@bugs.debian.org, 88815@bugs.debian.org, 54386@bugs.debian.org
Subject: Re: Bug#70785: jade: jade doesn't understand SDATA in entity declaration
Date: Thu, 8 Mar 2001 22:40:01 +0300
[Message part 1 (text/plain, inline)]
> I absolutely *must* be given all the SGML or XML source materials
> which show the bug (as small as possible), as well as a console log,
> env var log (esp SP_ENCODING and LANG_* settings) and the output you
> received which was disatisfactory.

Well, here you are. Let's hope these fileswill not lost for another year :((

book.sgml -- source (attached)

book1.html -- HTML result with 'hacked' entities. (attached)
dbl1ru.dsl was modified:
<!ENTITY % cyr1 SYSTEM "/home/alexey/@letitbe/hacked-cyr.ent">

hacked-cyr.ent -- definition of &*cy;s w/o SDATA (attached)

book.html -- HTML result with standard dbl1ru.dsl (attached)
(<!ENTITY % cyr1 PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN">)


22:28:25 pepper:/tmp$ set | grep -i koi
LANG=ru_RU.KOI8-R
SP_ENCODING=koi8-r
22:29:08 pepper:/tmp$ set | grep LC_
22:29:14 pepper:/tmp$

22:30:48 pepper:/tmp$ sgmltools -v book.sgml
+/usr/lib/sgmltools/jadewhich -t sgml -d
/usr/lib/sgml/stylesheet/dsssl/sgmltools/html.dsl#onehtml -o /var/tmp/@9787.1
>/var/tmp/@9787.2
/usr/bin/openjade:/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/dblink.dsl:406:5:E:
undeclared use of feature "simple-page"
+mv '/var/tmp/@9787.2' './book.html'
22:31:52 pepper:/tmp$

22:33:39 pepper:/tmp$ diff -u book.html book1.html | grep ^+
+++ book1.html  Thu Mar  8 22:24:07 2001
+>Посвящение</A
+>Содержание</B
+>Глава 1. Первая глава</A
22:33:44 pepper:/tmp$

The first line of grepped diff is 'Dedication', the second - 'Table of
Contents', the first word of the third line -- 'Chapter'.
-- 
Alexey Vyskubov
(at home)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
[book.sgml (text/plain, attachment)]
[hacked-cyr.ent (text/plain, attachment)]
[book1.html (text/html, attachment)]
[book.html (text/html, attachment)]
[Message part 6 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Adam Di Carlo <aph@debian.org>:
Bug#54386; Package docbook-stylesheets. (full text, mbox, link).


Acknowledgement sent to Adam Di Carlo <adam@onshore.com>:
Extra info received and forwarded to list. Copy sent to Adam Di Carlo <aph@debian.org>. (full text, mbox, link).


Message #22 received at 54386@bugs.debian.org (full text, mbox, reply):

From: Adam Di Carlo <adam@onshore.com>
To: Alexey Vyskubov <alexey@pepper.spb.ru>
Cc: 70785@bugs.debian.org, 88815@bugs.debian.org, 54386@bugs.debian.org
Subject: Re: Bug#70785: jade: jade doesn't understand SDATA in entity declaration
Date: 10 Mar 2001 22:59:58 -0500
Again, sorry it's taken me so long.  

It seems like all 3 bugs would be fixed if I just change, in
sgml-data, from using the SDATA type ISOcyr1 entity file to the
Unicode style one.  I'm going to proceed with that solution unless you
indicate that won't do it.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>




Reply sent to Adam Di Carlo <aph@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Alexey Vyskubov <alexey@pepper.spb.ru>:
Bug acknowledged by developer. (full text, mbox, link).


Message #27 received at 54386-close@bugs.debian.org (full text, mbox, reply):

From: Adam Di Carlo <aph@debian.org>
To: 54386-close@bugs.debian.org
Subject: Bug#54386: fixed in sgml-data 1.5.0
Date: Sat, 17 Mar 2001 15:07:27 -0500
We believe that the bug you reported is fixed in the latest version of
sgml-data, which has been installed in the Debian FTP archive:

sgml-data_1.5.0.tar.gz
  to pool/main/s/sgml-data/sgml-data_1.5.0.tar.gz
sgml-data_1.5.0_all.deb
  to pool/main/s/sgml-data/sgml-data_1.5.0_all.deb
sgml-data_1.5.0.dsc
  to pool/main/s/sgml-data/sgml-data_1.5.0.dsc
A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 54386@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Di Carlo <aph@debian.org> (supplier of updated sgml-data package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Sat, 17 Mar 2001 04:20:11 -0500
Source: sgml-data
Binary: sgml-data
Architecture: source all
Version: 1.5.0
Distribution: unstable
Urgency: low
Maintainer: Adam Di Carlo <aph@debian.org>
Changed-By: Adam Di Carlo <aph@debian.org>
Description: 
 sgml-data  - common SGML DTDs and entities
Closes: 54386 57936 70785 75072 88815
Changes: 
 sgml-data (1.5.0) unstable; urgency=low
 .
   * migrate to new LSB-derived SGML/XML layout in /usr/share/sgml;
     we adopt a slightly modified version of that specification which is
     slightly less flat, see
       <URL:http://dulug.duke.edu/~mark/debian/sgml/lsb-on-debian.html/>
     closes: #57936
   * debian/control: for the transition, require sgml-base 1.07 or better
   * debian/control: update standards to 3.5.2 (no changes needed)
   * sgml-catalog-check.pl: change default location for making symlinks to
     debian/tmp/usr/share/sgml
   * examples: fix 4.01-frameset example
   * yank out XHTML 1.1, the last version was (a) obsoleted now, and (b)
     broken anyhow.  XHTML 1.1, XHTML-modularized, and XHTML-basic should
     be packaged separately; WNPP bugs filed
     closes: #75072
   * SGML ISOcyr1.ent: replace SDATA entities with Unicode numeric
     references since jade and openjade don't understand the SDATA
     entities; we still provide ISOcyr1_SDATA.ent if you want the SDATA
     version
     closes: #70785, #88815, #54386
Files: 
 c0d4dd327b53d463364c68413ed9abc9 604 text optional sgml-data_1.5.0.dsc
 43e45891858ba067a3cafb63ecc13144 234019 text optional sgml-data_1.5.0.tar.gz
 d3f4b9de768b9d696c62428cc52a1b9a 243614 text optional sgml-data_1.5.0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBOrMt24/8QF79WmfNAQF7kwQAyQ+TZdRTS0CuVwGFg4vZUfk2t3XoveMY
qLBEuXLrdOB2yZDpyck5oYAB6g7994kJ3AxyucopfwDyfd90TGedNP8L8hhm7JA7
atwYZoWpyejNO8EkDYC3SxirAVGtPk/PZMIMPZH3wpxgnLs4vPCHAEoKmeY1JFy+
FJ8EbmqEh2M=
=72mT
-----END PGP SIGNATURE-----



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 26 14:15:05 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.