|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23700 XInclude: failed build URL with #-sign in xpointer path
Submitted: 2003-05-19 09:52 UTC Modified: 2003-05-20 11:51 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: anton at fedosin dot ru Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 4.3.2RC2 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: anton at fedosin dot ru
New email:
PHP Version: OS:


 [2003-05-19 09:52 UTC] anton at fedosin dot ru
I'm trying to resolve xinclude


<news xmlns:xi="">
	<xi:include href="news.rss#xmlns(rdf=[1])" parse="xml"/>


$xmldoc = domxml_open_file('./news.xml');

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
the same thing.

If remove # works perfect.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-19 12:14 UTC] anton at fedosin dot ru

DOM/XML API Version  20020815  
libxml Version  20425  
XPointer Support  enabled
 [2003-05-20 11:29 UTC]
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.

 [2003-05-20 11:51 UTC]
Not PHP issue -> bogus.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 08:01:32 2024 UTC