Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading schema namespaces - force Gespio to use local taxonomy? #46

Open
0JamesAB opened this issue May 2, 2023 · 2 comments
Open

Comments

@0JamesAB
Copy link

0JamesAB commented May 2, 2023

I am having trouble loading an XBRL instance XML file against a remote taxonomy, because some of the schema paths cannot be resolved. When loading the XML file, I get many errors of the form:

Fact CompanyRegistrationNumber references a namespace with a URI of http://xbrl.ssm.com.my/taxonomy/2017-12-31/ssmt-dei-core, but no schema can be found for that namespace. Schema element information is not available for this fact. If this URI references an industry standard namespace, contact the project administrators to get support for this industry standard in the project.
None of the schemas referenced by the XBRL fragment contain a definition for item type CompanyRegistrationNumber on element CompanyRegistrationNumber.

However, I have a local copy of the full taxonomy, and I note in this issue, that support was added such that when a 404 is returned for a taxonomy file, a local search will be performed for the taxonomy. Therefore, I pointed the instance XML to an XBRL schema URL that will return a 404, hoping it would use the local taxonomy stored in the same folder as the XBRL instance XML file. However, I simply get the error:

The XBRL schema at https://mbrs.ssm.com.my/taxonomy/1.1/rep/ssm/ar/ar1/this_does_not_exist.xsd could not be read due to error that occurred while accessing the network through a pluggable protocol. More information is available from the validation error object's inner exception property.

I then tried replacing the URL with a relative path to the schema on my local, which instead throws an error: XbrlSchema.GetFullSchemaPath() code path not implemented.

Is it possible to force Gespio to use my local taxonomy file? Any advice will be greatly appreciated!

@satya11001
Copy link

@JamesBluemeg , did you end up resolving this issue, I am facing similar issue.

@0JamesAB
Copy link
Author

0JamesAB commented May 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants