473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Help! Error when doing docbook.

I'm learning for docbook under win32.
I download:
openjade-1_3_1-2-bin
docbook-xml-4.4
docbook-dsssl-1.79
ldp.dsl
And then copy all openjade bin\ to win32 system\, and then create a
directory share\ under my workhome.
Copy openjade-dsssl, docbook-xml-4.4, docbook-dsssl-1.79 to share\.
ldp.dsl into docbook-dsssl-1.79\html\.
Under share\, i write a catalog as the following:

OVERRIDE YES
CATALOG "E:/shawn/workshop/docbook/share/openjade-dsssl/catalog"
CATALOG "E:/shawn/workshop/docbook/share/docbook-dsssl-1.79/catalog"
CATALOG "E:/shawn/workshop/docbook/share/docbook-xml-4.4/catalog"

Path set is ok, and i also change the 'docbook.cat' to 'catalog'.
Comment the DTDDECL declare.

Then I write a xml file with
<!DOCTYPE article PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML
Stylesheet//EN">

When i run:
E:\shawn\workshop\docbook>openjade -t xml -d
E:\shawn\workshop\docbook\share\doc
book-dsssl-1.79\html\ldp.dsl#html
E:\shawn\workshop\docbook\share\docbook-dsssl-
1.79\dtds\decls\xml.dcl -c share\catalog test.xml

I get the following errors:
openjade:E: cannot open "-c" (No such file or directory)
openjade:E: cannot open "builtins.dsl" (No such file or directory)
openjade:share\catalog:1:0:E: character "O" not allowed in prolog
openjade:E:\shawn\workshop\docbook\share\docbook-dsssl-1.79\html\ldp.dsl:2:54:W:
cannot generate system identifier for public text "-//James Clark//DTD
DSSSL St
yle Sheet//EN"
openjade:test.xml:2:0:E: non SGML character number 0
openjade:E:\shawn\workshop\docbook\share\docbook-dsssl-1.79\html\ldp.dsl:16:0:E:
reference to entity "STYLE-SHEET" for which no system identifier could
be gener
ated
openjade:E:\shawn\workshop\docbook\share\docbook-dsssl-1.79\html\ldp.dsl:1:0:
en
tity was defined here
openjade:test.xml:2:2:E: non SGML character number 0
openjade:E:\shawn\workshop\docbook\share\docbook-dsssl-1.79\html\ldp.dsl:16:0:E:
DTD did not contain element declaration for document type name
openjade:test.xml:2:3:E: character "<
....

I don't know how to deal with it. I just follow the steps of "DocBook:
The Definitive Guide".

Sep 27 '05 #1
2 1701
Yarco wrote:
I'm learning for docbook under win32. [...] When i run:
E:\shawn\workshop\docbook>openjade -t xml -d
E:\shawn\workshop\docbook\share\doc
book-dsssl-1.79\html\ldp.dsl#html
E:\shawn\workshop\docbook\share\docbook-dsssl-
1.79\dtds\decls\xml.dcl -c share\catalog test.xml

I get the following errors:
openjade:E: cannot open "-c" (No such file or directory)


I think the command must give all the options before the declaration
and the document filename, so the sequence must be:

....-c share\catalog xml.dcl test.xml

///Peter
Sep 27 '05 #2
Hi Peter, now i use xsltproc to get it work.
And i'm still puzzled with openjade.
Whether openjade can do the work under the following enviroment or
task:
win32
non-english word
xml
docbook-xml-dtd-4.4
docbook-dsl
I google whole the world, but never seeing someone use
openjade+docbook-dsl, I think openjade might only support dsssl.
But if i use dsssl with docbook-xml-dtd, there might be a lot of errors
show out.
or Non SGML charactor, or no system identifier or not define "Russsion
.....iso ...".
So i doubt that, openjade might be only a sgml translate tool not for
xml docbook.

Sep 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Tom | last post by:
A question for gui application programmers. . . I 've got some GUI programs, written in Python/wxPython, and I've got a help button and a help menu item. Also, I've got a compiled file made with...
4
by: Sarir Khamsi | last post by:
Is there a way to get help the way you get it from the Python interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the module cmd.Cmd? I know how to add commands and help text to...
2
by: Sudheer Kareem | last post by:
Dear All Please tell me how to assosiate help files with my Vb.net Project. Regards Sudheer
6
by: d.warnermurray | last post by:
I am doing a project for school that involves creating help files for a html authoring tool. If you could help me with answers to some questions it would really help. 1. What tasks do you expect...
5
by: Craig Keightley | last post by:
Please help, i have attached my page which worksin IE but i cannnot get the drop down menu to fucntion in firefox. Any one have any ideas why? Many Thanks Craig ...
27
by: Bruce Dodds | last post by:
I recently started using Access 2003 for the first time. I wanted to pass on some comments about the Help system to Access MVPs who frequent this board. I'm doing this in the hope that some of...
5
by: Steve Teeples | last post by:
Can someone point me to a document that clearly identifies the steps of creating a good help system for an application? I have a test tool that I'd like to add help to so that others will know how...
3
by: stuart_white_ | last post by:
I've just upgraded from Python 2.3.3 to Python 2.4.2, and, although the new version of Python seems to be running correctly, I can't seem access the help from the interpreter. On Python 2.3.3...
9
by: JJ | last post by:
Do you all use HTML help workshop to create your help system. I am finding it quite clumsy to use. Mayeb because I am not used to using it. Do any of you use any other techniques to create help...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more: 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' 'UPGRADE_WARNING: Couldn't resolve...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.