Illegal characters in path when loading string into XmlDoc RRS feed

  • Question

  • Hi Everyone,

    I'm attempting to create an XmlDoc from a string loaded with a portion of XML that has been retrieved from a Web Response.

    The portion of XML:

    <?xml version="1.0" ?>
    - <rmlResults>
    - <GetDateRange>
    - <firstDate>
    - <lastDate>
      <warningList />
      <errorList />
      <fatalErrorList />

    As far as I can tell, this is a legitimate portion of XML. However when attempting to load this into an XmlDoc, i get an ArgumentException "illegal Characters in path"

    XmlDocument xmlDoc = new XmlDocument();

    I'm not sure what could be causing this...any help would be great!

    Kind Regards

    Thursday, July 2, 2009 3:58 PM


All replies