Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.5

Bug #15365 Drivers don't know where to look for schemas
Submitted: 2008-12-21 00:45 UTC
From: doconnor Assigned: doconnor
Status: Closed Package: XML_Feed_Parser (version CVS)
PHP Version: 5.2.6 OS:
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 16 + 21 = ?

 [2008-12-21 00:45 UTC] doconnor (Daniel O'Connor)
Description: ------------ None of the drivers know where to actually look to find the relevant schemas. Test script: --------------- // test_http_item_xhtml_body_base_docuri_1 $content = file_get_contents('wellformed/base/http_item_xhtml_body_base_docuri.xml'); $feed = new XML_Feed_Parser($content, true, true); Actual result: -------------- 18) test_http_item_xhtml_body_base_docuri_1(base_TestCase) DOMDocument::relaxNGValidate(): I/O warning : failed to load external entity "/usr/share/php/XML/Feed/schemas/rss20.rnc" /usr/share/php/XML/Feed/Parser/RSS2.php:119 /usr/share/php/XML/Feed/Parser.php:183 /home/clockwerx/pear/XML_Feed_Parser/tests/convertedtests/base.php:946


 [2008-12-21 01:30 UTC] doconnor (Daniel O'Connor)
Problem 1: Available schemas are in RNC format, libxml2 does not support this Problem 2: When converted via trang (documented), libxml2 has errors. See
 [2008-12-21 02:13 UTC] doconnor (Daniel O'Connor)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Fixed; except for RSS 0.9, which does not implement schema validation.