Re: Re: cvs: phpdoc /en bookinfo.xml contributors.xml

From: Date: Tue, 03 Aug 2004 18:42:36 +0000
Subject: Re: Re: cvs: phpdoc /en bookinfo.xml contributors.xml
References: 1 2 3 4  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969362575@lists.php.net to get a copy of this message
> It's fixed, livedocs complains about: > > XML: 37:2 undefined entity Line: 37 is &contributors; > > when you visit preface.html - and the link in bookinfo.html to the > contributors is not there. Might be livedocs only - not sure. > > -- > Tom I've traced this problem and I've found this is just a simple livedocs' problem. As a well behaved livedocs' hacker, here is an explanantion of the problem: 1) the text is passed normally to bind_entities() 2) Then it asks for the entities to sqlite, using hard-coded 'where is_file=0'. The problem is that &contributors; is a file The solution: remove the is_file=0 and allow entities to be files. Then check if the entity is a file (and if it is a file, call handle_include()) Probably I'll produce a patch to solve this little problem tomorrow. Nuno

« previous php.doc (#969362575) next »