SunSpecOrangeButton / pyoblib

Orange Button Python Library
Apache License 2.0
14 stars 19 forks source link

data_model namespace issue #168

Closed joelebwf closed 5 years ago

joelebwf commented 5 years ago

The following line of code (846 in data_model) does not seem sufficient for any namespace:

return domainref.replace("#solar", "solar:")

Instead it should be generic so that us-gaap: and dei: (and any future namespace add) are handled as well. Please note that the consequences of this issue have not been identified and further analysis is required. It was found during a search through the code for hard-coded solar: strings on the previous bug filed.