Did you set the original document using setSource()?