Fixing PECL XML error