[Gimp-docs] "make validate" and <revnumber>
Ulf-D. Ehlert
ude88 at web.de
Thu Jan 8 13:02:15 PST 2009
julien (Donnerstag, 8. Januar 2009, 08:16):
> I tried with several files that were valid for dockbook-4.3 and I
> always get the same error...
Your computer hates you... ;-)
$ grep revnumber /usr/share/xml/docbook/schema/dtd/4.5/*
.../ChangeLog: ... Make revnumber optional
.../dbpoolx.mod: <!ELEMENT revision %ho; (revnumber?, date, ...
...
Try the above grep command, you should get the same output...
> 1- I create a pot file, after editing the xml file.
> 2- I create the po-fr file.
> 3- I commit
> Some days after, I "svn update". The revnumber in the xml file is
> changed. 4- I run make po-fr : the msgid "$Revision: xxxx $" is
> changed and the item is marked as "Fuzzy"
> 5- svn status lists the po file as "M"...and there you have it!
Damned, of course you are right. :-(
The SVN $Revision$ keyword should never be used as DocBook's
<revnumber>, instead a static number should be used:
<revhistory>
<revision>
<revnumber>0.91</revnumber>
<date>11 Dec 1996</date>
<authorinitials>ndw</authorinitials>
<revremark>Bug fixes</revremark>
</revision>
<revision>
<revnumber>0.90</revnumber>
<date>30 Nov 1996</date>
<authorinitials>ndw</authorinitials>
<revremark>First beta release</revremark>
</revision>
</revhistory>
(Example from DTDG.)
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/20090108/1137f147/attachment.bin
More information about the Gimp-docs
mailing list