awci / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Erroneous DOM XML detection exception text #224

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:

1. Run a PHP server with the DOM XML extension enabled
2. Run phpQuery

Expected outcome:

An exception with the text "Old PHP4 DOM XML extension detected. phpQuery won't 
work until this extension is disabled."

Actual outcome:

An exception with the text "Old PHP4 DOM XML extension detected. phpQuery won't 
work until this extension is enabled."

The cause is a typo on line 482 of phpQuery.php, in function 
`createDocumentWrapper`.

Original issue reported on code.google.com by toma...@gmail.com on 31 Jan 2013 at 4:13