Re: cvs: phpdoc / manual.xml.in

From: Date: Mon, 02 Jun 2003 19:27:20 +0000
Subject: Re: cvs: phpdoc / manual.xml.in
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354204@lists.php.net to get a copy of this message
Hi Goba, I can't tell you WHY (maybe a bug in xsltproc, but didn't take the time to check it in detail), it just fixes the errors below (caused by the 0 bytes phpweb.ent, directly followed by the %global.entities;). But for the organised look: If you like, I can place it after the "%build.version;". Here's the "fixed" error (there might be other possibilites like putting content into the file etc., but I didn't take the time, had to do 3 builds): $ make fo ../phpdoc-tools/libxml/xsltproc.exe -o manual.fo xsl/fo.xsl manual.xml manual.xml:31: error: xmlParseInternalSubset: error detected in Markup declaration %global.entities;
                ^
Entity: line 1: %global.entities; ^ manual.xml:31: error: DOCTYPE improperly terminated %global.entities;
                ^
Entity: line 1: %global.entities; ^ entities/global.ent:8: error: xmlParseStartTag: invalid element name <!ENTITY url.7zip "http://www.7-zip.org/"> ^ entities/global.ent:8: error: Extra content at the end of the document <!ENTITY url.7zip "http://www.7-zip.org/"> ^ unable to parse manual.xml make: *** [fo] Error 6 Cu, Thomas Gabor Hojtsy wrote:
???? Why this fixes anything? It should do the same. But does not look that organized... Goba Thomas Schoefbeck írta:
tom        Sun Jun  1 13:41:28 2003 EDT
  Modified files:                  /phpdoc    manual.xml.in   Log:
quickfix for builds (on windows) in case of an empty phpweb.ent Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.149 phpdoc/manual.xml.in:1.150
--- phpdoc/manual.xml.in:1.149    Wed May 28 15:41:41 2003
+++ phpdoc/manual.xml.in    Sun Jun  1 13:41:27 2003
@@ -19,6 +19,8 @@ <!-- phpweb entities - autogenerated! --> <!ENTITY % phpweb.entities SYSTEM "entities/phpweb.ent"> +%phpweb.entities; + <!-- All global entities for the XML files --> <!ENTITY % global.entities SYSTEM "@srcdir@/entities/global.ent"> @@ -27,7 +29,6 @@
 <!ENTITY % file.entities    SYSTEM "entities/file-entities.ent">
  <!-- Include all external DTD parts defined previously -->
-%phpweb.entities; %global.entities; %file.entities; %build.version;


« previous php.doc (#969354204) next »