Commit 5540c3d
authored
adapter.aasx: Allow reading AASX with wrong relationship (#381)
There are many AASX in the wild where there is an
additional `www` in the relationship definition
that does not belong there:
```
http://www.admin-shell.io/aasx/relationships/aasx-origin
```
whereas it should be according to the
[specification]:
```
http://admin-shell.io/aasx/relationships/aasx-origin
```
Previously, our SDK did not allow for reading
these AASX files with wrong relationship URL.
However, since there are so many of them,
this change enables them to be read, while
notifying the user with a big warning message
that their AASX file is actually not standard
compliant and needs to be changed
(see discussion in #381).
Fixes #379
Fixes #383
[specification]: (https://industrialdigitaltwin.org/wp-content/uploads/2024/06/IDTA-01005-3-0-1_SpecificationAssetAdministrationShell_Part5_AASXPackageFileFormat.pdf#Page=18)1 parent 0ed5e7c commit 5540c3d
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
147 | 160 | | |
148 | 161 | | |
149 | 162 | | |
| |||
0 commit comments