[sisyphus] Re: docbook-dtds

Mikhail Zabaluev =?iso-8859-1?q?mhz_=CE=C1_alt-linux=2Eorg?=
Вт Мар 5 13:14:45 MSK 2002


Hello Vyt,

On Tue, Mar 05, 2002 at 10:50:14AM +0300, Vyt wrote:
>
> > > > Попробуйте
> > > > xmllint --valid --noout test.xml
> > > > 
> > > > Следите, не полезет ли он в сеть за DTD.
> > > 
> > > Попробовал
> > > $ xmllint --valid --noout postfix.xml
> > > ;)
> > > 
> > > в сеть, вроде не лазил, tcpdump молчит.
> > > nsgmls ругается так же, как и на test.xml.
> > 
> > У меня всё пучком... Постойте, xmllint вызвывает nsgmls?
> 
> Нет, nsgmls вызвается из emacs sgml-mode по C-c C-v.
> xmllint запускал отдельно - ничего не выводит, видимо, все ок.

Да.

> Т.е. надо пользоваться xmllint вместо nsgmls? Может, это в
> sgml-mode отразить по умолчанию?

Можно.

> И все-таки:
> 
> $ db2html postfix.xml 
> output is postfix.xml
> mkdir: `postfix.xml' exists but is not a directory
> mkdir: cannot create directory `postfix.xml/stylesheet-images': Not a directory
> cp: accessing `postfix.xml/stylesheet-images': Not a directory
> jw: Could not create "/home/vyt/temp/postfix.xml" output directory
> 
> $ jw -b html postfix.xml 
> Using catalogs: /etc/sgml/xml-docbook-4.1.2.cat
> Using stylesheet: /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl#html
> Working on: /home/vyt/temp/postfix.xml
> jade:/home/vyt/temp/postfix.xml:3:76:E: URL not supported by this version
> jade:/home/vyt/temp/postfix.xml:49:15:E: general entity "mdash" not defined and no default entity
> 
> После последней команды postfix.html получен и выглядит, вроде бы,
как должен.

Это хорошо. Я пользовался docbook2html из docbook-utils.

-- 
Stay tuned,
  MhZ                                     JID: mookid на jabber.org
___________
Give a man a fish, and you feed him for a day.  Teach a man to fish,
and he'll invite himself over for dinner.
		-- Calvin Keegan




Подробная информация о списке рассылки Sisyphus