At one point I believe we had the ability to access and maybe set additional attributes on a srcml_archive/srcml_unit. This was dropped at some point.
For XPath where unstandard attributes are added, item and those proposed by issue #754, there needs to be support for reading these in and writing them out.
I also think it would be prevalent to have function to access these similar to how namespace works.
Currently, I have this internal structure only having those attributes which are non-standard, i.e. filename will not be contained in this. Anyway, this particular part is up to a point as well as should we add this functionality.
At one point I believe we had the ability to access and maybe set additional attributes on a srcml_archive/srcml_unit. This was dropped at some point.
For XPath where unstandard attributes are added, item and those proposed by issue #754, there needs to be support for reading these in and writing them out.
I also think it would be prevalent to have function to access these similar to how namespace works.
Currently, I have this internal structure only having those attributes which are non-standard, i.e. filename will not be contained in this. Anyway, this particular part is up to a point as well as should we add this functionality.