4 Replies Latest reply on Jan 10, 2007 12:09 AM by David_S_deB

    last } character causes XML parse error

    David_S_deB Level 1
      Hi I´m importing c# source code into flex using the mx:Model tag by placing the source code as CDATA within a node of an XML file. The strange thing is the Flex Compiler throws strange compile errors if the closing } is left within the CDATA string. If I remove the last } char, the program compiles and runs correctly, and I have to manually add the } later. Anyone got any Ideas?

      Here is an example XML that works because the final } is missing. if I put it in the Flex compiler fails.

      <?xml version="1.0" encoding="utf-8"?>
      Class x
      class x()