Note: forwarded message attached.
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.--- Begin Message ---
|
Subject: |
Need help on document compiling |
Hi All,
Haohappy sent email and asked me about the compiling Simplified Chinese documents. I realized I had made a mistake on compiling the documents. I apologize to Darby, Mikespook, Developworker and others who saw my email.I gave you guys the wrong message. ----------------------------------------------------------------------------------------------------------------- Before the ZF1.03 issued, I only copied /manual/zh folder to my linux box, even there were some warning messages, the system did not stop, I thought I compiled them right and assumed the unfinished translation caused the warning messages. I did not realized the xi:fallback would use the corresponding English version to replace it. So the Simplified Chinese translation is not intact.
But if
I compile it with English version, it will stop and get the error message that Darby gave me before.
My system is CentOS 4.5 or
5.0 -----------------------------------------------------------------------------------------------------------------
To narrow the problem, Haohappy suggested just check one file.
When I issued the command of
make XMLFILE=Zend_Controller-Router.xml check1
in /manual/zh I would get error message like: ---------------------------------------------------------------------------------- [root@box117 zh]# make XMLFILE=Zend_Controller-Router.xml check1
Checking Zend_Controller-Router.xml with /usr/bin/xmllint... _temp_Zend_Controller-Router.xml:19: element sect1: validity error : No declaration for attribute xmlns:xi of element &nbs
p; sect1 " id="zend.controller.router"
xml:base="module_specs/Zend_Controller-Router.xml" ^ _temp_Zend_Controller-Router.xml:704: element xref: validity error : IDREF attribute linkend references an unknown ID "zend.controller.request.http.baseurl"
^
_temp_Zend_Controller-Router.xml:19: element sect1: validity error : No declaration for attribute xmlns:xi of
element sect1 _temp_Zend_Controller-Router.xml:242: element xref: validity error : IDREF attribute linkend references an unknown ID "zend.controller.request.http.baseurl" Document _temp_Zend_Controller-Router.xml does not validate make: *** [check1] Error 3
---------------------------------------------------------------------------------- I thought that maybe some special Chinese char caused the problem. However, when I issued the same command in /manual/en folder, I got the similar(almost same) error message, like: ---------------------------------------------
---------------------------------------- [root@box117 en]# make XMLFILE=Zend_Controller-Router.xml check1 Checking Zend_Controller-Router.xml with
/usr/bin/xmllint... _temp_Zend_Controller-Router.xml:19: element sect1: validity error : No declaration for attribute xmlns:xi of element sect1 " id="zend.controller.router" xml:base="module_specs/Zend_Controller-Router.xml" ^ _temp_Zend_Controller-Router.xml:904: element xref: validity error : IDREF attribute linken
d references an unknown ID "zend.controller.request.http.baseurl"
^ _temp_Zend_Controller-Router.xml:19: element sect1: validity error : No declaration for attribute xmlns:xi of
element sect1 _temp_Zend_Controller-Router.xml:311: element xref: validity error : IDREF attribute linkend references an unknown ID "zend.controller.request.http.baseurl" Document _temp_Zend_Controller-Router.xml does not validate make: *** [check1] Error 3 [root@box117 en]# ------------------------------------------------------------------------------------------------------
The most weired thing is, even though, the link of "zend.controller.request.http.baseurl" works in both English and Chinese documents.
Can anyone help me out?
Thanks in advanced!
Jason.
Never miss a thing. Make Yahoo your homepage.
--- End Message ---
|
|