Merge pull request #23 from dimagi/cz

add XFormError to list of known doc types
fix mozilla bug 336551 further regression