tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.49k stars 418 forks source link

exception when constructing workbook #461

Closed playgithub closed 2 years ago

playgithub commented 4 years ago
  1. The url of xlsx file: http://www.szse.cn/api/report/ShowReport?SHOWTYPE=xlsx&CATALOGID=1110x&TABKEY=tab1
  2. Download into std::stringstream ss
  3. xlnt::workbook wb(ss)
  4. The excetion message:
    xl/worksheets/sheet1.xml:60:350: error: unexpected attribute 
    'http://www.w3.org/XML/1998/namespace#space'

BTW, download the xlsx to a file, and construct workbook from the file throws the same exception.


UPDATE I've tried https://github.com/brechtsanders/xlsxio, it works with the same xlsx file/memory.

tfussell commented 2 years ago

I can't download the file. And this issue is quite old. I'm going to close it.