Re: DocBook XML validation



Hi Daniel:
<artheader> is deprecated; use <articleinfo> instead
<graphic> should be replaced by <mediaobject> 
You can find examples of usage in the template
(cvs:/gnome-docu/gdp/templates/gnome-app-template.xml)

The canonical reference for DocBook DTD is DocBook: The definitivee
guide, see 
http://docbook.org/tdg/en/html/docbook.html

As for &mdash; it is certain to be a catalog problem: all these entities
are defined in files with names like iso-pub.ent which must be
referenced in the catalog. On my system, the file
/usr/share/xml/docbook/catalog (which is referenced in /etc/xml/catalog)
contains

<public publicId="ISO 8879:1986//ENTITIES Publishing//EN"
       uri="dtd/4.1.2/ent/iso-pub.ent"/>

Did you try DV's recent script for fixing XML catalog?

Sasha

On Thu, 2002-01-24 at 13:02, Daniel Carrera wrote:
> Hello,
> I'm still trying to get the DocBook XML right.  I've made progress, but
> some errors still elude me.  I'm using xmllint to test the XML.
> 
> Summary of errors (details in the PS):
> 1)  When I don't use the --valid flag, xmllint complains that mdash; is
> not defined.
> 2)  When I use the --valid flag, the above error disappears, but I get
> errors over <graphic> (which it thinks should be an empty tag) and
> <artheader> (which it thinks does not exist).
> 
> Does anyone know what's going on?  and how to fix these?
> I thought I read somewhere that <graphic> had been deprecated, but I can't
> find the page anywhere.  I don't know what to use instead.
> 
> Thanks in advance,
> Daniel.
> 
> _______________________________________________
> gnome-doc-list mailing list
> gnome-doc-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-doc-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]