dom document - resolve external entities