I can reproduce this issue (Comment must start with "<!--". Line: 3 Column: 5) on both of these versions:
  • Desktop: OpenBD: Version=2.1; Build=2012-04-14
  • Tomcat: Product Version 1,5 Build Date 2011-08-28 09:54:13 GMT Apache Tomcat/6.0.20
HOWEVER: Removing this line also resolved the error: <!DOCTYPE circuit>
I think the parser wants that to be a comment.

Here is the code I used on both systems, each produced Fiddlesticks' findings:

<cfsavecontent variable="xmlString">
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE circuit>
    <!-- CONTROLLER CIRCUIT.XML -->
    <!-- some other random comment -->
    <circuit access="public" xmlns:cf="cf/" xmlns:cs="coldspring/" >
    </circuit>
</cfsavecontent>

<cfdump var="#xmlParse(xmlString)#">

HTH,
Al


On 5/6/2012 8:03 AM, Fiddlesticks wrote:
Figured out point 1, at least:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE circuit>
<!-- CONTROLLER CIRCUIT.XML -->
<!-- some other random comment -->
<circuit access="public" xmlns:cf="cf/" xmlns:cs="coldspring/" >

</circuit>

Try and XMLParse() the above, and it fails.  BUT if you remove the second comment block ( <!-- some other random comment --> ) it works fine.

--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en

Reply via email to