augustl/js-epub — Issue #5: TypeError: 'undefined' is not an object (evaluating 'c.getElementsByTagName("rootfile")[0].getAttribute')
Author: mebibou
Created: 2012-01-24 23:12:30+00:00
State: open

Hey there,
it seems like a very nice library. However, whenever I try to read a file from a servlet written in Java, I get the following error (Safari 5.1.2/Chrome 16.0.912.77):
TypeError: 'undefined' is not an object (evaluating 'c.getElementsByTagName("rootfile")[0].getAttribute')

I have tried with Base64 encoding, without, but it still gives me the same error. What do you think could be the problem?

Thanks!