removed bad debug line
[ALOY-525] added support for If and cond attribute
add filename for XML parsing errors so we know which file the error is in