[Xbrlapi-developer] BaseContentHandler Error
Brought to you by:
shuetrim
From: Matthew D. <ro...@gm...> - 2011-06-16 20:29:31
|
Hi all (and especially Geoff): I am running the LoadAllSECFilings example (on both the provided RSS feed and http://www.sec.gov/Archives/edgar/usgaap.rss.xml). While the loader threads are running, I regularly get errors of the form below: ERROR BaseContentHandlerImpl.java 128 [error] - :cvc-complex-type.2.4.a: Invalid content was found starting with element 'dar:DecreaseInLongTermPensionLiability'. One of '{" http://www.xbrl.org/2003/instance":item, "http://www.xbrl.org/2003/instance":tuple, "http://www.xbrl.org/2003/instance":context, " http://www.xbrl.org/2003/instance":unit, "http://www.xbrl.org/2003/linkbase":footnoteLink}' is expected.: on line number 479 >From reading the documentation, I gather that this is due to the element not being located in the schema information provided in the instance. However, in the above case (instance document: http://www.sec.gov/Archives/edgar/data/916540/000091654011000018/dar-20110615.xml, schema document: http://www.sec.gov/Archives/edgar/data/916540/000091654011000018/dar-20110615.xsd), the element is defined, not in the standard schema, but in the .xsd file. This definition does not appear to be malformed. Since the API is also pulling the .xsd file, and it seems to recognize other non-standard elements, I am not sure why this error is occurring. Some of these errors are on US GAAP elements as well. I am uncomfortable with the idea that one, seemingly random, element, may be missing from every third or fourth XBRL report, so I would like to correct this if possible (before I start manipulating the data). What is causing this error, and is there anything I can do about it? If it simply reflects a problem with the reports as written, then I will have to live with it. Regards, Matt |