I am trying to parse the COLLADA XML schema (xsd) with SimpleXML which
uses Mango for parsing the schema.
When parsing the schema the function
void advanceTo(T[] str)
see http://www.dsource.org/projects/mango/browser/trunk/mango/xml/sax/parser/teqXML.d#L948
loops infinitely at comments in the schema.
These comments include lines with patterns like "-=-=-=-=-".
When replacing the current expression in "do { ... } while ( EXPRESSION )"
partially with the one that was commented below it (by adding "++" to "pos"),
the program terminates with an error that the end-of-file has been reached
without closing the XML comment.
The relevant xsd with the comments can be found here:
http://www.khronos.org/files/collada_schema_1_4