NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Validating XML in DocBook with psgml



I have not  been able to get the psgml validate command working in NetBSD.

I have no problem in my Debian machine (not to rub it in, but just to
mention it), with the same docbook xml source file, the same psgml
version (I like the psgmlx incarnation), the same emacs version and as
close as possible the same dot-emacs file.

I get a weird stream of error messages that look like this, in part:

nsgmls:/home/bob/psgmlx-0.5.3/lib/xml.dcl:1:W: SGML declaration was not implied
nsgmls:/usr/pkg/share/xml/docbook/4.4/ent/isogrk4.ent:42:30:E: "1D6C2"
is not a character number in the document character set
nsgmls:/usr/pkg/share/xml/docbook/4.4/ent/isogrk4.ent:43:30:E: "1D6C3"
is not a character number in the document character set
nsgmls:/usr/pkg/share/xml/docbook/4.4/ent/isogrk4.ent:44:30:E: "1D6D8"
is not a character number in the document character set
nsgmls:/usr/pkg/share/xml/docbook/4.4/ent/isogrk4.ent:45:30:E: "1D6AB"
is not a character number in the document character set
nsgmls:/usr/pkg/share/xml/docbook/4.4/ent/isogrk4.ent:46:30:E: "1D6C5"
is not a character number in the document character set

dot-emacs is:

(add-to-list 'auto-mode-alist '("\\.html" . sgml-mode))
(add-to-list 'auto-mode-alist '("\\.xml" . xml-mode))

(setq psgmlxpath "/home/bob/psgmlx-0.5.3")
      (load (concat psgmlxpath "/init"))

(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)

(setq sgml-declaration "~/psgmlx-0.5.3/lib/xml.dcl")
(setq sgml-xml-validate-command "nsgmls -s %s %s")


nb. I suspicion falls on the catalog files. I am a sheer novice with
these things, but I observer they look quite a bit different in NetBSD
than in Debian.

-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?

http://trollboy.thruhere.net:8080/MontyPython/fish.htm


Home | Main Index | Thread Index | Old Index