{"id":974,"date":"2007-09-10T00:00:00","date_gmt":"2007-09-09T22:00:00","guid":{"rendered":"https:\/\/wwwneu.strehle.de\/tim\/weblog\/archives\/2007\/09\/10\/912\/"},"modified":"2007-09-10T00:00:00","modified_gmt":"2007-09-09T22:00:00","slug":"912","status":"publish","type":"post","link":"https:\/\/www.strehle.de\/tim\/weblog\/archives\/2007\/09\/10\/912\/","title":{"rendered":"Update to libxml2 in PHP &#8211; progress hath been acquired"},"content":{"rendered":"<p>Greg Beaver &#8211; <a href=\"http:\/\/greg.chiaraquartet.net\/archives\/177-Update-to-libxml2-in-PHP-progress-hath-been-acquired.html\" title=\"Update to libxml2 in PHP - progress hath been acquired - Lot 49: Greg Beaver's blog\">Update to libxml2 in PHP &#8211; progress hath been acquired<\/a>:<\/p>\n<p>&#8222;I am abandoning the creation of a relax NG schema in favor of the battle-tested xsd. The error messages for xsd validation are far clearer than the rng ones.&#8220;<\/p>\n<p><a href=\"http:\/\/greg.chiaraquartet.net\/archives\/176-W3C-SchemaRelax-NGDTD-seem-to-be-totally-useless-in-PHP,-help.html\">W3C Schema\/Relax NG\/DTD seem to be totally useless in PHP, help?<\/a>:<\/p>\n<p>&#8222;Now that I am working on the PHP 5+ implementation of Pyrus, the first thing I thought I might do is create a Relax NG schema that the PHP libxml can handle. After an entire day of fighting with the thing, I&#8217;ve managed to discover more than 10 simple and <strong>valid<\/strong> Relax NG schema that simply don&#8217;t work with the version of libxml distributed with PHP 5.2.3. In addition, with helpful error messages like &#8222;Expecting name, got nothing here,&#8220; even with the use of <a href=\"http:\/\/greg.chiaraquartet.net\/exit.php?url_id=582&amp;entry_id=176\" title=\"http:\/\/www.php.net\/libxml_user_internal_errors\">libxml_use_internal_errors()<\/a> I find the error reporting to be excruciatingly useless.&#8220;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Greg Beaver &#8211; Update to libxml2 in PHP &#8211; progress hath been acquired: &#8222;I am abandoning the creation of a relax NG schema in favor of the battle-tested xsd. The error messages for xsd validation are far clearer than the rng ones.&#8220; W3C Schema\/Relax NG\/DTD seem to be totally useless in PHP, help?: &#8222;Now that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_share_on_mastodon":"0"},"categories":[1],"tags":[],"class_list":["post-974","post","type-post","status-publish","format-standard","hentry","category-weblog"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/comments?post=974"}],"version-history":[{"count":0,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/posts\/974\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/media?parent=974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/categories?post=974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strehle.de\/tim\/wp-json\/wp\/v2\/tags?post=974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}