1 Reply Latest reply on Jun 14, 2007 4:23 PM by cameronmanderson

    DataProvider chokes with hyphen

    mattrwhite
      I have a mx:HTTPService that pulls in an XML document. The XML Document has a root element of "<the-response>." When I reference the xml document in a dataprovider attribute in the data grid object using the statement " dataProvider={names.lastResult.the-response.items}" I get the error " Access of undefined property response."

      If I remove the hyphen from the root element it works fine, but I do not have control over this as I do not own the http feed.

      I tried quoting it, putting single quotes, brackets, but no luck...

      Any suggestions?