note 94528 added to xmlreader.read

From: Date: Tue, 10 Nov 2009 11:38:54 +0000
Subject: note 94528 added to xmlreader.read
Groups: php.notes 
Request: Send a blank email to php-notes+get-162695@lists.php.net to get a copy of this message
If you have trouble parsing xml documents with text tags bigger than 10MB, this might help you: <?php $xmlreader = new XMLReader(); $xmlreader->open($uri, null, 1<<19); ?> Since in libxml there is a constant XML_PARSE_HUGE = 1<<19 which enables parsing xml documents with huge texts. Please note that this option is not accessible using the setParserProperty method and that there is currently no constant to do the work, which will hopefully change soon: http://bugs.php.net/bug.php?id=49660 ---- Server IP: 217.160.72.57 Probable Submitter: 85.180.9.50 ---- Manual Page -- http://www.php.net/manual/en/xmlreader.read.php Edit -- https://master.php.net/note/edit/94528 Del: integrated -- https://master.php.net/note/delete/94528/integrated Del: useless -- https://master.php.net/note/delete/94528/useless Del: bad code -- https://master.php.net/note/delete/94528/bad+code Del: spam -- https://master.php.net/note/delete/94528/spam Del: non-english -- https://master.php.net/note/delete/94528/non-english Del: in docs -- https://master.php.net/note/delete/94528/in+docs Del: other reasons-- https://master.php.net/note/delete/94528 Reject -- https://master.php.net/note/reject/94528 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162695) next »