ID:               39417
 Updated by:       [EMAIL PROTECTED]
 Reported By:      konstantin dot ryabitsev at mcgill dot ca
-Status:           Open
+Status:           Feedback
 Bug Type:         Unknown/Other Function
 Operating System: Linux
 PHP Version:      5.2.0
 New Comment:

Which Tidy version are you using?


Previous Comments:
------------------------------------------------------------------------

[2006-11-23 20:51:44] konstantin dot ryabitsev at mcgill dot ca

No, same results with the latest CVS snapshot. I have now been able to
reproduce this problem on the followin systems:

* Fedora Core 5
* Fedora Core 6
* RHEL 4
* Debian Unstable

It's not a corner case.

---------------------------
[EMAIL PROTECTED]:[~]$ cat tidy.php
<?php
$contents = '
<wps:block>
 <wps:var>
   <wps:value/>
 </wps:var>
</wps:block>';
$config = array(
    'new-blocklevel-tags' => 'wps:block,wps:value,wps:var'
);
$tidy = tidy_parse_string($contents, $config, 'utf8');
$tidy->cleanRepair();
print "{$tidy->value}\n";


?>
[EMAIL PROTECTED]:[~]$ php -version
PHP 5.2.1-dev (cli) (built: Nov 23 2006 15:32:59) 
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
[EMAIL PROTECTED]:[~]$ php tidy.php
<html>
<head>
<title></title>
</head>
<body>
<wps:block>
</body>
</html>

------------------------------------------------------------------------

[2006-11-23 18:57:01] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

Cannot reproduce.
I get the very expected result.

------------------------------------------------------------------------

[2006-11-23 18:04:49] konstantin dot ryabitsev at mcgill dot ca

Upstream Tidy developers have ruled that this bug is not a bug in
libtidy, but a bug in php bindings.

http://sourceforge.net/tracker/index.php?func=detail&aid=1598422&group_id=27659&atid=390963

Please do not close as "bogus" -- this is a PHP bug that needs to be
fixed.

------------------------------------------------------------------------

[2006-11-08 14:40:50] konstantin dot ryabitsev at mcgill dot ca

I disagree. The bug does not occur when running tidy with the same
parameters, only when invoked as part of a PHP script. I will ask on
the libtidy support list, but I believe their answer will be to file a
bug with php.

------------------------------------------------------------------------

[2006-11-08 03:07:51] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

This is a libtidy bug.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/39417

-- 
Edit this bug report at http://bugs.php.net/?id=39417&edit=1

Reply via email to