Release: 1.3.0
File: /classes/element.inc.php
Line(s): 459-471 -> function &getElement ($name)
========================================
The "beautiful recursion" works wrong, skips elements
and returns bad results.
I have an xml-file like this one here:
...
<root>
<style_modern>
<images>
<logo.png ref="null.png" />
</images>
</style_modern>
</root>
If you try to get the element "logo.png" via
getElementByPath("root/style_modern/logo.png") it
should fail because the path is incomplete, but it
doesn't! It returns the element as if you requested it
via getElementByPath("root/style_modern/images/logo.png").
FIX: Comment out everything from line 459 to 471 and
you will get good results.