Skip to content

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

Description

@0JamesAB

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions