[Catalyst] XPath, DOM problem

Tomas Doran bobtfish at bobtfish.net
Tue Jul 8 11:38:22 BST 2008


On 8 Jul 2008, at 11:23, Herr Verdieck Götz wrote:
> you are right, I should stick to the MVC pattern.
>
> But I think it is curious that XML.Simple finds the path and XPath/ 
> DOM not.
>

Pushing aside the MVC argument for a sec - I'd be prepared to bet  
that if you actually install your application, and/or run it under  
apache they'll both not work right.

Using relative paths to find stuff like this (and trusting implicit,  
undocumented behavior) is just going to shoot you down the line..

Cheers
Tom





More information about the Catalyst mailing list