Using org.apache.xerces.parsers.SAXParser Exception net.sf.saxon.trans.XPathException: org.xml.sax.SAXParseException; systemId: http://services.w3.org/tidy/tidy?docAddr=http://municipalite.saint-paul-de-la-croix.qc.ca/bienvenue_chez_nous/?id=publications_comite_saines_habitudes_de_vie; lineNumber: 1; columnNumber: 3; The markup in the document preceding the root element must be well-formed. org.xml.sax.SAXParseException; systemId: http://services.w3.org/tidy/tidy?docAddr=http://municipalite.saint-paul-de-la-croix.qc.ca/bienvenue_chez_nous/?id=publications_comite_saines_habitudes_de_vie; lineNumber: 1; columnNumber: 3; The markup in the document preceding the root element must be well-formed.