missing DocumentPeriodEndDate

Oct 4, 2014 at 8:27 AM
Hi Jeff

I'm trying to print out the DocumentPeriodEndDate value looping as usual.

foreach (var currentFact in currentFragment.Facts)
{
  if (currentFact.Name == "DocumentPeriodEndDate")
     {
         //  do something
      }
}

It works with this url for this company 2010 report
http://www.sec.gov/Archives/edgar/data/14272/000119312511040120/bmy-20101231.xml
but not for the same company in their 2011 report
http://www.sec.gov/Archives/edgar/data/14272/000119312512066416/bmy-20111231.xml

When I look at the xml it's there
<dei:DocumentPeriodEndDate id="ID_7139" contextRef="FROM_Jan01_2011_TO_Dec31_2011">2011-12-31</dei:DocumentPeriodEndDate>

Any ideas why Gepsio is not picking it up?
Thanks