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

Missing support for relative URIs in relationships #56

Closed
mconradi-iese opened this issue Jan 5, 2021 · 1 comment
Closed

Missing support for relative URIs in relationships #56

mconradi-iese opened this issue Jan 5, 2021 · 1 comment
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@mconradi-iese
Copy link

The OPC format allows relative URIs in relationships, but the aasx-explorer doesn't load an .aasx if it contains a part URI that doesn't start with a forward slash.

We would like to use the Apache OPC library from the POI project in Eclipse BaSyx to build .aasx files. This library uses relative part URIs.
E.g. in the file /_rels/.rels it sets "aasx/aasx-origin" as target instead of "/aasx/aasx-origin" expected by the aasx-explorer.

I've generated a minimal .aasx file with the Apache OPC library test.zip (renamed .zip for GitHub to accept it). It loads if all relative paths in the .rels files are manually replaced by absolute paths. But I think it should also load with the relative paths.

I've tested it with the 2020-12-03 binaries.

@martafullen martafullen transferred this issue from admin-shell-io/aasx-package-explorer Feb 16, 2024
@martafullen martafullen transferred this issue from another repository Feb 21, 2024
@juileetikekar juileetikekar self-assigned this Mar 28, 2024
@juileetikekar juileetikekar added bug Something isn't working duplicate This issue or pull request already exists labels Mar 28, 2024
@juileetikekar
Copy link
Contributor

Hi @mconradi-iese,

The latest version of the package explorer consists of a fix for this issue and can open the file attached in the description.

image

similar to #146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants