[Phoenix] Bug in source node retrieval

Andreas Wuest awuest at student.ethz.ch
Mon Sep 18 20:32:35 CEST 2006


Hi

Source node retrieval does not work for e.g. the XSLT view for an Atom 
entry. Although I have a location path, e.g. "/entry/updated/", 
getSourceXPathForXHTMLNode() cannot retrieve it from the source 
document, and always returns null (although this element is indeed 
present in the source).

Furthermore, location paths crossing namespace borders do not seem to 
work (at least I believe so, I could not test it because of the bug 
above), e.g. "/entry/content/div/ul/li", where <entry> and <content> are 
in the Atom namespace and the rest is in the XHTML namespace. I believe 
this does not work because the location path is as seen above, and 
therefore does not carry any namespace information.

Also, I did not understand what you mean with namespace aware vs. 
namespace unaware in the code. Is this related to the behaviour as 
depicted above?

-- 
Kind regards,
Andi



More information about the Phoenix mailing list