ID:          38797
 Updated by:  [EMAIL PROTECTED]
 Reported By: shihewang at yahoo dot com
-Status:      Open
+Status:      Feedback
 Bug Type:    SimpleXML related
 PHP Version: 5.1.6
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.




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

[2006-09-12 19:24:33] shihewang at yahoo dot com

Description:
------------
SimpleXml is very good but a small bug. When a node name contaiing '-',
will cause trouble.PHP Interpreter takes '-' as operator. For example,
when set a value to node named "operating-system":
 $xml->operating-system = "Windows";
PHP5 interpreter will report Parse error.





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


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

Reply via email to