|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-20 16:04 UTC] felipe@php.net
[2007-12-20 16:50 UTC] arkadiusz dot tulodziecki at firma dot o2 dot pl
[2007-12-20 17:13 UTC] felipe@php.net
[2007-12-28 13:00 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 13:00:01 2025 UTC |
Description: ------------ XMLReader::isValid gives false for all valid XML I had. All files parses correctly but sometimes XMLReader::read generates PHP Worning. Reproduce code: --------------- <?php $reader = new XMLReader(); $reader->open('test.xml'); var_dump($reader->isValid()); ?> <?xml version="1.0" encoding="utf-8" ?> <ads version="1.0.6" xmlns="http://www.example.com/xmlns/1.0/"> <ad offer_date="2007-08-21 21:21:00" offer_code="0" offer_type="0"> AAA </ad> </ads> Expected result: ---------------- bool(true) Actual result: -------------- bool(false)