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

From: Date: Tue, 20 May 2003 16:29:37 +0000
Subject: #23700 [Opn->Csd]: XInclude: failed build URL with #-sign in xpointer path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40066@lists.php.net to get a copy of this message
ID: 23700 Updated by: chregu@php.net Reported By: anton at fedosin dot ru -Status: Open +Status: Closed Bug Type: DOM XML related Operating System: linux PHP Version: 4.3.2RC2 New Comment: This is not a php-bug, but libxml2's concern. I'm not sure if it's really a bug, but you should ask on the libxml2 mailinglist, what's the proper solution to this. chregu Previous Comments: ------------------------------------------------------------------------ [2003-05-19 12:14:28] anton at fedosin dot ru Forgot DOM/XML API Version 20020815 libxml Version 20425 XPointer Support enabled ------------------------------------------------------------------------ [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 (#40066) next »