[ http://issues.apache.org/jira/browse/COCOON-599?page=all ] Helma van der Linden closed COCOON-599: ---------------------------------------
Resolution: Fixed > XPointer implementation in XInclude Transformer is broken > --------------------------------------------------------- > > Key: COCOON-599 > URL: http://issues.apache.org/jira/browse/COCOON-599 > Project: Cocoon > Type: Bug > Components: * Cocoon Core > Versions: 2.1.8-dev (Current SVN) > Environment: Operating System: All > Platform: All > Reporter: Torsten Schlabach > Assignee: Cocoon Developers Team > Priority: Critical > > Take this XML file as somefile.xml: > <html> > <head> > <title>Dummy document</title> > </head> > <body> > <p>One paragraph!</p> > </body> > </html> > <xi:include href="somefile.xml#xpointer(/html/body)"/> results in nothing > being > included though this should be correct sntax according to the XPointer spec. > Using > <xi:include href="somefile.xml#xpointer(//html/body/*)"/> instead seems to be > a > workaround, but *only* as long as the document that is beeing included does > not > use a special namespace. > If you try to include an XHTML document neither > <xi:include href="somefile.xml#xpointer(//html/body/*)"/> > nor > <xi:include href="somefile.xml#xpointer(/xhtml:html/xhtml:body)"/> > will yield any results. It just silently includes nothing without *any* > messages > in any log file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira