FC5 test1 relnotes make problem(two xml file broken)
Yoshinari Takaoka
mumumu at mumumu.org
Tue Oct 25 16:08:28 UTC 2005
hi, all.
i checked out fc5 test1 relnotes, and tried to make with the following steps.
----
$ echo $CVSROOT
:ext:username at cvs.fedora.redhat.com:/cvs/docs
$ cvs co -r FC-5-TEST1-TRANS-FREEZE -d release-notes-FC5test1 release-notes
$ cvs co docs-common
$ cd release-notes-FC5test1
$ cp RELEASE-NOTES-en.xml RELEASE-NOTES-ja.xml
$ vi Makefile
....here, i editied "LANGUAGES" parameter, and replaced 'en' with 'ja'.
and tried to make, but i got the following error.
----
$ make
LANG=ja.UTF-8 xmlto html -x ../docs-common/xsl/main-html.xsl -o
RELEASE-NOTES-ja RELEASE-NOTES-ja.xml
xmlto: input does not validate (status 1)
/home/mumumu/work/release-notes-FC5test1/package-notes-en.xml:40: parser
error : expected '>'
<caution>
^
/home/mumumu/work/release-notes-FC5test1/package-notes-en.xml:288: parser
error : chunk is not well balanced
^
/home/mumumu/work/release-notes-FC5test1/RELEASE-NOTES-ja.xml:74: parser
error : chunk is not well balanced
&PACKAGE-NOTES;
^
make: *** [RELEASE-NOTES-ja/index.html] error 1
----
this error was caused because "para" tag was not closed in
package-notes-en.xml line 39.
http://cvs.fedora.redhat.com/viewcvs/release-notes/package-notes-en.xml?annotate=1.3&root=docs
i fixed this and tried once more. but i got error again.
----
$ make
LANG=ja.UTF-8 xmlto html -x ../docs-common/xsl/main-html.xsl -o
RELEASE-NOTES-ja RELEASE-NOTES-ja.xml
xmlto: input does not validate (status 1)
/home/mumumu/work/release-notes-FC5test1/package-movement-en.xml:1055: parser
error : Opening and ending tag mismatch: para line 1052 and emphasis
</emphasis>)
^
/home/mumumu/work/release-notes-FC5test1/package-movement-en.xml:1056: parser
error : Opening and ending tag mismatch: section line 1044 and para
</para>
^
/home/mumumu/work/release-notes-FC5test1/package-movement-en.xml:1065: parser
error : chunk is not well balanced
</section>
^
/home/mumumu/work/release-notes-FC5test1/package-movement-en.xml:1065: parser
error : chunk is not well balanced
</section>
^
/home/mumumu/work/release-notes-FC5test1/RELEASE-NOTES-ja.xml:76: parser
error : chunk is not well balanced
&PACKAGE-MOVEMENT;
^
make: *** [RELEASE-NOTES-ja/index.html] error 1
----
this is because the start "emphasis" tag is missing in package-movement-en.xml
line 1055.
http://cvs.fedora.redhat.com/viewcvs/release-notes/package-movement-en.xml?annotate=1.3&root=docs
i fixed this and tried again.
this time, "make" worked fine and i could get release-note-ja directory and
tar archive.
Regards.
--
Yoshinari Takaoka(mumumu at IRC)
reversethis -> {gro} {tod} {umumum} {ta} {umumum}
More information about the docs
mailing list