Right now when SDMX DSD files are parsed for codelists, they are being pulled from the entire SDMX message. However sometimes DSDs are contained within SDMX messages that have other codelists. So, the xpath query that targets the codelists needs to be more specific so that it only gets things inside the DSD.
It is also possible that SDMX messages may contain multiple DSDs. But, we do not need to support this. We should just throw an exception when this is the case. The user will need to correct this.
Right now when SDMX DSD files are parsed for codelists, they are being pulled from the entire SDMX message. However sometimes DSDs are contained within SDMX messages that have other codelists. So, the xpath query that targets the codelists needs to be more specific so that it only gets things inside the DSD.
It is also possible that SDMX messages may contain multiple DSDs. But, we do not need to support this. We should just throw an exception when this is the case. The user will need to correct this.