BaseXdb/basex — pull request #533 by adrianber (2012-07-05 14:40:38+00:00)
Title: [FIX] fn:seconds-from-duration 

This fixes Issue #532

The seconds and months weren't not initialized. That was the reason why it threw a Null Pointer Exception.

I have run all the testes again and I have read the documentation so the complete functionality to be preserved well.