FC5 test1 relnotes make problem(two xml file broken)

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

 



hi, all.

i checked out fc5 test1 relnotes, and tried to make with the following steps.

----

$ echo $CVSROOT
:ext:username@xxxxxxxxxxxxxxxxxxxxx:/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@IRC)
reversethis -> {gro} {tod} {umumum} {ta} {umumum}

-- 

fedora-docs-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux