0 Replies Latest reply on Nov 14, 2006 2:11 AM by droopcat

    The string "--" is not permitted within comments

      I am getting this exception: "org.xml.sax.SAXParseException: The string "--" is not permitted within comments." when trying to xmlparse an XML file. The XML file is valid and as a matter of fact i can parse it within the same application in a different scipt!!

      I am using this code to test it:
      <cffile action="read" file="#expandpath('../examplexml/amenityinformation.xml')#" variable="amenityinformation">
      <cfset parsedxml = xmlparse(amenityinformation)>

      When using it in a test.cfm file it is working just fine. When using it in a method of a webservice it is giving me the exception that i described above. How is it possible that it works in one place and doesn't in the other, while i'm within the same application!

      I completely don't understand this, must be a bug in the parser. Anyone know of a sollution?