cvs: phpdoc / configure.php

From: Date: Sun, 13 Apr 2008 12:26:35 +0000
Subject: cvs: phpdoc / configure.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1482@lists.php.net to get a copy of this message
bjori Sun Apr 13 12:26:35 2008 UTC Modified files: /phpdoc configure.php Log: Validate the XML before chunking it http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.49&r2=1.50&diff_format=u Index: phpdoc/configure.php diff -u phpdoc/configure.php:1.49 phpdoc/configure.php:1.50 --- phpdoc/configure.php:1.49 Mon Apr 7 07:44:58 2008 +++ phpdoc/configure.php Sun Apr 13 12:26:35 2008 @@ -19,11 +19,11 @@ | Gwynne Raskind <gwynne@php.net> | +----------------------------------------------------------------------+ - $Id: configure.php,v 1.49 2008/04/07 07:44:58 bjori Exp $ + $Id: configure.php,v 1.50 2008/04/13 12:26:35 bjori Exp $ */ error_reporting(E_ALL); -$cvs_id = '$Id: configure.php,v 1.49 2008/04/07 07:44:58 bjori Exp $'; +$cvs_id = '$Id: configure.php,v 1.50 2008/04/13 12:26:35 bjori Exp $'; echo "configure.php: $cvs_id\n"; @@ -520,6 +520,7 @@ $dom->xinclude(); if ($ac['PARTIAL'] != '' && $ac['PARTIAL'] != 'no') { // {{{ + $dom->validate(); // we don't care if the validation works or not $node = $dom->getElementById($ac['PARTIAL']); if (!$node) { echo "failed.\n"; @@ -548,7 +549,6 @@ $set->nodeValue = ''; $set->appendChild($dom->createElement('title', 'PHP Manual (Partial)')); // prevent validate from complaining unnecessarily $set->appendChild($node); - $dom->validate(); // we don't care if the validation works or not $filename = "{$ac['srcdir']}/.manual.{$ac['PARTIAL']}.xml"; $dom->save($filename);

« previous php.doc.cvs (#1482) next »