-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix aasx path names on windows (fixes #35)
- Loading branch information
Showing
8 changed files
with
209 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
test/fixtures/aasx/invalid/rel_target_not_exists/[Content_Types].xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> | ||
<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" /> | ||
<Default Extension="xml" ContentType="text/xml" /> | ||
<Default Extension="jpeg" ContentType="image/jpeg" /> | ||
<Default Extension="png" ContentType="image/png" /> | ||
<Default Extension="pdf" ContentType="application/pdf" /> | ||
<Default Extension="jpg" ContentType="image/jpeg" /> | ||
<Default Extension="zip" ContentType="text/plain" /> | ||
<Override PartName="/aasx/aasx-origin" ContentType="text/plain" /> | ||
</Types> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> | ||
<Relationship Type="http://admin-shell.io/aasx/relationships/aasx-origin" Target="/aasx/aasx-origin"/> | ||
</Relationships> |
4 changes: 4 additions & 0 deletions
4
test/fixtures/aasx/invalid/rel_target_not_exists/aasx/_rels/aasx-origin.rels
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> | ||
<Relationship Type="http://admin-shell.io/aasx/relationships/aas-spec" Target="/aasx/the_aas.json" /> | ||
</Relationships> |
96 changes: 96 additions & 0 deletions
96
test/fixtures/aasx/invalid/rel_target_not_exists/aasx/the_aas.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
{ | ||
"submodels": [ | ||
{ | ||
"id": "something_48c66017", | ||
"modelType": "Submodel", | ||
"submodelElements": [ | ||
{ | ||
"category": "VARIABLE", | ||
"description": [ | ||
{ | ||
"language": "en", | ||
"text": "something_be9deae0" | ||
} | ||
], | ||
"displayName": [ | ||
{ | ||
"language": "Tvwqa-500-8EQd-y-8f5-k-vqdMn7-Ohw9-CcA628-DHKP-hPAjUZ-cnr1REUf-S8-p-9X0r-wtCI-KunG3uzI-7dGUsrTu-fY7-C3-hFN-Y-ML69DgnJ-0-Y0H-TLACBVB-Z0HRibbz-yzSf8dvR-zAn-B-6h8VjcKX-jnwR-0Z8l-ghRIZ7mo-wZG7-zXHdSIV-Oy-8dH00A6L-nJY2dA1-57o8dQ-RpxkBTbE-qBJR-M-DyGDA3U-aguRfIhj-x-XmO-1u", | ||
"text": "something_535aeb51" | ||
} | ||
], | ||
"embeddedDataSpecifications": [ | ||
{ | ||
"dataSpecification": { | ||
"keys": [ | ||
{ | ||
"type": "Submodel", | ||
"value": "urn:another-company15:2bd0986b" | ||
} | ||
], | ||
"type": "ModelReference" | ||
}, | ||
"dataSpecificationContent": { | ||
"modelType": "DataSpecificationIec61360", | ||
"preferredName": [ | ||
{ | ||
"language": "X-33DQI-g", | ||
"text": "something_7e795ee2" | ||
}, | ||
{ | ||
"language": "en-UK", | ||
"text": "Something random in English c8512bdf" | ||
} | ||
], | ||
"value": "something_4e9c19b7" | ||
} | ||
} | ||
], | ||
"extensions": [ | ||
{ | ||
"name": "something_aa1af8b3" | ||
} | ||
], | ||
"idShort": "PiXO1wyHierj", | ||
"modelType": "Property", | ||
"qualifiers": [ | ||
{ | ||
"type": "something_500f973e", | ||
"valueType": "xs:long" | ||
} | ||
], | ||
"semanticId": { | ||
"keys": [ | ||
{ | ||
"type": "GlobalReference", | ||
"value": "urn:something00:f4547d0c" | ||
} | ||
], | ||
"type": "ExternalReference" | ||
}, | ||
"supplementalSemanticIds": [ | ||
{ | ||
"keys": [ | ||
{ | ||
"type": "Submodel", | ||
"value": "urn:another-example10:42487f5a" | ||
} | ||
], | ||
"type": "ModelReference" | ||
} | ||
], | ||
"value": "0061707", | ||
"valueId": { | ||
"keys": [ | ||
{ | ||
"type": "Submodel", | ||
"value": "urn:some-company12:e40857e0" | ||
} | ||
], | ||
"type": "ModelReference" | ||
}, | ||
"valueType": "xs:decimal" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters