1 Reply Latest reply on Jul 24, 2009 2:18 PM by Gaurav J

    The markup in the document following the root element must be well-formed.

    Brian LaFleur

      I have my XML root element that looks like this:

       

      <DataResponseOfListOfSite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www
      .w3.org/2001/XMLSchema" xmlns="http://xxxxxx/webservices/sites/">

      and I get the error "The markup in the document following the root element must be well-formed."

      If I use this it works fine:

      <DataResponseOfListOfSite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www
      .w3.org/2001/XMLSchema" xmlns:xsi="http://xxxxxx/webservices/sites/">

      Does anyone know why I have to have the xmlns:xsi="" instead of just xmlns=""

      If I paste this XML into any validator, it says that its good, so I dont know why Flex is complaining about it.