473,588 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

nsgmls, where does it store the catalog file

Hi, I found nsgmls, compiled it, but I can't figure out where I'm
supposed to put the catalog file.

Also the "pubtext" directory that contains the DTD and such files seem t
obe out of date (no HTML 4.01) so I found sgml-lib.tar.gz on the w3c
website, which has the newest fiels for HTML 4.01, XHTML and many more,
but how do I set this all up, it's really confusing me (and the irony is
I'm usually good with setting things up on my linux box.)

From sgml-lib.tar.gz I have this structure:

$ ls -la validator-0.7.2/htdocs/sgml-lib
total 771
drwxr-xr-x 1 root root 4096 Jun 4 12:27 .
drwxr-xr-x 1 root root 4096 Jun 4 12:27 ..
drwxr-xr-x 1 root root 4096 Jun 4 12:27 IETF
drwxr-xr-x 1 root root 4096 Jun 4 12:27 ISO-HTML
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-html32-19970114
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-html401-19991224
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-html40-19980424
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-MathML2-20031021
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-smil-19980615
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-smil20-20050107
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-SVG11-20030114
drwxr-xr-x 1 root root 4096 Jun 4 12:27 REC-SVG-20010904
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-xhtml11-20010531
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-xhtml1-20020801
drwxr-xr-x 1 root root 4096 Jun 4 12:27
REC-xhtml-basic-20001219
-rwxr-xr-x 1 root root 2554 May 24 2003 sgml.dcl
-rwxr-xr-x 1 root root 45425 Feb 4 2005 sgml.dtd
-rwxr-xr-x 1 root root 3301 Jul 25 2005 sgml.soc
-rwxr-xr-x 1 root root 57287 Aug 19 2002 spec.dtd
-rwxr-xr-x 1 root root 573471 Mar 29 2005
xhtml-math-svg-flat-20020809.dtd
-rwxr-xr-x 1 root root 7219 Sep 9 2004 xml.dcl
-rwxr-xr-x 1 root root 32283 Feb 4 2005 xml.dtd
-rwxr-xr-x 1 root root 3872 May 9 2005 xml.soc

$ ls -la validator-0.7.2/htdocs/sgml-lib/REC-html40-19980424
total 123
drwxr-xr-x 1 root root 4096 Jun 4 12:27 .
drwxr-xr-x 1 root root 4096 Jun 4 12:27 ..
-rwxr-xr-x 1 root root 1007 Sep 4 1999 frameset.dtd
-rwxr-xr-x 1 root root 347 Sep 4 1999 HTML4.cat
-rwxr-xr-x 1 root root 2551 Oct 28 1999 HTML4.decl
-rwxr-xr-x 1 root root 11961 Sep 4 1999 HTMLlat1.ent
-rwxr-xr-x 1 root root 4116 Sep 4 1999 HTMLspecial.ent
-rwxr-xr-x 1 root root 14445 Sep 4 1999 HTMLsymbol.ent
-rwxr-xr-x 1 root root 45728 Sep 4 1999 loose.dtd
-rwxr-xr-x 1 root root 34952 Sep 4 1999 strict.dtd

How can I setup nsgmls so that it always uses the right file, ie,
mapping

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

to the local strict.dtd (in the REC-html40-19980424 dir above) ?

I also noticed that HTML4.cat is the same format a the HTML4.soc in the
pubtext directory that comes wit hthe nsgml source code. Note sure if
that helps or not.

I'm just not sure what to do here, thanks for any help on this. I just
want to verify my html and xml documents on my machine.
Jun 4 '06 #1
3 1465
Steve Kostecke wrote:
Hi, I found nsgmls, compiled it, but I can't figure out where I'm
supposed to put the catalog file. -rwxr-xr-x 1 root root 3301 Jul 25 2005 sgml.soc
-rwxr-xr-x 1 root root 3872 May 9 2005 xml.soc


That looks like a good start.

Alternatively you can build something more extensive. If you download
a validator package, it'll have one. Or you could build it yourself
with http://valet.webthing.com/catalogue/

--
Nick Kew
Jun 5 '06 #2
Nick Kew wrote:
Steve Kostecke wrote:
Hi, I found nsgmls, compiled it, but I can't figure out where I'm
supposed to put the catalog file.

-rwxr-xr-x 1 root root 3301 Jul 25 2005 sgml.soc
-rwxr-xr-x 1 root root 3872 May 9 2005 xml.soc


That looks like a good start.

Alternatively you can build something more extensive. If you download
a validator package, it'll have one. Or you could build it yourself
with http://valet.webthing.com/catalogue/


Than kyou ,but what I was really after was _where_ to put the global
catalog file so that it's always used by default, this is what confuses
me. I've seen references in some of the docs I read about havign a
catalog file, and many seemed to imply there was a global (on your
system) catalog file you setup, but not very clear.
Jun 5 '06 #3
Steve Kostecke wrote:
Than kyou ,but what I was really after was _where_ to put the global
catalog file so that it's always used by default,


At SGML_CATALOG_FI LES.

If you work with different SGMLDECLs, you'll also need more
than one catalogue. Unless you come up with something clever:-)

--
Nick Kew
Jun 5 '06 #4

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

Similar topics

4
2696
by: Steve | last post by:
C# I am trying to store my connection settings in a config file, mainly so I can easily change the db that the app connects to without doing a release of code. I have the config file sorted fine, and I can read the connection string in and connect. But at the moment everytime a connection is made to the database to get records, update records insert records etc etc, this file has to be read back in again. Is this an ok way of doing...
4
2420
by: Leo Muller | last post by:
I am about to deploy my first ASP.NET project. But, I was used to store my variables, such as connection strings, in the global.asa file, in an application. However, these variables are different on my development and production server. If I use the global.asax file, then it is in the code behing, compiled part. Thus I can't change the setting on my production server. So where is the right place to save my connecting string? Leo
0
3096
by: SampathTangudu | last post by:
Hi, We are trying to use the Hash Tables for passing information from one aspx page to another aspx page. We are using the below code. IsolatedStorageFile isoStore = IsolatedStorageFile.GetStore( IsolatedStorageScope.User | IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain , null, null );
1
2639
by: sal | last post by:
Greets, All Question with udl and connection string does it work? I'm having problems with the code below I keep getting an error "Keyword not supported 'File Name'" I was just following app.dev cbt course and for some reason it doesn't work for me does someone know what I doing wrong
2
3936
by: ricky | last post by:
Hello, If anyone could help me with this I would highly appreciate it. I've tried everything and nothing works. What I am trying to do is so damn basic and it's just frustrating that it seems there's no support for this. Either that or I'm doing something wrong. Well, enough venting, here's what I need. Using this sample XML file (test.xml):
4
1236
by: ali100 | last post by:
Apologies for the basic (!) nature of this question but I just have not been able to find an answer to my problem after several googling sessions. I want to use nsglms to parse an xml file against a public schema but I cannot seem to get the parser to read the schema on my local system. When parsing against a DTD I always have a line in the individual xml files something like
0
3155
by: berandor | last post by:
I am attempting to use the "Catalog Library List" feature of the IBMDA400 oledb provider. My connection string is as follows: new OleDbConnection("Provider=IBMDA400.DataSource.1;Data Source=MyDS;User ID=uid;Password=pwd;Initial Catalog=MyCat;Catalog Library List=Lib1,Lib2"); When I fully qualify tables I am successful. For Example:
4
16675
prabunewindia
by: prabunewindia | last post by:
Hello everybody, here i am going to explain, how to get mails from Outlook express database and store in our own database(local) Initially you have to add the refference Outlook library10.0 or 11.0 from add ref. If you not find that, download the dll from here and install..click here open and windows application (or ASP.NET) in Form1 class code(declare) the following,
0
1240
by: brat2 | last post by:
using nsgmls under freebsd for validating some xhtml document, I met such problem: nsgmls is not able to get system id via network (http://www.wapforum.org/DTD/....xhtml-mobile10.dtd) Is this a feature of the nsgmls (may be it can only use local uri) or Am I mistaking ? Note that the "fetch" command upon proper remote document is working successfully.... What can be wrong.... ?
0
7862
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8357
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7987
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8223
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6634
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5729
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3887
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2372
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1196
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.