[Phpxd-commits] CVS: phpXD/include/parser DOMParser.php,1.5,1.6
Status: Beta
Brought to you by:
growbal
From: Thomas D. <th...@us...> - 2002-02-08 17:50:09
|
Update of /cvsroot/phpxd/phpXD/include/parser In directory usw-pr-cvs1:/tmp/cvs-serv23259/include/parser Modified Files: DOMParser.php Log Message: Fixed little bug in DOMParser::handleStartElement, if no default value for an attribute exists Index: DOMParser.php =================================================================== RCS file: /cvsroot/phpxd/phpXD/include/parser/DOMParser.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** DOMParser.php 6 Feb 2002 23:10:48 -0000 1.5 --- DOMParser.php 8 Feb 2002 17:50:05 -0000 1.6 *************** *** 323,327 **** } else { ! if ($attribute->value == $dtdAttribute->defaultValue) { $attribute->specified = false; } --- 323,328 ---- } else { ! if ((isset($dtdAttribute->defaultValue)) && ! ($attribute->value == $dtdAttribute->defaultValue)) { $attribute->specified = false; } |