Re: Problem in the man xml files.
Yuri Kozlov <[email protected]> Tue, 20 Sep 2005 15:56:37 +0400
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
2005/9/19, Tomasz Kłoczko <[email protected]>: > On Sun, 18 Sep 2005, Yuri Kozlov wrote: > > > 2005/9/17, Tomasz Kłoczko <[email protected]>: > >> On Sat, 17 Sep 2005, Yuri Kozlov wrote: > >>> > >>> Contens of the <listitem> must be in a <para> tags: > >>> <listitem><para>group account information</para></listitem> > >>> > >>> I can not found whats a docbook standard said, but its worked. > >> > >> I know about this. Also I know this workaroud. > >> > >> This is bug in XML DTD files content or in XSLT sheets. If current shadow > >> XML are files incorrect and must have this additional <para></para> it > >> must be reported by XML parser (basing on DTD). If XML DTD is correct > >> something must be fixed in XSLT sheets first. > >> I'm still not adding this <para></para> because it will be plain hiding > >> some real bug on XML DTD or XSLT sheets side (or even XML parser). > >> I'm waiting for some neccessary solution on XML/XSLT level. > >> > >> Anyway using docbook-xsl-1.69.0 generates correct roff files (in sense man > >> roff syntax). Yes .. worse look&feel but correct syntax :) > >> > > Ok, how about section Examples of this: > > http://www.docbook.org/tdg/en/html/para.html > > > > <itemizedlist> > > <listitem><para>It was slow</para></listitem> > > <listitem><para>It ran hot</para></listitem> > > <listitem><para>It didn't actually work</para></listitem> > > </itemizedlist> > > Of these three, the last was probably the most important. > > </para> > > > > Why they are using a <para> tag? > > I want say only: both forms passes XML linting without errors (using for > example xmllint command from libxml 2.x). In sense XSLT sheets form > without <para></para> inside <listitem> produces inccorrect output. > Conclution: must be fixed XML DTD or XSLT sheets. Xmm. xmllint --valid --postvalid id.1.xml give me id.1.xml:39: element listitem: validity error ... Document id.1.xml does not validate xmllint --version xmllint: using libxml version 20620 compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer XInclude Iconv Unicode Regexps Automata Schemas -- Regards, Yuri Kozlov