private CmsXmlContent unmarshalXmlContent ( CmsFile file ) throws CmsXmlException { CmsXmlContent content = CmsXmlContentFactory . unmarshal ( m_cms , file ) ; content . setAutoCorrectionEnabled ( true ) ; content . correctXmlStructure ( m_cms ) ; return content ; }
Unmarshal the XML content with auto - correction .