[Gimp-docs] "make validate" and <revnumber>

Ulf-D. Ehlert ude88 at web.de
Mon Jan 5 13:32:27 PST 2009


julien (Montag, 5. Januar 2009, 21:22):
> ~/SVN-po/trunk> xmllint -nonet --valid --noout
> src/menus/file-close.xml src/menus/file-close.xml:85: element link:
> validity error : IDREF attribute linkend references an unknown ID
> "glossary-xcf"

That's ok, this message is independent of the DocBook version. You will 
have to look for messages about the missing <revnumber> tag, of course,
see below.

> ~/SVN-po/trunk> make validate
> *** Validating XML (en) ...
> I/O error : Attempt to load network entity
> http://www.docbook.org/xml/4.6/docbookx.dtd
> xml/en/menus/file-close.xml:2: warning: failed to load external
> entity "http://www.docbook.org/xml/4.6/docbookx.dtd"
> //OASIS//DTD DocBook XML V4.6//EN"
> "http://www.docbook.org/xml/4.6/docbookx.dtd"

This is the message you would get if xmllint failed to load the 
DocBook-4.5 DTD, so you know that xmllint is indeed using the correct 
DTD.

> -:39025: element revision: validity error : Element revision content
> does not follow the DTD, expecting (revnumber , date , (author |
> authorinitials)* , (revremark | revdescription)?), got (date
> authorinitials revremark )
>       </revision>

That's it! This message depends on the DocBook version.
DocBook-4.5 would accept this <revision>, DocBook-4.3 won't.

> Weird: "xml/en/menus" !
> I have a "xml/en/" folder. I delete it.

Tell us when it happens again.

Bye,
Ulf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : /lists/gimp-docs/attachments/20090105/8202b815/attachment.bin 


More information about the Gimp-docs mailing list