Parses an XML document.
If no EntityManager has been specified with
setEntityManager, then EntityManagerImpl
will be used.
Parameters: entity - the document entity of the XML document exception: NotWellFormedException - if the document is not well-formed exception: IOException - if an IO error occurs See Also:EntityManagerImpl