amattioc / SDMX

SDMX Connectors
European Union Public License 1.2
85 stars 46 forks source link

Error "Attribute name "async" #239

Closed giannilmbd closed 1 year ago

giannilmbd commented 1 year ago

Hi, Running this code df.imf.usGDP <- RJSDMX::getTimeSeriesTable('IMF2', 'DS-IFS_2023M05/Q..NGDP_NSA_XDC'); I sometimes get the following error message. But not always or systematically. Any clue? Thanks Gianni

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : it.bancaditalia.oss.sdmx.exceptions.SdmxXmlParsingException: Error detected while parsing SDMX response: ParseError at [row,col]:[5,16] Message: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.

amattioc commented 1 year ago

Hi @giannilmbd , we get the same in our nightly tests, from time to time. Probably the provider returns http 200 and an HTML error page in some cases (and then we fail the parsing). I don't think we can do anything unfortunately.

giannilmbd commented 1 year ago

I see. Anyway, it works most of the time:-) Thanks

On Fri, 8 Sep 2023 at 13:55, Attilio Mattiocco @.***> wrote:

Hi @giannilmbd https://github.com/giannilmbd , we get the same in our nightly tests, from time to time. Probably the provider returns http 200 and an HTML error page in some cases (and then we fail the parsing). I don't think we can do anything unfortunately.

— Reply to this email directly, view it on GitHub https://github.com/amattioc/SDMX/issues/239#issuecomment-1711552808, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHLXB36VKVDFJQY73GVBWXDXZMBSJANCNFSM6AAAAAA4QIPL2I . You are receiving this because you were mentioned.Message ID: @.***>