#23700 [Opn]: XInclude: failed build URL with #-sign in xpointer path

From: Date: Mon, 19 May 2003 17:14:29 +0000
Subject: #23700 [Opn]: XInclude: failed build URL with #-sign in xpointer path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39985@lists.php.net to get a copy of this message
ID: 23700 User updated by: anton at fedosin dot ru Reported By: anton at fedosin dot ru Status: Open Bug Type: DOM XML related Operating System: linux PHP Version: 4.3.2RC2 New Comment: Forgot DOM/XML API Version 20020815 libxml Version 20425 XPointer Support enabled Previous Comments: ------------------------------------------------------------------------ [2003-05-19 09:52:32] anton at fedosin dot ru I'm trying to resolve xinclude xml: <news xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:include href="news.rss#xmlns(rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#)xmlns(rss=http://purl.org/rss/1.0/)xpointer(/rdf:RDF/rss:item[1])" parse="xml"/> </news> php: $xmldoc = domxml_open_file('./news.xml'); $xmldoc->xinclude(); the error is: Warning: xinclude(): XInclude: failed build URL in /usr/local/apache/htdocs/ACPPDEV/xmltest/art_test.phtml on line 3 I've tried to replace xmlns(rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#) with xmlns(rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns%23) the same thing. If remove # works perfect. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23700&edit=1

« previous php.bugs (#39985) next »