LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-12-2006, 11:49 PM   #1
Mig21
Member
 
Registered: Jan 2005
Posts: 176

Rep: Reputation: 30
docbook document problems


hi

i'm trying to compile my docbook document into html using the the db2html script on my slackware 11 box but get all these errors:

Code:
Working on: /path/spyware.sgml
jade:/path/spyware.sgml:5:14:E: document type does not allow element "PARA" here
jade:/path/spyware.sgml:5:34:E: end tag for "CHAPTER" which is not finished
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:1:73:W: cannot generate system identifier for public text "-//James Clark//DTD DSSSL Style Sheet//EN"
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:11:0:E: reference to entity "STYLE-SHEET" for which no system identifier could be generated
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:1:0: entity was defined here
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:11:0:E: DTD did not contain element declaration for document type name
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:5:0:E: notation "DSSSL" for entity "docbook.dsl" undefined
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:36:12:E: element "STYLE-SHEET" undefined
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:39:24:E: there is no attribute "ID"
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:39:36:E: there is no attribute "USE"
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:39:45:E: element "STYLE-SPECIFICATION" undefined
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:40:25:E: element "STYLE-SPECIFICATION-BODY" undefined
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:508:44:E: element "STYLE-SPECIFICATION" undefined
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:509:25:E: element "STYLE-SPECIFICATION-BODY" undefined
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:1059:27:E: there is no attribute "ID"
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:1059:46:E: there is no attribute "DOCUMENT"
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:1059:59:E: element "EXTERNAL-SPECIFICATION" undefined
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:1061:13:E: end tag for "EXTERNAL-SPECIFICATION" omitted, but OMITTAG NO was specified
jade:/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl:1059:0: start tag was here
jade:E: specification document does not have the DSSSL architecture as a base architecture
jade:E: no style-specification or external-specification with ID "HTML"
judging by the searches i did for the errors this is some kind of stylesheet issue. i have no idea what to do about it. it used to work on slackware 10.2

it's a generic, fresh slackware 11 install, i didn't have the time to mess it up

can someone help?

thanks in advance
 
Old 10-14-2006, 09:41 AM   #2
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
Is the XML file well-formed and valid? The best way to check this is by using xmllint:

Code:
xmllint --valid --noout yourfile.xml
The "--valid" flags check whether the file conforms to the DTD. Please remember that XML is very strict, so there is a relatively big chance that your XML file still contains errors. If something is wrong with the DocBook installation, xmllint usually provides useful output.
 
Old 12-11-2006, 01:11 PM   #3
Carlos E R Diogenes
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
I was having this problem while trying to compile the GNOME module fontconfig with jhbuild.

I change the line (~ 76), in /usr/bin/jw:
SGML_EXTRA_CATALOGS="" to SGML_EXTRA_CATALOGS=":/etc/sgml/catalog"

and everything processed fine!

I think that this can be a default extra catalog in slackware. Where we can ask for this add?
 
Old 12-15-2006, 07:08 PM   #4
Mig21
Member
 
Registered: Jan 2005
Posts: 176

Original Poster
Rep: Reputation: 30
oh my god, it was so simple!

thanks dude. i wrote up an article about this so googlers can hopefully find it, check it out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10 as Server and document problems awtoc123 Suse/Novell 1 03-08-2006 09:15 AM
how do i create a document, then a directory and save the document in it. jtdodge Linux - Newbie 9 06-15-2005 11:03 AM
Need help installing docbook-xsl [docbook xsl stylesheet kmguy Linux - Software 0 09-10-2004 12:14 AM
Convert openoffice document into ms document through cli? bruno buys Linux - Software 0 07-05-2004 09:59 AM
Need DocBook help IgD Linux - Software 1 09-23-2003 08:53 PM


All times are GMT -5. The time now is 03:12 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration