docbook: Thread: problem with jade


[<<] [<] Page 1 of 1 [>] [>>]
Subject: problem with jade
From: Sayamindu Dasgupta ####@####.####
Date: 3 Jun 2002 12:33:18 -0000
Message-Id: <1023107863.2077.4.camel@localhost.localdomain>

hia,
i am facing these errors when i try to
jade -t sgml -d ldp.dsl pctel.sgml

<!--error start--!>

jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:63:47:W: cannot
generate system identifier for public text "-//OASIS//ENTITIES DocBook
Notations V4.1//EN"
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:64:7:E: reference
to entity "dbnotn" for which no system identifier could
be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:62:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:74:56:W: cannot
generate system identifier for public text "-//OASIS//ENTITIES DocBook
Character Entities V4.1//EN"
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:75:7:E: reference
to entity "dbcent" for which no system identifier could
be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:73:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:86:54:W: cannot
generate system identifier for public text "-//OASIS//ELEMENTS DocBook
Information Pool V4.1//EN"
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:87:7:E: reference
to entity "dbpool" for which no system identifier could
be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:85:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:102:56:W: cannot
generate system identifier for public text "-//OASIS//ELEMENTS DocBook
Document Hierarchy V4.1//EN"
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:103:7:E: reference
to entity "dbhier" for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:101:0: entity was
defined here
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:112:65:W: cannot
generate system identifier for public text "-//OASIS//ENTITIES DocBook
Additional General Entities V4.1//EN"
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:113:9:E: reference
to entity "dbgenent" for which no system identifier could be generated
jade:/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd:111:0: entity was
defined here
jade:pctel.sgml:2:50:E: DTD did not contain element declaration for
document type name
jade:pctel.sgml:4:12:E: there is no attribute "ID"
jade:pctel.sgml:4:19:E: element "ARTICLE" undefined
jade:pctel.sgml:7:12:E: element "ARTICLEINFO" undefined
jade:pctel.sgml:9:6:E: element "TITLE" undefined
jade:pctel.sgml:9:67:E: element "AUTHOR" undefined
jade:pctel.sgml:11:10:E: element "FIRSTNAME" undefined
jade:pctel.sgml:12:30:E: element "SURNAME" undefined
jade:pctel.sgml:12:62:E: element "AFFILIATION" undefined
jade:pctel.sgml:13:8:E: element "ADDRESS" undefined
jade:pctel.sgml:13:16:E: element "EMAIL" undefined
jade:pctel.sgml:14:32:E: element "AUTHOR" undefined
jade:pctel.sgml:14:44:E: element "FIRSTNAME" undefined
jade:pctel.sgml:14:69:E: element "SURNAME" undefined
jade:pctel.sgml:15:12:E: element "AFFILIATION" undefined
jade:pctel.sgml:16:8:E: element "ADDRESS" undefined
jade:pctel.sgml:16:16:E: element "EMAIL" undefined
jade:pctel.sgml:18:11:E: element "REVHISTORY" undefined


and then it goes on until 200 such errors occur
the other tools (db2html, docbook2html) give similar errors
i am using mandrake 8.2
can anybody tell me what's wrong??
-tia-
-sdg-







Subject: Re: problem with jade
From: Alexander Bartolich ####@####.####
Date: 3 Jun 2002 12:52:16 -0000
Message-Id: <12866.1023108704@www11.gmx.net>

> [...]
> cannot generate system identifier for public text
> "-//OASIS//ENTITIES DocBook Notations V4.1//EN"

Your doctype declaration looks very strange.
AFAIK the correct string is:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"

At least on my RedHat 7.2 that matches a PUBLIC
statement of

/usr/share/sgml/docbook/sgml-dtd-4.1/catalog

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Subject: Re: problem with jade
From: "Greg Ferguson" ####@####.####
Date: 3 Jun 2002 13:20:40 -0000
Message-Id: <10206030917.ZM25202@hoop.timonium.sgi.com>

On Jun 3,  2:51pm, Alexander Bartolich wrote:
> Subject: Re: problem with jade
> > [...]
> > cannot generate system identifier for public text
> > "-//OASIS//ENTITIES DocBook Notations V4.1//EN"
>
> Your doctype declaration looks very strange.
> AFAIK the correct string is:
>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
>
> At least on my RedHat 7.2 that matches a PUBLIC
> statement of
>
> /usr/share/sgml/docbook/sgml-dtd-4.1/catalog

Alexander pointed out the main/big problem.  Another problem,
ldp.dsl is a DSSSL stylesheet that contains 2 distinct sections
used for processing, so you need to specify one.

> jade -t sgml -d ldp.dsl pctel.sgml

should be:

  jade -t sgml -d ldp.dsl#html pctel.sgml

(for example. The other area is defined by ldp.dsl#print)

--
Ferg
Subject: Re: problem with jade
From: Sayamindu Dasgupta ####@####.####
Date: 3 Jun 2002 14:40:32 -0000
Message-Id: <1023115429.2958.10.camel@localhost.localdomain>

hia,

On Mon, 2002-06-03 at 18:47, Greg Ferguson wrote:
> On Jun 3,  2:51pm, Alexander Bartolich wrote:
> > Subject: Re: problem with jade
> > > [...]
> > > cannot generate system identifier for public text
> > > "-//OASIS//ENTITIES DocBook Notations V4.1//EN"
> >
> > Your doctype declaration looks very strange.
> > AFAIK the correct string is:
> >
> > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
> >
> > At least on my RedHat 7.2 that matches a PUBLIC
> > statement of
> >
> > /usr/share/sgml/docbook/sgml-dtd-4.1/catalog

basically, the sgml file begins with
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
"/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd">

and the catalog file says

SGMLDECL "docbook.dcl"


PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"

PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "cals-tbl.dtd"
PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.1//EN"
"dbpool.mod"
PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1//EN"
"dbhier.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN"
"dbgenent.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod"
PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN"
"dbcent.mod"

and the docbook.dtd file says

<!ENTITY % dbnotn.module "INCLUDE">
<![ %dbnotn.module; [
<!ENTITY % dbnotn PUBLIC 
"-//OASIS//ENTITIES DocBook Notations V4.1//EN">
%dbnotn;

blah blah blah
where do i have to make a change??

> 
> Alexander pointed out the main/big problem.  Another problem,
> ldp.dsl is a DSSSL stylesheet that contains 2 distinct sections
> used for processing, so you need to specify one.
> 
> > jade -t sgml -d ldp.dsl pctel.sgml
> 
> should be:
> 
>   jade -t sgml -d ldp.dsl#html pctel.sgml
> 
> (for example. The other area is defined by ldp.dsl#print)

tried that, same results..


> --
> Ferg
> 
>

Subject: Re: problem with jade
From: Alexander Bartolich ####@####.####
Date: 3 Jun 2002 14:49:15 -0000
Message-Id: <25405.1023115727@www11.gmx.net>

Sayamindu Dasgupta wrote:
> [...] and the catalog file says
> [...]
> PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod"

Sorry, sloppy reading on my part.
Your doctype declaration looks ok.
The catalog file you are quoting is located in
/usr/share/sgml/docbook/sgml-dtd-4.1 on my system.
And this directory also contains all other files.

$ pwd
/usr/share/sgml/docbook/sgml-dtd-4.1

$ ls
cals-tbl.dtd
catalog
dbcent.mod
dbgenent.mod
dbhier.mod
dbnotn.mod
dbpool.mod
docbook.dcl
docbook.dtd

The second argument to the PUBLIC statement is a file name.

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Subject: Re: problem with jade
From: Sayamindu Dasgupta ####@####.####
Date: 4 Jun 2002 03:29:53 -0000
Message-Id: <1023161461.3103.3.camel@localhost.localdomain>

hello,

On Mon, 2002-06-03 at 20:18, Alexander Bartolich wrote:
> Sayamindu Dasgupta wrote:
> > [...] and the catalog file says
> > [...]
> > PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod"
> 
> Sorry, sloppy reading on my part.
> Your doctype declaration looks ok.
> The catalog file you are quoting is located in
> /usr/share/sgml/docbook/sgml-dtd-4.1 on my system.
> And this directory also contains all other files.
> 
> $ pwd
> /usr/share/sgml/docbook/sgml-dtd-4.1
> 
> $ ls
> cals-tbl.dtd
> catalog
> dbcent.mod
> dbgenent.mod
> dbhier.mod
> dbnotn.mod
> dbpool.mod
> docbook.dcl
> docbook.dtd

the conditions are same for me, (same directory, same number/name of
files)
but still the thing refuses to work :(
any ideas??

> 
> The second argument to the PUBLIC statement is a file name.
> 
> -- 
-cheers-
-sdg-


[<<] [<] Page 1 of 1 [>] [>>]


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.