473,386 Members | 1,699 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,386 software developers and data experts.

Confused about catalog

Hello,

I want to use jade but I'm confused with the catalog issue. I have both
onsgmls and openjade installed, and the onsgmls works fine. I have
SGML_CATALOG_FILES set to /home/martin/sgml/catalog, and the content of
this file is:

CATALOG "pubtext/xml.soc"
CATALOG "dsssl/catalog"

But when I issue

openjade.exe -d mysheet.dsl -t rtf myxml.xml

I get:

openjade:/home/martin/sgml/dsssl/style-sheet.dtd:11:2:E: unknown
declaration type "element"
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:13:2:E: unknown
declaration type "element"
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:14:2:E: unknown
declaration type "attlist"
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:18:2:E: unknown
declaration type "element"
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:19:2:E: unknown
declaration type "attlist"
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:22:2:E: unknown
declaration type "element"
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:23:2:E: unknown
declaration type "attlist"
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:29:2:E: unknown
declaration type "element"
etc.

What do I need to add or correct?

Thanks

Martin

Oct 24 '06 #1
4 1174
In article <11*********************@m73g2000cwd.googlegroups. com>,
Martin Plantec <ma************@gmail.comwrote:
>openjade:/home/martin/sgml/dsssl/style-sheet.dtd:11:2:E: unknown
declaration type "element"
You appear to be using an SGML DTD, not an XML one.

-- Richard
Oct 24 '06 #2
Hi Robin,
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:11:2:E: unknown
declaration type "element"

You appear to be using an SGML DTD, not an XML one.
Thanks for responding, however I'm not able to use your answer as it is
now; what do I need to change, practically? The style-sheet.dtd is
fetched automatically by openjade. Do you refer to the DTD of my XML
file?

Thank you,

Martin

Oct 25 '06 #3
Hello,
openjade:/home/martin/sgml/dsssl/style-sheet.dtd:11:2:E: unknown
declaration type "element"

You appear to be using an SGML DTD, not an XML one.
Thanks for responding, however I'm not able to use your answer as it is
now; what do I need to change, practically? The style-sheet.dtd is
fetched automatically by openjade. Do you refer to the DTD of my XML
file?

Thank you,

Martin

Oct 25 '06 #4
In article <11********************@i42g2000cwa.googlegroups.c om>,
Martin Plantec <ma************@gmail.comwrote:
>openjade:/home/martin/sgml/dsssl/style-sheet.dtd:11:2:E: unknown
declaration type "element"
>You appear to be using an SGML DTD, not an XML one.
>Thanks for responding, however I'm not able to use your answer as it is
now; what do I need to change, practically? The style-sheet.dtd is
fetched automatically by openjade. Do you refer to the DTD of my XML
file?
I'm just guessing, based on the error message, but presumably your
DSSSL stylesheet is in XML and refers to the DTD style-sheet.dtd, but
your catalog entry for style-sheet.dtd is pointing to an SGML DTD. If
so, you need to change your catalog to point to an XML DTD instead.

-- Richard
Oct 25 '06 #5

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

Similar topics

2
by: Jefferis NoSpamme | last post by:
I am looking at an old query and I cannot remember or figure out what this part of the query means: `Catalog`.item like '%A\-%' It is the like '%A\-%' I cannot figure out. Then entire...
2
by: Simon Strandgaard | last post by:
I am trying to understand how to create a 'catalog.xml' file for my docbook-xml documents. If I understand correct a local catalog.xml file can both avoid hardcoding in makefiles (portability),...
6
by: Vincent Lefevre | last post by:
I would like to know if the base URI considered to resolve an unparsed entity defined by a relative URI should be the URI before or after its rewriting due to a possible catalog. Let's take an...
2
by: C# newbie | last post by:
Hi guys, Something werid happening to me. When I run a query against every xml I have, below query works fine and returns what it should be returned. but there is another xml file as below,...
6
by: Chuck | last post by:
What's the difference between using "catalog node" and catalog admin node"? -- Chuck Remove "_nospam" to reply by email
10
by: Xiaoshen Li | last post by:
Dear All, I am confused with prototypes in C. I saw the following code in a C book: void init_array_1(int data) { /* some code here */ }
4
by: bikkaran | last post by:
Hi , I want to catalog a database and I have the follwoing information with me. Node name = abcdef Comment = Protocol =...
2
by: sandeep.manthena | last post by:
Hi everyone, Can anyone answers my questions. My server is AIX and is 5.2 and the db2 udb of V 8.1 Fixpak 9. What exactly is the tools catalog for? How it is uaseful in performing automatic...
8
by: kkshansid | last post by:
i m from asp background i m very new to asp.net n i m confused with connections in asp.net i have a project in asp.net for practice its web.config file which i think is a connection file has...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.