-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(xmlupload): add license / copyright as optional attributes in `i…
- Loading branch information
1 parent
d61d83f
commit d401a49
Showing
5 changed files
with
166 additions
and
29 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
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
19 changes: 19 additions & 0 deletions
19
testdata/invalid-testdata/xml-data/duplicate-license-copyright-ids.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,19 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
|
||
<knora xmlns="https://dasch.swiss/schema" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://dasch.swiss/schema ../../../src/dsp_tools/resources/schema/data.xsd" | ||
shortcode="4124" | ||
default-ontology="testonto"> | ||
|
||
<copyright-attributions> | ||
<copyright-attribution id="copyright_id">Copyright Text</copyright-attribution> | ||
<copyright-attribution id="copyright_id">Copyright Text</copyright-attribution> | ||
</copyright-attributions> | ||
|
||
<licenses> | ||
<license id="license_id">license text</license> | ||
<license id="license_id">license text</license> | ||
</licenses> | ||
|
||
</knora> |
Oops, something went wrong.