diff --git a/.github/workflows/build-doc.yaml b/.github/workflows/build-doc.yaml new file mode 100644 index 00000000..67cccba2 --- /dev/null +++ b/.github/workflows/build-doc.yaml @@ -0,0 +1,31 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +name: Build Documentation + +on: + push: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'corretto' + + - name: Create javadoc + run: mvn javadoc:javadoc + + - name: Deploy to gh-pages 🚀 + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: target/site/apidocs/ diff --git a/.github/workflows/ci-for-dev-scripts.yml b/.github/workflows/ci-for-dev-scripts.yml new file mode 100644 index 00000000..a70b05c2 --- /dev/null +++ b/.github/workflows/ci-for-dev-scripts.yml @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +name: CI-for-dev-scripts + +on: + push: + branches: [ master, main ] + tags: [ "**" ] + paths: + - dev_scripts/** + pull_request: + branches: [ "**" ] + paths: + - dev_scripts/** + +jobs: + Execute-continuous-integration: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.10'] + + steps: + - uses: actions/checkout@v7 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v7 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python3 -m pip install --upgrade pip + pip3 install --group dev_scripts/pyproject.toml:dev -e dev_scripts + + - name: Run checks + run: | + python3 dev_scripts/continuous_integration_of_dev_scripts/precommit.py diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..06e0597e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'corretto' + cache: maven + + - name: Check version info + run: | + pushd ./dev_scripts + pip3 install "." + popd + python3 ./dev_scripts/check_docs_package_version.py --validate + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Create javadoc + run: mvn javadoc:javadoc diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 00000000..2d6411c6 --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,35 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +name: Publish package to the Maven Central Repository + +on: + release: + types: [created] + +jobs: + publish: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Maven Central Repository + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'corretto' + server-id: central + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD + gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} + gpg-passphrase: MAVEN_GPG_PASSPHRASE + + - name: Publish package + run: mvn deploy -P release + env: + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} diff --git a/.gitignore b/.gitignore index c763d3d4..6ca896ae 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,39 @@ # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* replay_pid* + +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +# IntelliJ IDEA +.idea/ +*.iws +*.iml +*.ipr + +# Eclipse +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +# NetBeans +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +# VS Code +.vscode/ + +# Mac OS +.DS_Store diff --git a/AUTHORS b/AUTHORS index bed4bae3..175b3b54 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1,3 @@ Marko Ristin (marko@ristin.ch, marko.ristin@gmail.com, rist@zhaw.ch) for Zurich University of Applied Sciences (ZHAW) +Markus Böhm (Markus.Boehm@conplement.de) for conplement AG +Tobias Langer (Tobias.Langer@conplement.de) for conplement AG diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..c5642525 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,121 @@ +# Contributing + +## Issues + +Please report bugs or feature requests by [creating GitHub issues]. + +[creating GitHub issues]: https://github.com/aas-core-works/aas-core3.1-java/issues/new/choose + +## In Code + +If you want to contribute in code, pull requests are welcome! + +Please do [create a new issue] before you dive into coding. +It can well be that we already started working on the feature, or that there are upstream or downstream complexities involved which you might not be aware of. + +[create a new issue]: https://github.com/aas-core-works/aas-core3.1-java/issues/new/choose + +### SDK Code Generation + +The biggest part of the code has been automatically generated by [aas-core-codegen]. +It probably makes most sense to change the generator rather than add new functionality. +However, this needs to be decided on a case-by-case basis. + +[aas-core-codegen]: https://github.com/aas-core-works/aas-core-codegen + +### Semantic Patching for `dk.brics.automaton` + +The regular expression engine in the standard Java library runs into stack overflow on some of the regular expressions required by the meta-model. +We therefore had to resort to the external library `dk.brics.automaton` for some of the regular expressions. + +Once the code is generated by `aas-core-codegen` (see above), you have to semantically patch it to use `dk.brics.automaton`. + +Please see [dev_scripts/semantic-patching/README.md](dev_scripts/semantic-patching/README.md) for more information. + +### Test Code Generation + +The code of the unit tests has been automatically generated using the Python scripts in the `dev_scripts/` directory. + +To re-generate the test code, first create a virtual environment in `dev_scripts/`: + +``` +python -m venv venv +``` + +Activate the virtual environment (in Windows): + +``` +venv\Scripts\activate +``` + +or in Linux: +``` +source venv/bin/activate +``` + +Then install the dependencies: + +``` +pip3 install -e . +``` + +Now you can run the generation scripts: + +``` +python dev_scripts/update_all.py +``` + +### Test Data + +The test data is automatically generated by [aas-core3.1-testgen], and copied to this repository on every change. + +[aas-core3.1-testgen]: https://github.com/aas-core-works/aas-core3.1-testgen + +### Build + +To build the project, run: + +```bash +mvn build +``` + +### Pre-commit Checks + +To lint, check, and test your project, you can use the `mvn verify` subcommand. +Maven will install all necessary dependencies automatically: + +```bash +mvn verify +``` + +## Pull Requests + +**Feature branches**. +We develop using the feature branches, see [this section of the Git book]. + +[this section of the Git book]: https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows + +If you are a member of the development team, create a feature branch directly within the repository. + +Otherwise, if you are a non-member contributor, fork the repository and create the feature branch in your forked repository. See [this GitHub tutorial] for more guidance. + +[this GitHub tutorial]: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork + +**Branch Prefix**. +Please prefix the branch with your Github user name (*e.g.,* `mristin/Add-some-feature`). + +**Continuous Integration**. +GitHub will run the continuous integration (CI) automatically through GitHub actions. +The CI includes building the solution, running the test, inspecting the code *etc.* + +### Commit Messages + +The commit messages follow the guidelines from https://chris.beams.io/posts/git-commit: + +* Separate subject from body with a blank line, +* Limit the subject line to 50 characters, +* Capitalize the subject line, +* Do not end the subject line with a period, +* Use the imperative mood in the subject line, +* Wrap the body at 72 characters, and +* Use the body to explain *what* and *why* (instead of *how*). diff --git a/LICENSE b/LICENSE index 895b30c1..b593782d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 aas-core3.1-java AUTHORS +Copyright (c) 2026 aas-core3.1-java AUTHORS Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -19,3 +19,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Please see the file AUTHORS for the full list of the authors of aas-core3.1-java. diff --git a/LICENSES/CC-BY-4.0.txt b/LICENSES/CC-BY-4.0.txt new file mode 100644 index 00000000..13ca539f --- /dev/null +++ b/LICENSES/CC-BY-4.0.txt @@ -0,0 +1,156 @@ +Creative Commons Attribution 4.0 International + + Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + +Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors. + +Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public. + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + +Section 1 – Definitions. + + a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + + d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. + + g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights under this Public License. + + i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: + + A. reproduce and Share the Licensed Material, in whole or in part; and + + B. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + + 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. + + 5. Downstream recipients. + + A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. + + B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. + + 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). + +b. Other rights. + + 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this Public License. + + 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified form), You must: + + A. retain the following if it is supplied by the Licensor with the Licensed Material: + + i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + + B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and + + C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. + + 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; + + b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + + a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. + + b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. + + c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + + a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + + c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. + + d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. + + e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. + +Section 8 – Interpretation. + + a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. + + c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. + + d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. + +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/README.md b/README.md new file mode 100644 index 00000000..ba856b42 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# aas-core3.1-java + +[![CI](https://github.com/aas-core-works/aas-core3.1-java/actions/workflows/ci.yml/badge.svg)](https://github.com/aas-core-works/aas-core3.1-java/actions/workflows/ci.yml) +[![Build Documentation](https://github.com/aas-core-works/aas-core3.1-java/actions/workflows/build-doc.yaml/badge.svg)](https://github.com/aas-core-works/aas-core3.1-java/actions/workflows/build-doc.yaml) + +This is a software development kit (SDK) to manipulate, verify and de/serialize Asset Administration Shells based on the version 3.0 of the meta-model. + +The documentation is available on https://aas-core-works.github.io/aas-core3.1-java/. + +The code has been automatically generated by aas-core-codegen. + +If you want to contribute, please see [CONTRIBUTING.md](CONTRIBUGING.md). diff --git a/REUSE.toml b/REUSE.toml index 606f352b..29c7c0a2 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -10,3 +10,47 @@ path = ["AUTHORS"] precedence = "aggregate" SPDX-FileCopyrightText = "2025 aas-core3.1-java AUTHORS" SPDX-License-Identifier = "MIT" + +# Verbatim text and configurations that cannot be annotated by format, as +# the snippets are spliced into the generated code and the semantic-patching +# test data is compared byte-by-byte. +[[annotations]] +path = [ + "dev_scripts/codegen/snippets/**", + "dev_scripts/continuous_integration_of_dev_scripts/pylint.rc", + "dev_scripts/semantic-patching/test-data/**", +] +precedence = "aggregate" +SPDX-FileCopyrightText = "2025 aas-core3.1-java AUTHORS" +SPDX-License-Identifier = "MIT" + +# Test data and the recorded test outputs are generated and compared +# byte-by-byte, and JSON can not carry a comment. +[[annotations]] +path = ["test_data/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2025 aas-core3.1-java AUTHORS" +SPDX-License-Identifier = "MIT" + +# The documentation. +[[annotations]] +path = ["README.md", "CONTRIBUTING.md", "dev_scripts/semantic-patching/README.md", "doc/**"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2025 aas-core3.1-java AUTHORS" +SPDX-License-Identifier = "MIT" + +# The meta-model transcribes the AAS specification: its docstrings quote +# the definitions of the classes, attributes and constraints. That text keeps +# the license of the specification (published by IDTA under CC BY 4.0). +[[annotations]] +path = ["dev_scripts/codegen/meta_model.py"] +precedence = "aggregate" +SPDX-FileCopyrightText = "Industrial Digital Twin Association e. V." +SPDX-License-Identifier = "CC-BY-4.0" + +# The revision of the test data, read verbatim by the update script. +[[annotations]] +path = ["src/test/java/testgen_rev.txt"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2025 aas-core3.1-java AUTHORS" +SPDX-License-Identifier = "MIT" diff --git a/dev_scripts/.gitignore b/dev_scripts/.gitignore new file mode 100644 index 00000000..1bb96665 --- /dev/null +++ b/dev_scripts/.gitignore @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +__pycache__ +*.pyc +/*.egg-info +venv/ diff --git a/dev_scripts/apply_reuse_annotation.py b/dev_scripts/apply_reuse_annotation.py new file mode 100644 index 00000000..a9ace185 --- /dev/null +++ b/dev_scripts/apply_reuse_annotation.py @@ -0,0 +1,54 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Apply the REUSE annotation for the generated code.""" + +import argparse +import os +import pathlib +import subprocess +import sys + +_LICENSE = "MIT" + +_COPYRIGHT = "aas-core3.1-java AUTHORS" + +_YEAR = "2025" + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + src_dir = os.path.relpath(str(repo_root / "src" / "main"), os.getcwd()) + test_dir = os.path.relpath(str(repo_root / "src" / "test"), os.getcwd()) + + subprocess.run( + [ + sys.executable, + "-m", + "reuse", + "annotate", + "--copyright", + _COPYRIGHT, + "--year", + _YEAR, + "--license", + _LICENSE, + "--skip-unrecognised", + "-r", + src_dir, + test_dir, + ], + check=True, + ) + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/check.py b/dev_scripts/check.py new file mode 100644 index 00000000..ad0ef878 --- /dev/null +++ b/dev_scripts/check.py @@ -0,0 +1,56 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Check that the code is formatted, the tests pass and the docs can be generated.""" + +import argparse +import os +import pathlib +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + # NOTE: The spotless `apply` goal is bound to the `validate` phase, so any + # lifecycle phase (test, javadoc) re-formats the code. The formatting check + # has to run first, directly as a goal, so that it sees the code as committed. + steps = [ + ("Checking the formatting...", ["spotless:check"]), + ("Running the tests...", ["test"]), + ("Generating the docs...", ["javadoc:javadoc"]), + ] + + failed = [] + + print("Checking the REUSE compliance...") + exit_code = subprocess.call( + [sys.executable, "-m", "reuse", "lint"], cwd=str(repo_root) + ) + if exit_code != 0: + failed.append("Checking the REUSE compliance") + + for message, goals in steps: + print(message) + exit_code = subprocess.call(["mvn", "--batch-mode", *goals], cwd=str(repo_root)) + if exit_code != 0: + failed.append(message.rstrip(".")) + + if failed: + print("FAILED:", file=sys.stderr) + for message in failed: + print(f"* {message}", file=sys.stderr) + return 1 + + print("All checks passed.") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/check_docs_package_version.py b/dev_scripts/check_docs_package_version.py new file mode 100644 index 00000000..44a177f4 --- /dev/null +++ b/dev_scripts/check_docs_package_version.py @@ -0,0 +1,164 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +""" +Check and conditionally update package version in docs. +""" + +from __future__ import annotations + +import argparse +from dataclasses import dataclass +import os +import pathlib +from pathlib import Path +import sys + +from lxml import etree + + +@dataclass +class DependencyInfo: + """Describe the Maven coordinates of the package.""" + + group_id: str + artifact_id: str + version: str + + +def _load_dependency_info(repo_root: Path) -> DependencyInfo: + pom_path = repo_root / "pom.xml" + + parser = etree.XMLParser() + tree = etree.parse(pom_path, parser=parser) + + group_id = tree.xpath( + "/pom:project/pom:groupId[1]", + namespaces={ + "pom": "http://maven.apache.org/POM/4.0.0", + }, + )[0].text + artifact_id = tree.xpath( + "/pom:project/pom:artifactId[1]", + namespaces={ + "pom": "http://maven.apache.org/POM/4.0.0", + }, + )[0].text + version = tree.xpath( + "/pom:project/pom:version[1]", + namespaces={ + "pom": "http://maven.apache.org/POM/4.0.0", + }, + )[0].text + + return DependencyInfo(group_id=group_id, artifact_id=artifact_id, version=version) + + +def _validate_docs_dependency(repo_root: Path) -> bool: + docs_overview_path = repo_root / "doc/overview.html" + + parser = etree.HTMLParser() + tree = etree.parse(docs_overview_path, parser=parser) + + group_id = tree.xpath( + "//dependency[1]/groupid[1]", + )[0].text + artifact_id = tree.xpath( + "//dependency[1]/artifactid[1]", + )[0].text + version = tree.xpath( + "//dependency[1]/version[1]", + )[0].text + + dependency_info = _load_dependency_info(repo_root) + + if dependency_info.group_id != group_id: + print( + f"ERROR: groupId did not match, found: {group_id}, expected {dependency_info.group_id}", + file=sys.stderr, + ) + + if dependency_info.artifact_id != artifact_id: + print( + f"ERROR: artifactId did not match, found: {artifact_id}, expected {dependency_info.artifact_id}", + file=sys.stderr, + ) + + if dependency_info.version != version: + print( + f"ERROR: version did not match, found: {version}, expected {dependency_info.version}", + file=sys.stderr, + ) + + return bool( + dependency_info.group_id == group_id + and dependency_info.artifact_id == artifact_id + and dependency_info.version == version + ) + + +def _update_docs_dependency(repo_root: Path) -> None: + docs_overview_path = repo_root / "doc/overview.html" + + parser = etree.HTMLParser() + tree = etree.parse(docs_overview_path, parser=parser) + + dependency_info = _load_dependency_info(repo_root) + + old_group_id = tree.xpath( + "//dependency[1]/groupid[1]", + )[0].text + old_artifact_id = tree.xpath( + "//dependency[1]/artifactid[1]", + )[0].text + old_version = tree.xpath( + "//dependency[1]/version[1]", + )[0].text + + with docs_overview_path.open("r+") as docs_overview_file: + data = docs_overview_file.read() + docs_overview_file.seek(0) + + data = data.replace(old_group_id, dependency_info.group_id) + data = data.replace(old_artifact_id, dependency_info.artifact_id) + data = data.replace(old_version, dependency_info.version) + + docs_overview_file.write(data) + + +def main() -> int: + """Execute the main routine.""" + this_path = pathlib.Path(os.path.realpath(__file__)) + repo_root = this_path.parent.parent + + parser = argparse.ArgumentParser( + description="Validate and update package dependency infos in the documentation" + ) + + group = parser.add_mutually_exclusive_group(required=True) + group.add_argument( + "--update", + action="store_true", + help="update the dependency info in the documentation", + ) + group.add_argument( + "--validate", + action="store_true", + help="check that dependency info in documentation matches pom.xml", + ) + + args = parser.parse_args() + + if args.update: + _update_docs_dependency(repo_root) + return 0 + + if not _validate_docs_dependency(repo_root): + return 1 + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/codegen/meta_model.py b/dev_scripts/codegen/meta_model.py new file mode 100644 index 00000000..25274124 --- /dev/null +++ b/dev_scripts/codegen/meta_model.py @@ -0,0 +1,5692 @@ +# Downloaded from: https://raw.githubusercontent.com/aas-core-works/aas-core-meta/feab6a1c7047e4b05f636c1fa16dfe5d3469b661/aas_core_meta/v3_1.py +# SPDX-FileCopyrightText: 2024 aas-core-meta AUTHORS +# +# SPDX-License-Identifier: MIT + +""" +--- WORK IN PROGRESS --- +Provide an implementation of the Asset Administration Shell (AAS) V3.1. + +The presented version of the Metamodel is related to the work of +aas-core-works, which can be found here: https://github.com/aas-core-works. + +The presented content is neither related to the IDTA nor +Plattform Industrie 4.0 and does not represent an official publication. + +We diverge from the book in the following points. + +We did not implement the following constraints as they are too general and can not +be formalized as part of the core library, but affects external components such as +AAS registry or AAS server: + +* :constraintref:`AASd-022` + +We did not implement the following constraints since they depend on registry and +de-referencing of :class:`Reference` objects: + +* :constraintref:`AASd-006` +* :constraintref:`AASd-007` +* :constraintref:`AASc-3a-003` + +Some constraints are not enforceable as they depend on the wider context +such as language understanding, so we could not formalize them: + +* :constraintref:`AASd-012`: This constraint requires that the texts inside + ``Multi_language_property`` shall have the same meanings in the separate languages. + This cannot be tested. + +* :constraintref:`AASd-116`: In the book, :constraintref:`AASd-116` imposes a + case-insensitive equality against ``globalAssetId``. This is culturally-dependent, + and depends on the system settings. For example, the case-folding + for the letters "i" and "I" is different in Turkish from English. + + We implement the constraint as case-sensitive instead to allow for interoperability + across different culture settings. + +Furthermore, we diverge from the book in the following points regarding +the enumerations. We have to implement subsets of enumerations as sets as common +programming languages do not support inheritance of enumerations. The relationship +between the properties and the sets is defined through invariants. This causes +the following divergences: + +* We decided therefore to remove the enumeration ``DataTypeDefRDF`` + and keep only :class:`Data_type_def_XSD` as enumeration. Otherwise, we would have + to write redundant invariants all over the meta-model because ``DataTypeDefRDF`` + is actually never used in any type definition. + +* The enumeration :class:`AAS_submodel_elements` is used in two different contexts. + One context is the definition of key types in a reference. Another context is + the definition of element types in a :class:`Submodel_element_list`. + + To avoid confusion, we introduce two separate enumerations for the separate contexts. + Firstly, a set of :class:`Key_types`, :const:`AAS_submodel_elements_as_keys` to + represent the first context (key type in a reference). + Secondly, the enumeration :class:`AAS_submodel_elements` is kept as designator + for :attr:`Submodel_element_list.type_value_list_element`. + +* The specification introduces several types of ``Lang_string_set``. + These types differ between the allowed length of their text inside the singular + ``Lang_string`` objects. Since the native representation of ``Lang_string_set`` as + ``List`` of ``Lang_string`` is required by specification, it is impossible to + introduce separate ``Lang_string_set`` types. Therefore, the distinction is drawn here + between the ``Lang_string`` types. + + ``DefinitionTypeIEC61360`` is represented as a + ``List`` of :class:`Lang_string_definition_type_IEC_61360` + + ``MultiLanguageNameType`` is represented as a + ``List`` of :class:`Lang_string_name_type` + + ``PreferredNameTypeIEC61360`` is represented as a + ``List`` of :class:`Lang_string_preferred_name_type_IEC_61360` + + ``ShortNameTypeIEC61360`` is represented as a + ``List`` of :class:`Lang_string_short_name_type_IEC_61360` + + ``MultiLanguageTextType`` is represented as a + ``List`` of :class:`Lang_string_text_type` + + Furthermore, since ``Lang_string`` is not used anywhere, we rename it to + :class:`Abstract_lang_string`. + +Concerning the data specifications, we embed them within +:class:`Has_data_specification` instead of referencing them *via* an external reference. +The working group decided to change the rules for serialization *after* the book was +published. The data specifications are critical in applications, but there is no +possibility to access them through a data channel as they are not part of +an environment. +""" + +from enum import Enum +from re import match +from typing import AbstractSet, Final, List, Optional, Sequence + +from icontract import invariant, DBC, ensure + +from aas_core_meta.marker import ( + abstract, + serialization, + implementation_specific, + verification, + constant_set, + non_mutating, +) + +__version__ = "V3.1" + +__xml_namespace__ = "https://admin-shell.io/aas/3/1" + + +# region Verification + + +@verification +def matches_ID_short(text: str) -> bool: + """ + Check that :paramref:`text` is a valid short ID. + """ + pattern = f"^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$" + + return match(pattern, text) is not None + + +@verification +def matches_version_type(text: str) -> bool: + """ + Check that :paramref:`text` is a valid version string. + """ + pattern = f"^(0|[1-9][0-9]*)$" + + return match(pattern, text) is not None + + +@verification +def matches_revision_type(text: str) -> bool: + """ + Check that :paramref:`text` is a valid revision string. + """ + pattern = f"^(0|[1-9][0-9]*)$" + + return match(pattern, text) is not None + + +@verification +def matches_xs_date_time_UTC(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:dateTime``. + + The time zone must be fixed to UTC. We verify only that the ``text`` matches + a pre-defined pattern. We *do not* verify that the day of month is + correct nor do we check for leap seconds. + + See: https://www.w3.org/TR/xmlschema-2/#dateTime + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + year_frag = f"-?(([1-9]{digit}{digit}{digit}+)|(0{digit}{digit}{digit}))" + month_frag = f"((0[1-9])|(1[0-2]))" + day_frag = f"((0[1-9])|([12]{digit})|(3[01]))" + hour_frag = f"(([01]{digit})|(2[0-3]))" + minute_frag = f"[0-5]{digit}" + second_frag = f"([0-5]{digit})(\\.{digit}+)?" + end_of_day_frag = "24:00:00(\\.0+)?" + timezone_frag = r"(Z|\+00:00|-00:00)" + date_time_lexical_rep = ( + f"{year_frag}-{month_frag}-{day_frag}" + f"T" + f"(({hour_frag}:{minute_frag}:{second_frag})|{end_of_day_frag})" + f"{timezone_frag}" + ) + pattern = f"^{date_time_lexical_rep}$" + + return match(pattern, text) is not None + + +# noinspection PyUnusedLocal +@verification +@implementation_specific +def is_xs_date_time_UTC(text: str) -> bool: + """ + Check that :paramref:`text` is a ``xs:dateTime`` with time zone set to UTC. + + The ``text`` is assumed to match a pre-defined pattern for ``xs:dateTime`` with + the time zone set to UTC. In this function, we check for days of month (e.g., + February 29th). + + See: https://www.w3.org/TR/xmlschema-2/#dateTime + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:dateTime`` in UTC + """ + raise NotImplementedError() + + +@verification +def matches_MIME_type(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of MIME type. + + The definition has been taken from: + https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.1, + https://www.rfc-editor.org/rfc/rfc7230#section-3.2.3 and + https://www.rfc-editor.org/rfc/rfc7230#section-3.2.6. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + tchar = "[!#$%&'*+\\-.^_`|~0-9a-zA-Z]" + token = f"({tchar})+" + type = f"{token}" + subtype = f"{token}" + ows = "[ \t]*" + obs_text = "[\\x80-\\xff]" + qd_text = f"([\t !#-\\[\\]-~]|{obs_text})" + quoted_pair = f"\\\\([\t !-~]|{obs_text})" + quoted_string = f'"({qd_text}|{quoted_pair})*"' + parameter = f"{token}=({token}|{quoted_string})" + media_type = f"^{type}/{subtype}({ows};{ows}{parameter})*$" + + return match(media_type, text) is not None + + +@verification +def matches_RFC_2396(text: str) -> bool: + """ + Check that :paramref:`text` matches to the URI pattern defined in RFC 2396 + + The definition has been taken from: + https://datatracker.ietf.org/doc/html/rfc2396 + + Note that RFX 2396 alone is not enough for specifying ``xs:anyURI`` for + XSD version 1.0, as that specifies URI together with the amendment of + RFC 2732. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + alphanum = "[a-zA-Z0-9]" + mark = "[\\-_.!~*'()]" + unreserved = f"({alphanum}|{mark})" + hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])" + escaped = f"%{hex}{hex}" + pchar = f"({unreserved}|{escaped}|[:@&=+$,])" + param = f"({pchar})*" + segment = f"({pchar})*(;{param})*" + path_segments = f"{segment}(/{segment})*" + abs_path = f"/{path_segments}" + scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*" + userinfo = f"({unreserved}|{escaped}|[;:&=+$,])*" + domainlabel = f"({alphanum}|{alphanum}({alphanum}|-)*{alphanum})" + toplabel = f"([a-zA-Z]|[a-zA-Z]({alphanum}|-)*{alphanum})" + hostname = f"({domainlabel}\\.)*{toplabel}(\\.)?" + ipv4address = "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+" + host = f"({hostname}|{ipv4address})" + port = "[0-9]*" + hostport = f"{host}(:{port})?" + server = f"(({userinfo}@)?{hostport})?" + reg_name = f"({unreserved}|{escaped}|[$,;:@&=+])+" + authority = f"({server}|{reg_name})" + net_path = f"//{authority}({abs_path})?" + reserved = "[;/?:@&=+$,]" + uric = f"({reserved}|{unreserved}|{escaped})" + query = f"({uric})*" + hier_part = f"({net_path}|{abs_path})(\\?{query})?" + uric_no_slash = f"({unreserved}|{escaped}|[;?:@&=+$,])" + opaque_part = f"{uric_no_slash}({uric})*" + absoluteuri = f"{scheme}:({hier_part}|{opaque_part})" + fragment = f"({uric})*" + rel_segment = f"({unreserved}|{escaped}|[;@&=+$,])+" + rel_path = f"{rel_segment}({abs_path})?" + relativeuri = f"({net_path}|{abs_path}|{rel_path})(\\?{query})?" + uri_reference = f"^({absoluteuri}|{relativeuri})?(\\#{fragment})?$" + return match(uri_reference, text) is not None + + +# noinspection SpellCheckingInspection +@verification +def matches_BCP_47(text: str) -> bool: + """ + Check that :paramref:`text` is a valid BCP 47 language tag. + + See: https://en.wikipedia.org/wiki/IETF_language_tag + """ + alphanum = "[a-zA-Z0-9]" + singleton = "[0-9A-WY-Za-wy-z]" + extension = f"{singleton}(-({alphanum}){{2,8}})+" + extlang = "[a-zA-Z]{3}(-[a-zA-Z]{3}){,2}" + irregular = ( + "(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|" + "i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|" + "i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)" + ) + regular = ( + "(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|" + "zh-min|zh-min-nan|zh-xiang)" + ) + grandfathered = f"({irregular}|{regular})" + language = f"([a-zA-Z]{{2,3}}(-{extlang})?|[a-zA-Z]{{4}}|[a-zA-Z]{{5,8}})" + script = "[a-zA-Z]{4}" + region = "([a-zA-Z]{2}|[0-9]{3})" + variant = f"(({alphanum}){{5,8}}|[0-9]({alphanum}){{3}})" + privateuse = f"[xX](-({alphanum}){{1,8}})+" + langtag = ( + f"{language}(-{script})?(-{region})?(-{variant})*(-{extension})*(-" + f"{privateuse})?" + ) + language_tag = f"({langtag}|{privateuse}|{grandfathered})" + + pattern = f"^{language_tag}$" + return match(pattern, text) is not None + + +@verification +@implementation_specific +def lang_strings_have_unique_languages( + lang_strings: Sequence["Abstract_lang_string"], +) -> bool: + """ + Check that the :paramref:`lang_strings` do not have overlapping + :attr:`Abstract_lang_string.language`'s + """ + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + language_set = set() + for lang_string in lang_strings: + if lang_string.language in language_set: + return False + language_set.add(lang_string.language) + + return True + + +@verification +@implementation_specific +def qualifier_types_are_unique(qualifiers: Sequence["Qualifier"]) -> bool: + """ + Check that :attr:`Qualifier.type`'s of :paramref:`qualifiers` are unique. + + :param qualifiers: to be checked + :return: True if all :attr:`Qualifier.type`'s are unique + """ + # NOTE (mristin): + # This implementation is given here only as reference. It needs to be adapted + # for each implementation separately. + observed_types = set() + for qualifier in qualifiers: + if qualifier.type in observed_types: + return False + + observed_types.add(qualifier.type) + + return True + + +@verification +def matches_XML_serializable_string(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of the Constraint AASd-130. + + Ensures that encoding is possible and interoperability between different + serializations is possible. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # noinspection SpellCheckingInspection + pattern = r"^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$" + return match(pattern, text) is not None + + +# noinspection SpellCheckingInspection +@verification +def matches_xs_any_URI(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:anyURI``. + + See: https://www.w3.org/TR/xmlschema-2/#anyURI and + https://datatracker.ietf.org/doc/html/rfc2396 and + https://datatracker.ietf.org/doc/html/rfc2732 + + Note, that version 1.0 of the XSD specification defines ``xs:anyURI`` as + "defined by RFC 2396, as amended by RFC 2732". Therefore, we use a + pattern here that implements the amendments of RFC 2732. This should not + be confused with ``matches_RFC_2396``, which does not include those + amendments and is used in different parts of the specification. + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + alphanum = "[a-zA-Z0-9]" + mark = "[\\-_.!~*'()]" + unreserved = f"({alphanum}|{mark})" + hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])" + escaped = f"%{hex}{hex}" + pchar = f"({unreserved}|{escaped}|[:@&=+$,])" + param = f"({pchar})*" + segment = f"({pchar})*(;{param})*" + path_segments = f"{segment}(/{segment})*" + abs_path = f"/{path_segments}" + scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*" + userinfo = f"({unreserved}|{escaped}|[;:&=+$,])*" + domainlabel = f"({alphanum}|{alphanum}({alphanum}|-)*{alphanum})" + toplabel = f"([a-zA-Z]|[a-zA-Z]({alphanum}|-)*{alphanum})" + hostname = f"({domainlabel}\\.)*{toplabel}(\\.)?" + ipv4address = "[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}" + hex4 = "[0-9A-Fa-f]{1,4}" + hexseq = f"{hex4}(:{hex4})*" + hexpart = f"({hexseq}|{hexseq}::({hexseq})?|::({hexseq})?)" + ipv6address = f"{hexpart}(:{ipv4address})?" + ipv6reference = f"\\[{ipv6address}\\]" + host = f"({hostname}|{ipv4address}|{ipv6reference})" + port = "[0-9]*" + hostport = f"{host}(:{port})?" + server = f"(({userinfo}@)?{hostport})?" + reg_name = f"({unreserved}|{escaped}|[$,;:@&=+])+" + authority = f"({server}|{reg_name})" + net_path = f"//{authority}({abs_path})?" + reserved = "[;/?:@&=+$,\\[\\]]" + uric = f"({reserved}|{unreserved}|{escaped})" + query = f"({uric})*" + hier_part = f"({net_path}|{abs_path})(\\?{query})?" + uric_no_slash = f"({unreserved}|{escaped}|[;?:@&=+$,])" + opaque_part = f"{uric_no_slash}({uric})*" + absoluteuri = f"{scheme}:({hier_part}|{opaque_part})" + fragment = f"({uric})*" + rel_segment = f"({unreserved}|{escaped}|[;@&=+$,])+" + rel_path = f"{rel_segment}({abs_path})?" + relativeuri = f"({net_path}|{abs_path}|{rel_path})(\\?{query})?" + uri_reference = f"^({absoluteuri}|{relativeuri})?(\\#{fragment})?$" + return match(uri_reference, text) is not None + + +# noinspection SpellCheckingInspection +@verification +def matches_xs_base_64_binary(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:base64Binary``. + + See: https://www.w3.org/TR/xmlschema-2/#base64Binary + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # Base64 characters whose bit-string value ends in '0000' + b04_char = "[AQgw]" + b04 = f"{b04_char}\\x20?" + + # Base64 characters whose bit-string value ends in '00' + b16_char = "[AEIMQUYcgkosw048]" + b16 = f"{b16_char}\\x20?" + + b64_char = "[A-Za-z0-9+/]" + b64 = f"{b64_char}\\x20?" + + b64quad = f"({b64}{b64}{b64}{b64})" + + # b64_final_quad represents three octets of binary data without trailing space. + b64_final_quad = f"({b64}{b64}{b64}{b64_char})" + + # padded_8 represents a single octet at the end of the data. + padded_8 = f"{b64}{b04}=\x20?=" + + # padded_16 represents a two-octet at the end of the data. + padded_16 = f"{b64}{b64}{b16}=" + + b64final = f"({b64_final_quad}|{padded_16}|{padded_8})" + + base64_binary = f"({b64quad}*{b64final})?" + + pattern = f"^{base64_binary}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_boolean(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:boolean``. + + See: https://www.w3.org/TR/xmlschema-2/#boolean + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + pattern = "^(true|false|1|0)$" + return match(pattern, text) is not None + + +@verification +def matches_xs_date(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:date``. + + See: https://www.w3.org/TR/xmlschema-2/#date + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + year_frag = f"-?(([1-9]{digit}{digit}{digit}+)|(0{digit}{digit}{digit}))" + month_frag = f"((0[1-9])|(1[0-2]))" + day_frag = f"((0[1-9])|([12]{digit})|(3[01]))" + minute_frag = f"[0-5]{digit}" + timezone_frag = rf"(Z|(\+|-)((0{digit}|1[0-3]):{minute_frag}|14:00))" + date_lexical_rep = f"{year_frag}-{month_frag}-{day_frag}{timezone_frag}?" + + pattern = f"^{date_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_date_time(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:dateTime``. + + See: https://www.w3.org/TR/xmlschema-2/#dateTime + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + year_frag = f"-?(([1-9]{digit}{digit}{digit}+)|(0{digit}{digit}{digit}))" + month_frag = f"((0[1-9])|(1[0-2]))" + day_frag = f"((0[1-9])|([12]{digit})|(3[01]))" + hour_frag = f"(([01]{digit})|(2[0-3]))" + minute_frag = f"[0-5]{digit}" + second_frag = f"([0-5]{digit})(\\.{digit}+)?" + end_of_day_frag = "24:00:00(\\.0+)?" + timezone_frag = rf"(Z|(\+|-)((0{digit}|1[0-3]):{minute_frag}|14:00))" + date_time_lexical_rep = ( + f"{year_frag}-{month_frag}-{day_frag}" + f"T" + f"(({hour_frag}:{minute_frag}:{second_frag})|{end_of_day_frag})" + f"{timezone_frag}?" + ) + + pattern = f"^{date_time_lexical_rep}$" + return match(pattern, text) is not None + + +# noinspection PyUnusedLocal +@verification +@implementation_specific +def is_xs_date_time(text: str) -> bool: + """ + Check that :paramref:`text` is a ``xs:dateTime``. + + The ``text`` is assumed to match a pre-defined pattern for ``xs:dateTime``. + In this function, we check for days of month (e.g., February 29th). + + See: https://www.w3.org/TR/xmlschema-2/#dateTime + + :param text: Text to be checked + :returns: True if the :paramref:`text` is a valid ``xs:dateTime`` + """ + raise NotImplementedError() + + +# noinspection SpellCheckingInspection +@verification +def matches_xs_decimal(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:decimal``. + + See: https://www.w3.org/TR/xmlschema-2/#decimal + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + digit = "[0-9]" + unsigned_no_decimal_pt_numeral = f"{digit}+" + no_decimal_pt_numeral = rf"(\+|-)?{unsigned_no_decimal_pt_numeral}" + frac_frag = f"{digit}+" + unsigned_decimal_pt_numeral = ( + rf"({unsigned_no_decimal_pt_numeral}\.{frac_frag}|\.{frac_frag})" + ) + decimal_pt_numeral = rf"(\+|-)?{unsigned_decimal_pt_numeral}" + decimal_lexical_rep = f"({decimal_pt_numeral}|{no_decimal_pt_numeral})" + + pattern = f"^{decimal_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_double(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:double``. + + See: https://www.w3.org/TR/xmlschema-2/#double + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See: https://www.w3.org/TR/xmlschema-2/#nt-doubleRep + double_rep = r"((\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee](\+|-)?[0-9]+)?|-?INF|NaN)" + + pattern = f"^{double_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_duration(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:duration``. + + See: https://www.w3.org/TR/xmlschema-2/#duration + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-durationRep + + # fmt: off + duration_rep = ( +r"-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?" + r"|([0-9]+M)([0-9]+D)?" + r"|([0-9]+D)" + r")" + r"(T(([0-9]+H)([0-9]+M)?([0-9]+(\.[0-9]+)?S)?" + r"|([0-9]+M)([0-9]+(\.[0-9]+)?S)?" + r"|([0-9]+(\.[0-9]+)?S)" + r")" + r")?" + r")" + r"|(T(([0-9]+H)([0-9]+M)?([0-9]+(\.[0-9]+)?S)?" + r"|([0-9]+M)([0-9]+(\.[0-9]+)?S)?" + r"|([0-9]+(\.[0-9]+)?S)" + r")" + r")" + r")" + ) + # fmt: on + + pattern = f"^{duration_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_float(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:float``. + + See: https://www.w3.org/TR/xmlschema-2/#float + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + float_rep = ( + r"((\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+)([Ee](\+|-)?[0-9]+)?" r"|-?INF|NaN)" + ) + + pattern = f"^{float_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_day(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gDay``. + + See: https://www.w3.org/TR/xmlschema-2/#gDay + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gDayRep + g_day_lexical_rep = ( + r"---(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_day_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_month(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gMonth``. + + See: https://www.w3.org/TR/xmlschema-2/#gMonth + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gMonthRep + g_month_lexical_rep = ( + r"--(0[1-9]|1[0-2])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_month_lexical_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_month_day(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gMonthDay``. + + See: https://www.w3.org/TR/xmlschema-2/#gMonthDay + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gMonthDayRep + g_month_day_rep = ( + r"--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])" + r"(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_month_day_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_year(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gYear``. + + See: https://www.w3.org/TR/xmlschema-2/#gYear + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gYearRep + g_year_rep = ( + r"-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_year_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_g_year_month(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:gYearMonth``. + + See: https://www.w3.org/TR/xmlschema-2/#gYearMonth + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-gYearMonthRep + + g_year_month_rep = ( + r"-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])" + r"(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{g_year_month_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_hex_binary(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:hexBinary``. + + See: https://www.w3.org/TR/xmlschema-2/#hexBinary + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-hexBinary + hex_binary = r"([0-9a-fA-F]{2})*" + + pattern = f"^{hex_binary}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_time(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:time``. + + See: https://www.w3.org/TR/xmlschema-2/#time + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # NOTE (mristin): + # See https://www.w3.org/TR/xmlschema-2/#nt-timeRep + time_rep = ( + r"(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))" + r"(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?" + ) + + pattern = f"^{time_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:integer``. + + See: https://www.w3.org/TR/xmlschema-2/#integer + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + integer_rep = r"[\-+]?[0-9]+" + + pattern = f"^{integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_long(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:long``. + + See: https://www.w3.org/TR/xmlschema-2/#long + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + long_rep = r"[\-+]?0*[0-9]{1,20}" + + pattern = f"^{long_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_int(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:int``. + + See: https://www.w3.org/TR/xmlschema-2/#int + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + int_rep = r"[\-+]?0*[0-9]{1,10}" + + pattern = f"^{int_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_short(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:short``. + + See: https://www.w3.org/TR/xmlschema-2/#short + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + short_rep = r"[\-+]?0*[0-9]{1,5}" + + pattern = f"^{short_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_byte(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:byte``. + + See: https://www.w3.org/TR/xmlschema-2/#byte + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + byte_rep = r"[\-+]?0*[0-9]{1,3}" + + pattern = f"^{byte_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_non_negative_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:nonNegativeInteger``. + + See: https://www.w3.org/TR/xmlschema-2/#nonNegativeInteger + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + non_negative_integer_rep = r"(-0|\+?[0-9]+)" + + pattern = f"^{non_negative_integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_positive_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:positiveInteger``. + + See: https://www.w3.org/TR/xmlschema-2/#positiveInteger + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + positive_integer_rep = r"\+?0*[1-9][0-9]*" + + pattern = f"^{positive_integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_unsigned_long(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:unsignedLong``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedLong + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + unsigned_long_rep = r"(-0|\+?0*[0-9]{1,20})" + + pattern = f"^{unsigned_long_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_unsigned_int(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:unsignedInt``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedInt + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + unsigned_int_rep = r"(-0|\+?0*[0-9]{1,10})" + + pattern = f"^{unsigned_int_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_unsigned_short(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:unsignedShort``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedShort + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + unsigned_short_rep = r"(-0|\+?0*[0-9]{1,5})" + + pattern = f"^{unsigned_short_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_unsigned_byte(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:unsignedByte``. + + See: https://www.w3.org/TR/xmlschema-2/#unsignedByte + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + unsigned_byte_rep = r"(-0|\+?0*[0-9]{1,3})" + + pattern = f"^{unsigned_byte_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_non_positive_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:nonPositiveInteger``. + + See: https://www.w3.org/TR/xmlschema-2/#nonPositiveInteger + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + non_positive_integer_rep = r"(\+0|0|-[0-9]+)" + + pattern = f"^{non_positive_integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_negative_integer(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:negativeInteger``. + + See: https://www.w3.org/TR/xmlschema-2/#negativeInteger + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + negative_integer_rep = r"(-0*[1-9][0-9]*)" + + pattern = f"^{negative_integer_rep}$" + return match(pattern, text) is not None + + +@verification +def matches_xs_string(text: str) -> bool: + """ + Check that :paramref:`text` conforms to the pattern of an ``xs:string``. + + See: https://www.w3.org/TR/xmlschema-2/#string + + :param text: Text to be checked + :returns: True if the :paramref:`text` conforms to the pattern + """ + # From: https://www.w3.org/TR/xml11/#NT-Char + # Any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. + # noinspection SpellCheckingInspection + pattern = r"^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$" + return match(pattern, text) is not None + + +# noinspection PyUnusedLocal +@verification +@implementation_specific +def value_consistent_with_XSD_type(value: str, value_type: "Data_type_def_XSD") -> bool: + """ + Check that the :paramref:`value` conforms to its :paramref:`value_type`. + + :param value: which needs to conform + :param value_type: pre-defined value type + :return: True if the :paramref:`value` conforms + """ + # NOTE (mristin): + # We specify the pattern-matching functions above, and they should be handy to check + # for most obvious pattern mismatches. + # + # However, bear in mind that the pattern checks are not enough! For example, + # consider a ``xs:dateTime``. You need to check not only that the value + # follows the pattern, but also that the day-of-month and leap seconds are taken + # into account. + + raise NotImplementedError() + + +@verification +def is_model_reference_to(reference: "Reference", expected_type: "Key_types") -> bool: + """ + Check that the target of the model reference matches the :paramref:`expected_type`. + """ + # fmt: off + return ( + reference.type == Reference_types.Model_reference + and len(reference.keys) != 0 + and reference.keys[-1].type == expected_type + ) + # fmt: on + + +@verification +def is_model_reference_to_referable(reference: "Reference") -> bool: + """Check that the target of the reference matches a :const:`AAS_referables`.""" + # fmt: off + return ( + reference.type == Reference_types.Model_reference + and len(reference.keys) != 0 + and reference.keys[-1].type in AAS_referables + ) + # fmt: on + + +@verification +@implementation_specific +def ID_shorts_are_unique(referables: Sequence["Referable"]) -> bool: + """ + Check that the :attr:`Referable.ID_short`'s among the :paramref:`referables` are + unique in their namespace. + """ + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + id_short_set = set() + for referable in referables: + if referable.ID_short is not None: + if referable.ID_short in id_short_set: + return False + + id_short_set.add(referable.ID_short) + + return True + + +@verification +@implementation_specific +def ID_shorts_of_variables_are_unique( + input_variables: Optional[Sequence["Operation_variable"]], + output_variables: Optional[Sequence["Operation_variable"]], + inoutput_variables: Optional[Sequence["Operation_variable"]], +) -> bool: + """ + Check that the :attr:`Referable.ID_short`'s among all the + :paramref:`input_variables`, :paramref:`output_variables` + and :paramref:`inoutput_variables` are unique. + """ + # NOTE (s-heppner): + # This implementation will not be transpiled, but is given here as reference. + id_short_set = set() + if input_variables is not None: + for variable in input_variables: + if variable.value.ID_short is not None: + if variable.value.ID_short in id_short_set: + return False + + id_short_set.add(variable.value.ID_short) + if output_variables is not None: + for variable in output_variables: + if variable.value.ID_short is not None: + if variable.value.ID_short in id_short_set: + return False + + id_short_set.add(variable.value.ID_short) + if inoutput_variables is not None: + for variable in inoutput_variables: + if variable.value.ID_short is not None: + if variable.value.ID_short in id_short_set: + return False + + id_short_set.add(variable.value.ID_short) + return True + + +@verification +@implementation_specific +def extension_names_are_unique(extensions: Sequence["Extension"]) -> bool: + """Check that the extension names are unique.""" + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + name_set = set() + for extension in extensions: + if extension.name in name_set: + return False + name_set.add(extension.name) + + return True + + +@verification +@implementation_specific +def submodel_elements_have_identical_semantic_IDs( + elements: Sequence["Submodel_element"], +) -> bool: + """Check that all semantic IDs are identical, if specified.""" + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as a reference. + semantic_ID = None + for element in elements: + if element.semantic_ID is not None: + if semantic_ID is None: + semantic_ID = element.semantic_ID + else: + if semantic_ID != element.semantic_ID: + return False + return True + + +# noinspection PyUnusedLocal +@verification +@implementation_specific +def submodel_element_is_of_type( + element: "Submodel_element", element_type: "AAS_submodel_elements" +) -> bool: + """ + Check that the run-time type of the :paramref:`element` coincides with + :paramref:`element_type`. + """ + raise NotImplementedError() + + +@verification +@implementation_specific +def properties_or_ranges_have_value_type( + elements: Sequence["Submodel_element"], value_type: "Data_type_def_XSD" +) -> bool: + """Check that all the :paramref:`elements` have the :paramref:`value_type`.""" + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + for element in elements: + if isinstance(element, (Property, Range)): + if element.value_type != value_type: + return False + + return True + + +@verification +@implementation_specific +def reference_key_values_equal(that: "Reference", other: "Reference") -> bool: + """Check that the two references are equal by comparing their key values.""" + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + if len(that.keys) != len(other.keys): + return False + + for that_key, other_key in zip(that.keys, other.keys): + if that_key.value != other_key.value: + return False + + return True + + +# endregion + + +@invariant( + lambda self: matches_XML_serializable_string(self), + "Constraint AASd-130: An attribute with data type 'string' shall consist " + "of these characters only: " + r"^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.", +) +class XML_serializable_string(str, DBC): + r""" + Represent a string which must be serializable to XML. + + :constraint AASd-130: + + An attribute with data type "string" shall consist of these characters only: + ``^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u00010000-\u0010FFFF]*$``. + """ + + +# fmt: off +@invariant( + lambda self: len(self) >= 1, + "The value must not be empty." +) +# fmt: on +class Non_empty_XML_serializable_string(XML_serializable_string, DBC): + """Represent an XML-serializable string with at least one character.""" + + +@invariant( + lambda self: is_xs_date_time_UTC(self), + "The value must represent a valid xs:dateTime with the time zone fixed to UTC.", +) +@invariant( + lambda self: matches_xs_date_time_UTC(self), + "The value must match the pattern of xs:dateTime with the time zone fixed to UTC.", +) +class Date_time_UTC(str, DBC): + """Represent an ``xs:dateTime`` with the time zone fixed to UTC.""" + + +@invariant( + lambda self: matches_xs_duration(self), + "The value must match the pattern of xs:duration.", +) +class Duration(str, DBC): + """Represent an ``xs:duration``.""" + + +class Blob_type(bytearray, DBC): + """Group of bytes to represent file content (binaries and non-binaries)""" + + +@invariant( + lambda self: len(self) <= 2048, + "Identifier shall have a maximum length of 2048 characters.", +) +class Identifier(Non_empty_XML_serializable_string, DBC): + """ + string + """ + + +@invariant( + lambda self: len(self) <= 2048, + "Value type IEC 61360 shall have a maximum length of 2048 characters.", +) +class Value_type_IEC_61360(Non_empty_XML_serializable_string): + """ + string + """ + + +@invariant( + lambda self: len(self) <= 128, + "Name type shall have a maximum length of 128 characters.", +) +class Name_type(Non_empty_XML_serializable_string, DBC): + """ + string with length 128 maximum and 1 minimum + """ + + +@invariant( + lambda self: len(self) <= 4, + "Version type shall have a maximum length of 4 characters.", +) +@invariant( + lambda self: matches_version_type(self), + "Version type shall match the version pattern.", +) +class Version_type(Non_empty_XML_serializable_string): + """ + string with length 4 maximum and 1 minimum + """ + + +@invariant( + lambda self: len(self) <= 4, + "Revision type shall have a maximum length of 4 characters.", +) +@invariant( + lambda self: matches_revision_type(self), + "Revision type shall match the revision pattern.", +) +class Revision_type(Non_empty_XML_serializable_string): + """ + string with length 4 maximum and 1 minimum + """ + + +@invariant( + lambda self: len(self) <= 64, + "Label type shall have a maximum length of 64 characters.", +) +class Label_type(Non_empty_XML_serializable_string, DBC): + """ + string with length 64 maximum and 1 minimum characters + """ + + +@invariant( + lambda self: len(self) <= 255, + "Message topic type shall have a maximum length of 255 characters.", +) +class Message_topic_type(Non_empty_XML_serializable_string, DBC): + """ + string with length 255 maximum and minimum 1 characters + """ + + +# noinspection SpellCheckingInspection +@invariant( + lambda self: matches_BCP_47(self), + "The value must represent a value language tag conformant to BCP 47.", +) +class BCP_47_language_tag(str, DBC): + """ + Represent a language tag conformant to BCP 47. + + See: https://tools.ietf.org/rfc/bcp/bcp47.txt + """ + + +@invariant( + lambda self: matches_MIME_type(self), + "The value must represent a valid content MIME type according to RFC 2046.", +) +@invariant( + lambda self: len(self) <= 128, + "Content type shall have a maximum length of 128 characters.", +) +class Content_type(Non_empty_XML_serializable_string, DBC): + """ + String with length 128 maximum and minimum 1 characters + + .. note:: + + Any content type as in RFC2046. + + A media type (also MIME type and content type) […] is a two-part + identifier for file formats and format contents transmitted on + the Internet. The Internet Assigned Numbers Authority (IANA) is + the official authority for the standardization and publication of + these classifications. Media types were originally defined in + Request for Comments 2045 in November 1996 as a part of MIME + (Multipurpose Internet Mail Extensions) specification, for denoting + type of email message content and attachments. + """ + + +@invariant( + lambda self: matches_RFC_2396(self), + "String with max 2048 and min 1 characters conformant to a URI as per RFC 2396.", +) +class Path_type(Identifier, DBC): + """ + Identifier + + .. note:: + + String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. + """ + + pass + + +class Qualifier_type(Name_type, DBC): + """ + string + """ + + +class Value_data_type(XML_serializable_string, DBC): + """ + any XSD simple type as specified via :class:`Data_type_def_XSD` + """ + + +@invariant( + lambda self: matches_ID_short(self), + "ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); " + "starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``.", +) +class ID_short_type(Name_type, DBC): + """ + Represent a short ID of an :class:`Referable`. + + :constraint AASd-002: + + ID-short of :class:`Referable`'s shall only feature letters, digits, + hyphen (``-``) and underscore (``_``); starting mandatory with a letter, + and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. + + :constraint AASd-117: + + Constraint AASd-117: :attr:`Referable.ID_short` of + non-identifiable :class:`Referable` not being a direct child of + a :class:`Submodel_element_list` shall be specified. + """ + + +@abstract +# fmt: off +@invariant( + lambda self: + not (self.supplemental_semantic_IDs is not None) + or ( + self.semantic_ID is not None + ), + "Constraint AASd-118: If there are supplemental semantic IDs defined " + "then there shall be also a main semantic ID." +) +@invariant( + lambda self: + not (self.supplemental_semantic_IDs is not None) + or len(self.supplemental_semantic_IDs) >= 1, + "Supplemental semantic IDs must be either not set or have at least one item." +) +# fmt: on +class Has_semantics(DBC): + """ + Element that can have a semantic definition plus some supplemental semantic + definitions. + + :constraint AASd-118: + + If there are ID :attr:`Has_semantics.supplemental_semantic_IDs` defined + then there shall be also a main semantic ID :attr:`Has_semantics.semantic_ID`. + """ + + semantic_ID: Optional["Reference"] + """ + Identifier of the semantic definition of the element. It is called semantic ID + of the element or also main semantic ID of the element. + + .. note:: + + It is recommended to use a global reference. + """ + + supplemental_semantic_IDs: Optional[List["Reference"]] + """ + Identifier of a supplemental semantic definition of the element. + It is called supplemental semantic ID of the element. + + .. note:: + + It is recommended to use a global reference. + """ + + def __init__( + self, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + ) -> None: + self.semantic_ID = semantic_ID + self.supplemental_semantic_IDs = supplemental_semantic_IDs + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or ( + value_consistent_with_XSD_type(self.value, self.value_type_or_default()) + ), + "The value must match the value type." +) +@invariant( + lambda self: + not (self.refers_to is not None) + or len(self.refers_to) >= 1, + "Refers-to must be either not set or have at least one item." +) +# fmt: on +class Extension(Has_semantics): + """ + Single extension of an element. + """ + + name: "Name_type" + """ + Name of the extension. + + :constraint AASd-077: + + The name of an extension (Extension/name) within :class:`Has_extensions` needs + to be unique. + """ + + value_type: Optional["Data_type_def_XSD"] + """ + Type of the value of the extension. + + Default: :attr:`Data_type_def_XSD.String` + """ + + @implementation_specific + @non_mutating + def value_type_or_default(self) -> "Data_type_def_XSD": + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return ( + self.value_type if self.value_type is not None else Data_type_def_XSD.String + ) + + value: Optional["Value_data_type"] + """ + Value of the extension + """ + + refers_to: Optional[List["Reference"]] + """ + Reference to an element the extension refers to. + """ + + def __init__( + self, + name: "Name_type", + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + value_type: Optional["Data_type_def_XSD"] = None, + value: Optional["Value_data_type"] = None, + refers_to: Optional[List["Reference"]] = None, + ) -> None: + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + self.name = name + self.value_type = value_type + self.value = value + self.refers_to = refers_to + + +# fmt: off +@abstract +@invariant( + lambda self: + not (self.extensions is not None) or extension_names_are_unique(self.extensions), + "Constraint AASd-077: The name of an extension within " + "Has-Extensions needs to be unique." +) +@invariant( + lambda self: + not (self.extensions is not None) + or len(self.extensions) >= 1, + "Extensions must be either not set or have at least one item." +) +# fmt: on +class Has_extensions(DBC): + """ + Element that can be extended by proprietary extensions. + + .. note:: + + Extensions are proprietary, i.e. they do not support global interoperability. + """ + + extensions: Optional[List["Extension"]] + """ + An extension of the element. + """ + + def __init__(self, extensions: Optional[List["Extension"]] = None) -> None: + self.extensions = extensions + + +# fmt: off +@abstract +@invariant( + lambda self: + not (self.display_name is not None) + or lang_strings_have_unique_languages(self.display_name), + "Display name must specify unique languages." +) +@invariant( + lambda self: + not (self.display_name is not None) + or len(self.display_name) >= 1, + "Display name must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.description is not None) + or lang_strings_have_unique_languages(self.description), + "Description must specify unique languages." +) +@invariant( + lambda self: + not (self.description is not None) + or len(self.description) >= 1, + "Description must be either not set or have at least one item." +) +@serialization(with_model_type=True) +# fmt: on +class Referable(Has_extensions): + """ + An element that is referable by its :attr:`ID_short`. + + This ID is not globally unique. + This ID is unique within the name space of the element. + + :constraint AASd-022: + + :attr:`Referable.ID_short` of non-identifiable referables + within the same name space shall be unique (case-sensitive). + """ + + category: Optional[Name_type] + """ + The category is a value that gives further meta information + w.r.t. to the class of the element. + It affects the expected existence of attributes and the applicability of + constraints. + + .. note:: + + The category is not identical to the semantic definition + (:class:`Has_semantics`) of an element. The category e.g. could denote that + the element is a measurement value whereas the semantic definition of + the element would denote that it is the measured temperature. + """ + + ID_short: Optional["ID_short_type"] + """ + In case of identifiables this attribute is a short name of the element. + In case of referable this ID is an identifying string of the element within + its name space. + + .. note:: + + In case the element is a property and the property has a semantic definition + (:attr:`Has_semantics.semantic_ID`) conformant to IEC61360 + the :attr:`ID_short` is typically identical to the short name in English. + """ + + display_name: Optional[List["Lang_string_name_type"]] + """ + Display name. Can be provided in several languages. + """ + + description: Optional[List["Lang_string_text_type"]] + """ + Description or comments on the element. + + The description can be provided in several languages. + + If no description is defined, then the definition of the concept + description that defines the semantics of the element is used. + + Additional information can be provided, e.g., if the element is + qualified and which qualifier types can be expected in which + context or which additional data specification templates are + provided. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional["ID_short_type"] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + ) -> None: + Has_extensions.__init__(self, extensions=extensions) + + self.ID_short = ID_short + self.display_name = display_name + self.category = category + self.description = description + + +@abstract +class Identifiable(Referable): + """An element that has a globally unique identifier.""" + + administration: Optional["Administrative_information"] + """ + Administrative information of an identifiable element. + + .. note:: + + Some of the administrative information like the version number might need to + be part of the identification. + """ + + ID: "Identifier" + """The globally unique identification of the element.""" + + def __init__( + self, + ID: "Identifier", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + ) -> None: + Referable.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + ) + + self.ID = ID + self.administration = administration + + +class Modelling_kind(Enum): + """Enumeration for denoting whether an element is a template or an instance.""" + + Template = "Template" + """ + Specification of the common features of a structured element in sufficient detail + that such a instance can be instantiated using it + """ + + Instance = "Instance" + """ + Concrete, clearly identifiable element instance. Its creation and validation + may be guided by a corresponding element template. + """ + + +@abstract +class Has_kind(DBC): + """ + An element with a kind is an element that can either represent a template or an + instance. + + Default for an element is that it is representing an instance. + """ + + kind: Optional["Modelling_kind"] + """ + Kind of the element: either template or instance. + + Default: :attr:`Modelling_kind.Instance` + """ + + @implementation_specific + @non_mutating + def kind_or_default(self) -> "Modelling_kind": + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return self.kind if self.kind is not None else Modelling_kind.Instance + + def __init__(self, kind: Optional["Modelling_kind"] = None) -> None: + self.kind = kind + + +# fmt: off +@abstract +@invariant( + lambda self: + not (self.embedded_data_specifications is not None) + or len(self.embedded_data_specifications) >= 1, + "Embedded data specifications must be either not set or have at least one item." +) +# fmt: on +class Has_data_specification(DBC): + """ + Element that can be extended by using data specification templates. + + A data specification template defines a named set of additional attributes an + element may or shall have. The data specifications used are explicitly specified + with their global ID. + """ + + embedded_data_specifications: Optional[List["Embedded_data_specification"]] + """Embedded data specification.""" + + def __init__( + self, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + self.embedded_data_specifications = embedded_data_specifications + + +# fmt: off +@invariant( + lambda self: + not (self.revision is not None) or self.version is not None, + "Constraint AASd-005: If version is not specified then also revision shall " + "be unspecified. This means, a revision requires a version. If there is " + "no version there is no revision either. Revision is optional." +) +# fmt: on +class Administrative_information(Has_data_specification): + """ + Administrative meta-information for an element like version + information. + + :constraint AASd-005: + + If :attr:`version` is not specified then also :attr:`revision` shall be + unspecified. This means, a revision requires a version. If there is no version + there is no revision neither. Revision is optional. + """ + + version: Optional[Version_type] + """Version of the element.""" + + revision: Optional[Revision_type] + """Revision of the element.""" + + creator: Optional["Reference"] + """The subject ID of the subject responsible for making the element.""" + + template_ID: Optional["Identifier"] + """ + Identifier of the template that guided the creation of the element. + + .. note:: + + In case of a submodel the :attr:`template_ID` is the identifier + of the submodel template ID that guided the creation of the submodel + + .. note:: + + The :attr:`template_ID` is not relevant for validation in Submodels. + For validation the :attr:`Submodel.semantic_ID` shall be used. + + .. note:: + + Usage of :attr:`template_ID` is not restricted to submodel instances. So also + the creation of submodel templates can be guided by another submodel template. + """ + + def __init__( + self, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + version: Optional[Version_type] = None, + revision: Optional[Revision_type] = None, + creator: Optional["Reference"] = None, + template_ID: Optional["Identifier"] = None, + ) -> None: + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.version = version + self.revision = revision + self.creator = creator + self.template_ID = template_ID + + +# fmt: off +@abstract +@invariant( + lambda self: + not (self.qualifiers is not None) + or qualifier_types_are_unique(self.qualifiers), + "Constraint AASd-021: Every qualifiable can only have one qualifier with " + "the same type." +) +@invariant( + lambda self: + not (self.qualifiers is not None) + or len(self.qualifiers) >= 1, + "Qualifiers must be either not set or have at least one item." +) +@serialization(with_model_type=True) +# fmt: on +class Qualifiable(DBC): + """ + The value of a qualifiable element may be further qualified by one or more + qualifiers. + + :constraint AASd-119: + + If any :attr:`Qualifier.kind` value of :attr:`Qualifiable.qualifiers` is + equal to :attr:`Qualifier_kind.Template_qualifier` and the qualified element + inherits from :class:`Has_kind` then the qualified element shall be of + kind Template (:attr:`Has_kind.kind` = :attr:`Modelling_kind.Template`). + + .. note:: + + This constraint is checked at :class:`Submodel`. + """ + + qualifiers: Optional[List["Qualifier"]] + """ + Additional qualification of a qualifiable element. + + :constraint AASd-021: + + Every qualifiable can only have one qualifier with the same + :attr:`Qualifier.type`. + """ + + def __init__(self, qualifiers: Optional[List["Qualifier"]] = None) -> None: + self.qualifiers = qualifiers + + +class Qualifier_kind(Enum): + """ + Enumeration for kinds of qualifiers. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + Value_qualifier = "ValueQualifier" + """ + qualifies the value of the element and can change during run-time. + + Value qualifiers are only applicable to elements with kind + :attr:`Modelling_kind.Instance`. + """ + + Concept_qualifier = "ConceptQualifier" + """ + qualifies the semantic definition the element is referring to + (:attr:`Has_semantics.semantic_ID`) + """ + + Template_qualifier = "TemplateQualifier" + """ + qualifies the elements within a specific submodel on concept level. + + Template qualifiers are only applicable to elements with kind + :attr:`Modelling_kind.Template`. + """ + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or value_consistent_with_XSD_type(self.value, self.value_type), + "Constraint AASd-020: The value shall be consistent to the data type as defined " + "in value type.", +) +# fmt: on +class Qualifier(Has_semantics): + """ + A qualifier is a type-value-pair that makes additional statements w.r.t. the value + of the element. + + :constraint AASd-006: + + If both the :attr:`value` and the :attr:`value_ID` of + a :class:`Qualifier` are present then the :attr:`value` needs + to be identical to the value of the referenced coded value + in :attr:`value_ID`. + + :constraint AASd-020: + + The value of :attr:`value` shall be consistent to the data type as + defined in :attr:`value_type`. + """ + + kind: Optional["Qualifier_kind"] + """ + The qualifier kind describes the kind of the qualifier that is applied to the + element. + + Default: :attr:`Qualifier_kind.Concept_qualifier` + """ + + @implementation_specific + @non_mutating + def kind_or_default(self) -> "Qualifier_kind": + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return self.kind if self.kind is not None else Qualifier_kind.Concept_qualifier + + type: "Qualifier_type" + """ + The qualifier *type* describes the type of the qualifier that is applied to + the element. + """ + + value_type: "Data_type_def_XSD" + """ + Data type of the qualifier value. + """ + + value: Optional["Value_data_type"] + """ + The qualifier value is the value of the qualifier. + """ + + value_ID: Optional["Reference"] + """ + Reference to the global unique ID of a coded value. + + .. note:: + + It is recommended to use a global reference. + """ + + def __init__( + self, + type: "Qualifier_type", + value_type: "Data_type_def_XSD", + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + kind: Optional["Qualifier_kind"] = None, + value: Optional["Value_data_type"] = None, + value_ID: Optional["Reference"] = None, + ) -> None: + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + self.type = type + self.value_type = value_type + self.kind = kind + self.value = value + self.value_ID = value_ID + + +# fmt: off +@invariant( + lambda self: + not (self.submodels is not None) + or ( + all( + is_model_reference_to(reference, Key_types.Submodel) + for reference in self.submodels + ) + ), + "All submodels must be model references to a submodel." +) +@invariant( + lambda self: + not (self.derived_from is not None) + or ( + is_model_reference_to( + self.derived_from, + Key_types.Asset_administration_shell + ) + ), + "Derived-from must be a model reference to an asset administration shell." +) +@invariant( + lambda self: + not (self.submodels is not None) + or len(self.submodels) >= 1, + "Submodels must be either not set or have at least one item." +) +# fmt: on +class Asset_administration_shell(Identifiable, Has_data_specification): + """An asset administration shell.""" + + derived_from: Optional["Reference"] + """The reference to the AAS the AAS was derived from.""" + + asset_information: "Asset_information" + """Meta-information about the asset the AAS is representing.""" + + submodels: Optional[List["Reference"]] + """ + References to submodels of the AAS. + + A submodel is a description of an aspect of the asset the AAS is representing. + + The asset of an AAS is typically described by one or more submodels. + + Temporarily no submodel might be assigned to the AAS. + """ + + def __init__( + self, + ID: Identifier, + asset_information: "Asset_information", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + derived_from: Optional["Reference"] = None, + submodels: Optional[List["Reference"]] = None, + ) -> None: + Identifiable.__init__( + self, + ID=ID, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + administration=administration, + ) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.derived_from = derived_from + self.asset_information = asset_information + self.submodels = submodels + + +# fmt: off +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1, + "Specific asset IDs must be either not set or have at least one item." +) +@invariant( + lambda self: + ( + self.global_asset_ID is not None + or self.specific_asset_IDs is not None + ) and ( + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1 + ), + "Constraint AASd-131: Either the global asset ID shall be defined or at least one " + "specific asset ID." +) +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or ( + all( + ( + specific_asset_ID.name != "globalAssetId" + ) or ( + self.global_asset_ID is not None + and specific_asset_ID.name == "globalAssetId" + and specific_asset_ID.value == self.global_asset_ID + ) + for specific_asset_ID in self.specific_asset_IDs + ) + ), + "Constraint AASd-116: ``globalAssetId`` is a reserved key. " + "If used as value for the name of specific asset ID then the value of specific " + "asset ID shall be identical to the global asset ID." +) +# fmt: on +class Asset_information(DBC): + """ + In :class:`Asset_information` identifying meta data of the asset that is + represented by an AAS is defined. + + The asset may either represent an asset type or an asset instance. + + The asset has a globally unique identifier plus – if needed – additional domain + specific (proprietary) identifiers. However, to support the corner case of very + first phase of lifecycle where a stabilised/constant_set global asset identifier + does not already exist, the corresponding attribute :attr:`global_asset_ID` is + optional. + + :constraint AASd-116: + + ``globalAssetId`` is a reserved key for :attr:`Specific_asset_ID.name` with the + semantics as defined in :attr:`global_asset_ID`. + + .. note:: + + :constraintref:`AASd-116` is important to enable a generic search across + global and specific asset IDs. + + .. note:: + + In the book, :constraintref:`AASd-116` imposes a + case-insensitive equality against ``globalAssetId``. This is + culturally-dependent, and depends on the system settings. + For example, the case-folding for the letters "i" and "I" is + different in Turkish from English. + + We implement the constraint as case-sensitive instead to allow + for interoperability across different culture settings. + + :constraint AASd-131: + + For :class:`Asset_information` either the :attr:`global_asset_ID` shall be + defined or at least one item in :attr:`specific_asset_IDs`. + + + """ + + asset_kind: "Asset_kind" + """ + Denotes whether the Asset is of kind :attr:`Asset_kind.Type`, + :attr:`Asset_kind.Instance`, :attr:`Asset_kind.Role`, or + :attr:`Asset_kind.Not_applicable`. + """ + + global_asset_ID: Optional["Identifier"] + """ + Global identifier of the asset the AAS is representing. + + This attribute is required as soon as the AAS is exchanged via partners in the life + cycle of the asset. In a first phase of the life cycle the asset might not yet have + a global ID but already an internal identifier. The internal identifier would be + modelled via :attr:`specific_asset_IDs`. + + .. note:: + + This is a global reference. + """ + + specific_asset_IDs: Optional[List["Specific_asset_ID"]] + """ + Additional domain-specific, typically proprietary identifier for the asset like + e.g., serial number etc. + """ + + asset_type: Optional["Identifier"] + """ + In case :attr:`asset_kind` is :attr:`Asset_kind.Not_applicable` the + :attr:`asset_type` is the asset ID of the type asset of the asset under + consideration as identified by :attr:`global_asset_ID`. + + .. note:: + + In case :attr:`asset_kind` is "Instance" then the :attr:`asset_type` denotes + which "Type" the asset is of. But it is also possible + to have an :attr:`asset_type` of an asset of kind "Type". + + """ + + default_thumbnail: Optional["Resource"] + """ + Thumbnail of the asset represented by the Asset Administration Shell. + + Used as default. + """ + + def __init__( + self, + asset_kind: "Asset_kind", + global_asset_ID: Optional["Identifier"] = None, + specific_asset_IDs: Optional[List["Specific_asset_ID"]] = None, + asset_type: Optional["Identifier"] = None, + default_thumbnail: Optional["Resource"] = None, + ) -> None: + self.asset_kind = asset_kind + self.global_asset_ID = global_asset_ID + self.specific_asset_IDs = specific_asset_IDs + self.asset_type = asset_type + self.default_thumbnail = default_thumbnail + + +class Resource(DBC): + """ + Resource represents an address to a file (a locator). The value is an URI that + can represent an absolute or relative path + """ + + path: "Path_type" + """ + Path and name of the resource (with file extension). + + The path can be absolute or relative. + """ + + content_type: Optional["Content_type"] + """ + Content type of the content of the file. + + The content type states which file extensions the file can have. + """ + + def __init__( + self, + path: "Path_type", + content_type: Optional["Content_type"] = None, + ) -> None: + self.path = path + self.content_type = content_type + + +class Asset_kind(Enum): + """ + Enumeration for denoting whether an asset is a type asset or an instance + asset or is a role or whether this kind of classification is not applicable. + """ + + Type = "Type" + """ + Type asset + """ + + Instance = "Instance" + """ + Instance asset + """ + + Role = "Role" + """ + Role asset + """ + + Not_applicable = "NotApplicable" + """ + Neither a type asset nor an instance asset nor a role asset + """ + + +@invariant( + lambda self: not (self.external_subject_ID is not None) + or (self.external_subject_ID.type == Reference_types.External_reference), + "Constraint AASd-133: External subject ID shall be an external reference.", +) +class Specific_asset_ID(Has_semantics): + """ + A specific asset ID describes a generic supplementary identifying attribute of the + asset. + + The specific asset ID is not necessarily globally unique. + + :constraint AASd-133: + + :attr:`external_subject_ID` shall be an external reference, + i.e. :attr:`Reference.type` = :attr:`Reference_types.External_reference`. + """ + + name: Label_type + """Name of the identifier""" + + value: Identifier + """The value of the specific asset identifier with the corresponding name.""" + + external_subject_ID: Optional["Reference"] + """ + The (external) subject the key belongs to or has meaning to. + + .. note:: + + This is a global reference. + """ + + def __init__( + self, + name: Label_type, + value: Identifier, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + external_subject_ID: Optional["Reference"] = None, + ) -> None: + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + self.name = name + self.value = value + self.external_subject_ID = external_subject_ID + + +# fmt: off +@invariant( + lambda self: + not (self.qualifiers is not None) + or ( + not any( + qualifier.kind_or_default() == Qualifier_kind.Template_qualifier + for qualifier in self.qualifiers + ) or ( + self.kind_or_default() == Modelling_kind.Template + ) + ), + "Constraint AASd-119: If any qualifier kind value of a qualifiable qualifier is " + "equal to template qualifier and the qualified element has kind then the qualified " + "element shall be of kind template." +) +@invariant( + lambda self: + not (self.submodel_elements is not None) + or ( + not (self.kind_or_default() != Modelling_kind.Template) + or ( + all( + not (submodel_element.qualifiers is not None) + or all( + qualifier.kind_or_default() != Qualifier_kind.Template_qualifier + for qualifier in submodel_element.qualifiers + ) + for submodel_element in self.submodel_elements + ) + ) + ), + "Constraint AASd-129: If any qualifier kind value of a Submodel element qualifier " + "(attribute qualifier inherited via Qualifiable) is equal to Template Qualifier " + "then the submodel element shall be part of a submodel template, i.e. a Submodel " + "with submodel kind (attribute kind inherited via Has-Kind) value is equal to " + "Template." +) +@invariant( + lambda self: + not (self.submodel_elements is not None) + or (ID_shorts_are_unique(self.submodel_elements)), + "Constraint AASd-022: ID-short of non-identifiable referables " + "within the same name space shall be unique (case-sensitive)." +) +@invariant( + lambda self: + not (self.submodel_elements is not None) + or all( + item.ID_short is not None + for item in self.submodel_elements + ), + "ID-shorts need to be defined for all the items of submodel elements according to " + "AASd-117 (ID-short of Referables not being a direct child of " + "a Submodel element list shall be specified)." +) +@invariant( + lambda self: + not (self.submodel_elements is not None) + or len(self.submodel_elements) >= 1, + "Submodel elements must be either not set or have at least one item." +) +# fmt: on +class Submodel( + Identifiable, Has_kind, Has_semantics, Qualifiable, Has_data_specification +): + """ + A submodel defines a specific aspect of the asset represented by the AAS. + + A submodel is used to structure the digital representation and technical + functionality of an Administration Shell into distinguishable parts. Each submodel + refers to a well-defined domain or subject matter. Submodels can become + standardized and, thus, become submodels templates. + """ + + submodel_elements: Optional[List["Submodel_element"]] + """A submodel consists of zero or more submodel elements.""" + + def __init__( + self, + ID: Identifier, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + kind: Optional["Modelling_kind"] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + submodel_elements: Optional[List["Submodel_element"]] = None, + ) -> None: + Identifiable.__init__( + self, + ID=ID, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + administration=administration, + ) + + Has_kind.__init__(self, kind=kind) + + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + Qualifiable.__init__(self, qualifiers=qualifiers) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.submodel_elements = submodel_elements + + +@abstract +class Submodel_element(Referable, Has_semantics, Qualifiable, Has_data_specification): + """ + A submodel element is an element suitable for the description and differentiation of + assets. + + It is recommended to add a :attr:`Has_semantics.semantic_ID` to a submodel element. + + :constraint AASd-129: + + If any :attr:`Qualifier.kind` value of :attr:`qualifiers` (attribute qualifier + inherited via Qualifiable) is equal to :attr:`Qualifier_kind.Template_qualifier` + then the submodel element shall be part of a submodel template, i.e. + a Submodel with :attr:`Submodel.kind` (attribute kind inherited via + :class:`Has_kind`) value is equal to :attr:`Modelling_kind.Template`. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Referable.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + ) + + Has_semantics.__init__( + self, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + ) + + Qualifiable.__init__(self, qualifiers=qualifiers) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + +class Relationship_element(Submodel_element): + """ + A relationship element is used to define a relationship between two elements + being either referable (model reference) or external (global reference). + """ + + first: Optional["Reference"] + """ + Reference to the first element in the relationship taking the role of the subject. + """ + + second: Optional["Reference"] + """ + Reference to the second element in the relationship taking the role of the object. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + first: Optional["Reference"] = None, + second: Optional["Reference"] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.first = first + self.second = second + + +class AAS_submodel_elements(Enum): + """Enumeration of all possible elements of a :class:`Submodel_element_list`.""" + + Annotated_relationship_element = "AnnotatedRelationshipElement" + Basic_event_element = "BasicEventElement" + Blob = "Blob" + Capability = "Capability" + Data_element = "DataElement" + Entity = "Entity" + Event_element = "EventElement" + File = "File" + Multi_language_property = "MultiLanguageProperty" + Operation = "Operation" + Property = "Property" + Range = "Range" + Reference_element = "ReferenceElement" + Relationship_element = "RelationshipElement" + Submodel_element = "SubmodelElement" + Submodel_element_list = "SubmodelElementList" + Submodel_element_collection = "SubmodelElementCollection" + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or ID_shorts_are_unique(self.value), + "ID-shorts of the value must be unique." +) +@invariant( + lambda self: + not ( + self.value is not None + and ( + self.type_value_list_element == AAS_submodel_elements.Property + or self.type_value_list_element == AAS_submodel_elements.Range + ) + ) or ( + self.value_type_list_element is not None + and properties_or_ranges_have_value_type( + self.value, + self.value_type_list_element + ) + ), + "Constraint AASd-109: If type value list element is equal to " + "Property or Range value type list element shall be set " + "and all first level child elements shall have the value type as specified in " + "value type list element." +) +@invariant( + lambda self: + not (self.value is not None) + or all( + submodel_element_is_of_type(element, self.type_value_list_element) + for element in self.value + ), + "Constraint AASd-108: All first level child elements shall have " + "the same submodel element type as specified in type value list element." +) +@invariant( + lambda self: + not (self.value is not None) + or submodel_elements_have_identical_semantic_IDs(self.value), + "Constraint AASd-114: If two first level child elements " + "have a semantic ID then they shall be identical." +) +@invariant( + lambda self: + not ( + self.value is not None + and self.semantic_ID_list_element is not None + ) or ( + all( + not (child.semantic_ID is not None) + or reference_key_values_equal( + child.semantic_ID, + self.semantic_ID_list_element) + for child in self.value + ) + ), + "Constraint AASd-107: If a first level child element has a semantic ID " + "it shall be identical to semantic ID list element." +) +@invariant( + lambda self: + not (self.value is not None) + or len(self.value) >= 1, + "Value must be either not set or have at least one item." +) +# fmt: on +class Submodel_element_list(Submodel_element): + """ + A submodel element list is an ordered list of submodel elements. + + The numbering starts with zero (0). + + :constraint AASd-107: + + If a first level child element in a :class:`Submodel_element_list` has + a :attr:`Has_semantics.semantic_ID` it + shall be identical to :attr:`Submodel_element_list.semantic_ID_list_element`. + + :constraint AASd-114: + + If two first level child elements in a :class:`Submodel_element_list` have + a :attr:`Has_semantics.semantic_ID` then they shall be identical. + + :constraint AASd-115: + + If a first level child element in a :class:`Submodel_element_list` does not + specify a :attr:`Has_semantics.semantic_ID` then the value is assumed to be + identical to :attr:`Submodel_element_list.semantic_ID_list_element`. + + :constraint AASd-108: + + All first level child elements in a :class:`Submodel_element_list` shall have + the same submodel element type as specified in :attr:`type_value_list_element`. + + :constraint AASd-109: + + If :attr:`type_value_list_element` is equal to + :attr:`AAS_submodel_elements.Property` or + :attr:`AAS_submodel_elements.Range` + :attr:`value_type_list_element` shall be set and all first + level child elements in the :class:`Submodel_element_list` shall have + the value type as specified in :attr:`value_type_list_element`. + """ + + order_relevant: Optional["bool"] + """ + Defines whether order in list is relevant. If :attr:`order_relevant` = ``False`` + then the list is representing a set or a bag. + + Default: ``True`` + """ + + @implementation_specific + @non_mutating + def order_relevant_or_default(self) -> bool: + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return self.order_relevant if self.order_relevant is not None else True + + semantic_ID_list_element: Optional["Reference"] + """ + Semantic ID the submodel elements contained in the list match to. + + .. note:: + + It is recommended to use a global reference. + """ + + type_value_list_element: "AAS_submodel_elements" + """ + The submodel element type of the submodel elements contained in the list. + """ + + value_type_list_element: Optional["Data_type_def_XSD"] + """ + The value type of the submodel element contained in the list. + """ + + value: Optional[List["Submodel_element"]] + """ + Submodel element contained in the list. + + The list is ordered. + """ + + def __init__( + self, + type_value_list_element: "AAS_submodel_elements", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + order_relevant: Optional["bool"] = None, + semantic_ID_list_element: Optional["Reference"] = None, + value_type_list_element: Optional["Data_type_def_XSD"] = None, + value: Optional[List["Submodel_element"]] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.type_value_list_element = type_value_list_element + self.order_relevant = order_relevant + self.semantic_ID_list_element = semantic_ID_list_element + self.value_type_list_element = value_type_list_element + self.value = value + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or ID_shorts_are_unique(self.value), + "ID-shorts of the value must be unique." +) +@invariant( + lambda self: + not (self.value is not None) + or all( + item.ID_short is not None + for item in self.value + ), + "ID-shorts need to be defined for all the items of value according to AASd-117 " + "(ID-short of Referables not being a direct child of a Submodel element list " + "shall be specified)." +) +@invariant( + lambda self: + not (self.value is not None) + or len(self.value) >= 1, + "Value must be either not set or have at least one item." +) +# fmt: on +class Submodel_element_collection(Submodel_element): + """ + A submodel element collection is a kind of struct, i.e. a a logical encapsulation + of multiple named values. It has a fixed number of submodel elements. + """ + + value: Optional[List["Submodel_element"]] + """ + Submodel element contained in the collection. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional[List["Submodel_element"]] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value = value + + +# fmt: off +@abstract +# fmt: on +class Data_element(Submodel_element): + """ + A data element is a submodel element that is not further composed out of + other submodel elements. + + A data element is a submodel element that has a value. The type of value differs + for different subtypes of data elements. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or value_consistent_with_XSD_type(self.value, self.value_type), + "Value must be consistent with the value type." +) +# fmt: on +class Property(Data_element): + """ + A property is a data element that has a single value. + + :constraint AASd-007: + + If both, the :attr:`value` and the :attr:`value_ID` are + present then the value of :attr:`value` needs to be identical to + the value of the referenced coded value in :attr:`value_ID`. + """ + + value_type: "Data_type_def_XSD" + """ + Data type of the value + """ + + value: Optional["Value_data_type"] + """ + The value of the property instance. + """ + + value_ID: Optional["Reference"] + """ + Reference to the global unique ID of a coded value. + + .. note:: + + It is recommended to use a global reference. + """ + + def __init__( + self, + value_type: "Data_type_def_XSD", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional["Value_data_type"] = None, + value_ID: Optional["Reference"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value_type = value_type + self.value = value + self.value_ID = value_ID + + +# fmt: off +@invariant( + lambda self: + not (self.value is not None) + or len(self.value) >= 1, + "Value must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.value is not None) + or lang_strings_have_unique_languages(self.value), + "Value must specify unique languages." +) +# fmt: on +class Multi_language_property(Data_element): + """ + A property is a data element that has a multi-language value. + + :constraint AASd-012: + If both the :attr:`value` and the :attr:`value_ID` are present then for each + string in a specific language the meaning must be the same as specified in + :attr:`value_ID`. + """ + + value: Optional[List["Lang_string_text_type"]] + """ + The value of the property instance. + """ + + value_ID: Optional["Reference"] + """ + Reference to the global unique ID of a coded value. + + .. note:: + + It is recommended to use a global reference. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional[List["Lang_string_text_type"]] = None, + value_ID: Optional["Reference"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value = value + self.value_ID = value_ID + + +# fmt: off +@invariant( + lambda self: + not (self.min is not None) + or value_consistent_with_XSD_type(self.min, self.value_type), + "Min must be consistent with the value type." +) +@invariant( + lambda self: + not (self.max is not None) + or value_consistent_with_XSD_type(self.max, self.value_type), + "Max must be consistent with the value type." +) +# fmt: on +class Range(Data_element): + """ + A range data element is a data element that defines a range with min and max. + """ + + value_type: "Data_type_def_XSD" + """ + Data type of the min und max + """ + + min: Optional["Value_data_type"] + """ + The minimum value of the range. + + If the min value is missing, then the value is assumed to be negative infinite. + """ + + max: Optional["Value_data_type"] + """ + The maximum value of the range. + + If the max value is missing, then the value is assumed to be positive infinite. + """ + + def __init__( + self, + value_type: "Data_type_def_XSD", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + min: Optional["Value_data_type"] = None, + max: Optional["Value_data_type"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value_type = value_type + self.min = min + self.max = max + + +class Reference_element(Data_element): + """ + A reference element is a data element that defines a logical reference to another + element within the same or another AAS or a reference to an external object or + entity. + """ + + value: Optional["Reference"] + """ + Global reference to an external object or entity or a logical reference to + another element within the same or another AAS (i.e. a model reference to + a Referable). + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional["Reference"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.value = value + + +class Blob(Data_element): + """ + A :class:`Blob` is a data element that represents a file that is contained with its + source code in the value attribute. + """ + + value: Optional["Blob_type"] + """ + The value of the :class:`Blob` instance of a blob data element. + + .. note:: + + In contrast to the file property the file content is stored directly as value + in the :class:`Blob` data element. + """ + + content_type: Optional[Content_type] + """ + Content type of the content of the :class:`Blob`. + + The content type (MIME type) states which file extensions the file can have. + + Valid values are content types like e.g. ``application/json``, ``application/xls``, + ``image/jpg``. + + The allowed values are defined as in RFC2046. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional["Blob_type"] = None, + content_type: Optional[Content_type] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.content_type = content_type + self.value = value + + +class File(Data_element): + """ + A File is a data element that represents an address to a file (a locator). + + The value is an URI that can represent an absolute or relative path. + """ + + value: Optional["Path_type"] + """ + Path and name of the referenced file (with file extension). + + The path can be absolute or relative. + """ + + content_type: Optional["Content_type"] + """ + Content type of the content of the file. + + The content type states which file extensions the file can have. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + value: Optional["Path_type"] = None, + content_type: Optional["Content_type"] = None, + ) -> None: + Data_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.content_type = content_type + self.value = value + + +# fmt: off +@invariant( + lambda self: + not (self.annotations is not None) + or all( + item.ID_short is not None + for item in self.annotations + ), + "ID-shorts need to be defined for all the items of annotations according to " + "AASd-117 (ID-short of Referables not being a direct child of " + "a Submodel element list shall be specified)." +) +@invariant( + lambda self: + not (self.annotations is not None) + or len(self.annotations) >= 1, + "Annotations must be either not set or have at least one item." +) +# fmt: on +class Annotated_relationship_element(Relationship_element): + """ + An annotated relationship element is a relationship element that can be annotated + with additional data elements. + """ + + annotations: Optional[List[Data_element]] + """ + A data element that represents an annotation that holds for the relationship + between the two elements + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + first: Optional["Reference"] = None, + second: Optional["Reference"] = None, + annotations: Optional[List[Data_element]] = None, + ) -> None: + Relationship_element.__init__( + self, + first=first, + second=second, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.annotations = annotations + + +# fmt: off +@invariant( + lambda self: + not (self.specific_asset_IDs is not None) + or len(self.specific_asset_IDs) >= 1, + "Specific asset IDs must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.entity_type is not None) + or ( + not (self.entity_type == Entity_type.Self_managed_entity) + or ( + ( + self.global_asset_ID is not None + and self.specific_asset_IDs is None + ) or ( + self.global_asset_ID is None + and self.specific_asset_IDs is not None + and len(self.specific_asset_IDs) >= 1 + ) + ) + ), + "Constraint AASd-014: Either the attribute global asset ID or " + "specific asset ID must be set if Entity/entityType is set to :attr:`Entity_type.Self_managed_entity`." +) +@invariant( + lambda self: + not (self.statements is not None) + or all( + item.ID_short is not None + for item in self.statements + ), + "ID-shorts need to be defined for all the items of statements according to " + "AASd-117 (ID-short of Referables not being a direct child of " + "a Submodel element list shall be specified)." +) +@invariant( + lambda self: + not (self.statements is not None) + or len(self.statements) >= 1, + "Statements must be either not set or have at least one item." +) +# fmt: on +class Entity(Submodel_element): + """ + An entity is a submodel element that is used to model entities. + + :constraint AASd-014: + + Either the attribute :attr:`global_asset_ID` or :attr:`specific_asset_IDs` + of an :class:`Entity` must be set if Entity/entityType is set to :attr:`Entity_type.Self_managed_entity`. + """ + + statements: Optional[List["Submodel_element"]] + """ + Describes statements applicable to the entity by a set of submodel elements, + typically with a qualified value. + """ + + entity_type: Optional["Entity_type"] + """ + Describes whether the entity is a co-managed entity or a self-managed entity. + """ + + global_asset_ID: Optional["Identifier"] + """ + Global identifier of the asset the entity is representing. + + .. note:: + + This is a global reference. + """ + + specific_asset_IDs: Optional[List["Specific_asset_ID"]] + """ + Reference to a specific asset ID representing a supplementary identifier + of the asset represented by the Asset Administration Shell. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + statements: Optional[List["Submodel_element"]] = None, + entity_type: Optional["Entity_type"] = None, + global_asset_ID: Optional["Identifier"] = None, + specific_asset_IDs: Optional[List["Specific_asset_ID"]] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.statements = statements + self.entity_type = entity_type + self.global_asset_ID = global_asset_ID + self.specific_asset_IDs = specific_asset_IDs + + +class Entity_type(Enum): + """ + Enumeration for denoting whether an entity is a self-managed entity or a co-managed + entity. + """ + + Co_managed_entity = "CoManagedEntity" + """ + For co-managed entities there is no separate AAS. Co-managed entities need to be + part of a self-managed entity. + """ + + Self_managed_entity = "SelfManagedEntity" + """ + Self-Managed Entities have their own AAS but can be part of the bill of material of + a composite self-managed entity. + + The asset of an I4.0 Component is a self-managed entity per definition. + """ + + +class Direction(Enum): + """ + Direction + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + Input = "input" + """ + Input direction. + """ + + Output = "output" + """ + Output direction + """ + + +class State_of_event(Enum): + """ + State of an event + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + On = "on" + """ + Event is on + """ + + Off = "off" + """ + Event is off. + """ + + +# fmt: off +@invariant( + lambda self: + is_model_reference_to_referable(self.observable_reference), + "Observable reference must be a model reference to a referable." +) +@invariant( + lambda self: + ( + is_model_reference_to(self.source, Key_types.Event_element) + or is_model_reference_to(self.source, Key_types.Basic_event_element) + ), + "Source must be a model reference to an Event element." +) +# fmt: on +class Event_payload(DBC): + """ + Defines the necessary information of an event instance sent out or received. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + source: "Reference" + """ + Reference to the source event element, including identification of + :class:`Asset_administration_shell`, :class:`Submodel`, + :class:`Submodel_element`'s. + """ + + source_semantic_ID: Optional["Reference"] + """ + :attr:`Has_semantics.semantic_ID` of the source event element, if available + + .. note:: + + It is recommended to use a global reference. + """ + + observable_reference: "Reference" + """ + Reference to the referable, which defines the scope of the event. + + Can be :class:`Asset_administration_shell`, :class:`Submodel` or + :class:`Submodel_element`. + """ + + observable_semantic_ID: Optional["Reference"] + """ + :attr:`Has_semantics.semantic_ID` of the referable which defines the scope of + the event, if available. + + .. note:: + + It is recommended to use a global reference. + """ + + topic: Optional["Message_topic_type"] + """ + Information for the outer message infrastructure for scheduling the event to + the respective communication channel. + """ + + subject_ID: Optional["Reference"] + """ + Subject, who/which initiated the creation. + + .. note:: + + This is an external reference. + """ + + time_stamp: "Date_time_UTC" + """ + Timestamp in UTC, when this event was triggered. + """ + + payload: Optional["Blob_type"] + """ + Event specific payload. + """ + + def __init__( + self, + source: "Reference", + observable_reference: "Reference", + time_stamp: "Date_time_UTC", + source_semantic_ID: Optional["Reference"] = None, + observable_semantic_ID: Optional["Reference"] = None, + topic: Optional["Message_topic_type"] = None, + subject_ID: Optional["Reference"] = None, + payload: Optional["Blob_type"] = None, + ) -> None: + self.source = source + self.observable_reference = observable_reference + self.time_stamp = time_stamp + self.source_semantic_ID = source_semantic_ID + self.observable_semantic_ID = observable_semantic_ID + self.topic = topic + self.subject_ID = subject_ID + self.payload = payload + + +@abstract +class Event_element(Submodel_element): + """ + An event element. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +# fmt: off +@invariant( + lambda self: + not (self.message_broker is not None) + or is_model_reference_to_referable(self.message_broker), + "Message broker must be a model reference to a referable." +) +@invariant( + lambda self: + is_model_reference_to_referable(self.observed), + "Observed must be a model reference to a referable." +) +@invariant( + lambda self: + not (self.direction == Direction.Input) + or self.max_interval is None, + "Max. interval is not applicable for input direction." +) +# fmt: on +class Basic_event_element(Event_element): + """ + A basic event element. + + .. note:: + + This element is experimental and therefore may be subject to change or may be + removed completely in future versions of the meta-model. + """ + + observed: "Reference" + """ + Reference to the :class:`Referable`, which defines the scope of the event. + Can be :class:`Asset_administration_shell`, :class:`Submodel`, or + :class:`Submodel_element`. + + Reference to a referable, e.g., a data element or + a submodel, that is being observed. + """ + + direction: "Direction" + """ + Direction of event. + + Can be ``{ Input, Output }``. + """ + + state: "State_of_event" + """ + State of event. + + Can be ``{ On, Off }``. + """ + + message_topic: Optional["Message_topic_type"] + """ + Information for the outer message infrastructure for scheduling the event to the + respective communication channel. + """ + + message_broker: Optional["Reference"] + """ + Information, which outer message infrastructure shall handle messages for + the :class:`Event_element`. Refers to a :class:`Submodel`, + :class:`Submodel_element_list`, :class:`Submodel_element_collection` or + :class:`Entity`, which contains :class:`Data_element`'s describing + the proprietary specification for the message broker. + + .. note:: + + For different message infrastructure, e.g., OPC UA or MQTT or AMQP, this + proprietary specification could be standardized by having respective Submodels. + """ + + last_update: Optional["Date_time_UTC"] + """ + Timestamp in UTC, when the last event was received (input direction) or sent + (output direction). + """ + + min_interval: Optional["Duration"] + """ + For input direction, reports on the maximum frequency, the software entity behind + the respective Referable can handle input events. + + For output events, specifies the maximum frequency of outputting this event to + an outer infrastructure. + + Might be not specified, that is, there is no minimum interval. + """ + + max_interval: Optional["Duration"] + """ + For input direction: not applicable. + + For output direction: maximum interval in time, the respective Referable shall send + an update of the status of the event, even if no other trigger condition for + the event was not met. + + Might be not specified, that is, there is no maximum interval + """ + + def __init__( + self, + observed: "Reference", + direction: "Direction", + state: "State_of_event", + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List[Qualifier]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + message_topic: Optional["Message_topic_type"] = None, + message_broker: Optional["Reference"] = None, + last_update: Optional["Date_time_UTC"] = None, + min_interval: Optional["Duration"] = None, + max_interval: Optional["Duration"] = None, + ) -> None: + Event_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.observed = observed + self.direction = direction + self.state = state + self.message_topic = message_topic + self.message_broker = message_broker + self.last_update = last_update + self.min_interval = min_interval + self.max_interval = max_interval + + +# fmt: off +@invariant( + lambda self: + not (self.inoutput_variables is not None) + or len(self.inoutput_variables) >= 1, + "Inoutput variables must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.output_variables is not None) + or len(self.output_variables) >= 1, + "Output variables must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.input_variables is not None) + or len(self.input_variables) >= 1, + "Input variables must be either not set or have at least one item." +) +@invariant( + lambda self: + ID_shorts_of_variables_are_unique( + self.input_variables, + self.output_variables, + self.inoutput_variables + ), + "Constraint AASd-134: For an Operation the ID-short of all values of " + "input, output and in/output variables shall be unique." +) +# fmt: on +class Operation(Submodel_element): + """ + An operation is a submodel element with input and output variables. + + :constraint AASd-134: + For an :class:`Operation` the :attr:`Referable.ID_short` of all + :attr:`Operation_variable.value`'s in + :attr:`input_variables`, :attr:`output_variables` + and :attr:`inoutput_variables` shall be unique. + """ + + input_variables: Optional[List["Operation_variable"]] + """ + Input parameter of the operation. + """ + + output_variables: Optional[List["Operation_variable"]] + """ + Output parameter of the operation. + """ + + inoutput_variables: Optional[List["Operation_variable"]] + """ + Parameter that is input and output of the operation. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + input_variables: Optional[List["Operation_variable"]] = None, + output_variables: Optional[List["Operation_variable"]] = None, + inoutput_variables: Optional[List["Operation_variable"]] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + self.input_variables = input_variables + self.output_variables = output_variables + self.inoutput_variables = inoutput_variables + + +# fmt: off +@invariant( + lambda self: + self.value.ID_short is not None, + "Value must have the ID-short specified according to Constraint AASd-117 " + "(ID-short of Referables not being a direct child of a Submodel element list " + "shall be specified)." +) +# fmt: on +class Operation_variable(DBC): + """ + The value of an operation variable is a submodel element that is used as input + and/or output variable of an operation. + """ + + value: "Submodel_element" + """ + Describes an argument or result of an operation via a submodel element + """ + + def __init__(self, value: "Submodel_element") -> None: + self.value = value + + +class Capability(Submodel_element): + """ + A capability is the implementation-independent description of the potential of an + asset to achieve a certain effect in the physical or virtual world. + + .. note:: + + The :attr:`semantic_ID` of a capability is typically an ontology. + Thus, reasoning on capabilities is enabled. + """ + + def __init__( + self, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + semantic_ID: Optional["Reference"] = None, + supplemental_semantic_IDs: Optional[List["Reference"]] = None, + qualifiers: Optional[List["Qualifier"]] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + ) -> None: + Submodel_element.__init__( + self, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + semantic_ID=semantic_ID, + supplemental_semantic_IDs=supplemental_semantic_IDs, + qualifiers=qualifiers, + embedded_data_specifications=embedded_data_specifications, + ) + + +# NOTE (mristin): +# We make the following verification functions implementation-specific since the casts +# are very clumsy to formalize and transpile in a readable way across languages. +# For example, since Python does not have a null-coalescing operator, formalizing +# the constraints such as :constraintref:`AASc-3a-004` would involve walrus operator and +# would result in an unreadable invariant. +# +# Therefore, we decided to encapsulate the logic in these few functions and estimate +# the maintenance effort to dwarf the effort needed to get this right in +# aas-core-codegen. + + +@verification +@implementation_specific +def data_specification_IEC_61360s_for_property_or_value_have_appropriate_data_type( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.data_type` is defined + appropriately for all data specifications whose content is given as IEC 61360. + """ + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or ( + data_specification.data_specification_content.data_type is not None + and ( + data_specification.data_specification_content.data_type + in Data_type_IEC_61360_for_property_or_value + ) + ) + for data_specification in embedded_data_specifications + ) + + +@verification +@implementation_specific +def data_specification_IEC_61360s_for_reference_have_appropriate_data_type( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.data_type` is defined + appropriately for all data specifications whose content is given as IEC 61360. + """ + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or ( + data_specification.data_specification_content.data_type is not None + and ( + data_specification.data_specification_content.data_type + in Data_type_IEC_61360_for_reference + ) + ) + for data_specification in embedded_data_specifications + ) + + +@verification +@implementation_specific +def data_specification_IEC_61360s_for_document_have_appropriate_data_type( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.data_type` is defined + appropriately for all data specifications whose content is given as IEC 61360. + """ + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or ( + data_specification.data_specification_content.data_type is not None + and ( + data_specification.data_specification_content.data_type + in Data_type_IEC_61360_for_document + ) + ) + for data_specification in embedded_data_specifications + ) + + +@verification +@implementation_specific +def data_specification_IEC_61360s_have_data_type( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.data_type` is defined for all + data specifications whose content is given as IEC 61360. + """ + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or (data_specification.data_specification_content.data_type is not None) + for data_specification in embedded_data_specifications + ) + + +@verification +@implementation_specific +def data_specification_IEC_61360s_have_value( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.value` is defined + for all data specifications whose content is given as IEC 61360. + """ + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + return all( + not ( + isinstance( + data_specification.data_specification_content, + Data_specification_IEC_61360, + ) + ) + or (data_specification.data_specification_content.value is not None) + for data_specification in embedded_data_specifications + ) + + +@verification +@implementation_specific +def data_specification_IEC_61360s_have_definition_at_least_in_english( + embedded_data_specifications: Sequence["Embedded_data_specification"], +) -> bool: + """ + Check that the :attr:`Data_specification_IEC_61360.definition` is defined + for all data specifications whose content is given as IEC 61360 at least in English. + """ + # NOTE (mristin): + # This implementation will not be transpiled, but is given here as reference. + + for data_specification in embedded_data_specifications: + if not isinstance( + data_specification.data_specification_content, Data_specification_IEC_61360 + ): + continue + + if data_specification.data_specification_content.definition is None: + return False + + if not any( + is_BCP_47_for_english(lang_string.language) + for lang_string in ( + data_specification.data_specification_content.definition + ) + ): + return False + + return True + + +# fmt: off +@invariant( + lambda self: + not ( + self.category is not None + and (self.category == "PROPERTY" or self.category == "VALUE") + and self.embedded_data_specifications is not None + ) or ( + data_specification_IEC_61360s_for_property_or_value_have_appropriate_data_type( + self.embedded_data_specifications) + ), + "Constraint AASc-3a-004: For a concept description with category PROPERTY or VALUE " + "using data specification IEC 61360, the data type of the data specification is " + "mandatory and shall be one of: DATE, STRING, STRING_TRANSLATABLE, " + "INTEGER_MEASURE, INTEGER_COUNT, INTEGER_CURRENCY, REAL_MEASURE, REAL_COUNT, " + "REAL_CURRENCY, BOOLEAN, RATIONAL, RATIONAL_MEASURE, TIME, TIMESTAMP." +) +@invariant( + lambda self: + not ( + self.category is not None + and (self.category == "REFERENCE") + and self.embedded_data_specifications is not None + ) or ( + data_specification_IEC_61360s_for_reference_have_appropriate_data_type( + self.embedded_data_specifications) + ), + "Constraint AASc-3a-005: For a concept description with category REFERENCE " + "using data specification IEC 61360, the data type of the data specification " + "shall be one of: STRING, IRI, IRDI." +) +@invariant( + lambda self: + not ( + self.category is not None + and (self.category == "DOCUMENT") + and self.embedded_data_specifications is not None + ) or ( + data_specification_IEC_61360s_for_document_have_appropriate_data_type( + self.embedded_data_specifications + ) + ), + "Constraint AASc-3a-006: For a concept description with category DOCUMENT " + "using data specification IEC 61360, the data type of the data specification " + "shall be one of: FILE, BLOB, HTML." +) +@invariant( + lambda self: + not ( + self.category is not None + and (self.category == "QUALIFIER_TYPE") + and self.embedded_data_specifications is not None + ) or ( + data_specification_IEC_61360s_have_data_type(self.embedded_data_specifications) + ), + "Constraint AASc-3a-007: For a concept description with category QUALIFIER_TYPE " + "using data specification IEC 61360, the data type of the data specification is " + "mandatory and shall be defined." +) +@invariant( + lambda self: + not ( + self.embedded_data_specifications is not None + ) or ( + ( + data_specification_IEC_61360s_have_definition_at_least_in_english( + self.embedded_data_specifications + ) + ) or ( + data_specification_IEC_61360s_have_value(self.embedded_data_specifications) + ) + ), + "Constraint AASc-3a-008: For a concept description " + "using data specification template IEC 61360, the definition " + "is mandatory and shall be defined at least in English. " + "Exception: The concept description describes a value." +) +@invariant( + lambda self: + not (self.is_case_of is not None) + or len(self.is_case_of) >= 1, + "Is-case-of must be either not set or have at least one item." +) +# fmt: on +class Concept_description(Identifiable, Has_data_specification): + """ + The semantics of a property or other elements that may have a semantic description + is defined by a concept description. + + The description of the concept should follow a standardized schema (realized as + data specification template). + + :constraint AASc-3a-004: + + For a :class:`Concept_description` with :attr:`category` ``PROPERTY`` or + ``VALUE`` using data specification IEC61360, + the :attr:`Data_specification_IEC_61360.data_type` is mandatory and shall be + one of: ``DATE``, ``STRING``, ``STRING_TRANSLATABLE``, ``INTEGER_MEASURE``, + ``INTEGER_COUNT``, ``INTEGER_CURRENCY``, ``REAL_MEASURE``, ``REAL_COUNT``, + ``REAL_CURRENCY``, ``BOOLEAN``, ``RATIONAL``, ``RATIONAL_MEASURE``, + ``TIME``, ``TIMESTAMP``. + + .. note:: + + Note: categories are deprecated since V3.0 of Part 1a of the document series + "Details of the Asset Administration Shell". + + :constraint AASc-3a-005: + For a :class:`Concept_description` with :attr:`category` ``REFERENCE`` + using data specification template IEC61360, + the :attr:`Data_specification_IEC_61360.data_type` shall be + one of: ``STRING``, ``IRI``, ``IRDI``. + + .. note:: + + Note: categories are deprecated since V3.0 of Part 1a of the document series + "Details of the Asset Administration Shell". + + :constraint AASc-3a-006: + For a :class:`Concept_description` with :attr:`category` ``DOCUMENT`` + using data specification IEC61360, + the :attr:`Data_specification_IEC_61360.data_type` shall be one of ``FILE``, + ``BLOB``, ``HTML`` + + .. note:: + + Categories are deprecated since V3.0 of Part 1a of the document series + "Details of the Asset Administration Shell". + + :constraint AASc-3a-007: + For a :class:`Concept_description` with :attr:`category` ``QUALIFIER_TYPE`` + using data specification IEC61360, + the :attr:`Data_specification_IEC_61360.data_type` is mandatory and shall be + defined. + + .. note:: + + Categories are deprecated since V3.0 of Part 1a of the document series + "Details of the Asset Administration Shell". + + :constraint AASc-3a-008: + For a :class:`Concept_description` using data specification template IEC61360, + :attr:`Data_specification_IEC_61360.definition` is mandatory and shall be + defined at least in English. + + Exception: The concept description describes a value, i.e. + :attr:`Data_specification_IEC_61360.value` is defined. + + :constraint AASc-3a-003: + For a :class:`Concept_description` using data specification template IEC61360, + referenced via :attr:`Data_specification_IEC_61360.value_list` + :attr:`Value_reference_pair.value_ID` + the :attr:`Data_specification_IEC_61360.value` shall be set. + """ + + is_case_of: Optional[List["Reference"]] + """ + Reference to an external definition the concept is compatible to or was derived + from. + + .. note:: + + It is recommended to use a global reference. + + .. note:: + + Compare to is-case-of relationship in ISO 13584-32 & IEC EN 61360 + """ + + def __init__( + self, + ID: Identifier, + extensions: Optional[List["Extension"]] = None, + category: Optional[Name_type] = None, + ID_short: Optional[ID_short_type] = None, + display_name: Optional[List["Lang_string_name_type"]] = None, + description: Optional[List["Lang_string_text_type"]] = None, + administration: Optional["Administrative_information"] = None, + embedded_data_specifications: Optional[ + List["Embedded_data_specification"] + ] = None, + is_case_of: Optional[List["Reference"]] = None, + ) -> None: + Identifiable.__init__( + self, + ID=ID, + extensions=extensions, + category=category, + ID_short=ID_short, + display_name=display_name, + description=description, + administration=administration, + ) + + Has_data_specification.__init__( + self, embedded_data_specifications=embedded_data_specifications + ) + + self.is_case_of = is_case_of + + +class Reference_types(Enum): + """ + Reference types + """ + + External_reference = "ExternalReference" + """ + External reference. + """ + + Model_reference = "ModelReference" + """ + Model reference. + """ + + +# fmt: off +@invariant( + lambda self: + not ( + self.type == Reference_types.Model_reference + and len(self.keys) > 2 + ) or ( + all( + not (self.keys[i].type == Key_types.Submodel_element_list) + or matches_xs_non_negative_integer(self.keys[i + 1].value) + for i in range(0, len(self.keys) - 1) + ) + ), + "Constraint AASd-128: For model references, the value of a key preceded by a key " + "with type Submodel element list is an integer number denoting the position in " + "the array of the submodel element list." +) +# NOTE (mristin): +# We can write AASd-127 in this simpler form assuming that AASd-126 ensures that +# only the last key can be a fragment reference. +@invariant( + lambda self: + not ( + self.type == Reference_types.Model_reference + and len(self.keys) > 1 + and self.keys[-1].type == Key_types.Fragment_reference + ) or ( + self.keys[-2].type == Key_types.File + or self.keys[-2].type == Key_types.Blob + ), + "Constraint AASd-127: For model references, with more than one key " + "in keys a key with type Fragment Reference shall be preceded " + "by a key with type File or Blob." +) +@invariant( + lambda self: + not ( + self.type == Reference_types.Model_reference + and len(self.keys) > 1 + ) + or ( + all( + not (self.keys[i].type in Generic_fragment_keys) + for i in range(0, len(self.keys) - 1) + ) + ), + "Constraint AASd-126: For model references with more than one key " + "in keys the value of type of the last key " + "in the reference key chain may be one of Generic Fragment Keys or " + "no key at all shall have a value out of Generic Fragment Keys." +) +@invariant( + lambda self: + not (self.type == Reference_types.Model_reference and len(self.keys) > 1) + or ( + all( + self.keys[i].type in Fragment_keys + for i in range(1, len(self.keys)) + ) + ), + "Constraint AASd-125: For model references with more than one key in keys " + "the value of type of each of the keys following the first key " + "of keys shall be one of Fragment Keys." +) +@invariant( + lambda self: + not ( + self.type == Reference_types.External_reference + and len(self.keys) >= 1 + ) + or ( + self.keys[-1].type in Generic_globally_identifiables + or self.keys[-1].type in Generic_fragment_keys + ), + "Constraint AASd-124: For external references the last key of keys " + "shall be either one of Generic Globally Identifiables or " + "one of Generic Fragment Keys." +) +@invariant( + lambda self: + not ( + self.type == Reference_types.Model_reference + and len(self.keys) >= 1 + ) + or self.keys[0].type in AAS_identifiables, + "Constraint AASd-123: For model references the value of type of the first key " + "of keys shall be one of AAS identifiables." +) +@invariant( + lambda self: + not ( + self.type == Reference_types.External_reference + and len(self.keys) >= 1 + ) + or self.keys[0].type in Generic_globally_identifiables, + "Constraint AASd-122: For external references the value of type " + "of the first key of keys shall be one of Generic Globally Identifiables." +) +@invariant( + lambda self: + not (len(self.keys) >= 1) + or self.keys[0].type in Globally_identifiables, + "Constraint AASd-121: For References the value of type of the first key of " + "keys shall be one of Globally Identifiables." +) +@invariant( + lambda self: len(self.keys) >= 1, + "Keys must contain at least one item." +) +# fmt: on +class Reference(DBC): + """ + Reference to either a model element of the same or another AAS or to an external + entity. + + A reference is an ordered list of keys. + + A model reference is an ordered list of keys, each key referencing an element. The + complete list of keys may for example be concatenated to a path that then gives + unique access to an element. + + An external reference is a reference to an external entity. + + :constraint AASd-121: + + For :class:`Reference`'s the value of :attr:`Key.type` of the first key of " + :attr:`keys` shall be one of :const:`Globally_identifiables`. + + :constraint AASd-122: + + For external references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.External_reference`, the value + of :attr:`Key.type` of the first key of :attr:`Reference.keys` shall be one of + :const:`Generic_globally_identifiables`. + + :constraint AASd-123: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, the value + of :attr:`Key.type` of the first key of :attr:`Reference.keys` shall be one of + :const:`AAS_identifiables`. + + :constraint AASd-124: + + For external references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.External_reference`, the last + key of :attr:`Reference.keys` shall be either one of + :const:`Generic_globally_identifiables` or one of + :const:`Generic_fragment_keys`. + + :constraint AASd-125: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, with more + than one key in :attr:`Reference.keys` the value of :attr:`Key.type` + of each of the keys following the first + key of :attr:`Reference.keys` shall be one of :const:`Fragment_keys`. + + .. note:: + + :constraintref:`AASd-125` ensures that the shortest path is used. + + :constraint AASd-126: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, with more + than one key in :attr:`Reference.keys` the value of :attr:`Key.type` + of the last key in the reference key chain may be + one of :const:`Generic_fragment_keys` or no key at all + shall have a value out of :const:`Generic_fragment_keys`. + + :constraint AASd-127: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, with more + than one key in :attr:`Reference.keys` a key with :attr:`Key.type` + :attr:`Key_types.Fragment_reference` shall be preceded by a key with + :attr:`Key.type` :attr:`Key_types.File` or :attr:`Key_types.Blob`. All other + AAS fragments, i.e. :attr:`Key.type` values + out of :const:`AAS_submodel_elements_as_keys`, do not support fragments. + + .. note:: + + Which kind of fragments are supported depends on the content type and the + specification of allowed fragment identifiers for the corresponding resource + being referenced via the reference. + + :constraint AASd-128: + + For model references, i.e. :class:`Reference`'s with + :attr:`Reference.type` = :attr:`Reference_types.Model_reference`, the + :attr:`Key.value` of a :class:`Key` preceded by a :class:`Key` with + :attr:`Key.type` = :attr:`Key_types.Submodel_element_list` is an integer + number denoting the position in the array of the submodel element list. + """ + + type: "Reference_types" + """ + Type of the reference. + + Denotes, whether reference is an external reference or a model reference. + """ + + referred_semantic_ID: Optional["Reference"] + """ + :attr:`Has_semantics.semantic_ID` of the referenced model element + (:attr:`Reference.type` = :attr:`Reference_types.Model_reference`). + + For external references there typically is no semantic ID. + + .. note:: + + It is recommended to use a external reference. + """ + + keys: List["Key"] + """ + Unique references in their name space. + """ + + def __init__( + self, + type: Reference_types, + keys: List["Key"], + referred_semantic_ID: Optional["Reference"] = None, + ) -> None: + self.type = type + self.keys = keys + self.referred_semantic_ID = referred_semantic_ID + + +class Key(DBC): + """A key is a reference to an element by its ID.""" + + type: "Key_types" + """ + Denotes which kind of entity is referenced. + + In case :attr:`type` = :attr:`Key_types.Global_reference`, + the key represents a reference to a source that can be globally identified. + + In case :attr:`type` = :attr:`Key_types.Fragment_reference` the key represents + a bookmark or a similar local identifier within its parent element as specified + by the key that precedes this key. + + In all other cases the key references a model element of the same or of another AAS. + The name of the model element is explicitly listed. + """ + + value: "Identifier" + """The key value, for example an IRDI or an URI""" + + def __init__(self, type: "Key_types", value: "Identifier") -> None: + self.type = type + self.value = value + + +class Key_types(Enum): + """Enumeration of different key value types within a key.""" + + Annotated_relationship_element = "AnnotatedRelationshipElement" + Asset_administration_shell = "AssetAdministrationShell" + Basic_event_element = "BasicEventElement" + Blob = "Blob" + Capability = "Capability" + Concept_description = "ConceptDescription" + + Data_element = "DataElement" + """ + Data element. + + .. note:: + + Data Element is abstract, *i.e.* if a key uses :attr:`Data_element` + the reference may be a Property, a File etc. + """ + + Entity = "Entity" + Event_element = "EventElement" + """ + Event. + + .. note:: + + :class:`Event_element` is abstract. + """ + + File = "File" + + Fragment_reference = "FragmentReference" + """ + Bookmark or a similar local identifier of a subordinate part of + a primary resource + """ + + Global_reference = "GlobalReference" + + Identifiable = "Identifiable" + """ + Identifiable. + + .. note:: + + Identifiable is abstract, i.e. if a key uses “Identifiable” the reference + may be an Asset Administration Shell, a Submodel or a Concept Description. + """ + + Multi_language_property = "MultiLanguageProperty" + """Property with a value that can be provided in multiple languages""" + + Operation = "Operation" + Property = "Property" + Range = "Range" + """Range with min and max""" + Referable = "Referable" + + Reference_element = "ReferenceElement" + """ + Reference + """ + + Relationship_element = "RelationshipElement" + """ + Relationship + """ + Submodel = "Submodel" + Submodel_element = "SubmodelElement" + """ + Submodel Element + + .. note:: + + Submodel Element is abstract, *i.e.* if a key uses :attr:`Submodel_element` + the reference may be a :class:`Property`, an :class:`Operation` etc. + """ + Submodel_element_collection = "SubmodelElementCollection" + """ + Struct of Submodel Elements + """ + + Submodel_element_list = "SubmodelElementList" + """ + List of Submodel Elements + """ + + +Generic_fragment_keys: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Fragment_reference, + ], + description="""\ +Enumeration of all identifiable elements within an asset administration shell.""", +) + +assert Key_types.Fragment_reference in Generic_fragment_keys, ( + "We assume that fragment reference is in the generic fragment keys so that " + "AASd-126 ensures that a key of type Fragment reference can only be the last key " + "in the reference. This is necessary for our simpler formulation of AASd-127." +) + +Generic_globally_identifiables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Global_reference, + ], + description="Enumeration of different key value types within a key.", +) + +AAS_identifiables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Asset_administration_shell, + Key_types.Concept_description, + Key_types.Identifiable, + Key_types.Submodel, + ], + description="Enumeration of different key value types within a key.", +) + +AAS_submodel_elements_as_keys: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Annotated_relationship_element, + Key_types.Basic_event_element, + Key_types.Blob, + Key_types.Capability, + Key_types.Data_element, + Key_types.Entity, + Key_types.Event_element, + Key_types.File, + Key_types.Multi_language_property, + Key_types.Operation, + Key_types.Property, + Key_types.Range, + Key_types.Reference_element, + Key_types.Relationship_element, + Key_types.Submodel_element, + Key_types.Submodel_element_collection, + Key_types.Submodel_element_list, + ], + description="""\ +Enumeration of all submodel elements within an asset administration shell.""", +) + +AAS_referable_non_identifiables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Annotated_relationship_element, + Key_types.Basic_event_element, + Key_types.Blob, + Key_types.Capability, + Key_types.Data_element, + Key_types.Entity, + Key_types.Event_element, + Key_types.File, + Key_types.Multi_language_property, + Key_types.Operation, + Key_types.Property, + Key_types.Range, + Key_types.Reference_element, + Key_types.Relationship_element, + Key_types.Submodel_element, + Key_types.Submodel_element_collection, + Key_types.Submodel_element_list, + ], + description="Enumeration of different fragment key value types within a key.", + superset_of=[AAS_submodel_elements_as_keys], +) + +AAS_referables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Asset_administration_shell, + Key_types.Concept_description, + Key_types.Identifiable, + Key_types.Submodel, + Key_types.Annotated_relationship_element, + Key_types.Basic_event_element, + Key_types.Blob, + Key_types.Capability, + Key_types.Data_element, + Key_types.Entity, + Key_types.Event_element, + Key_types.File, + Key_types.Multi_language_property, + Key_types.Operation, + Key_types.Property, + Key_types.Range, + Key_types.Reference_element, + Key_types.Referable, + Key_types.Relationship_element, + Key_types.Submodel_element, + Key_types.Submodel_element_collection, + Key_types.Submodel_element_list, + ], + description="Enumeration of referables. " + "We need this to check that model references refer to a Referable. " + "For example, the observed attribute of the " + "Basic Event Element object must be a model reference to a Referable.", + superset_of=[AAS_referable_non_identifiables, AAS_identifiables], +) + +Globally_identifiables: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Global_reference, + Key_types.Asset_administration_shell, + Key_types.Concept_description, + Key_types.Identifiable, + Key_types.Submodel, + ], + description="""\ +Enumeration of all referable elements within an asset administration shell""", + superset_of=[AAS_identifiables, Generic_globally_identifiables], +) + +Fragment_keys: Final[AbstractSet[Key_types]] = constant_set( + values=[ + Key_types.Annotated_relationship_element, + Key_types.Basic_event_element, + Key_types.Blob, + Key_types.Capability, + Key_types.Data_element, + Key_types.Entity, + Key_types.Event_element, + Key_types.File, + Key_types.Fragment_reference, + Key_types.Multi_language_property, + Key_types.Operation, + Key_types.Property, + Key_types.Range, + Key_types.Reference_element, + Key_types.Relationship_element, + Key_types.Submodel_element, + Key_types.Submodel_element_collection, + Key_types.Submodel_element_list, + ], + description="Enumeration of different key value types within a key.", + superset_of=[AAS_referable_non_identifiables, Generic_fragment_keys], +) + + +class Data_type_def_XSD(Enum): + """ + Enumeration listing all XSD anySimpleTypes + """ + + Any_URI = "xs:anyURI" + Base_64_binary = "xs:base64Binary" + Boolean = "xs:boolean" + Byte = "xs:byte" + Date = "xs:date" + Date_time = "xs:dateTime" + Decimal = "xs:decimal" + Double = "xs:double" + Duration = "xs:duration" + Float = "xs:float" + G_day = "xs:gDay" + G_month = "xs:gMonth" + G_month_day = "xs:gMonthDay" + G_year = "xs:gYear" + G_year_month = "xs:gYearMonth" + Hex_binary = "xs:hexBinary" + Int = "xs:int" + Integer = "xs:integer" + Long = "xs:long" + Negative_integer = "xs:negativeInteger" + Non_negative_integer = "xs:nonNegativeInteger" + Non_positive_integer = "xs:nonPositiveInteger" + Positive_integer = "xs:positiveInteger" + Short = "xs:short" + String = "xs:string" + Time = "xs:time" + Unsigned_byte = "xs:unsignedByte" + Unsigned_int = "xs:unsignedInt" + Unsigned_long = "xs:unsignedLong" + Unsigned_short = "xs:unsignedShort" + + +@abstract +class Abstract_lang_string(DBC): + """Strings with language tags""" + + language: BCP_47_language_tag + """Language tag conforming to BCP 47""" + + text: Non_empty_XML_serializable_string + """Text in the :attr:`language`""" + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + self.language = language + self.text = text + + +@invariant( + lambda self: len(self.text) <= 128, + "String shall have a maximum length of 128 characters.", +) +class Lang_string_name_type(Abstract_lang_string, DBC): + """String with length 128 maximum and minimum 1 characters and with language tags""" + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self.text) <= 1023, + "String shall have a maximum length of 1023 characters.", +) +class Lang_string_text_type(Abstract_lang_string, DBC): + """ + String with length 1023 maximum and minimum 1 characters and with language tags + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +# fmt: off +@invariant( + lambda self: + not (self.asset_administration_shells is not None) + or len(self.asset_administration_shells) >= 1, + "Asset administration shells must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.submodels is not None) + or len(self.submodels) >= 1, + "Submodels must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.concept_descriptions is not None) + or len(self.concept_descriptions) >= 1, + "Concept descriptions must be either not set or have at least one item." +) +# fmt: on +class Environment: + """ + Container for the sets of different identifiables. + + .. note:: + + w.r.t. file exchange: There is exactly one environment independent on how many + files the contained elements are split. If the file is split then there + shall be no element with the same identifier in two different files. + """ + + asset_administration_shells: Optional[List[Asset_administration_shell]] + """ + Asset administration shell + """ + + submodels: Optional[List[Submodel]] + """ + Submodel + """ + + concept_descriptions: Optional[List[Concept_description]] + """ + Concept description + """ + + def __init__( + self, + asset_administration_shells: Optional[List[Asset_administration_shell]] = None, + submodels: Optional[List[Submodel]] = None, + concept_descriptions: Optional[List[Concept_description]] = None, + ) -> None: + self.asset_administration_shells = asset_administration_shells + self.submodels = submodels + self.concept_descriptions = concept_descriptions + + +# region Data specifications + + +@abstract +@serialization(with_model_type=True) +class Data_specification_content: + """ + Data specification content is part of a data specification template and defines + which additional attributes shall be added to the element instance that references + the data specification template and meta information about the template itself. + + :constraint AASc-3a-050: + If the :class:`Data_specification_IEC_61360` is used + for an element, the value of + :attr:`Has_data_specification.embedded_data_specifications` + shall contain the global reference to the IRI of the corresponding + data specification template + https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + + """ + + +class Embedded_data_specification: + """Embed the content of a data specification.""" + + data_specification: Reference + """Reference to the data specification""" + + data_specification_content: Data_specification_content + """Actual content of the data specification""" + + def __init__( + self, + data_specification: Reference, + data_specification_content: Data_specification_content, + ) -> None: + self.data_specification = data_specification + self.data_specification_content = data_specification_content + + +class Data_type_IEC_61360(Enum): + Date = "DATE" + """ + values containing a calendar date, conformant to ISO 8601:2004 Format yyyy-mm-dd + Example from IEC 61360-1:2017: "1999-05-31" is the [DATE] representation of: + "31 May 1999". + """ + + String = "STRING" + """ + values consisting of sequence of characters but cannot be translated into other + languages + """ + + String_translatable = "STRING_TRANSLATABLE" + """ + values containing string but shall be represented as different string in different + languages + """ + + Integer_measure = "INTEGER_MEASURE" + """ + values containing values that are measure of type INTEGER. In addition such a value + comes with a physical unit. + """ + + Integer_count = "INTEGER_COUNT" + """ + values containing values of type INTEGER but are no currencies or measures + """ + + Integer_currency = "INTEGER_CURRENCY" + """ + values containing values of type INTEGER that are currencies + """ + + Real_measure = "REAL_MEASURE" + """ + values containing values that are measures of type REAL. In addition such a value + comes with a physical unit. + """ + + Real_count = "REAL_COUNT" + """ + values containing numbers that can be written as a terminating or non-terminating + decimal; a rational or irrational number but are no currencies or measures + """ + + Real_currency = "REAL_CURRENCY" + """ + values containing values of type REAL that are currencies + """ + + Boolean = "BOOLEAN" + """ + values representing truth of logic or Boolean algebra (TRUE, FALSE) + """ + + IRI = "IRI" + """ + values containing values of type STRING conformant to Rfc 3987 + + .. note:: + + In IEC61360-1 (2017) only URI is supported. + An IRI type allows in particular to express an URL or an URI. + """ + + IRDI = "IRDI" + """ + values conforming to ISO/IEC 11179 series global identifier sequences + + IRDI can be used instead of the more specific data types ICID or ISO29002_IRDI. + + ICID values are value conformant to an IRDI, where the delimiter between RAI and ID + is “#” while the delimiter between DI and VI is confined to “##” + + ISO29002_IRDI values are values containing a global identifier that identifies an + administrated item in a registry. The structure of this identifier complies with + identifier syntax defined in ISO/TS 29002-5. The identifier shall fulfil the + requirements specified in ISO/TS 29002-5 for an "international registration data + identifier" (IRDI). + """ + + Rational = "RATIONAL" + """ + values containing values of type rational + """ + + Rational_measure = "RATIONAL_MEASURE" + """ + values containing values of type rational. In addition such a value comes with a + physical unit. + """ + + Time = "TIME" + """ + values containing a time, conformant to ISO 8601:2004 but restricted to what is + allowed in the corresponding type in xml. + + Format hh:mm (ECLASS) + + Example from IEC 61360-1:2017: "13:20:00-05:00" is the [TIME] representation of: + 1.20 p.m. for Eastern Standard Time, which is 5 hours behind Coordinated + Universal Time (UTC). + """ + + Timestamp = "TIMESTAMP" + """ + values containing a time, conformant to ISO 8601:2004 but restricted to what is + allowed in the corresponding type in xml. + + Format yyyy-mm-dd hh:mm (ECLASS) + """ + + File = "FILE" + """ + values containing an address to a file. The values are of type URI and can represent + an absolute or relative path. + + .. note:: + + IEC61360 does not support the file type. + """ + + HTML = "HTML" + """ + Values containing string with any sequence of characters, using the syntax of HTML5 + (see W3C Recommendation 28:2014) + """ + + Blob = "BLOB" + """ + values containing the content of a file. Values may be binaries. + + HTML conformant to HTML5 is a special blob. + + In IEC61360 binary is for a sequence of bits, each bit being represented by “0” and + “1” only. A binary is a blob but a blob may also contain other source code. + """ + + +Data_type_IEC_61360_for_property_or_value: Final[AbstractSet[Data_type_IEC_61360]] = ( + constant_set( + values=[ + Data_type_IEC_61360.Date, + Data_type_IEC_61360.String, + Data_type_IEC_61360.String_translatable, + Data_type_IEC_61360.Integer_measure, + Data_type_IEC_61360.Integer_count, + Data_type_IEC_61360.Integer_currency, + Data_type_IEC_61360.Real_measure, + Data_type_IEC_61360.Real_count, + Data_type_IEC_61360.Real_currency, + Data_type_IEC_61360.Boolean, + Data_type_IEC_61360.Rational, + Data_type_IEC_61360.Rational_measure, + Data_type_IEC_61360.Time, + Data_type_IEC_61360.Timestamp, + ], + description=( + "IEC 61360 data types for concept descriptions categorized " + "with PROPERTY or VALUE." + ), + ) +) + +Data_type_IEC_61360_for_reference: Final[AbstractSet[Data_type_IEC_61360]] = ( + constant_set( + values=[ + Data_type_IEC_61360.String, + Data_type_IEC_61360.IRI, + Data_type_IEC_61360.IRDI, + ], + description=( + "IEC 61360 data types for concept descriptions categorized " + "with REFERENCE." + ), + ) +) + +Data_type_IEC_61360_for_document: Final[AbstractSet[Data_type_IEC_61360]] = ( + constant_set( + values=[ + Data_type_IEC_61360.File, + Data_type_IEC_61360.Blob, + Data_type_IEC_61360.HTML, + ], + description=( + "IEC 61360 data types for concept descriptions categorized " + "with DOCUMENT." + ), + ) +) + + +class Level_type(DBC): + """ + Value represented by up to four variants of a numeric value in a specific role: + ``MIN``, ``NOM``, ``TYP`` and ``MAX``. True means that the value is available, + false means the value is not available. + + EXAMPLE from [IEC61360-1]: In the case of having a property which is + of the LEVEL_TYPE min/max − expressing a range − only those two values + need to be provided. + + .. note:: + + This is how AAS deals with the following combinations of level types: + + - Either all attributes are false. In this case the concept is mapped + to a :class:`Property` and level type is ignored. + - At most one of the attributes is set to true. In this case + the concept is mapped to a :class:`Property`. + - Min and max are set to true. In this case the concept is mapped + to a :class:`Range`. + - More than one attribute is set to true but not min and max only + (see second case). In this case the concept is mapped + to a :class:`Submodel_element_collection` with the corresponding + number of Properties. + Example: If attribute :attr:`min` and :attr:`nom` are set to true + then the concept is mapped to a :class:`Submodel_element_collection` + with two Properties within: min and nom. + The data type of both Properties is the same. + + .. note:: + + In the cases 2. and 4. the :attr:`Property.semantic_ID` of the Property + or Properties within the :class:`Submodel_element_collection` needs to include + information about the level type. Otherwise, the semantics is not described + in a unique way. Please refer to the specification. + + """ + + min: "bool" + """Minimum of the value""" + + nom: "bool" + """Nominal value (value as designated)""" + + typ: "bool" + """Value as typically present""" + + max: "bool" + """Maximum of the value""" + + def __init__( + self, + min: "bool", + nom: "bool", + typ: "bool", + max: "bool", + ) -> None: + self.min = min + self.nom = nom + self.typ = typ + self.max = max + + +class Value_reference_pair(DBC): + """ + A value reference pair within a value list. Each value has a global unique id + defining its semantic. + """ + + value: Value_type_IEC_61360 + """ + The value of the referenced concept definition of the value in :attr:`value_ID`. + """ + + value_ID: Optional["Reference"] + """ + Global unique id of the value. + + .. note:: + + It is recommended to use a global reference. + + """ + + def __init__( + self, + value: Value_type_IEC_61360, + value_ID: Optional["Reference"] = None, + ) -> None: + self.value = value + self.value_ID = value_ID + + +# fmt: off +@invariant( + lambda self: + len(self.value_reference_pairs) >= 1, + "Value reference pair types must contain at least one item." +) +# fmt: on +class Value_list(DBC): + """ + A set of value reference pairs. + """ + + value_reference_pairs: List["Value_reference_pair"] + """ + A pair of a value together with its global unique id. + """ + + def __init__(self, value_reference_pairs: List["Value_reference_pair"]) -> None: + self.value_reference_pairs = value_reference_pairs + + +IEC_61360_data_types_with_unit: Final[AbstractSet[Data_type_IEC_61360]] = constant_set( + values=[ + Data_type_IEC_61360.Integer_measure, + Data_type_IEC_61360.Real_measure, + Data_type_IEC_61360.Rational_measure, + Data_type_IEC_61360.Integer_currency, + Data_type_IEC_61360.Real_currency, + ], + description="""\ +These data types imply that the unit is defined in the data specification.""", +) + + +@invariant( + lambda self: len(self.text) <= 255, + "String shall have a maximum length of 255 characters.", +) +class Lang_string_preferred_name_type_IEC_61360(Abstract_lang_string, DBC): + """ + String with length 255 maximum and minimum 1 characters and with language tags + + .. note:: + + It is advised to keep the length of the name limited to 35 characters. + + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self.text) <= 18, + "String shall have a maximum length of 18 characters.", +) +class Lang_string_short_name_type_IEC_61360(Abstract_lang_string, DBC): + """ + String with length 18 maximum and minimum 1 characters and with language tags + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@invariant( + lambda self: len(self.text) <= 1023, + "String shall have a maximum length of 1023 characters.", +) +class Lang_string_definition_type_IEC_61360(Abstract_lang_string, DBC): + """ + String with length 1023 maximum and minimum 1 characters and with language tags + """ + + def __init__( + self, language: BCP_47_language_tag, text: Non_empty_XML_serializable_string + ) -> None: + Abstract_lang_string.__init__(self, language=language, text=text) + + +@verification +def is_BCP_47_for_english(text: str) -> bool: + """Check that the :paramref:`text` corresponds to a BCP47 code for english.""" + pattern = f"^(en|EN)(-.*)?$" + + return match(pattern, text) is not None + + +# fmt: off +@invariant( + lambda self: + any( + is_BCP_47_for_english(lang_string.language) + for lang_string in self.preferred_name + ), + "Constraint AASc-002: preferred name shall be provided at least in English." +) +@invariant( + lambda self: + lang_strings_have_unique_languages(self.preferred_name), + "Preferred name must specify unique languages." +) +@invariant( + lambda self: + len(self.preferred_name) >= 1, + "Preferred name must have at least one item." +) +@invariant( + lambda self: + not (self.short_name is not None) + or lang_strings_have_unique_languages(self.short_name), + "Short name must specify unique languages." +) +@invariant( + lambda self: + not (self.short_name is not None) + or len(self.short_name) >= 1, + "Short name must be either not set or have at least one item." +) +@invariant( + lambda self: + not (self.definition is not None) + or lang_strings_have_unique_languages(self.definition), + "Definition must specify unique languages." +) +@invariant( + lambda self: + not (self.definition is not None) + or len(self.definition) >= 1, + "Definition must be either not set or have at least one item." +) +@invariant( + lambda self: + not ( + self.data_type is not None + and self.data_type in IEC_61360_data_types_with_unit + ) or ( + self.unit is not None or self.unit_ID is not None + ), + "Constraint AASc-3a-009: If data type is a an integer, real or rational with " + "a measure or currency, unit or unit ID shall be defined." +) +@invariant( + lambda self: + not ( + self.value is not None + and self.value_list is not None + ), + "Constraint AASc-3a-010: If value is not empty then value list shall be empty and " + "vice versa." +) +@serialization(with_model_type=True) +# fmt: on +class Data_specification_IEC_61360(Data_specification_content): + """ + Content of data specification template for concept descriptions for properties, + values and value lists conformant to IEC 61360. + + .. note:: + + IEC61360 requires also a globally unique identifier for a concept + description. This ID is not part of the data specification template. + Instead the :attr:`Concept_description.ID` as inherited via + :class:`Identifiable` is used. Same holds for administrative + information like the version and revision. + + .. note:: + + :attr:`Concept_description.ID_short` and :attr:`short_name` are very + similar. However, in this case the decision was to add + :attr:`short_name` explicitly to the data specification. Same holds for + :attr:`Concept_description.display_name` and + :attr:`preferred_name`. Same holds for + :attr:`Concept_description.description` and :attr:`definition`. + + :constraint AASc-3a-010: + If :attr:`value` is not empty then :attr:`value_list` shall be empty + and vice versa. + + .. note:: + + It is also possible that both :attr:`value` and :attr:`value_list` are + empty. This is the case for concept descriptions that define the semantics + of a property but do not have an enumeration (:attr:`value_list`) as + data type. + + .. note:: + + Although it is possible to define a :class:`Concept_description` for a + :attr:´value_list`, + it is not possible to reuse this :attr:`value_list`. + It is only possible to directly add a :attr:`value_list` as data type + to a specific semantic definition of a property. + + :constraint AASc-3a-009: + If :attr:`data_type` one of: + :attr:`Data_type_IEC_61360.Integer_measure`, + :attr:`Data_type_IEC_61360.Real_measure`, + :attr:`Data_type_IEC_61360.Rational_measure`, + :attr:`Data_type_IEC_61360.Integer_currency`, + :attr:`Data_type_IEC_61360.Real_currency`, then :attr:`unit` or + :attr:`unit_ID` shall be defined. + """ + + preferred_name: List["Lang_string_preferred_name_type_IEC_61360"] + """ + Preferred name + + .. note:: + + It is advised to keep the length of the name limited to 35 characters. + + :constraint AASc-3a-002: + :attr:`preferred_name` shall be provided at least in English. + """ + + short_name: Optional[List["Lang_string_short_name_type_IEC_61360"]] + """ + Short name + """ + + unit: Optional[Non_empty_XML_serializable_string] + """ + Unit + """ + + unit_ID: Optional["Reference"] + """ + Unique unit id + + :attr:`unit` and :attr:`unit_ID` need to be consistent if both attributes + are set + + .. note:: + + It is recommended to use an external reference ID. + + """ + + source_of_definition: Optional[Non_empty_XML_serializable_string] + """ + Source of definition + """ + + symbol: Optional[Non_empty_XML_serializable_string] + """ + Symbol + """ + + data_type: Optional["Data_type_IEC_61360"] + """ + Data Type + """ + + definition: Optional[List["Lang_string_definition_type_IEC_61360"]] + """ + Definition in different languages + """ + + value_format: Optional[Non_empty_XML_serializable_string] + """ + Value Format + + .. note:: + + The value format is based on ISO 13584-42 and IEC 61360-2. + + """ + + value_list: Optional["Value_list"] + """ + List of allowed values + """ + + value: Optional[Value_type_IEC_61360] + """ + Value + """ + + level_type: Optional["Level_type"] + """ + Set of levels. + """ + + def __init__( + self, + preferred_name: List["Lang_string_preferred_name_type_IEC_61360"], + short_name: Optional[List["Lang_string_short_name_type_IEC_61360"]] = None, + unit: Optional[Non_empty_XML_serializable_string] = None, + unit_ID: Optional["Reference"] = None, + source_of_definition: Optional[Non_empty_XML_serializable_string] = None, + symbol: Optional[Non_empty_XML_serializable_string] = None, + data_type: Optional["Data_type_IEC_61360"] = None, + definition: Optional[List["Lang_string_definition_type_IEC_61360"]] = None, + value_format: Optional[Non_empty_XML_serializable_string] = None, + value_list: Optional["Value_list"] = None, + value: Optional[Value_type_IEC_61360] = None, + level_type: Optional["Level_type"] = None, + ) -> None: + self.preferred_name = preferred_name + self.short_name = short_name + self.unit = unit + self.unit_ID = unit_ID + self.source_of_definition = source_of_definition + self.symbol = symbol + self.data_type = data_type + self.definition = definition + self.value_format = value_format + self.value_list = value_list + self.value = value + self.level_type = level_type + +# Downloaded from: https://raw.githubusercontent.com/aas-core-works/aas-core-meta/feab6a1c7047e4b05f636c1fa16dfe5d3469b661/aas_core_meta/v3_1.py diff --git a/dev_scripts/codegen/snippets/Types/Data_element/category_or_default.java b/dev_scripts/codegen/snippets/Types/Data_element/category_or_default.java new file mode 100644 index 00000000..adca7c60 --- /dev/null +++ b/dev_scripts/codegen/snippets/Types/Data_element/category_or_default.java @@ -0,0 +1,6 @@ +/** + * @return the category or the default value if it has not been set. + */ +public String categoryOrDefault() { + return category != null ? category : "VARIABLE"; +} diff --git a/dev_scripts/codegen/snippets/Types/Extension/value_type_or_default.java b/dev_scripts/codegen/snippets/Types/Extension/value_type_or_default.java new file mode 100644 index 00000000..33845d0d --- /dev/null +++ b/dev_scripts/codegen/snippets/Types/Extension/value_type_or_default.java @@ -0,0 +1,6 @@ +/** + * @return the value type {@link DataTypeDefXsd} or the default value if it has not been set. + */ +public DataTypeDefXsd valueTypeOrDefault() { + return valueType != null ? valueType : DataTypeDefXsd.STRING; +} diff --git a/dev_scripts/codegen/snippets/Types/Has_kind/kind_or_default.java b/dev_scripts/codegen/snippets/Types/Has_kind/kind_or_default.java new file mode 100644 index 00000000..a54e59a2 --- /dev/null +++ b/dev_scripts/codegen/snippets/Types/Has_kind/kind_or_default.java @@ -0,0 +1,6 @@ +/** + * @return the {@link ModellingKind} or the default value if it has not been set. + */ +public ModellingKind kindOrDefault() { + return kind != null ? kind : ModellingKind.INSTANCE; +} diff --git a/dev_scripts/codegen/snippets/Types/Qualifier/kind_or_default.java b/dev_scripts/codegen/snippets/Types/Qualifier/kind_or_default.java new file mode 100644 index 00000000..2e86fcf9 --- /dev/null +++ b/dev_scripts/codegen/snippets/Types/Qualifier/kind_or_default.java @@ -0,0 +1,6 @@ +/** + * @return the {@link QualifierKind} or the default value if it has not been set. + */ +public QualifierKind kindOrDefault() { + return kind != null ? kind : QualifierKind.CONCEPT_QUALIFIER; +} diff --git a/dev_scripts/codegen/snippets/Types/Submodel_element_list/order_relevant_or_default.java b/dev_scripts/codegen/snippets/Types/Submodel_element_list/order_relevant_or_default.java new file mode 100644 index 00000000..e97f590c --- /dev/null +++ b/dev_scripts/codegen/snippets/Types/Submodel_element_list/order_relevant_or_default.java @@ -0,0 +1,6 @@ +/** + * @return if the order of the {@link SubmodelElementList} or the default value if it has not been set. + */ +public Boolean orderRelevantOrDefault() { + return orderRelevant != null ? orderRelevant : true; +} diff --git a/dev_scripts/codegen/snippets/Verification/ID_shorts_are_unique.java b/dev_scripts/codegen/snippets/Verification/ID_shorts_are_unique.java new file mode 100644 index 00000000..aae88d57 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/ID_shorts_are_unique.java @@ -0,0 +1,20 @@ +/** +* Check that all {@link IReferable#getIdShort() idShort} are unique among referables. +* @param referables the referables. +*/ +public static boolean idShortsAreUnique( + Iterable referables) { + Objects.requireNonNull(referables); + + Set idShortSet = new HashSet<>(); + + for (IReferable referable : referables) { + if (referable.getIdShort().isPresent()) { + if (idShortSet.contains(referable.getIdShort().get())) { + return false; + } + idShortSet.add(referable.getIdShort().get()); + } + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/ID_shorts_of_variables_are_unique.java b/dev_scripts/codegen/snippets/Verification/ID_shorts_of_variables_are_unique.java new file mode 100644 index 00000000..43a41616 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/ID_shorts_of_variables_are_unique.java @@ -0,0 +1,48 @@ +/** +* Check that all {@link IReferable#getIdShort idShort} 's are among all the inputVariables, outputVariables and inoutputVariables are unique. +* @param inputVariables the inputVariables + * @param outputVariables the outputVariables + * @param inoutputVariables the inoutputVariables +*/ +public static boolean idShortsOfVariablesAreUnique( + Optional> inputVariables, + Optional> outputVariables, + Optional> inoutputVariables) { + + Set idShortSet = new HashSet<>(); + + if (inputVariables.isPresent()) { + for(IOperationVariable variable : inputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + if (outputVariables.isPresent()) { + for (IOperationVariable variable : outputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + if (inoutputVariables.isPresent()) { + for (IOperationVariable variable : inoutputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_document_have_appropriate_data_type.java b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_document_have_appropriate_data_type.java new file mode 100644 index 00000000..cd118d0e --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_document_have_appropriate_data_type.java @@ -0,0 +1,21 @@ +/** +* Check that the {@link IDataSpecificationIec61360#getDataType dataType} is defined +* appropriately for all data specifications whose content is given as IEC 61360. +*/ +public static boolean dataSpecificationIec61360sForDocumentHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if(iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForDocument.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_property_or_value_have_appropriate_data_type.java b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_property_or_value_have_appropriate_data_type.java new file mode 100644 index 00000000..949f0875 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_property_or_value_have_appropriate_data_type.java @@ -0,0 +1,21 @@ +/** +*Check that the {@link IDataSpecificationIec61360#getValue() dataType} is defined +*appropriately for all data specifications whose content is given as IEC 61360. +*/ +public static boolean dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications){ + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if(iec61360 != null){ + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForPropertyOrValue.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_reference_have_appropriate_data_type.java b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_reference_have_appropriate_data_type.java new file mode 100644 index 00000000..b7b4d97d --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_for_reference_have_appropriate_data_type.java @@ -0,0 +1,21 @@ +/** +* Check that the {@link IDataSpecificationIec61360#getDataType() dataType} is defined +* appropriately for all data specifications whose content is given as IEC 61360. +*/ +public static boolean dataSpecificationIec61360sForReferenceHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for(IEmbeddedDataSpecification embeddedDataSpecification :embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForReference.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_data_type.java b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_data_type.java new file mode 100644 index 00000000..91b9c491 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_data_type.java @@ -0,0 +1,19 @@ +/** +* Check that the {@link IDataSpecificationIec61360#getDataType() dataType} is defined +* for all data specifications whose content is given as IEC 61360. +*/ +public static boolean dataSpecificationIec61360sHaveDataType( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 + = (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent()) { + return false; + } + } + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_definition_at_least_in_english.java b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_definition_at_least_in_english.java new file mode 100644 index 00000000..52cd7cbe --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_definition_at_least_in_english.java @@ -0,0 +1,31 @@ +/** + * Check that the {@link IDataSpecificationIec61360#getDefinition() definition} is defined +* for all data specifications whose content is given as IEC 61360 at least in English. +*/ +public static boolean dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDefinition().isPresent()) { + return false; + } + + boolean noDefinitionInEnglish = true; + for (ILangStringDefinitionTypeIec61360 langString : iec61360.getDefinition().get()) { + if (isBcp47ForEnglish(langString.getLanguage())) { + noDefinitionInEnglish = false; + break; + } + } + + if (noDefinitionInEnglish) { + return false; + } + } + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_value.java b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_value.java new file mode 100644 index 00000000..c254f5b2 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/data_specification_IEC_61360s_have_value.java @@ -0,0 +1,18 @@ +/** Check that the {@link IDataSpecificationIec61360#getValue() value} is defined +* for all data specifications whose content is given as IEC 61360. +*/ +public static boolean dataSpecificationIec61360sHaveValue( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getValue().isPresent()) { + return false; + } + } + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/extension_names_are_unique.java b/dev_scripts/codegen/snippets/Verification/extension_names_are_unique.java new file mode 100644 index 00000000..076005b6 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/extension_names_are_unique.java @@ -0,0 +1,18 @@ +/** +* Check that all {@link IExtension#getName() name} are unique among extensions. +* @param extensions the extensions +*/ +public static boolean extensionNamesAreUnique( + Iterable extensions) { + Objects.requireNonNull(extensions); + + Set nameSet = new HashSet<>(); + + for (IExtension extension : extensions) { + if (nameSet.contains(extension.getName())) { + return false; + } + nameSet.add(extension.getName()); + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/is_xs_date_time.java b/dev_scripts/codegen/snippets/Verification/is_xs_date_time.java new file mode 100644 index 00000000..2ee903df --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/is_xs_date_time.java @@ -0,0 +1,156 @@ +private static final Pattern regexDatePrefix = Pattern.compile("^(-?[0-9]+)-([0-9]{2})-([0-9]{2})"); +private static final BigInteger FOUR = new BigInteger("4"); +private static final BigInteger HUNDRED = new BigInteger("100"); +private static final BigInteger FOUR_HUNDRED = new BigInteger("100"); + +/** +* Check whether the given year is a leap year. +* Year 1 BCE is a leap year. +* @param year to be checked +* @return True if 'year' is a leap year +*/ + +public static boolean isLeapYear(BigInteger year) { +// We consider the years B.C. to be one-off. +// See the note at: https://www.w3.org/TR/xmlschema-2/#dateTime: +// "'-0001' is the lexical representation of the year 1 Before Common Era +// (1 BCE, sometimes written "1 BC")." +// +// Hence, -1 year in XML is 1 BCE, which is 0 year in astronomical years. +if (year.signum() < 0) { + year = year.negate().subtract(BigInteger.ONE); +} + +// See: See: https://en.wikipedia.org/wiki/Leap_year#Algorithm +if (year.mod(FOUR).signum() > 0) { + return false; +} + +if (year.mod(HUNDRED).signum() > 0) { + return true; +} + +if (year.mod(FOUR_HUNDRED).signum() > 0) { + return false; +} + +return true; +} + +/** +* Check that the value starts with a valid date. +* @param value an xs:date, an xs:dateTime,or an xs:dateTimeStamp +* @return true if the value starts with a valid date +*/ +private static boolean isPrefixedWithValidDate( + String value) { + Objects.requireNonNull(value); + + Matcher match = regexDatePrefix.matcher(value); + if (!match.lookingAt()) { + return false; + } + + BigInteger year; + try { + year = new BigInteger(match.group(1)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the year from " + match.group(1) + + "but the parsing failed"); + } + + int month; + try { + month = Integer.parseInt(match.group(2)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the month from " + match.group(2) + + "but the parsing failed"); + } + + int day; + try { + day = Integer.parseInt(match.group(3)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the day from " + match.group(3) + + "but the parsing failed"); + } + + // Year zero does not exist, see: https://www.w3.org/TR/xmlschema-2/#dateTime + if (year.signum() == 0) { + return false; + } + + if (day <= 0 || day > 31) { + return false; + } + + if (month <= 0 || month >= 13) { + return false; + } + + int maxDaysInMonth; + switch (month) { + case 1: + maxDaysInMonth = 31; + break; + case 2: + maxDaysInMonth = (isLeapYear(year)) ? 29 : 28; + break; + case 3: + maxDaysInMonth = 31; + break; + case 4: + maxDaysInMonth = 30; + break; + case 5: + maxDaysInMonth = 31; + break; + case 6: + maxDaysInMonth = 30; + break; + case 7: + maxDaysInMonth = 31; + break; + case 8: + maxDaysInMonth = 31; + break; + case 9: + maxDaysInMonth = 30; + break; + case 10: + maxDaysInMonth = 31; + break; + case 11: + maxDaysInMonth = 30; + break; + case 12: + maxDaysInMonth = 31; + break; + default: + throw new IllegalArgumentException("Unexpected month: " + month); + } + + if (day > maxDaysInMonth) { + return false; + } + + return true; +} + + + +/** +* Check that value is a xs:dateTime with +* the time zone set to UTC. +* @param value to check +*/ +public static boolean isXsDateTime(String value) { + if (!matchesXsDateTime(value)) { + return false; + } + + return isPrefixedWithValidDate(value); +} diff --git a/dev_scripts/codegen/snippets/Verification/is_xs_date_time_UTC.java b/dev_scripts/codegen/snippets/Verification/is_xs_date_time_UTC.java new file mode 100644 index 00000000..f7d46f80 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/is_xs_date_time_UTC.java @@ -0,0 +1,14 @@ +/** +* Check that value is a xs:dateTime with +* the time zone set to UTC. +* @param value the value to check +*/ +public static boolean isXsDateTimeUtc(String value){ + Objects.requireNonNull(value); + + if (!matchesXsDateTimeUtc(value)) { + return false; + } + + return isPrefixedWithValidDate(value); +} diff --git a/dev_scripts/codegen/snippets/Verification/lang_strings_have_unique_languages.java b/dev_scripts/codegen/snippets/Verification/lang_strings_have_unique_languages.java new file mode 100644 index 00000000..d445cf72 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/lang_strings_have_unique_languages.java @@ -0,0 +1,19 @@ +/** +* Check that {@link IAbstractLangString langStrings} are specified each for a unique +* language. + * @param langStrings the langStrings. +*/ +public static boolean langStringsHaveUniqueLanguages( + Iterable langStrings +){ + Objects.requireNonNull(langStrings); + + Set languageSet = new HashSet<>(); + for (IAbstractLangString langString : langStrings) { + if (languageSet.contains(langString.getLanguage())) { + return false; + } + languageSet.add(langString.getLanguage()); + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/properties_or_ranges_have_value_type.java b/dev_scripts/codegen/snippets/Verification/properties_or_ranges_have_value_type.java new file mode 100644 index 00000000..6d7cc4bf --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/properties_or_ranges_have_value_type.java @@ -0,0 +1,27 @@ +/** +* Check that the elements which are +* {@link IProperty} or {@link IRange} +* have the given valueType. + * @param elements the elements. + * @param valueType the valueType. +*/ +public static boolean propertiesOrRangesHaveValueType( + Iterable elements, + DataTypeDefXsd valueType +) { + Objects.requireNonNull(elements); + Objects.requireNonNull(valueType); + + for (ISubmodelElement element : elements) { + if(element instanceof IProperty) { + if (((IProperty) element).getValueType() != valueType) { + return false; + } + } else if (element instanceof IRange) { + if (((IRange) element).getValueType() != valueType) { + return false; + } + } + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/qualifier_types_are_unique.java b/dev_scripts/codegen/snippets/Verification/qualifier_types_are_unique.java new file mode 100644 index 00000000..23da8613 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/qualifier_types_are_unique.java @@ -0,0 +1,19 @@ +/** +* Check that there are no duplicate {@link IQualifier#getType() type}'s +* in the qualifiers. + * @param qualifiers the qualifiers +*/ +public static boolean qualifierTypesAreUnique( + Iterable qualifiers +) { + Objects.requireNonNull(qualifiers); + + Set typeSet = new HashSet<>(); + for (IQualifier qualifier : qualifiers) { + if (typeSet.contains(qualifier.getType())) { + return false; + } + typeSet.add(qualifier.getType()); + } + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/reference_key_values_equal.java b/dev_scripts/codegen/snippets/Verification/reference_key_values_equal.java new file mode 100644 index 00000000..88a1e472 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/reference_key_values_equal.java @@ -0,0 +1,24 @@ +/** +* Check that the two references,'that' and +* 'other', are equal by comparing +* their {@link IReference#getKeys() keys} by +* {@link IKey#getValue() value}'s. +*/ +public static boolean referenceKeyValuesEqual( + IReference that, + IReference other) { + Objects.requireNonNull(that); + Objects.requireNonNull(other); + + if (that.getKeys().size() != other.getKeys().size()) { + return false; + } + + for (int i = 0; i < that.getKeys().size(); i++) { + if (!Objects.equals(that.getKeys().get(i).getValue(), other.getKeys().get(i).getValue())) { + return false; + } + } + + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/submodel_element_is_of_type.java b/dev_scripts/codegen/snippets/Verification/submodel_element_is_of_type.java new file mode 100644 index 00000000..d2f722b5 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/submodel_element_is_of_type.java @@ -0,0 +1,65 @@ +public static boolean submodelElementIsOfType( + ISubmodelElement element, + AasSubmodelElements expectedType +) { + Objects.requireNonNull(element); + Objects.requireNonNull(expectedType); + + switch (expectedType) { + case ANNOTATED_RELATIONSHIP_ELEMENT: + return element instanceof IAnnotatedRelationshipElement; + + case BASIC_EVENT_ELEMENT: + return element instanceof IBasicEventElement; + + case BLOB: + return element instanceof IBlob; + + case CAPABILITY: + return element instanceof ICapability; + + case DATA_ELEMENT: + return element instanceof IDataElement; + + case ENTITY: + return element instanceof IEntity; + + case EVENT_ELEMENT: + return element instanceof IEventElement; + + case FILE: + return element instanceof IFile; + + case MULTI_LANGUAGE_PROPERTY: + return element instanceof IMultiLanguageProperty; + + case OPERATION: + return element instanceof IOperation; + + case PROPERTY: + return element instanceof IProperty; + + case RANGE: + return element instanceof IRange; + + case REFERENCE_ELEMENT: + return element instanceof IReferenceElement; + + case RELATIONSHIP_ELEMENT: + return element instanceof IRelationshipElement; + + case SUBMODEL_ELEMENT: + return element instanceof ISubmodelElement; + + case SUBMODEL_ELEMENT_LIST: + return element instanceof ISubmodelElementList; + + case SUBMODEL_ELEMENT_COLLECTION: + return element instanceof ISubmodelElementCollection; + + default: + throw new IllegalArgumentException( + "expectedType is not a valid AasSubmodelElements: " + expectedType + ); + } +} diff --git a/dev_scripts/codegen/snippets/Verification/submodel_elements_have_identical_semantic_IDs.java b/dev_scripts/codegen/snippets/Verification/submodel_elements_have_identical_semantic_IDs.java new file mode 100644 index 00000000..d2e5e3a3 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/submodel_elements_have_identical_semantic_IDs.java @@ -0,0 +1,36 @@ +/** +* Check that all elements have the identical +* {@link IHasSemantics#getSemanticId() semanticId}'s. +*/ +public static boolean submodelElementsHaveIdenticalSemanticIds( + Iterable elements) { + Objects.requireNonNull(elements); + + IReference thatSemanticId = null; + + for (ISubmodelElement element : elements) { + if (!element.getSemanticId().isPresent()) { + continue; + } + + if (thatSemanticId == null) { + thatSemanticId = element.getSemanticId().get(); + continue; + } + + IReference thisSemanticId = element.getSemanticId().get(); + + if (thatSemanticId.getKeys().size() != thisSemanticId.getKeys().size()) { + return false; + } + + for (int i = 0; i < thisSemanticId.getKeys().size(); i++) { + if (!Objects.equals(thatSemanticId.getKeys().get(i).getValue(), + thisSemanticId.getKeys().get(i).getValue())) { + return false; + } + } + } + + return true; +} diff --git a/dev_scripts/codegen/snippets/Verification/value_consistent_with_XSD_type.java b/dev_scripts/codegen/snippets/Verification/value_consistent_with_XSD_type.java new file mode 100644 index 00000000..953fa304 --- /dev/null +++ b/dev_scripts/codegen/snippets/Verification/value_consistent_with_XSD_type.java @@ -0,0 +1,261 @@ +/** +* Check that the value is consistent with +* the given valueType. +* @param value the value to check +* @param valueType the value type +*/ +public static boolean valueConsistentWithXsdType( + String value, + DataTypeDefXsd valueType){ + Objects.requireNonNull(value); + Objects.requireNonNull(valueType); + + switch (valueType) { + case ANY_URI: { + return matchesXsAnyUri(value); + } + case BASE_64_BINARY: { + return matchesXsBase64Binary(value); + } + case BOOLEAN: { + return matchesXsBoolean(value); + } + case BYTE: { + try { + Byte.valueOf(value); + return true; + } catch (NumberFormatException numberFormatException) { + return false; + } + } + case DATE: { + if (!matchesXsDate(value)) { + return false; + } + + return isPrefixedWithValidDate(value); + } + case DATE_TIME: { + if (!matchesXsDateTime(value)) { + return false; + } + + // The time part and the time zone part will be checked by + // MatchesXsDateTime. We need to check that the date part is + // correct in sense of the day/month combination. + return isPrefixedWithValidDate(value); + } + case DECIMAL: { + return matchesXsDecimal(value); + } + case DOUBLE: { + // We need to check explicitly for the regular expression. + // See: https://www.w3.org/TR/xmlschema-2/#double + if (!matchesXsDouble(value)) { + return false; + } + + if("INF".equals(value) || "-INF".equals(value)) return true; + + double converted; + try { + converted = Double.parseDouble(value); + } catch (Exception exception) { + return false; + } + return !Double.isInfinite(converted); + } + case DURATION: { + return matchesXsDuration(value); + } + case FLOAT: { + // We need to check explicitly for the regular expression. + // See: https://www.w3.org/TR/xmlschema-2/#float + if (!matchesXsFloat(value)) { + return false; + } + + if("INF".equals(value) || "-INF".equals(value)) return true; + + float converted; + try { + converted = Float.parseFloat(value); + } catch (Exception exception) { + return false; + } + return !Float.isInfinite(converted); + } + case G_DAY: { + return matchesXsGDay(value); + } + case G_MONTH: { + return matchesXsGMonth(value); + } + case G_MONTH_DAY: { + if (!matchesXsGMonthDay(value)) { + return false; + } + + int month = Integer.parseInt(value.substring(2,4)); + int day = Integer.parseInt(value.substring(5,7)); + switch (month) + { + case 1: + case 3: + case 5: + case 7: + case 8: + case 10: + case 12: + return day <= 31; + case 4: + case 6: + case 9: + case 11: + return day <= 30; + case 2: + return day <= 29; + default: + throw new IllegalArgumentException( + "Unhandled month: " + month + + "is there maybe a bug in MatchesXsGMonthDay?" + ); + } + } + case G_YEAR: { + return matchesXsGYear(value); + } + case G_YEAR_MONTH: { + return matchesXsGYearMonth(value); + } + case HEX_BINARY: { + return matchesXsHexBinary(value); + } + case INT: { + try { + Integer.parseInt(value); + return true; + } catch (Exception exception) { + return false; + } + } + case INTEGER: { + return matchesXsInteger(value); + } + case LONG: { + try { + Long.parseLong(value); + return true; + } catch (Exception exception) { + return false; + } + } + case NEGATIVE_INTEGER: { + return matchesXsNegativeInteger(value); + } + case NON_NEGATIVE_INTEGER: { + return matchesXsNonNegativeInteger(value); + } + case NON_POSITIVE_INTEGER: { + return matchesXsNonPositiveInteger(value); + } + case POSITIVE_INTEGER: { + return matchesXsPositiveInteger(value); + } + case SHORT: { + try { + Short.parseShort(value); + return true; + } catch (Exception exception) { + return false; + } + } + case STRING: { + return matchesXsString(value); + } + case TIME: { + return matchesXsTime(value); + } + case UNSIGNED_BYTE: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned byte. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedByte + if (value.equals("-0")) { + return true; + } + + try { + int converted = Integer.parseInt(value); + return 0 <= converted && converted <= 255; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_INT: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned int. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedInt + if (value.equals("-0")) { + return true; + } + + try { + //Java does not support UInt32 like C#, so we need to use long. + long converted = Long.parseUnsignedLong(value); + return converted <= 4294967295L; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_LONG: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned long. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedLong + if (value.equals("-0")) { + return true; + } + + try { + Long.parseUnsignedLong(value); + return true; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_SHORT: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned short. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedShort + if (value.equals("-0")) { + return true; + } + + try { + int converted = Integer.parseInt(value); + return 0 <= converted && converted <= 65535; + } catch (Exception exception) { + return false; + } + } + default: + throw new IllegalArgumentException( + "valueType is an invalid DataTypeDefXsd: " + valueType + ); + } +} diff --git a/dev_scripts/codegen/snippets/package.txt b/dev_scripts/codegen/snippets/package.txt new file mode 100644 index 00000000..32ac472f --- /dev/null +++ b/dev_scripts/codegen/snippets/package.txt @@ -0,0 +1 @@ +aas_core.aas3_1 diff --git a/dev_scripts/continuous_integration_of_dev_scripts/__init__.py b/dev_scripts/continuous_integration_of_dev_scripts/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/dev_scripts/continuous_integration_of_dev_scripts/mypy.ini b/dev_scripts/continuous_integration_of_dev_scripts/mypy.ini new file mode 100644 index 00000000..0ee5a956 --- /dev/null +++ b/dev_scripts/continuous_integration_of_dev_scripts/mypy.ini @@ -0,0 +1,8 @@ +; SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +; +; SPDX-License-Identifier: MIT + +[mypy] + +[mypy-lxml.*] +ignore_missing_imports = True diff --git a/dev_scripts/continuous_integration_of_dev_scripts/precommit.py b/dev_scripts/continuous_integration_of_dev_scripts/precommit.py new file mode 100644 index 00000000..e3653067 --- /dev/null +++ b/dev_scripts/continuous_integration_of_dev_scripts/precommit.py @@ -0,0 +1,194 @@ +#!/usr/bin/env python3 + +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Run pre-commit checks on the repository.""" + +import argparse +import enum +import os +import pathlib +import shlex +import subprocess +import sys +from typing import Optional, Mapping, Sequence + + +# pylint: disable=unnecessary-comprehension + + +class Step(enum.Enum): + """Enumerate different pre-commit steps.""" + + REFORMAT = "reformat" + MYPY = "mypy" + PYLINT = "pylint" + TEST = "test" + DOCTEST = "doctest" + + +def call_and_report( + verb: str, + cmd: Sequence[str], + cwd: Optional[pathlib.Path] = None, + env: Optional[Mapping[str, str]] = None, +) -> int: + """ + Wrap a subprocess call with the reporting to STDERR if it failed. + + Return 1 if there is an error and 0 otherwise. + """ + cmd_str = " ".join(shlex.quote(part) for part in cmd) + + if cwd is not None: + print(f"Executing from {cwd}: {cmd_str}") + else: + print(f"Executing: {cmd_str}") + + exit_code = subprocess.call(cmd, cwd=str(cwd) if cwd is not None else None, env=env) + + if exit_code != 0: + print( + f"Failed to {verb} with exit code {exit_code}: {cmd_str}", file=sys.stderr + ) + + return exit_code + + +def main() -> int: + """Execute entry_point routine.""" + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument( + "--overwrite", + help="Try to automatically fix the offending files (e.g., by re-formatting).", + action="store_true", + ) + parser.add_argument( + "--select", + help=( + "If set, only the selected steps are executed. " + "This is practical if some of the steps failed and you want to " + "fix them in isolation. " + "The steps are given as a space-separated list of: " + + " ".join(value.value for value in Step) + ), + metavar="", + nargs="+", + choices=[value.value for value in Step], + ) + parser.add_argument( + "--skip", + help=( + "If set, skips the specified steps. " + "This is practical if some of the steps passed and " + "you want to fix the remainder in isolation. " + "The steps are given as a space-separated list of: " + + " ".join(value.value for value in Step) + ), + metavar="", + nargs="+", + choices=[value.value for value in Step], + ) + + args = parser.parse_args() + + overwrite = bool(args.overwrite) + + selects = ( + [Step(value) for value in args.select] + if args.select is not None + else [value for value in Step] + ) + skips = [Step(value) for value in args.skip] if args.skip is not None else [] + + src_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + if Step.REFORMAT in selects and Step.REFORMAT not in skips: + print("Re-formatting...") + if overwrite: + exit_code = call_and_report( + verb="black", + cmd=["black", ".", "--exclude", "codegen|venv"], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + exit_code = call_and_report( + verb="check with black", + cmd=["black", "--check", ".", "--exclude", "codegen|venv"], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + print("Skipped re-formatting.") + + if Step.MYPY in selects and Step.MYPY not in skips: + print("Mypy'ing...") + config_file = pathlib.Path("continuous_integration_of_dev_scripts") / "mypy.ini" + + exit_code = call_and_report( + verb="mypy", + cmd=[ + "mypy", + "--strict", + "--config-file", + str(config_file), + ".", + "--exclude", + "codegen|venv", + ], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + print("Skipped mypy'ing.") + + if Step.PYLINT in selects and Step.PYLINT not in skips: + print("Pylint'ing...") + rcfile = pathlib.Path("continuous_integration_of_dev_scripts") / "pylint.rc" + + exit_code = call_and_report( + verb="pylint", + cmd=["pylint", f"--rcfile={rcfile}", ".", "--ignore=codegen,venv"], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + print("Skipped pylint'ing.") + + if Step.DOCTEST in selects and Step.DOCTEST not in skips: + print("Doctest'ing...") + + for module_name in [ + "continuous_integration_of_dev_scripts", + ]: + for pth in (src_root / module_name).glob("**/*.py"): + if pth.name == "__main__.py": + continue + + # NOTE (mristin, 2022-12-08): + # The subprocess calls are expensive, call only if there is an actual + # doctest + text = pth.read_text(encoding="utf-8") + if ">>>" in text: + exit_code = call_and_report( + verb="doctest", + cmd=[sys.executable, "-m", "doctest", str(pth)], + cwd=src_root, + ) + if exit_code != 0: + return 1 + else: + print("Skipped doctest'ing.") + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/continuous_integration_of_dev_scripts/pylint.rc b/dev_scripts/continuous_integration_of_dev_scripts/pylint.rc new file mode 100644 index 00000000..bcdc1152 --- /dev/null +++ b/dev_scripts/continuous_integration_of_dev_scripts/pylint.rc @@ -0,0 +1,10 @@ +[TYPECHECK] +ignored-modules = numpy +ignored-classes = numpy,PurePath +generated-members=bottle\.request\.forms\.decode,bottle\.request\.query\.decode + +[FORMAT] +max-line-length=120 + +[MESSAGES CONTROL] +disable=c-extension-no-member,too-few-public-methods,len-as-condition,duplicate-code,no-else-raise,no-else-return,too-many-locals,too-many-branches,too-many-nested-blocks,too-many-return-statements,unsubscriptable-object,not-an-iterable,broad-except,too-many-statements,protected-access,unnecessary-pass,too-many-statements,too-many-arguments,no-member,too-many-instance-attributes,too-many-lines,undefined-variable,unnecessary-lambda,assignment-from-none,useless-return,unused-argument,too-many-boolean-expressions,consider-using-f-string,use-dict-literal,invalid-name,no-else-continue,no-else-break,unneeded-not,too-many-public-methods,line-too-long diff --git a/dev_scripts/download_aas_core_meta_model.py b/dev_scripts/download_aas_core_meta_model.py new file mode 100644 index 00000000..fa928161 --- /dev/null +++ b/dev_scripts/download_aas_core_meta_model.py @@ -0,0 +1,94 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Download the meta-model to this directory.""" + +import pathlib +import os +import argparse +import sys +from typing import Dict, Union + +import requests + + +GITHUB_API = "https://api.github.com" +OWNER = "aas-core-works" +REPO = "aas-core-meta" +REF = "main" +FILEPATH = "aas_core_meta/v3_1.py" + + +def _latest_commit_sha_for_path( + owner: str, repo: str, ref: str, path: str, *, timeout: float = 15.0 +) -> str: + """ + Resolve the latest commit SHA on a ref for a specific path. + + Uses: GET /repos/{owner}/{repo}/commits?path=...&sha=...&per_page=1 + """ + url = f"{GITHUB_API}/repos/{owner}/{repo}/commits" + params: Dict[str, Union[str, int]] = {"path": path, "sha": ref, "per_page": 1} + resp = requests.get(url, params=params, timeout=timeout) + try: + resp.raise_for_status() + except requests.HTTPError as ex: + raise RuntimeError( + f"Failed to resolve latest commit for {owner}/{repo}:{ref} path={path} " + f"({resp.status_code}): {resp.text}" + ) from ex + + commits = resp.json() + if not commits or not isinstance(commits, list): + raise RuntimeError( + "Could not determine latest commit SHA (empty API response)." + ) + + sha = commits[0].get("sha") + if not sha or not isinstance(sha, str): + raise RuntimeError("API did not return a valid commit SHA.") + assert isinstance(sha, str) + return sha + + +def _download_raw_from_commit( + owner: str, repo: str, sha: str, path: str, *, timeout: float = 30.0 +) -> str: + """Download the raw file contents for a given commit SHA and path.""" + raw_url = f"https://raw.githubusercontent.com/{owner}/{repo}/{sha}/{path}" + resp = requests.get(raw_url, timeout=timeout) + try: + resp.raise_for_status() + except requests.HTTPError as ex: + raise RuntimeError( + f"Failed to download file from {raw_url} ({resp.status_code}): {resp.text}" + ) from ex + + return resp.text + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + sha = _latest_commit_sha_for_path(OWNER, REPO, REF, FILEPATH) + + content = _download_raw_from_commit(OWNER, REPO, sha, FILEPATH) + + pinned_url = f"https://raw.githubusercontent.com/{OWNER}/{REPO}/{sha}/{FILEPATH}" + banner = f"# Downloaded from: {pinned_url}\n" + + out_path = repo_root / "dev_scripts" / "codegen" / "meta_model.py" + + out_path.write_text(f"{banner}{content.rstrip()}\n\n{banner}", encoding="utf-8") + + print(f"Wrote {out_path} (from commit {sha[:12]}).") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/download_latest_test_data.py b/dev_scripts/download_latest_test_data.py new file mode 100644 index 00000000..b2e205d8 --- /dev/null +++ b/dev_scripts/download_latest_test_data.py @@ -0,0 +1,140 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Download the latest test data released on aas-core-testdatagen.""" + +import argparse +import collections +import json +import os +import pathlib +import shutil +import sys +import uuid +import zipfile +from typing import Final + +import requests +from icontract import require + +_REPO: Final[str] = "aas-core-works/aas-core-testdatagen" + + +def _get_latest_version() -> str: + """Get the latest version tag from aas-core-testdatagen GitHub repository.""" + url = f"https://api.github.com/repos/{_REPO}/releases/latest" + + try: + response = requests.get(url, timeout=30) + response.raise_for_status() + data = response.json() + + tag_name = data.get("tag_name") + + if not isinstance(tag_name, str): + raise RuntimeError( + f"Expected the 'tag_name' to be a string, but got: {tag_name}" + ) + + return tag_name + except (requests.RequestException, KeyError) as exception: + raise RuntimeError( + f"Error fetching the latest version from {url}" + ) from exception + + +def _construct_download_url(version: str) -> str: + """Construct the download URL for the test data zip file.""" + return ( + f"https://github.com/{_REPO}/releases/download/{version}/test_data_for_v3_1.zip" + ) + + +def _download(url: str, destination: pathlib.Path) -> None: + """Download the test data zip file.""" + response = requests.get(url, stream=True, timeout=30) + response.raise_for_status() + + with open(destination, "wb") as f: + for chunk in response.iter_content(chunk_size=8192): + f.write(chunk) + + +# fmt: off +@require( + lambda zip_path: + zip_path.name.endswith(".zip") + and zip_path.exists() + and zip_path.is_file() +) +# fmt: on +def _extract_zip_in_its_parent(zip_path: pathlib.Path) -> None: + """Extract the archive in its directory.""" + try: + with zipfile.ZipFile(zip_path, "r") as zip_ref: + zip_ref.extractall(zip_path.parent) + + except Exception as exception: + raise RuntimeError( + f"Failed to unpack {zip_path} to {zip_path.parent}" + ) from exception + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + test_data_dir = repo_root / "test_data" + + json_dir = test_data_dir / "Json" + if json_dir.exists(): + print(f"Deleting existing {json_dir} ...") + shutil.rmtree(json_dir) + + xml_dir = test_data_dir / "Xml" + if xml_dir.exists(): + print(f"Deleting existing {xml_dir} ...") + shutil.rmtree(xml_dir) + + source_path = test_data_dir / "source.json" + if source_path.exists(): + print(f"Deleting existing {source_path} ...") + source_path.unlink() + + latest_version = _get_latest_version() + if latest_version is None: + print("Failed to get latest version") + return 1 + + print(f"Latest version: {latest_version}") + + url = _construct_download_url(latest_version) + + zip_path = test_data_dir / f"test_data_for_v3_1.{uuid.uuid4()}.zip" + + try: + print(f"Downloading from: {url} to {zip_path} ...") + _download(url=url, destination=zip_path) + _extract_zip_in_its_parent(zip_path=zip_path) + + print(f"Writing the version to {source_path} ...") + with source_path.open("wt") as fid: + json.dump( + collections.OrderedDict([("version", latest_version), ("url", url)]), + fid, + indent=2, + ) + + finally: + print(f"Deleting {zip_path} ...") + zip_path.unlink() + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/find_duplicate_files_if_case_insensitive.py b/dev_scripts/find_duplicate_files_if_case_insensitive.py new file mode 100644 index 00000000..c6430862 --- /dev/null +++ b/dev_scripts/find_duplicate_files_if_case_insensitive.py @@ -0,0 +1,63 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +""" +Find all the duplicate repository files on case-insensitive filesystems. + +This is in particular important for Windows so that we do not mess up Git there. + +You should run this script on a *case-sensitive* filesystem, *e.g.*, in Linux. +""" + +import os.path +import pathlib +import sys +import textwrap +from typing import List, MutableMapping + + +def main() -> int: + """Execute the main routine.""" + this_path = pathlib.Path(os.path.realpath(__file__)) + repo_root = this_path.parent.parent + + paths = [] # type: List[pathlib.Path] + + for path in repo_root.iterdir(): + if path.name == ".git": + continue + + if path.is_file(): + paths.append(path) + else: + assert path.is_dir() + paths.extend( + another_path + for another_path in path.glob("**/*") + if another_path.is_file() + ) + + path_map = dict() # type: MutableMapping[str, List[pathlib.Path]] + for path in paths: + key = str(path).lower() + existing_paths = path_map.get(key, None) + if existing_paths is None: + path_map[key] = [path] + else: + existing_paths.append(path) + + for key in sorted(path_map.keys()): + paths = path_map[key] + if len(paths) > 1: + paths_joined = "\n".join( + str(path.relative_to(repo_root)) for path in sorted(paths) + ) + paths_joined_indented = textwrap.indent(paths_joined, " ") + print(f"* Duplicates for {key}:\n{paths_joined_indented}") + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/format_code.py b/dev_scripts/format_code.py new file mode 100644 index 00000000..ab748189 --- /dev/null +++ b/dev_scripts/format_code.py @@ -0,0 +1,27 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Re-format the Java code with Spotless (google-java-format).""" + +import argparse +import os +import pathlib +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + subprocess.check_call(["mvn", "--batch-mode", "spotless:apply"], cwd=str(repo_root)) + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/pyproject.toml b/dev_scripts/pyproject.toml new file mode 100644 index 00000000..2fd13f95 --- /dev/null +++ b/dev_scripts/pyproject.toml @@ -0,0 +1,43 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +[build-system] +requires = ["setuptools", "setuptools-scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "aas-core3.1-java-dev-scripts" +version = "0.0.1" +description = "Provide development scripts for aas-core3.1-java." +authors = [ + { name = "Marko Ristin", email = "marko@ristin.ch" }, + { name = "Tobias Langer", email = "tobias.langer@conplement.de" }, +] +license = {text = "MIT"} +keywords = ["asset administration shell", "code generation", "industry 4.0", "industrie 4.0", "i4.0"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python :: 3.10", +] +requires-python = ">=3.10" +dependencies = [ + "requests==2.32.4", + "types-requests==2.32.4.20250913", + "aas-core-codegen==0.0.27rc5", + "icontract>=2.6.0", + "lxml>=5.0.0", + "reuse>=6.3.0", +] + + +[dependency-groups] +dev = [ + "black==25.9.0", + "mypy==1.18.2", + "pylint==3.3.8", + "types-requests>=2.32.4", +] + +[tool.setuptools.packages.find] +exclude = ["continuous_integration_of_dev_scripts"] diff --git a/dev_scripts/regenerate_code.py b/dev_scripts/regenerate_code.py new file mode 100644 index 00000000..27481c4f --- /dev/null +++ b/dev_scripts/regenerate_code.py @@ -0,0 +1,72 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Generate the SDK based on the aas-core-meta model and the snippets.""" + +import argparse +import os +import pathlib +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + default_meta_model_path = os.path.relpath( + str(repo_root / "dev_scripts" / "codegen" / "meta_model.py"), + os.getcwd(), + ) + + default_snippet_dir = os.path.relpath( + str(repo_root / "dev_scripts" / "codegen" / "snippets"), os.getcwd() + ) + + default_output_dir = os.path.relpath(str(repo_root), os.getcwd()) + + parser = argparse.ArgumentParser( + description=__doc__, formatter_class=argparse.ArgumentDefaultsHelpFormatter + ) + parser.add_argument( + "--meta_model", help="Path to the meta-model", default=default_meta_model_path + ) + parser.add_argument( + "--snippet_dir", + help="Path to the directory containing implementation-specific snippets", + default=default_snippet_dir, + ) + parser.add_argument( + "--output_dir", + help="Path to the directory where the generated files are to be output", + default=default_output_dir, + ) + args = parser.parse_args() + + meta_model_path = pathlib.Path(args.meta_model) + snippet_dir = pathlib.Path(args.snippet_dir) + output_dir = pathlib.Path(args.output_dir) + + subprocess.run( + [ + sys.executable, + "-m", + "aas_core_codegen", + "--model_path", + str(meta_model_path), + "--snippets_dir", + str(snippet_dir), + "--output_dir", + str(output_dir), + "--target", + "java", + ], + check=True, + ) + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/rerecord_tests.py b/dev_scripts/rerecord_tests.py new file mode 100644 index 00000000..76a9d65c --- /dev/null +++ b/dev_scripts/rerecord_tests.py @@ -0,0 +1,42 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Run all tests and re-record the golden data.""" + +import argparse +import os +import pathlib +import shutil +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + for path in (repo_root / "test_data").iterdir(): + if path.is_dir() and path.name not in ["Json", "Xml"]: + print(f"Deleting {path} ...") + shutil.rmtree(path) + + env = os.environ.copy() + env["AAS_CORE_AAS3_1_TESTS_RECORD_MODE"] = "true" + + print("Running and re-recording all tests...") + subprocess.check_call( + ["mvn", "--batch-mode", "test"], + cwd=repo_root, + env=env, + ) + print("Re-recorded.") + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/semantic-patching/.gitignore b/dev_scripts/semantic-patching/.gitignore new file mode 100644 index 00000000..373d2daa --- /dev/null +++ b/dev_scripts/semantic-patching/.gitignore @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +target/ +.idea/ +semantic-patching.iml +deleteme.java +VerificationPatched.java diff --git a/dev_scripts/semantic-patching/README.md b/dev_scripts/semantic-patching/README.md new file mode 100644 index 00000000..d638cc40 --- /dev/null +++ b/dev_scripts/semantic-patching/README.md @@ -0,0 +1,31 @@ +# Semantic Patching + +## Building + +Package everything with maven: + +``` +mvn package +``` + +The scripts will be built in `target/` directory. + +## Patch + +Run the script: + +``` +mvn \ + exec:java \ + -Dexec.mainClass="aas_core_works.PatchVerification" \ + -Dexec.args="{path to the source file} {path to the target file}" +``` + +If you just want to test it out, let it patch `test-data/Verification.java`: + +``` +mvn \ + exec:java \ + -Dexec.mainClass="aas_core_works.PatchVerification" \ + -Dexec.args="test-data/Verification.java VerificationPatched.java" +``` diff --git a/dev_scripts/semantic-patching/pom.xml b/dev_scripts/semantic-patching/pom.xml new file mode 100644 index 00000000..8121fa44 --- /dev/null +++ b/dev_scripts/semantic-patching/pom.xml @@ -0,0 +1,33 @@ + + + + + + 4.0.0 + + aas_core_works + semantic-patching + 1.0-SNAPSHOT + + semantic-patching + + + UTF-8 + 15 + 15 + + + + + com.github.javaparser + javaparser-core + 3.25.9 + + + + diff --git a/dev_scripts/semantic-patching/src/main/java/aas_core_works/PatchVerification.java b/dev_scripts/semantic-patching/src/main/java/aas_core_works/PatchVerification.java new file mode 100644 index 00000000..c931c631 --- /dev/null +++ b/dev_scripts/semantic-patching/src/main/java/aas_core_works/PatchVerification.java @@ -0,0 +1,219 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core_works; + +import com.github.javaparser.StaticJavaParser; +import com.github.javaparser.ast.CompilationUnit; +import com.github.javaparser.ast.Modifier; +import com.github.javaparser.ast.body.ClassOrInterfaceDeclaration; +import com.github.javaparser.ast.body.FieldDeclaration; +import com.github.javaparser.ast.body.MethodDeclaration; +import com.github.javaparser.ast.body.VariableDeclarator; +import com.github.javaparser.ast.expr.AssignExpr; +import com.github.javaparser.ast.expr.Expression; +import com.github.javaparser.ast.expr.VariableDeclarationExpr; +import com.github.javaparser.ast.stmt.ExpressionStmt; +import com.github.javaparser.ast.stmt.ReturnStmt; +import com.github.javaparser.ast.stmt.Statement; + +import java.io.BufferedWriter; +import java.io.FileWriter; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.Optional; + +public class PatchVerification { + public static void main(String[] args) { + if (args == null || args.length != 2) { + System.err.println("Expected exactly two arguments, the source and the target"); + System.exit(1); + } + final String sourcePath = args[0]; + final String targetPath = args[1]; + + String text; + try { + text = Files.readString(Path.of(sourcePath)); + } catch (IOException e) { + System.err.println("Failed to read from " + sourcePath + ": " + e.getMessage()); + System.exit(1); + return; + } + + CompilationUnit unit = StaticJavaParser.parse(text); + + unit.addImport("dk.brics.automaton.Automaton"); + unit.addImport("dk.brics.automaton.RegExp"); + + Optional maybeVerificationCls = unit.getClassByName("Verification"); + if (maybeVerificationCls.isEmpty()) { + System.err.println("The class 'Verification' could not be found in " + sourcePath); + System.exit(1); + return; + } + + ClassOrInterfaceDeclaration verificationCls = maybeVerificationCls.get(); + + MethodDeclaration constructMethod = null; + for (MethodDeclaration method : verificationCls.getMethods()) { + if (method.getName().toString().equals("constructMatchesRfc2396")) { + constructMethod = method; + break; + } + } + + if (constructMethod == null) { + System.err.println( + "Could not find the method constructMatchesRfc2396 in " + sourcePath + ); + System.exit(1); + return; + } + + constructMethod.setType("Automaton"); + + if (!constructMethod.getBody().isPresent()) { + System.err.println( + "The constructMatchesRfc2396 lacks the body in " + sourcePath + ); + System.exit(1); + return; + } + + VariableDeclarator serverDecl = null; + VariableDeclarator uriReferenceDecl = null; + ReturnStmt expectedReturnStmt = null; + + for (Statement statement : constructMethod.getBody().get().getStatements()) { + if ( + statement.isExpressionStmt() + && statement instanceof ExpressionStmt + ) { + ExpressionStmt expressionStmt = (ExpressionStmt) statement; + + Expression expression = expressionStmt.getExpression(); + + if (expression instanceof VariableDeclarationExpr) { + VariableDeclarationExpr varDeclExpr = (VariableDeclarationExpr) expression; + + if (expression.toString().equals( + "String uriReference = \"^(\" + absoluteuri + \"|\" + relativeuri + \")?(#\" + fragment + \")?$\"")) { + uriReferenceDecl = varDeclExpr.getVariable(0); + } else if (expression.toString().equals( + "String server = \"((\" + userinfo + \"@)?\" + hostport + \")?\"")) { + serverDecl = varDeclExpr.getVariable(0); + } + } + } else if (statement.isReturnStmt()) { + ReturnStmt returnStmt = (ReturnStmt) statement; + + if (returnStmt.toString().equals("return Pattern.compile(uriReference);")) { + expectedReturnStmt = returnStmt; + } + } + } + + if (serverDecl == null) { + System.err.println( + "The constructMatchesRfc2396 lacks the " + + "String server = \"((\" + userinfo + \"@)?\" + hostport + \")?\"" + + "statement in " + + sourcePath + ); + System.exit(1); + return; + } + + if (uriReferenceDecl == null) { + System.err.println( + "The constructMatchesRfc2396 lacks the " + + "'String uriReference = \"^(\" + absoluteuri + \"|\" + relativeuri + \")?(#\" + fragment + \")?$\"' " + + "statement in " + + sourcePath + ); + System.exit(1); + return; + } + + if (expectedReturnStmt == null) { + System.err.println( + "The constructMatchesRfc2396 lacks the expected return statement " + + "'return Pattern.compile(uriReference);' in " + sourcePath + ); + System.exit(1); + return; + } + + // NOTE (empwilli): we take care to also escape # and @ characters; these + // carry special meaning in Automaton. + serverDecl.setInitializer( + "\"((\" + userinfo + \"\\\\@)?\" + hostport + \")?\"" + ); + uriReferenceDecl.setInitializer( + "\"(\" + absoluteuri + \"|\" + relativeuri + \")?(\\\\#\" + fragment + \")?\"" + ); + + expectedReturnStmt.setExpression( + StaticJavaParser.parseExpression("new RegExp(uriReference).toAutomaton()") + ); + + VariableDeclarator regexVariable = null; + for (FieldDeclaration field : verificationCls.getFields()) { + for (VariableDeclarator declarator : field.getVariables()) { + if (declarator.getNameAsString().equals("regexMatchesRfc2396")) { + regexVariable = declarator; + break; + } + } + if (regexVariable != null) { + break; + } + } + + if (regexVariable == null) { + System.err.println( + "Could not find regexMatchesRfc2396 field in " + sourcePath + ); + System.exit(1); + return; + } + regexVariable.setType("Automaton"); + + MethodDeclaration matchesMethod = null; + for (MethodDeclaration method : verificationCls.getMethods()) { + if (method.getName().toString().equals("matchesRfc2396")) { + matchesMethod = method; + break; + } + } + + if (matchesMethod == null) { + System.err.println( + "Could not find the method matchesRfc2396 in " + sourcePath + ); + System.exit(1); + return; + } + + matchesMethod.setBody( + StaticJavaParser.parseBlock(""" + { + return regexMatchesRfc2396.run(text); + }""") + ); + + String code = unit.toString(); + + try { + BufferedWriter writer = new BufferedWriter(new FileWriter(targetPath)); + writer.write(code); + writer.flush(); + } catch (IOException e) { + System.err.println("Failed to write to " + targetPath + ": " + e.getMessage()); + System.exit(1); + } + } +} diff --git a/dev_scripts/semantic-patching/test-data/Verification.java b/dev_scripts/semantic-patching/test-data/Verification.java new file mode 100644 index 00000000..b3f06cc5 --- /dev/null +++ b/dev_scripts/semantic-patching/test-data/Verification.java @@ -0,0 +1,9145 @@ +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.verification; + +import java.lang.Iterable; +import java.math.BigInteger; +import java.util.Arrays; +import java.util.Collections; +import java.util.function.Consumer; +import java.util.HashSet; +import java.util.Iterator; +import java.util.Objects; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import java.util.Set; +import java.util.Spliterator; +import java.util.Spliterators; +import java.util.stream.IntStream; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.constants.*; +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.AbstractTransformer; +import java.util.List; +import java.util.Optional; + +public class Verification { + private static Pattern constructMatchesIdShort() { + String pattern = "^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesIdShort = constructMatchesIdShort(); + + /** + * Check that {@code text} is a valid short ID. + */ + public static Boolean matchesIdShort(String text) { + return regexMatchesIdShort.matcher(text).matches(); + } + + private static Pattern constructMatchesVersionType() { + String pattern = "^(0|[1-9][0-9]*)$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesVersionType = constructMatchesVersionType(); + + /** + * Check that {@code text} is a valid version string. + */ + public static Boolean matchesVersionType(String text) { + return regexMatchesVersionType.matcher(text).matches(); + } + + private static Pattern constructMatchesRevisionType() { + String pattern = "^(0|[1-9][0-9]*)$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesRevisionType = constructMatchesRevisionType(); + + /** + * Check that {@code text} is a valid revision string. + */ + public static Boolean matchesRevisionType(String text) { + return regexMatchesRevisionType.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDateTimeUtc() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String hourFrag = "(([01]" + digit + ")|(2[0-3]))"; + String minuteFrag = "[0-5]" + digit; + String secondFrag = "([0-5]" + digit + ")(\\." + digit + "+)?"; + String endOfDayFrag = "24:00:00(\\.0+)?"; + String timezoneFrag = "(Z|\\+00:00|-00:00)"; + String dateTimeLexicalRep = yearFrag + "-" + monthFrag + "-" + dayFrag + "T((" + hourFrag + ":" + minuteFrag + ":" + secondFrag + ")|" + endOfDayFrag + ")" + timezoneFrag; + String pattern = "^" + dateTimeLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDateTimeUtc = constructMatchesXsDateTimeUtc(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:dateTime}. + * + *

The time zone must be fixed to UTC. We verify only that the {@code text} matches + * a pre-defined pattern. We do not verify that the day of month is + * correct nor do we check for leap seconds. + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDateTimeUtc(String text) { + return regexMatchesXsDateTimeUtc.matcher(text).matches(); + } + + /** + * Check that value is a xs:dateTime with + * the time zone set to UTC. + * @param value the value to check + */ + public static boolean isXsDateTimeUtc(String value){ + Objects.requireNonNull(value); + + if (!matchesXsDateTimeUtc(value)) { + return false; + } + + return isPrefixedWithValidDate(value); + } + + private static Pattern constructMatchesMimeType() { + String tchar = "[!#$%&\'*+\\-.^_`|~0-9a-zA-Z]"; + String token = "(" + tchar + ")+"; + String type = token; + String subtype = token; + String ows = "[ \\t]*"; + String obsText = "[\\x{80}-\\x{ff}]"; + String qdText = "([\\t !#-\\[\\]-~]|" + obsText + ")"; + String quotedPair = "\\\\([\\t !-~]|" + obsText + ")"; + String quotedString = "\"(" + qdText + "|" + quotedPair + ")*\""; + String parameter = token + "=(" + token + "|" + quotedString + ")"; + String mediaType = "^" + type + "/" + subtype + "(" + ows + ";" + ows + parameter + ")*$"; + + return Pattern.compile(mediaType); + } + + private static final Pattern regexMatchesMimeType = constructMatchesMimeType(); + + /** + * Check that {@code text} conforms to the pattern of MIME type. + * + *

The definition has been taken from: + * https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.1, + * https://www.rfc-editor.org/rfc/rfc7230#section-3.2.3 and + * https://www.rfc-editor.org/rfc/rfc7230#section-3.2.6. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesMimeType(String text) { + return regexMatchesMimeType.matcher(text).matches(); + } + + private static Pattern constructMatchesRfc2396() { + String alphanum = "[a-zA-Z0-9]"; + String mark = "[-_.!~*\'()]"; + String unreserved = "(" + alphanum + "|" + mark + ")"; + String hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])"; + String escaped = "%" + hex + hex; + String pchar = "(" + unreserved + "|" + escaped + "|[:@&=+$,])"; + String param = "(" + pchar + ")*"; + String segment = "(" + pchar + ")*(;" + param + ")*"; + String pathSegments = segment + "(/" + segment + ")*"; + String absPath = "/" + pathSegments; + String scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*"; + String userinfo = "(" + unreserved + "|" + escaped + "|[;:&=+$,])*"; + String domainlabel = "(" + alphanum + "|" + alphanum + "(" + alphanum + "|-)*" + alphanum + ")"; + String toplabel = "([a-zA-Z]|[a-zA-Z](" + alphanum + "|-)*" + alphanum + ")"; + String hostname = "(" + domainlabel + "\\.)*" + toplabel + "(\\.)?"; + String ipv4address = "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+"; + String host = "(" + hostname + "|" + ipv4address + ")"; + String port = "[0-9]*"; + String hostport = host + "(:" + port + ")?"; + String server = "((" + userinfo + "@)?" + hostport + ")?"; + String regName = "(" + unreserved + "|" + escaped + "|[$,;:@&=+])+"; + String authority = "(" + server + "|" + regName + ")"; + String netPath = "//" + authority + "(" + absPath + ")?"; + String reserved = "[;/?:@&=+$,]"; + String uric = "(" + reserved + "|" + unreserved + "|" + escaped + ")"; + String query = "(" + uric + ")*"; + String hierPart = "(" + netPath + "|" + absPath + ")(\\?" + query + ")?"; + String uricNoSlash = "(" + unreserved + "|" + escaped + "|[;?:@&=+$,])"; + String opaquePart = uricNoSlash + "(" + uric + ")*"; + String absoluteuri = scheme + ":(" + hierPart + "|" + opaquePart + ")"; + String fragment = "(" + uric + ")*"; + String relSegment = "(" + unreserved + "|" + escaped + "|[;@&=+$,])+"; + String relPath = relSegment + "(" + absPath + ")?"; + String relativeuri = "(" + netPath + "|" + absPath + "|" + relPath + ")(\\?" + query + ")?"; + String uriReference = "^(" + absoluteuri + "|" + relativeuri + ")?(#" + fragment + ")?$"; + + return Pattern.compile(uriReference); + } + + private static final Pattern regexMatchesRfc2396 = constructMatchesRfc2396(); + + /** + * Check that {@code text} matches to the URI pattern defined in RFC 2396 + * + *

The definition has been taken from: + * https://datatracker.ietf.org/doc/html/rfc2396 + * + *

Note that RFX 2396 alone is not enough for specifying {@code xs:anyURI} for + * XSD version 1.0, as that specifies URI together with the amendment of + * RFC 2732. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesRfc2396(String text) { + return regexMatchesRfc2396.matcher(text).matches(); + } + + private static Pattern constructMatchesBcp47() { + String alphanum = "[a-zA-Z0-9]"; + String singleton = "[0-9A-WY-Za-wy-z]"; + String extension = singleton + "(-(" + alphanum + "){2,8})+"; + String extlang = "[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2}"; + String irregular = "(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)"; + String regular = "(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)"; + String grandfathered = "(" + irregular + "|" + regular + ")"; + String language = "([a-zA-Z]{2,3}(-" + extlang + ")?|[a-zA-Z]{4}|[a-zA-Z]{5,8})"; + String script = "[a-zA-Z]{4}"; + String region = "([a-zA-Z]{2}|[0-9]{3})"; + String variant = "((" + alphanum + "){5,8}|[0-9](" + alphanum + "){3})"; + String privateuse = "[xX](-(" + alphanum + "){1,8})+"; + String langtag = language + "(-" + script + ")?(-" + region + ")?(-" + variant + ")*(-" + extension + ")*(-" + privateuse + ")?"; + String languageTag = "(" + langtag + "|" + privateuse + "|" + grandfathered + ")"; + String pattern = "^" + languageTag + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesBcp47 = constructMatchesBcp47(); + + /** + * Check that {@code text} is a valid BCP 47 language tag. + * + *

See: https://en.wikipedia.org/wiki/IETF_language_tag + */ + public static Boolean matchesBcp47(String text) { + return regexMatchesBcp47.matcher(text).matches(); + } + + /** + * Check that {@link IAbstractLangString langStrings} are specified each for a unique + * language. + * @param langStrings the langStrings. + */ + public static boolean langStringsHaveUniqueLanguages( + Iterable langStrings + ){ + Objects.requireNonNull(langStrings); + + Set languageSet = new HashSet<>(); + for (IAbstractLangString langString : langStrings) { + if (languageSet.contains(langString.getLanguage())) { + return false; + } + languageSet.add(langString.getLanguage()); + } + return true; + } + + /** + * Check that there are no duplicate {@link IQualifier#getType() type}'s + * in the qualifiers. + * @param qualifiers the qualifiers + */ + public static boolean qualifierTypesAreUnique( + Iterable qualifiers + ) { + Objects.requireNonNull(qualifiers); + + Set typeSet = new HashSet<>(); + for (IQualifier qualifier : qualifiers) { + if (typeSet.contains(qualifier.getType())) { + return false; + } + typeSet.add(qualifier.getType()); + } + return true; + } + + private static Pattern constructMatchesXmlSerializableString() { + String pattern = "^[\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]*$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXmlSerializableString = constructMatchesXmlSerializableString(); + + /** + * Check that {@code text} conforms to the pattern of the Constraint AASd-130. + * + *

Ensures that encoding is possible and interoperability between different + * serializations is possible. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXmlSerializableString(String text) { + return regexMatchesXmlSerializableString.matcher(text).matches(); + } + + private static Pattern constructMatchesXsAnyUri() { + String alphanum = "[a-zA-Z0-9]"; + String mark = "[-_.!~*\'()]"; + String unreserved = "(" + alphanum + "|" + mark + ")"; + String hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])"; + String escaped = "%" + hex + hex; + String pchar = "(" + unreserved + "|" + escaped + "|[:@&=+$,])"; + String param = "(" + pchar + ")*"; + String segment = "(" + pchar + ")*(;" + param + ")*"; + String pathSegments = segment + "(/" + segment + ")*"; + String absPath = "/" + pathSegments; + String scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*"; + String userinfo = "(" + unreserved + "|" + escaped + "|[;:&=+$,])*"; + String domainlabel = "(" + alphanum + "|" + alphanum + "(" + alphanum + "|-)*" + alphanum + ")"; + String toplabel = "([a-zA-Z]|[a-zA-Z](" + alphanum + "|-)*" + alphanum + ")"; + String hostname = "(" + domainlabel + "\\.)*" + toplabel + "(\\.)?"; + String ipv4address = "[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}"; + String hex4 = "[0-9A-Fa-f]{1,4}"; + String hexseq = hex4 + "(:" + hex4 + ")*"; + String hexpart = "(" + hexseq + "|" + hexseq + "::(" + hexseq + ")?|::(" + hexseq + ")?)"; + String ipv6address = hexpart + "(:" + ipv4address + ")?"; + String ipv6reference = "\\[" + ipv6address + "\\]"; + String host = "(" + hostname + "|" + ipv4address + "|" + ipv6reference + ")"; + String port = "[0-9]*"; + String hostport = host + "(:" + port + ")?"; + String server = "((" + userinfo + "@)?" + hostport + ")?"; + String regName = "(" + unreserved + "|" + escaped + "|[$,;:@&=+])+"; + String authority = "(" + server + "|" + regName + ")"; + String netPath = "//" + authority + "(" + absPath + ")?"; + String reserved = "[;/?:@&=+$,\\[\\]]"; + String uric = "(" + reserved + "|" + unreserved + "|" + escaped + ")"; + String query = "(" + uric + ")*"; + String hierPart = "(" + netPath + "|" + absPath + ")(\\?" + query + ")?"; + String uricNoSlash = "(" + unreserved + "|" + escaped + "|[;?:@&=+$,])"; + String opaquePart = uricNoSlash + "(" + uric + ")*"; + String absoluteuri = scheme + ":(" + hierPart + "|" + opaquePart + ")"; + String fragment = "(" + uric + ")*"; + String relSegment = "(" + unreserved + "|" + escaped + "|[;@&=+$,])+"; + String relPath = relSegment + "(" + absPath + ")?"; + String relativeuri = "(" + netPath + "|" + absPath + "|" + relPath + ")(\\?" + query + ")?"; + String uriReference = "^(" + absoluteuri + "|" + relativeuri + ")?(#" + fragment + ")?$"; + + return Pattern.compile(uriReference); + } + + private static final Pattern regexMatchesXsAnyUri = constructMatchesXsAnyUri(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:anyURI}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#anyURI and + * https://datatracker.ietf.org/doc/html/rfc2396 and + * https://datatracker.ietf.org/doc/html/rfc2732 + * + *

Note, that version 1.0 of the XSD specification defines {@code xs:anyURI} as + * "defined by RFC 2396, as amended by RFC 2732". Therefore, we use a + * pattern here that implements the amendments of RFC 2732. This should not + * be confused with {@code matches_RFC_2396}, which does not include those + * amendments and is used in different parts of the specification. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsAnyUri(String text) { + return regexMatchesXsAnyUri.matcher(text).matches(); + } + + private static Pattern constructMatchesXsBase64Binary() { + String b04Char = "[AQgw]"; + String b04 = b04Char + "\\x{20}?"; + String b16Char = "[AEIMQUYcgkosw048]"; + String b16 = b16Char + "\\x{20}?"; + String b64Char = "[A-Za-z0-9+/]"; + String b64 = b64Char + "\\x{20}?"; + String b64quad = "(" + b64 + b64 + b64 + b64 + ")"; + String b64FinalQuad = "(" + b64 + b64 + b64 + b64Char + ")"; + String padded8 = b64 + b04 + "= ?="; + String padded16 = b64 + b64 + b16 + "="; + String b64final = "(" + b64FinalQuad + "|" + padded16 + "|" + padded8 + ")"; + String base64Binary = "(" + b64quad + "*" + b64final + ")?"; + String pattern = "^" + base64Binary + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsBase64Binary = constructMatchesXsBase64Binary(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:base64Binary}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#base64Binary + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsBase64Binary(String text) { + return regexMatchesXsBase64Binary.matcher(text).matches(); + } + + private static Pattern constructMatchesXsBoolean() { + String pattern = "^(true|false|1|0)$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsBoolean = constructMatchesXsBoolean(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:boolean}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#boolean + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsBoolean(String text) { + return regexMatchesXsBoolean.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDate() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String minuteFrag = "[0-5]" + digit; + String timezoneFrag = "(Z|(\\+|-)((0" + digit + "|1[0-3]):" + minuteFrag + "|14:00))"; + String dateLexicalRep = yearFrag + "-" + monthFrag + "-" + dayFrag + timezoneFrag + "?"; + String pattern = "^" + dateLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDate = constructMatchesXsDate(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:date}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#date + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDate(String text) { + return regexMatchesXsDate.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDateTime() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String hourFrag = "(([01]" + digit + ")|(2[0-3]))"; + String minuteFrag = "[0-5]" + digit; + String secondFrag = "([0-5]" + digit + ")(\\." + digit + "+)?"; + String endOfDayFrag = "24:00:00(\\.0+)?"; + String timezoneFrag = "(Z|(\\+|-)((0" + digit + "|1[0-3]):" + minuteFrag + "|14:00))"; + String dateTimeLexicalRep = yearFrag + "-" + monthFrag + "-" + dayFrag + "T((" + hourFrag + ":" + minuteFrag + ":" + secondFrag + ")|" + endOfDayFrag + ")" + timezoneFrag + "?"; + String pattern = "^" + dateTimeLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDateTime = constructMatchesXsDateTime(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:dateTime}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDateTime(String text) { + return regexMatchesXsDateTime.matcher(text).matches(); + } + + private static final Pattern regexDatePrefix = Pattern.compile("^(-?[0-9]+)-([0-9]{2})-([0-9]{2})"); + private static final BigInteger FOUR = new BigInteger("4"); + private static final BigInteger HUNDRED = new BigInteger("100"); + private static final BigInteger FOUR_HUNDRED = new BigInteger("100"); + + /** + * Check whether the given year is a leap year. + * Year 1 BCE is a leap year. + * @param year to be checked + * @return True if 'year' is a leap year + */ + + public static boolean isLeapYear(BigInteger year) { + // We consider the years B.C. to be one-off. + // See the note at: https://www.w3.org/TR/xmlschema-2/#dateTime: + // "'-0001' is the lexical representation of the year 1 Before Common Era + // (1 BCE, sometimes written "1 BC")." + // + // Hence, -1 year in XML is 1 BCE, which is 0 year in astronomical years. + if (year.signum() < 0) { + year = year.negate().subtract(BigInteger.ONE); + } + + // See: See: https://en.wikipedia.org/wiki/Leap_year#Algorithm + if (year.mod(FOUR).signum() > 0) { + return false; + } + + if (year.mod(HUNDRED).signum() > 0) { + return true; + } + + if (year.mod(FOUR_HUNDRED).signum() > 0) { + return false; + } + + return true; + } + + /** + * Check that the value starts with a valid date. + * @param value an xs:date, an xs:dateTime,or an xs:dateTimeStamp + * @return true if the value starts with a valid date + */ + private static boolean isPrefixedWithValidDate( + String value) { + Objects.requireNonNull(value); + + Matcher match = regexDatePrefix.matcher(value); + if (!match.lookingAt()) { + return false; + } + + BigInteger year; + try { + year = new BigInteger(match.group(1)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the year from " + match.group(1) + + "but the parsing failed"); + } + + int month; + try { + month = Integer.parseInt(match.group(2)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the month from " + match.group(2) + + "but the parsing failed"); + } + + int day; + try { + day = Integer.parseInt(match.group(3)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the day from " + match.group(3) + + "but the parsing failed"); + } + + // Year zero does not exist, see: https://www.w3.org/TR/xmlschema-2/#dateTime + if (year.signum() == 0) { + return false; + } + + if (day <= 0 || day > 31) { + return false; + } + + if (month <= 0 || month >= 13) { + return false; + } + + int maxDaysInMonth; + switch (month) { + case 1: + maxDaysInMonth = 31; + break; + case 2: + maxDaysInMonth = (isLeapYear(year)) ? 29 : 28; + break; + case 3: + maxDaysInMonth = 31; + break; + case 4: + maxDaysInMonth = 30; + break; + case 5: + maxDaysInMonth = 31; + break; + case 6: + maxDaysInMonth = 30; + break; + case 7: + maxDaysInMonth = 31; + break; + case 8: + maxDaysInMonth = 31; + break; + case 9: + maxDaysInMonth = 30; + break; + case 10: + maxDaysInMonth = 31; + break; + case 11: + maxDaysInMonth = 30; + break; + case 12: + maxDaysInMonth = 31; + break; + default: + throw new IllegalArgumentException("Unexpected month: " + month); + } + + if (day > maxDaysInMonth) { + return false; + } + + return true; + } + + + + /** + * Check that value is a xs:dateTime with + * the time zone set to UTC. + * @param value to check + */ + public static boolean isXsDateTime(String value) { + if (!matchesXsDateTime(value)) { + return false; + } + + return isPrefixedWithValidDate(value); + } + + private static Pattern constructMatchesXsDecimal() { + String digit = "[0-9]"; + String unsignedNoDecimalPtNumeral = digit + "+"; + String noDecimalPtNumeral = "(\\+|-)?" + unsignedNoDecimalPtNumeral; + String fracFrag = digit + "+"; + String unsignedDecimalPtNumeral = "(" + unsignedNoDecimalPtNumeral + "\\." + fracFrag + "|\\." + fracFrag + ")"; + String decimalPtNumeral = "(\\+|-)?" + unsignedDecimalPtNumeral; + String decimalLexicalRep = "(" + decimalPtNumeral + "|" + noDecimalPtNumeral + ")"; + String pattern = "^" + decimalLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDecimal = constructMatchesXsDecimal(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:decimal}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#decimal + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDecimal(String text) { + return regexMatchesXsDecimal.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDouble() { + String doubleRep = "((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?|-?INF|NaN)"; + String pattern = "^" + doubleRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDouble = constructMatchesXsDouble(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:double}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#double + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDouble(String text) { + return regexMatchesXsDouble.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDuration() { + String durationRep = "-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\.[0-9]+)?S)?|([0-9]+(\\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\.[0-9]+)?S)?|([0-9]+(\\.[0-9]+)?S))))"; + String pattern = "^" + durationRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDuration = constructMatchesXsDuration(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:duration}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#duration + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDuration(String text) { + return regexMatchesXsDuration.matcher(text).matches(); + } + + private static Pattern constructMatchesXsFloat() { + String floatRep = "((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?|-?INF|NaN)"; + String pattern = "^" + floatRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsFloat = constructMatchesXsFloat(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:float}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#float + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsFloat(String text) { + return regexMatchesXsFloat.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGDay() { + String gDayLexicalRep = "---(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gDayLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGDay = constructMatchesXsGDay(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gDay}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gDay + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGDay(String text) { + return regexMatchesXsGDay.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGMonth() { + String gMonthLexicalRep = "--(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gMonthLexicalRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGMonth = constructMatchesXsGMonth(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gMonth}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonth + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGMonth(String text) { + return regexMatchesXsGMonth.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGMonthDay() { + String gMonthDayRep = "--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gMonthDayRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGMonthDay = constructMatchesXsGMonthDay(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gMonthDay}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonthDay + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGMonthDay(String text) { + return regexMatchesXsGMonthDay.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGYear() { + String gYearRep = "-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gYearRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGYear = constructMatchesXsGYear(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gYear}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gYear + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGYear(String text) { + return regexMatchesXsGYear.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGYearMonth() { + String gYearMonthRep = "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gYearMonthRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGYearMonth = constructMatchesXsGYearMonth(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gYearMonth}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gYearMonth + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGYearMonth(String text) { + return regexMatchesXsGYearMonth.matcher(text).matches(); + } + + private static Pattern constructMatchesXsHexBinary() { + String hexBinary = "([0-9a-fA-F]{2})*"; + String pattern = "^" + hexBinary + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsHexBinary = constructMatchesXsHexBinary(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:hexBinary}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#hexBinary + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsHexBinary(String text) { + return regexMatchesXsHexBinary.matcher(text).matches(); + } + + private static Pattern constructMatchesXsTime() { + String timeRep = "(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + timeRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsTime = constructMatchesXsTime(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:time}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#time + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsTime(String text) { + return regexMatchesXsTime.matcher(text).matches(); + } + + private static Pattern constructMatchesXsInteger() { + String integerRep = "[-+]?[0-9]+"; + String pattern = "^" + integerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsInteger = constructMatchesXsInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:integer}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#integer + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsInteger(String text) { + return regexMatchesXsInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsLong() { + String longRep = "[-+]?0*[0-9]{1,20}"; + String pattern = "^" + longRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsLong = constructMatchesXsLong(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:long}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#long + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsLong(String text) { + return regexMatchesXsLong.matcher(text).matches(); + } + + private static Pattern constructMatchesXsInt() { + String intRep = "[-+]?0*[0-9]{1,10}"; + String pattern = "^" + intRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsInt = constructMatchesXsInt(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:int}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#int + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsInt(String text) { + return regexMatchesXsInt.matcher(text).matches(); + } + + private static Pattern constructMatchesXsShort() { + String shortRep = "[-+]?0*[0-9]{1,5}"; + String pattern = "^" + shortRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsShort = constructMatchesXsShort(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:short}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#short + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsShort(String text) { + return regexMatchesXsShort.matcher(text).matches(); + } + + private static Pattern constructMatchesXsByte() { + String byteRep = "[-+]?0*[0-9]{1,3}"; + String pattern = "^" + byteRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsByte = constructMatchesXsByte(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:byte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#byte + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsByte(String text) { + return regexMatchesXsByte.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNonNegativeInteger() { + String nonNegativeIntegerRep = "(-0|\\+?[0-9]+)"; + String pattern = "^" + nonNegativeIntegerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNonNegativeInteger = constructMatchesXsNonNegativeInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:nonNegativeInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#nonNegativeInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNonNegativeInteger(String text) { + return regexMatchesXsNonNegativeInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsPositiveInteger() { + String positiveIntegerRep = "\\+?0*[1-9][0-9]*"; + String pattern = "^" + positiveIntegerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsPositiveInteger = constructMatchesXsPositiveInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:positiveInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#positiveInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsPositiveInteger(String text) { + return regexMatchesXsPositiveInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedLong() { + String unsignedLongRep = "(-0|\\+?0*[0-9]{1,20})"; + String pattern = "^" + unsignedLongRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedLong = constructMatchesXsUnsignedLong(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedLong}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedLong + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedLong(String text) { + return regexMatchesXsUnsignedLong.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedInt() { + String unsignedIntRep = "(-0|\\+?0*[0-9]{1,10})"; + String pattern = "^" + unsignedIntRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedInt = constructMatchesXsUnsignedInt(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedInt}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedInt + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedInt(String text) { + return regexMatchesXsUnsignedInt.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedShort() { + String unsignedShortRep = "(-0|\\+?0*[0-9]{1,5})"; + String pattern = "^" + unsignedShortRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedShort = constructMatchesXsUnsignedShort(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedShort}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedShort + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedShort(String text) { + return regexMatchesXsUnsignedShort.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedByte() { + String unsignedByteRep = "(-0|\\+?0*[0-9]{1,3})"; + String pattern = "^" + unsignedByteRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedByte = constructMatchesXsUnsignedByte(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedByte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedByte + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedByte(String text) { + return regexMatchesXsUnsignedByte.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNonPositiveInteger() { + String nonPositiveIntegerRep = "(\\+0|0|-[0-9]+)"; + String pattern = "^" + nonPositiveIntegerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNonPositiveInteger = constructMatchesXsNonPositiveInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:nonPositiveInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#nonPositiveInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNonPositiveInteger(String text) { + return regexMatchesXsNonPositiveInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNegativeInteger() { + String negativeIntegerRep = "(-0*[1-9][0-9]*)"; + String pattern = "^" + negativeIntegerRep + "$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNegativeInteger = constructMatchesXsNegativeInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:negativeInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#negativeInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNegativeInteger(String text) { + return regexMatchesXsNegativeInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsString() { + String pattern = "^[\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]*$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsString = constructMatchesXsString(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:string}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#string + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsString(String text) { + return regexMatchesXsString.matcher(text).matches(); + } + + /** + * Check that the value is consistent with + * the given valueType. + * @param value the value to check + * @param valueType the value type + */ + public static boolean valueConsistentWithXsdType( + String value, + DataTypeDefXsd valueType){ + Objects.requireNonNull(value); + Objects.requireNonNull(valueType); + + switch (valueType) { + case ANY_URI: { + return matchesXsAnyUri(value); + } + case BASE_64_BINARY: { + return matchesXsBase64Binary(value); + } + case BOOLEAN: { + return matchesXsBoolean(value); + } + case BYTE: { + try { + Byte.valueOf(value); + return true; + } catch (NumberFormatException numberFormatException) { + return false; + } + } + case DATE: { + if (!matchesXsDate(value)) { + return false; + } + + return isPrefixedWithValidDate(value); + } + case DATE_TIME: { + if (!matchesXsDateTime(value)) { + return false; + } + + // The time part and the time zone part will be checked by + // MatchesXsDateTime. We need to check that the date part is + // correct in sense of the day/month combination. + return isPrefixedWithValidDate(value); + } + case DECIMAL: { + return matchesXsDecimal(value); + } + case DOUBLE: { + // We need to check explicitly for the regular expression. + // See: https://www.w3.org/TR/xmlschema-2/#double + if (!matchesXsDouble(value)) { + return false; + } + + if("INF".equals(value) || "-INF".equals(value)) return true; + + double converted; + try { + converted = Double.parseDouble(value); + } catch (Exception exception) { + return false; + } + return !Double.isInfinite(converted); + } + case DURATION: { + return matchesXsDuration(value); + } + case FLOAT: { + // We need to check explicitly for the regular expression. + // See: https://www.w3.org/TR/xmlschema-2/#float + if (!matchesXsFloat(value)) { + return false; + } + + if("INF".equals(value) || "-INF".equals(value)) return true; + + float converted; + try { + converted = Float.parseFloat(value); + } catch (Exception exception) { + return false; + } + return !Float.isInfinite(converted); + } + case G_DAY: { + return matchesXsGDay(value); + } + case G_MONTH: { + return matchesXsGMonth(value); + } + case G_MONTH_DAY: { + if (!matchesXsGMonthDay(value)) { + return false; + } + + int month = Integer.parseInt(value.substring(2,4)); + int day = Integer.parseInt(value.substring(5,7)); + switch (month) + { + case 1: + case 3: + case 5: + case 7: + case 8: + case 10: + case 12: + return day <= 31; + case 4: + case 6: + case 9: + case 11: + return day <= 30; + case 2: + return day <= 29; + default: + throw new IllegalArgumentException( + "Unhandled month: " + month + + "is there maybe a bug in MatchesXsGMonthDay?" + ); + } + } + case G_YEAR: { + return matchesXsGYear(value); + } + case G_YEAR_MONTH: { + return matchesXsGYearMonth(value); + } + case HEX_BINARY: { + return matchesXsHexBinary(value); + } + case INT: { + try { + Integer.parseInt(value); + return true; + } catch (Exception exception) { + return false; + } + } + case INTEGER: { + return matchesXsInteger(value); + } + case LONG: { + try { + Long.parseLong(value); + return true; + } catch (Exception exception) { + return false; + } + } + case NEGATIVE_INTEGER: { + return matchesXsNegativeInteger(value); + } + case NON_NEGATIVE_INTEGER: { + return matchesXsNonNegativeInteger(value); + } + case NON_POSITIVE_INTEGER: { + return matchesXsNonPositiveInteger(value); + } + case POSITIVE_INTEGER: { + return matchesXsPositiveInteger(value); + } + case SHORT: { + try { + Short.parseShort(value); + return true; + } catch (Exception exception) { + return false; + } + } + case STRING: { + return matchesXsString(value); + } + case TIME: { + return matchesXsTime(value); + } + case UNSIGNED_BYTE: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned byte. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedByte + if (value.equals("-0")) { + return true; + } + + try { + int converted = Integer.parseInt(value); + return 0 <= converted && converted <= 255; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_INT: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned int. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedInt + if (value.equals("-0")) { + return true; + } + + try { + //Java does not support UInt32 like C#, so we need to use long. + long converted = Long.parseUnsignedLong(value); + return converted <= 4294967295L; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_LONG: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned long. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedLong + if (value.equals("-0")) { + return true; + } + + try { + Long.parseUnsignedLong(value); + return true; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_SHORT: { + if (value.isEmpty()) { + return false; + } + + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned short. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedShort + if (value.equals("-0")) { + return true; + } + + try { + int converted = Integer.parseInt(value); + return 0 <= converted && converted <= 65535; + } catch (Exception exception) { + return false; + } + } + default: + throw new IllegalArgumentException( + "valueType is an invalid DataTypeDefXsd: " + valueType + ); + } + } + + /** + * Check that the target of the model reference matches the {@code expectedType}. + */ + public static Boolean isModelReferenceTo( + IReference reference, + KeyTypes expectedType) { + return reference.getType() == ReferenceTypes.MODEL_REFERENCE + && reference.getKeys().size() != 0 + && ListHelpers.at(reference.getKeys(), -1).getType() == expectedType; + } + + /** + * Check that the target of the reference matches a {@link aas_core.aas3_1.constants.Constants#aasReferables}. + */ + public static Boolean isModelReferenceToReferable( + IReference reference) { + return reference.getType() == ReferenceTypes.MODEL_REFERENCE + && reference.getKeys().size() != 0 + && Constants.aasReferables.contains(ListHelpers.at(reference.getKeys(), -1).getType()); + } + + /** + * Check that all {@link IReferable#getIdShort() idShort} are unique among referables. + * @param referables the referables. + */ + public static boolean idShortsAreUnique( + Iterable referables) { + Objects.requireNonNull(referables); + + Set idShortSet = new HashSet<>(); + + for (IReferable referable : referables) { + if (referable.getIdShort().isPresent()) { + if (idShortSet.contains(referable.getIdShort().get())) { + return false; + } + idShortSet.add(referable.getIdShort().get()); + } + } + return true; + } + + /** + * Check that all {@link IReferable#getIdShort idShort} 's are among all the inputVariables, outputVariables and inoutputVariables are unique. + * @param inputVariables the inputVariables + * @param outputVariables the outputVariables + * @param inoutputVariables the inoutputVariables + */ + public static boolean idShortsOfVariablesAreUnique( + Optional> inputVariables, + Optional> outputVariables, + Optional> inoutputVariables) { + + Set idShortSet = new HashSet<>(); + + if (inputVariables.isPresent()) { + for(IOperationVariable variable : inputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + if (outputVariables.isPresent()) { + for (IOperationVariable variable : outputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + if (inoutputVariables.isPresent()) { + for (IOperationVariable variable : inoutputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + + return true; + } + + /** + * Check that all {@link IExtension#getName() name} are unique among extensions. + * @param extensions the extensions + */ + public static boolean extensionNamesAreUnique( + Iterable extensions) { + Objects.requireNonNull(extensions); + + Set nameSet = new HashSet<>(); + + for (IExtension extension : extensions) { + if (nameSet.contains(extension.getName())) { + return false; + } + nameSet.add(extension.getName()); + } + return true; + } + + /** + * Check that all elements have the identical + * {@link IHasSemantics#getSemanticId() semanticId}'s. + */ + public static boolean submodelElementsHaveIdenticalSemanticIds( + Iterable elements) { + Objects.requireNonNull(elements); + + IReference thatSemanticId = null; + + for (ISubmodelElement element : elements) { + if (!element.getSemanticId().isPresent()) { + continue; + } + + if (thatSemanticId == null) { + thatSemanticId = element.getSemanticId().get(); + continue; + } + + IReference thisSemanticId = element.getSemanticId().get(); + + if (thatSemanticId.getKeys().size() != thisSemanticId.getKeys().size()) { + return false; + } + + for (int i = 0; i < thisSemanticId.getKeys().size(); i++) { + if (!Objects.equals(thatSemanticId.getKeys().get(i).getValue(), + thisSemanticId.getKeys().get(i).getValue())) { + return false; + } + } + } + + return true; + } + + public static boolean submodelElementIsOfType( + ISubmodelElement element, + AasSubmodelElements expectedType + ) { + Objects.requireNonNull(element); + Objects.requireNonNull(expectedType); + + switch (expectedType) { + case ANNOTATED_RELATIONSHIP_ELEMENT: + return element instanceof IAnnotatedRelationshipElement; + + case BASIC_EVENT_ELEMENT: + return element instanceof IBasicEventElement; + + case BLOB: + return element instanceof IBlob; + + case CAPABILITY: + return element instanceof ICapability; + + case DATA_ELEMENT: + return element instanceof IDataElement; + + case ENTITY: + return element instanceof IEntity; + + case EVENT_ELEMENT: + return element instanceof IEventElement; + + case FILE: + return element instanceof IFile; + + case MULTI_LANGUAGE_PROPERTY: + return element instanceof IMultiLanguageProperty; + + case OPERATION: + return element instanceof IOperation; + + case PROPERTY: + return element instanceof IProperty; + + case RANGE: + return element instanceof IRange; + + case REFERENCE_ELEMENT: + return element instanceof IReferenceElement; + + case RELATIONSHIP_ELEMENT: + return element instanceof IRelationshipElement; + + case SUBMODEL_ELEMENT: + return element instanceof ISubmodelElement; + + case SUBMODEL_ELEMENT_LIST: + return element instanceof ISubmodelElementList; + + case SUBMODEL_ELEMENT_COLLECTION: + return element instanceof ISubmodelElementCollection; + + default: + throw new IllegalArgumentException( + "expectedType is not a valid AasSubmodelElements: " + expectedType + ); + } + } + + /** + * Check that the elements which are + * {@link IProperty} or {@link IRange} + * have the given valueType. + * @param elements the elements. + * @param valueType the valueType. + */ + public static boolean propertiesOrRangesHaveValueType( + Iterable elements, + DataTypeDefXsd valueType + ) { + Objects.requireNonNull(elements); + Objects.requireNonNull(valueType); + + for (ISubmodelElement element : elements) { + if(element instanceof IProperty) { + if (((IProperty) element).getValueType() != valueType) { + return false; + } + } else if (element instanceof IRange) { + if (((IRange) element).getValueType() != valueType) { + return false; + } + } + } + return true; + } + + /** + * Check that the two references,'that' and + * 'other', are equal by comparing + * their {@link IReference#getKeys() keys} by + * {@link IKey#getValue() value}'s. + */ + public static boolean referenceKeyValuesEqual( + IReference that, + IReference other) { + Objects.requireNonNull(that); + Objects.requireNonNull(other); + + if (that.getKeys().size() != other.getKeys().size()) { + return false; + } + + for (int i = 0; i < that.getKeys().size(); i++) { + if (!Objects.equals(that.getKeys().get(i).getValue(), other.getKeys().get(i).getValue())) { + return false; + } + } + + return true; + } + + /** + *Check that the {@link IDataSpecificationIec61360#getValue() dataType} is defined + *appropriately for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications){ + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if(iec61360 != null){ + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForPropertyOrValue.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType() dataType} is defined + * appropriately for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForReferenceHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for(IEmbeddedDataSpecification embeddedDataSpecification :embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForReference.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType dataType} is defined + * appropriately for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForDocumentHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if(iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForDocument.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType() dataType} is defined + * for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sHaveDataType( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 + = (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent()) { + return false; + } + } + } + return true; + } + + /** Check that the {@link IDataSpecificationIec61360#getValue() value} is defined + * for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sHaveValue( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getValue().isPresent()) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDefinition() definition} is defined + * for all data specifications whose content is given as IEC 61360 at least in English. + */ + public static boolean dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish( + Iterable embeddedDataSpecifications){ + Objects.requireNonNull(embeddedDataSpecifications); + + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDefinition().isPresent()) { + return false; + } + + boolean noDefinitionInEnglish = true; + for (ILangStringDefinitionTypeIec61360 langString : iec61360.getDefinition().get()) { + if (isBcp47ForEnglish(langString.getLanguage())) { + noDefinitionInEnglish = false; + break; + } + } + + if (noDefinitionInEnglish) { + return false; + } + } + } + return true; + } + + private static Pattern constructIsBcp47ForEnglish() { + String pattern = "^(en|EN)(-.*)?$"; + + return Pattern.compile(pattern); + } + + private static final Pattern regexIsBcp47ForEnglish = constructIsBcp47ForEnglish(); + + /** + * Check that the {@code text} corresponds to a BCP47 code for english. + */ + public static Boolean isBcp47ForEnglish(String text) { + return regexIsBcp47ForEnglish.matcher(text).matches(); + } + + /** + * Hash allowed enum values for efficient validation of enums. + */ + private static class _EnumValueSet { + private static final Set forModellingKind; + static { + final Set temp = new HashSet<>(); + + temp.add(ModellingKind.TEMPLATE); + temp.add(ModellingKind.INSTANCE); + + if (!temp.containsAll(Arrays.asList(ModellingKind.values()))) { + throw new IllegalStateException("Uncovered ModellingKind"); + } + + forModellingKind = Collections.unmodifiableSet(temp); + } + + private static final Set forQualifierKind; + static { + final Set temp = new HashSet<>(); + + temp.add(QualifierKind.VALUE_QUALIFIER); + temp.add(QualifierKind.CONCEPT_QUALIFIER); + temp.add(QualifierKind.TEMPLATE_QUALIFIER); + + if (!temp.containsAll(Arrays.asList(QualifierKind.values()))) { + throw new IllegalStateException("Uncovered QualifierKind"); + } + + forQualifierKind = Collections.unmodifiableSet(temp); + } + + private static final Set forAssetKind; + static { + final Set temp = new HashSet<>(); + + temp.add(AssetKind.TYPE); + temp.add(AssetKind.INSTANCE); + temp.add(AssetKind.ROLE); + temp.add(AssetKind.NOT_APPLICABLE); + + if (!temp.containsAll(Arrays.asList(AssetKind.values()))) { + throw new IllegalStateException("Uncovered AssetKind"); + } + + forAssetKind = Collections.unmodifiableSet(temp); + } + + private static final Set forAasSubmodelElements; + static { + final Set temp = new HashSet<>(); + + temp.add(AasSubmodelElements.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.add(AasSubmodelElements.BASIC_EVENT_ELEMENT); + temp.add(AasSubmodelElements.BLOB); + temp.add(AasSubmodelElements.CAPABILITY); + temp.add(AasSubmodelElements.DATA_ELEMENT); + temp.add(AasSubmodelElements.ENTITY); + temp.add(AasSubmodelElements.EVENT_ELEMENT); + temp.add(AasSubmodelElements.FILE); + temp.add(AasSubmodelElements.MULTI_LANGUAGE_PROPERTY); + temp.add(AasSubmodelElements.OPERATION); + temp.add(AasSubmodelElements.PROPERTY); + temp.add(AasSubmodelElements.RANGE); + temp.add(AasSubmodelElements.REFERENCE_ELEMENT); + temp.add(AasSubmodelElements.RELATIONSHIP_ELEMENT); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT_LIST); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT_COLLECTION); + + if (!temp.containsAll(Arrays.asList(AasSubmodelElements.values()))) { + throw new IllegalStateException("Uncovered AasSubmodelElements"); + } + + forAasSubmodelElements = Collections.unmodifiableSet(temp); + } + + private static final Set forEntityType; + static { + final Set temp = new HashSet<>(); + + temp.add(EntityType.CO_MANAGED_ENTITY); + temp.add(EntityType.SELF_MANAGED_ENTITY); + + if (!temp.containsAll(Arrays.asList(EntityType.values()))) { + throw new IllegalStateException("Uncovered EntityType"); + } + + forEntityType = Collections.unmodifiableSet(temp); + } + + private static final Set forDirection; + static { + final Set temp = new HashSet<>(); + + temp.add(Direction.INPUT); + temp.add(Direction.OUTPUT); + + if (!temp.containsAll(Arrays.asList(Direction.values()))) { + throw new IllegalStateException("Uncovered Direction"); + } + + forDirection = Collections.unmodifiableSet(temp); + } + + private static final Set forStateOfEvent; + static { + final Set temp = new HashSet<>(); + + temp.add(StateOfEvent.ON); + temp.add(StateOfEvent.OFF); + + if (!temp.containsAll(Arrays.asList(StateOfEvent.values()))) { + throw new IllegalStateException("Uncovered StateOfEvent"); + } + + forStateOfEvent = Collections.unmodifiableSet(temp); + } + + private static final Set forReferenceTypes; + static { + final Set temp = new HashSet<>(); + + temp.add(ReferenceTypes.EXTERNAL_REFERENCE); + temp.add(ReferenceTypes.MODEL_REFERENCE); + + if (!temp.containsAll(Arrays.asList(ReferenceTypes.values()))) { + throw new IllegalStateException("Uncovered ReferenceTypes"); + } + + forReferenceTypes = Collections.unmodifiableSet(temp); + } + + private static final Set forKeyTypes; + static { + final Set temp = new HashSet<>(); + + temp.add(KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.add(KeyTypes.ASSET_ADMINISTRATION_SHELL); + temp.add(KeyTypes.BASIC_EVENT_ELEMENT); + temp.add(KeyTypes.BLOB); + temp.add(KeyTypes.CAPABILITY); + temp.add(KeyTypes.CONCEPT_DESCRIPTION); + temp.add(KeyTypes.DATA_ELEMENT); + temp.add(KeyTypes.ENTITY); + temp.add(KeyTypes.EVENT_ELEMENT); + temp.add(KeyTypes.FILE); + temp.add(KeyTypes.FRAGMENT_REFERENCE); + temp.add(KeyTypes.GLOBAL_REFERENCE); + temp.add(KeyTypes.IDENTIFIABLE); + temp.add(KeyTypes.MULTI_LANGUAGE_PROPERTY); + temp.add(KeyTypes.OPERATION); + temp.add(KeyTypes.PROPERTY); + temp.add(KeyTypes.RANGE); + temp.add(KeyTypes.REFERABLE); + temp.add(KeyTypes.REFERENCE_ELEMENT); + temp.add(KeyTypes.RELATIONSHIP_ELEMENT); + temp.add(KeyTypes.SUBMODEL); + temp.add(KeyTypes.SUBMODEL_ELEMENT); + temp.add(KeyTypes.SUBMODEL_ELEMENT_COLLECTION); + temp.add(KeyTypes.SUBMODEL_ELEMENT_LIST); + + if (!temp.containsAll(Arrays.asList(KeyTypes.values()))) { + throw new IllegalStateException("Uncovered KeyTypes"); + } + + forKeyTypes = Collections.unmodifiableSet(temp); + } + + private static final Set forDataTypeDefXsd; + static { + final Set temp = new HashSet<>(); + + temp.add(DataTypeDefXsd.ANY_URI); + temp.add(DataTypeDefXsd.BASE_64_BINARY); + temp.add(DataTypeDefXsd.BOOLEAN); + temp.add(DataTypeDefXsd.BYTE); + temp.add(DataTypeDefXsd.DATE); + temp.add(DataTypeDefXsd.DATE_TIME); + temp.add(DataTypeDefXsd.DECIMAL); + temp.add(DataTypeDefXsd.DOUBLE); + temp.add(DataTypeDefXsd.DURATION); + temp.add(DataTypeDefXsd.FLOAT); + temp.add(DataTypeDefXsd.G_DAY); + temp.add(DataTypeDefXsd.G_MONTH); + temp.add(DataTypeDefXsd.G_MONTH_DAY); + temp.add(DataTypeDefXsd.G_YEAR); + temp.add(DataTypeDefXsd.G_YEAR_MONTH); + temp.add(DataTypeDefXsd.HEX_BINARY); + temp.add(DataTypeDefXsd.INT); + temp.add(DataTypeDefXsd.INTEGER); + temp.add(DataTypeDefXsd.LONG); + temp.add(DataTypeDefXsd.NEGATIVE_INTEGER); + temp.add(DataTypeDefXsd.NON_NEGATIVE_INTEGER); + temp.add(DataTypeDefXsd.NON_POSITIVE_INTEGER); + temp.add(DataTypeDefXsd.POSITIVE_INTEGER); + temp.add(DataTypeDefXsd.SHORT); + temp.add(DataTypeDefXsd.STRING); + temp.add(DataTypeDefXsd.TIME); + temp.add(DataTypeDefXsd.UNSIGNED_BYTE); + temp.add(DataTypeDefXsd.UNSIGNED_INT); + temp.add(DataTypeDefXsd.UNSIGNED_LONG); + temp.add(DataTypeDefXsd.UNSIGNED_SHORT); + + if (!temp.containsAll(Arrays.asList(DataTypeDefXsd.values()))) { + throw new IllegalStateException("Uncovered DataTypeDefXsd"); + } + + forDataTypeDefXsd = Collections.unmodifiableSet(temp); + } + + private static final Set forDataTypeIec61360; + static { + final Set temp = new HashSet<>(); + + temp.add(DataTypeIec61360.DATE); + temp.add(DataTypeIec61360.STRING); + temp.add(DataTypeIec61360.STRING_TRANSLATABLE); + temp.add(DataTypeIec61360.INTEGER_MEASURE); + temp.add(DataTypeIec61360.INTEGER_COUNT); + temp.add(DataTypeIec61360.INTEGER_CURRENCY); + temp.add(DataTypeIec61360.REAL_MEASURE); + temp.add(DataTypeIec61360.REAL_COUNT); + temp.add(DataTypeIec61360.REAL_CURRENCY); + temp.add(DataTypeIec61360.BOOLEAN); + temp.add(DataTypeIec61360.IRI); + temp.add(DataTypeIec61360.IRDI); + temp.add(DataTypeIec61360.RATIONAL); + temp.add(DataTypeIec61360.RATIONAL_MEASURE); + temp.add(DataTypeIec61360.TIME); + temp.add(DataTypeIec61360.TIMESTAMP); + temp.add(DataTypeIec61360.FILE); + temp.add(DataTypeIec61360.HTML); + temp.add(DataTypeIec61360.BLOB); + + if (!temp.containsAll(Arrays.asList(DataTypeIec61360.values()))) { + throw new IllegalStateException("Uncovered DataTypeIec61360"); + } + + forDataTypeIec61360 = Collections.unmodifiableSet(temp); + } + } + + private static final _Transformer transformer = new _Transformer(); + + private static class _Transformer extends AbstractTransformer> { + @Override + public Stream transformExtension( + IExtension that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getRefersTo().isPresent()) + || (that.getRefersTo().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Refers-to must be either not set or have at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || valueConsistentWithXsdType( + that.getValue().orElse(null), + that.valueTypeOrDefault()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must match the value type."))); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("name")); + return error; + })); + + if (that.getValueType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueType().get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueType")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getRefersTo().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getRefersTo().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("refersTo")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformAdministrativeInformation( + IAdministrativeInformation that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getRevision().isPresent()) + || (that.getVersion().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-005: If version is not specified then also " + + "revision shall be unspecified. This means, a revision " + + "requires a version. If there is no version there is no " + + "revision either. Revision is optional."))); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getVersion().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getVersion().get()) + .flatMap(Verification::verifyVersionType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("version")); + return error; + })); + } + + if (that.getRevision().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getRevision().get()) + .flatMap(Verification::verifyRevisionType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("revision")); + return error; + })); + } + + if (that.getCreator().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCreator().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("creator")); + return error; + })); + } + + if (that.getTemplateId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getTemplateId().get()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("templateId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformQualifier( + IQualifier that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getValue().isPresent()) + || valueConsistentWithXsdType(that.getValue().orElse(null), that.getValueType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-020: The value shall be consistent to " + + "the data type as defined in value type."))); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getKind().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getKind().get()) + .flatMap(Verification::verifyQualifierKind) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("kind")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyQualifierType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("type")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueType")); + return error; + })); + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getValueId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformAssetAdministrationShell( + IAssetAdministrationShell that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getSubmodels().isPresent()) + || (that.getSubmodels().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Submodels must be either not set or have at least one item."))); + } + + if (!( + !(that.getDerivedFrom().isPresent()) + || isModelReferenceTo( + that.getDerivedFrom().orElse(null), + KeyTypes.ASSET_ADMINISTRATION_SHELL))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Derived-from must be a model reference to an asset " + + "administration shell."))); + } + + if (!( + !(that.getSubmodels().isPresent()) + || ( + that.getSubmodels().get().stream().allMatch( + reference -> isModelReferenceTo(reference, KeyTypes.SUBMODEL)) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "All submodels must be model references to a submodel."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getAdministration().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAdministration().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("administration")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("id")); + return error; + })); + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getDerivedFrom().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDerivedFrom().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("derivedFrom")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getAssetInformation()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("assetInformation")); + return error; + })); + + if (that.getSubmodels().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSubmodels().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("submodels")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformAssetInformation( + IAssetInformation that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getSpecificAssetIds().isPresent()) + || ( + that.getSpecificAssetIds().get().stream().allMatch( + specificAssetId -> !Objects.equals(specificAssetId.getName(), "globalAssetId") + || ( + (that.getGlobalAssetId().isPresent()) + && Objects.equals(specificAssetId.getName(), "globalAssetId") + && Objects.equals(specificAssetId.getValue(), that.getGlobalAssetId().get()) + )) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-116: ``globalAssetId`` is a reserved key. " + + "If used as value for the name of specific asset ID then " + + "the value of specific asset ID shall be identical to " + + "the global asset ID."))); + } + + if (!( + ( + (that.getGlobalAssetId().isPresent()) + || (that.getSpecificAssetIds().isPresent()) + ) + && ( + !(that.getSpecificAssetIds().isPresent()) + || (that.getSpecificAssetIds().get().size() >= 1) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-131: Either the global asset ID shall be " + + "defined or at least one specific asset ID."))); + } + + if (!( + !(that.getSpecificAssetIds().isPresent()) + || (that.getSpecificAssetIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getAssetKind()) + .flatMap(Verification::verifyAssetKind) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("assetKind")); + return error; + })); + + if (that.getGlobalAssetId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getGlobalAssetId().get()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + + if (that.getSpecificAssetIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSpecificAssetIds().get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + + if (that.getAssetType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAssetType().get()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("assetType")); + return error; + })); + } + + if (that.getDefaultThumbnail().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDefaultThumbnail().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("defaultThumbnail")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformResource( + IResource that) { + Stream errorStream = Stream.empty(); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getPath()) + .flatMap(Verification::verifyPathType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("path")); + return error; + })); + + if (that.getContentType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getContentType().get()) + .flatMap(Verification::verifyContentType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("contentType")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformSpecificAssetId( + ISpecificAssetId that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getExternalSubjectId().isPresent()) + || (that.getExternalSubjectId().get().getType() == ReferenceTypes.EXTERNAL_REFERENCE))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-133: External subject ID shall be " + + "an external reference."))); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyLabelType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("name")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + + if (that.getExternalSubjectId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExternalSubjectId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("externalSubjectId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformSubmodel( + ISubmodel that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getSubmodelElements().isPresent()) + || (that.getSubmodelElements().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Submodel elements must be either not set or have at least " + + "one item."))); + } + + if (!( + !(that.getSubmodelElements().isPresent()) + || ( + that.getSubmodelElements().get().stream().allMatch( + item -> item.getIdShort().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of submodel " + + "elements according to AASd-117 (ID-short of Referables not " + + "being a direct child of a Submodel element list shall be " + + "specified)."))); + } + + if (!( + !(that.getSubmodelElements().isPresent()) + || idShortsAreUnique(that.getSubmodelElements().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-022: ID-short of non-identifiable " + + "referables within the same name space shall be unique " + + "(case-sensitive)."))); + } + + if (!( + !(that.getSubmodelElements().isPresent()) + || ( + !(that.kindOrDefault() != ModellingKind.TEMPLATE) + || ( + that.getSubmodelElements().get().stream().allMatch( + submodelElement -> !(submodelElement.getQualifiers().isPresent()) + || ( + submodelElement.getQualifiers().get().stream().allMatch( + qualifier -> qualifier.kindOrDefault() != QualifierKind.TEMPLATE_QUALIFIER) + )) + ) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-129: If any qualifier kind value of " + + "a Submodel element qualifier (attribute qualifier inherited " + + "via Qualifiable) is equal to Template Qualifier then " + + "the submodel element shall be part of a submodel template, " + + "i.e. a Submodel with submodel kind (attribute kind " + + "inherited via Has-Kind) value is equal to Template."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || ( + !( + that.getQualifiers().get().stream().anyMatch( + qualifier -> qualifier.kindOrDefault() == QualifierKind.TEMPLATE_QUALIFIER) + ) + || (that.kindOrDefault() == ModellingKind.TEMPLATE) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-119: If any qualifier kind value of " + + "a qualifiable qualifier is equal to template qualifier and " + + "the qualified element has kind then the qualified element " + + "shall be of kind template."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getAdministration().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAdministration().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("administration")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("id")); + return error; + })); + + if (that.getKind().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getKind().get()) + .flatMap(Verification::verifyModellingKind) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("kind")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getSubmodelElements().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSubmodelElements().get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("submodelElements")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformRelationshipElement( + IRelationshipElement that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getFirst().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getFirst().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("first")); + return error; + })); + } + + if (that.getSecond().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSecond().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("second")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformSubmodelElementList( + ISubmodelElementList that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || (that.getValue().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + + if (!( + !( + (that.getValue().isPresent()) + && (that.getSemanticIdListElement().isPresent()) + ) + || ( + that.getValue().get().stream().allMatch( + child -> !(child.getSemanticId().isPresent()) + || referenceKeyValuesEqual( + child.getSemanticId().orElse(null), + that.getSemanticIdListElement().orElse(null))) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-107: If a first level child element has " + + "a semantic ID it shall be identical to semantic ID list " + + "element."))); + } + + if (!( + !(that.getValue().isPresent()) + || submodelElementsHaveIdenticalSemanticIds(that.getValue().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-114: If two first level child elements have " + + "a semantic ID then they shall be identical."))); + } + + if (!( + !(that.getValue().isPresent()) + || ( + that.getValue().get().stream().allMatch( + element -> submodelElementIsOfType(element, that.getTypeValueListElement())) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-108: All first level child elements shall " + + "have the same submodel element type as specified in type " + + "value list element."))); + } + + if (!( + !( + (that.getValue().isPresent()) + && ( + that.getTypeValueListElement() == AasSubmodelElements.PROPERTY + || that.getTypeValueListElement() == AasSubmodelElements.RANGE + ) + ) + || ( + (that.getValueTypeListElement().isPresent()) + && propertiesOrRangesHaveValueType( + that.getValue().orElse(null), + that.getValueTypeListElement().orElse(null)) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-109: If type value list element is equal to " + + "Property or Range value type list element shall be set and " + + "all first level child elements shall have the value type as " + + "specified in value type list element."))); + } + + if (!( + !(that.getValue().isPresent()) + || idShortsAreUnique(that.getValue().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts of the value must be unique."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getSemanticIdListElement().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticIdListElement().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticIdListElement")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getTypeValueListElement()) + .flatMap(Verification::verifyAasSubmodelElements) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("typeValueListElement")); + return error; + })); + + if (that.getValueTypeListElement().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueTypeListElement().get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueTypeListElement")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformSubmodelElementCollection( + ISubmodelElementCollection that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || (that.getValue().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || ( + that.getValue().get().stream().allMatch( + item -> item.getIdShort().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of value " + + "according to AASd-117 (ID-short of Referables not being " + + "a direct child of a Submodel element list shall be " + + "specified)."))); + } + + if (!( + !(that.getValue().isPresent()) + || idShortsAreUnique(that.getValue().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts of the value must be unique."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformProperty( + IProperty that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || valueConsistentWithXsdType(that.getValue().orElse(null), that.getValueType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must be consistent with the value type."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueType")); + return error; + })); + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getValueId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformMultiLanguageProperty( + IMultiLanguageProperty that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getValue().isPresent()) + || langStringsHaveUniqueLanguages(that.getValue().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must specify unique languages."))); + } + + if (!( + !(that.getValue().isPresent()) + || (that.getValue().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getValueId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformRange( + IRange that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getMax().isPresent()) + || valueConsistentWithXsdType(that.getMax().orElse(null), that.getValueType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Max must be consistent with the value type."))); + } + + if (!( + !(that.getMin().isPresent()) + || valueConsistentWithXsdType(that.getMin().orElse(null), that.getValueType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Min must be consistent with the value type."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueType")); + return error; + })); + + if (that.getMin().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMin().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("min")); + return error; + })); + } + + if (that.getMax().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMax().get()) + .flatMap(Verification::verifyValueDataType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("max")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformReferenceElement( + IReferenceElement that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformBlob( + IBlob that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyBlobType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getContentType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getContentType().get()) + .flatMap(Verification::verifyContentType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("contentType")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformFile( + IFile that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyPathType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getContentType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getContentType().get()) + .flatMap(Verification::verifyContentType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("contentType")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getAnnotations().isPresent()) + || (that.getAnnotations().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Annotations must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getAnnotations().isPresent()) + || ( + that.getAnnotations().get().stream().allMatch( + item -> item.getIdShort().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of " + + "annotations according to AASd-117 (ID-short of Referables " + + "not being a direct child of a Submodel element list shall " + + "be specified)."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getFirst().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getFirst().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("first")); + return error; + })); + } + + if (that.getSecond().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSecond().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("second")); + return error; + })); + } + + if (that.getAnnotations().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAnnotations().get()) + .flatMap(Verification::verifyListOf_IDataElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("annotations")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformEntity( + IEntity that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getStatements().isPresent()) + || (that.getStatements().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Statements must be either not set or have at least one item."))); + } + + if (!( + !(that.getStatements().isPresent()) + || ( + that.getStatements().get().stream().allMatch( + item -> item.getIdShort().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of " + + "statements according to AASd-117 (ID-short of Referables " + + "not being a direct child of a Submodel element list shall " + + "be specified)."))); + } + + if (!( + !(that.getEntityType().isPresent()) + || ( + !(that.getEntityType().get() == EntityType.SELF_MANAGED_ENTITY) + || ( + ( + (that.getGlobalAssetId().isPresent()) + && (!that.getSpecificAssetIds().isPresent()) + ) + || ( + (!that.getGlobalAssetId().isPresent()) + && (that.getSpecificAssetIds().isPresent()) + && that.getSpecificAssetIds().get().size() >= 1 + ) + ) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-014: Either the attribute global asset ID " + + "or specific asset ID must be set if Entity/entityType is " + + "set to :attr:`Entity_type.Self_managed_entity`."))); + } + + if (!( + !(that.getSpecificAssetIds().isPresent()) + || (that.getSpecificAssetIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getStatements().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getStatements().get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("statements")); + return error; + })); + } + + if (that.getEntityType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEntityType().get()) + .flatMap(Verification::verifyEntityType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("entityType")); + return error; + })); + } + + if (that.getGlobalAssetId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getGlobalAssetId().get()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + + if (that.getSpecificAssetIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSpecificAssetIds().get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformEventPayload( + IEventPayload that) { + Stream errorStream = Stream.empty(); + + if (!( + isModelReferenceTo(that.getSource(), KeyTypes.EVENT_ELEMENT) + || isModelReferenceTo(that.getSource(), KeyTypes.BASIC_EVENT_ELEMENT))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Source must be a model reference to an Event element."))); + } + + if (!( + isModelReferenceToReferable(that.getObservableReference()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Observable reference must be a model reference to " + + "a referable."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getSource()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("source")); + return error; + })); + + if (that.getSourceSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSourceSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("sourceSemanticId")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getObservableReference()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("observableReference")); + return error; + })); + + if (that.getObservableSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getObservableSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("observableSemanticId")); + return error; + })); + } + + if (that.getTopic().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getTopic().get()) + .flatMap(Verification::verifyMessageTopicType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("topic")); + return error; + })); + } + + if (that.getSubjectId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSubjectId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("subjectId")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getTimeStamp()) + .flatMap(Verification::verifyDateTimeUtc) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("timeStamp")); + return error; + })); + + if (that.getPayload().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getPayload().get()) + .flatMap(Verification::verifyBlobType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("payload")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformBasicEventElement( + IBasicEventElement that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getDirection() == Direction.INPUT) + || (!that.getMaxInterval().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Max. interval is not applicable for input direction."))); + } + + if (!isModelReferenceToReferable(that.getObserved())) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Observed must be a model reference to a referable."))); + } + + if (!( + !(that.getMessageBroker().isPresent()) + || isModelReferenceToReferable(that.getMessageBroker().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Message broker must be a model reference to a referable."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getObserved()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("observed")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getDirection()) + .flatMap(Verification::verifyDirection) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("direction")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getState()) + .flatMap(Verification::verifyStateOfEvent) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("state")); + return error; + })); + + if (that.getMessageTopic().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMessageTopic().get()) + .flatMap(Verification::verifyMessageTopicType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("messageTopic")); + return error; + })); + } + + if (that.getMessageBroker().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMessageBroker().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("messageBroker")); + return error; + })); + } + + if (that.getLastUpdate().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getLastUpdate().get()) + .flatMap(Verification::verifyDateTimeUtc) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("lastUpdate")); + return error; + })); + } + + if (that.getMinInterval().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMinInterval().get()) + .flatMap(Verification::verifyDuration) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("minInterval")); + return error; + })); + } + + if (that.getMaxInterval().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getMaxInterval().get()) + .flatMap(Verification::verifyDuration) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("maxInterval")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformOperation( + IOperation that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + idShortsOfVariablesAreUnique( + that.getInputVariables(), + that.getOutputVariables(), + that.getInoutputVariables()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-134: For an Operation the ID-short of all " + + "values of input, output and in/output variables shall be " + + "unique."))); + } + + if (!( + !(that.getInputVariables().isPresent()) + || (that.getInputVariables().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Input variables must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getOutputVariables().isPresent()) + || (that.getOutputVariables().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Output variables must be either not set or have at least " + + "one item."))); + } + + if (!( + !(that.getInoutputVariables().isPresent()) + || (that.getInoutputVariables().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Inoutput variables must be either not set or have at least " + + "one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getInputVariables().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getInputVariables().get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("inputVariables")); + return error; + })); + } + + if (that.getOutputVariables().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getOutputVariables().get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("outputVariables")); + return error; + })); + } + + if (that.getInoutputVariables().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getInoutputVariables().get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("inoutputVariables")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformOperationVariable( + IOperationVariable that) { + Stream errorStream = Stream.empty(); + + if (!(that.getValue().getIdShort().isPresent())) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value must have the ID-short specified according to " + + "Constraint AASd-117 (ID-short of Referables not being " + + "a direct child of a Submodel element list shall be " + + "specified)."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformCapability( + ICapability that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSupplementalSemanticIds().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSupplementalSemanticIds().isPresent()) + || (that.getSemanticId().isPresent()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || (that.getQualifiers().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + + if (!( + !(that.getQualifiers().isPresent()) + || qualifierTypesAreUnique(that.getQualifiers().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("semanticId")); + return error; + })); + } + + if (that.getSupplementalSemanticIds().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSupplementalSemanticIds().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + + if (that.getQualifiers().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getQualifiers().get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("qualifiers")); + return error; + })); + } + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformConceptDescription( + IConceptDescription that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getExtensions().isPresent()) + || (that.getExtensions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + + if (!( + !(that.getExtensions().isPresent()) + || extensionNamesAreUnique(that.getExtensions().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + + if (!( + !(that.getDescription().isPresent()) + || (that.getDescription().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDescription().isPresent()) + || langStringsHaveUniqueLanguages(that.getDescription().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Description must specify unique languages."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || (that.getDisplayName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + + if (!( + !(that.getDisplayName().isPresent()) + || langStringsHaveUniqueLanguages(that.getDisplayName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Display name must specify unique languages."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || (that.getEmbeddedDataSpecifications().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + + if (!( + !(that.getIsCaseOf().isPresent()) + || (that.getIsCaseOf().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Is-case-of must be either not set or have at least one item."))); + } + + if (!( + !(that.getEmbeddedDataSpecifications().isPresent()) + || ( + dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish(that.getEmbeddedDataSpecifications().orElse(null)) + || dataSpecificationIec61360sHaveValue(that.getEmbeddedDataSpecifications().orElse(null)) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-008: For a concept description using " + + "data specification template IEC 61360, the definition is " + + "mandatory and shall be defined at least in English. " + + "Exception: The concept description describes a value."))); + } + + if (!( + !( + (that.getCategory().isPresent()) + && Objects.equals(that.getCategory().get(), "QUALIFIER_TYPE") + && (that.getEmbeddedDataSpecifications().isPresent()) + ) + || dataSpecificationIec61360sHaveDataType(that.getEmbeddedDataSpecifications().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-007: For a concept description with " + + "category QUALIFIER_TYPE using data specification IEC 61360, " + + "the data type of the data specification is mandatory and " + + "shall be defined."))); + } + + if (!( + !( + (that.getCategory().isPresent()) + && Objects.equals(that.getCategory().get(), "DOCUMENT") + && (that.getEmbeddedDataSpecifications().isPresent()) + ) + || dataSpecificationIec61360sForDocumentHaveAppropriateDataType(that.getEmbeddedDataSpecifications().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-006: For a concept description with " + + "category DOCUMENT using data specification IEC 61360, " + + "the data type of the data specification shall be one of: " + + "FILE, BLOB, HTML."))); + } + + if (!( + !( + (that.getCategory().isPresent()) + && Objects.equals(that.getCategory().get(), "REFERENCE") + && (that.getEmbeddedDataSpecifications().isPresent()) + ) + || dataSpecificationIec61360sForReferenceHaveAppropriateDataType(that.getEmbeddedDataSpecifications().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-005: For a concept description with " + + "category REFERENCE using data specification IEC 61360, " + + "the data type of the data specification shall be one of: " + + "STRING, IRI, IRDI."))); + } + + if (!( + !( + (that.getCategory().isPresent()) + && ( + Objects.equals(that.getCategory().get(), "PROPERTY") + || Objects.equals(that.getCategory().get(), "VALUE") + ) + && (that.getEmbeddedDataSpecifications().isPresent()) + ) + || dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType(that.getEmbeddedDataSpecifications().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-004: For a concept description with " + + "category PROPERTY or VALUE using data specification IEC " + + "61360, the data type of the data specification is mandatory " + + "and shall be one of: DATE, STRING, STRING_TRANSLATABLE, " + + "INTEGER_MEASURE, INTEGER_COUNT, INTEGER_CURRENCY, " + + "REAL_MEASURE, REAL_COUNT, REAL_CURRENCY, BOOLEAN, RATIONAL, " + + "RATIONAL_MEASURE, TIME, TIMESTAMP."))); + } + + if (that.getExtensions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getExtensions().get()) + .flatMap(Verification::verifyListOf_IExtension) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("extensions")); + return error; + })); + } + + if (that.getCategory().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getCategory().get()) + .flatMap(Verification::verifyNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("category")); + return error; + })); + } + + if (that.getIdShort().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIdShort().get()) + .flatMap(Verification::verifyIdShortType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("idShort")); + return error; + })); + } + + if (that.getDisplayName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDisplayName().get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("displayName")); + return error; + })); + } + + if (that.getDescription().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDescription().get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("description")); + return error; + })); + } + + if (that.getAdministration().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAdministration().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("administration")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("id")); + return error; + })); + + if (that.getEmbeddedDataSpecifications().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getEmbeddedDataSpecifications().get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + + if (that.getIsCaseOf().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getIsCaseOf().get()) + .flatMap(Verification::verifyListOf_IReference) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("isCaseOf")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformReference( + IReference that) { + Stream errorStream = Stream.empty(); + + if (!(that.getKeys().size() >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Keys must contain at least one item."))); + } + + if (!( + !(that.getKeys().size() >= 1) + || Constants.globallyIdentifiables.contains(ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-121: For References the value of type of " + + "the first key of keys shall be one of Globally " + + "Identifiables."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.EXTERNAL_REFERENCE + && that.getKeys().size() >= 1 + ) + || Constants.genericGloballyIdentifiables.contains(ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-122: For external references the value of " + + "type of the first key of keys shall be one of Generic " + + "Globally Identifiables."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() >= 1 + ) + || Constants.aasIdentifiables.contains(ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-123: For model references the value of type " + + "of the first key of keys shall be one of AAS identifiables."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.EXTERNAL_REFERENCE + && that.getKeys().size() >= 1 + ) + || ( + Constants.genericGloballyIdentifiables.contains(ListHelpers.at(that.getKeys(), -1).getType()) + || Constants.genericFragmentKeys.contains(ListHelpers.at(that.getKeys(), -1).getType()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-124: For external references the last key " + + "of keys shall be either one of Generic Globally " + + "Identifiables or one of Generic Fragment Keys."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 1 + ) + || ( + IntStream.range( + 1, + that.getKeys().size() + ).allMatch( + i -> Constants.fragmentKeys.contains(ListHelpers.at(that.getKeys(), i).getType())) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-125: For model references with more than " + + "one key in keys the value of type of each of the keys " + + "following the first key of keys shall be one of Fragment " + + "Keys."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 1 + ) + || ( + IntStream.range( + 0, + that.getKeys().size() - 1 + ).allMatch( + i -> !Constants.genericFragmentKeys.contains(ListHelpers.at(that.getKeys(), i).getType())) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-126: For model references with more than " + + "one key in keys the value of type of the last key in " + + "the reference key chain may be one of Generic Fragment Keys " + + "or no key at all shall have a value out of Generic Fragment " + + "Keys."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 1 + && ListHelpers.at(that.getKeys(), -1).getType() == KeyTypes.FRAGMENT_REFERENCE + ) + || ( + ListHelpers.at(that.getKeys(), -2).getType() == KeyTypes.FILE + || ListHelpers.at(that.getKeys(), -2).getType() == KeyTypes.BLOB + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-127: For model references, with more than " + + "one key in keys a key with type Fragment Reference shall be " + + "preceded by a key with type File or Blob."))); + } + + if (!( + !( + that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 2 + ) + || ( + IntStream.range( + 0, + that.getKeys().size() - 1 + ).allMatch( + i -> !(ListHelpers.at(that.getKeys(), i).getType() == KeyTypes.SUBMODEL_ELEMENT_LIST) + || matchesXsNonNegativeInteger(ListHelpers.at(that.getKeys(), i + 1).getValue())) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-128: For model references, the value of " + + "a key preceded by a key with type Submodel element list is " + + "an integer number denoting the position in the array of " + + "the submodel element list."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyReferenceTypes) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("type")); + return error; + })); + + if (that.getReferredSemanticId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getReferredSemanticId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("referredSemanticId")); + return error; + })); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getKeys()) + .flatMap(Verification::verifyListOf_IKey) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("keys")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformKey( + IKey that) { + Stream errorStream = Stream.empty(); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyKeyTypes) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("type")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringNameType( + ILangStringNameType that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 128 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringTextType( + ILangStringTextType that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 1023)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 1023 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformEnvironment( + IEnvironment that) { + Stream errorStream = Stream.empty(); + + if (!( + !(that.getConceptDescriptions().isPresent()) + || (that.getConceptDescriptions().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Concept descriptions must be either not set or have at " + + "least one item."))); + } + + if (!( + !(that.getSubmodels().isPresent()) + || (that.getSubmodels().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Submodels must be either not set or have at least one item."))); + } + + if (!( + !(that.getAssetAdministrationShells().isPresent()) + || (that.getAssetAdministrationShells().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Asset administration shells must be either not set or have " + + "at least one item."))); + } + + if (that.getAssetAdministrationShells().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getAssetAdministrationShells().get()) + .flatMap(Verification::verifyListOf_IAssetAdministrationShell) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("assetAdministrationShells")); + return error; + })); + } + + if (that.getSubmodels().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSubmodels().get()) + .flatMap(Verification::verifyListOf_ISubmodel) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("submodels")); + return error; + })); + } + + if (that.getConceptDescriptions().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getConceptDescriptions().get()) + .flatMap(Verification::verifyListOf_IConceptDescription) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("conceptDescriptions")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformEmbeddedDataSpecification( + IEmbeddedDataSpecification that) { + Stream errorStream = Stream.empty(); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getDataSpecification()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("dataSpecification")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getDataSpecificationContent()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("dataSpecificationContent")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLevelType( + ILevelType that) { + Stream errorStream = Stream.empty(); + + // No verification has been defined for LevelType. + + return errorStream; + } + + @Override + public Stream transformValueReferencePair( + IValueReferencePair that) { + Stream errorStream = Stream.empty(); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyValueTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + + if (that.getValueId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueId")); + return error; + })); + } + + return errorStream; + } + + @Override + public Stream transformValueList( + IValueList that) { + Stream errorStream = Stream.empty(); + + if (!(that.getValueReferencePairs().size() >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value reference pair types must contain at least one item."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueReferencePairs()) + .flatMap(Verification::verifyListOf_IValueReferencePair) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueReferencePairs")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 255)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 255 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 18)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 18 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + Stream errorStream = Stream.empty(); + + if (!(StringHelpers.len(that.getText()) <= 1023)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 1023 characters."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("language")); + return error; + })); + + errorStream = Stream.concat(errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("text")); + return error; + })); + + return errorStream; + } + + @Override + public Stream transformDataSpecificationIec61360( + IDataSpecificationIec61360 that) { + Stream errorStream = Stream.empty(); + + if (!( + !((that.getValue().isPresent()) + && (that.getValueList().isPresent())))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-010: If value is not empty then value " + + "list shall be empty and vice versa."))); + } + + if (!( + !( + (that.getDataType().isPresent()) + && Constants.iec61360DataTypesWithUnit.contains(that.getDataType().get()) + ) + || ( + (that.getUnit().isPresent()) + || (that.getUnitId().isPresent()) + ))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-009: If data type is a an integer, real " + + "or rational with a measure or currency, unit or unit ID " + + "shall be defined."))); + } + + if (!( + !(that.getDefinition().isPresent()) + || (that.getDefinition().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Definition must be either not set or have at least one item."))); + } + + if (!( + !(that.getDefinition().isPresent()) + || langStringsHaveUniqueLanguages(that.getDefinition().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Definition must specify unique languages."))); + } + + if (!( + !(that.getShortName().isPresent()) + || (that.getShortName().get().size() >= 1))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Short name must be either not set or have at least one item."))); + } + + if (!( + !(that.getShortName().isPresent()) + || langStringsHaveUniqueLanguages(that.getShortName().orElse(null)))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Short name must specify unique languages."))); + } + + if (!(that.getPreferredName().size() >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Preferred name must have at least one item."))); + } + + if (!( + langStringsHaveUniqueLanguages(that.getPreferredName()))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Preferred name must specify unique languages."))); + } + + if (!( + that.getPreferredName().stream().anyMatch( + langString -> isBcp47ForEnglish(langString.getLanguage())))) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-002: preferred name shall be provided at " + + "least in English."))); + } + + errorStream = Stream.concat(errorStream, + Stream.of(that.getPreferredName()) + .flatMap(Verification::verifyListOf_ILangStringPreferredNameTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("preferredName")); + return error; + })); + + if (that.getShortName().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getShortName().get()) + .flatMap(Verification::verifyListOf_ILangStringShortNameTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("shortName")); + return error; + })); + } + + if (that.getUnit().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getUnit().get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("unit")); + return error; + })); + } + + if (that.getUnitId().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getUnitId().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("unitId")); + return error; + })); + } + + if (that.getSourceOfDefinition().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSourceOfDefinition().get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("sourceOfDefinition")); + return error; + })); + } + + if (that.getSymbol().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getSymbol().get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("symbol")); + return error; + })); + } + + if (that.getDataType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDataType().get()) + .flatMap(Verification::verifyDataTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("dataType")); + return error; + })); + } + + if (that.getDefinition().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getDefinition().get()) + .flatMap(Verification::verifyListOf_ILangStringDefinitionTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("definition")); + return error; + })); + } + + if (that.getValueFormat().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueFormat().get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueFormat")); + return error; + })); + } + + if (that.getValueList().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValueList().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("valueList")); + return error; + })); + } + + if (that.getValue().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getValue().get()) + .flatMap(Verification::verifyValueTypeIec61360) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("value")); + return error; + })); + } + + if (that.getLevelType().isPresent()) { + errorStream = Stream.concat(errorStream, + Stream.of(that.getLevelType().get()) + .flatMap(Verification::verifyToErrorStream) + .map(error -> { + error.prependSegment( + new Reporting.NameSegment("levelType")); + return error; + })); + } + + return errorStream; + } + } + + public static Stream verifyToErrorStream(IClass that) { + return transformer.transform(that); + } + + private static class _ValidationErrorIterable implements Iterable { + private final IClass element; + + public _ValidationErrorIterable(IClass element) { + this.element = element; + } + + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + return Verification.verifyToErrorStream(element); + } + } + + /** + * Verify the constraints of {@code that} recursively. + * + * @param that The instance of the meta-model to be verified + */ + public static Iterable verify(IClass that) { + return new _ValidationErrorIterable(that); + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyXmlSerializableString ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyNonEmptyXmlSerializableString ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyDateTimeUtc ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXsDateTimeUtc(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:dateTime with " + + "the time zone fixed to UTC."))); + } + + if (!isXsDateTimeUtc(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a valid xs:dateTime with the time " + + "zone fixed to UTC."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyDuration ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXsDuration(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:duration."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyBlobType ( + byte[] that) { + Stream errorStream = Stream.empty(); + + // There is no verification specified. + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyIdentifier ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Identifier shall have a maximum length of 2048 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyValueTypeIec61360 ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Value type IEC 61360 shall have a maximum length of 2048 " + + "characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyNameType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyVersionType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!matchesVersionType(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Version type shall match the version pattern."))); + } + + if (!(StringHelpers.len(that) <= 4)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Version type shall have a maximum length of 4 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyRevisionType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!matchesRevisionType(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Revision type shall match the revision pattern."))); + } + + if (!(StringHelpers.len(that) <= 4)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Revision type shall have a maximum length of 4 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyLabelType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 64)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Label type shall have a maximum length of 64 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyMessageTopicType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 255)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Message topic type shall have a maximum length of 255 " + + "characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyBcp47LanguageTag ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesBcp47(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a value language tag conformant to " + + "BCP 47."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyContentType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Content type shall have a maximum length of 128 characters."))); + } + + if (!matchesMimeType(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a valid content MIME type " + + "according to RFC 2046."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyPathType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Identifier shall have a maximum length of 2048 characters."))); + } + + if (!matchesRfc2396(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "String with max 2048 and min 1 characters conformant to " + + "a URI as per RFC 2396."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyQualifierType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyValueDataType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + return errorStream; + } + + /** + * Verify the constraints of {@code that}. + */ + public static Stream verifyIdShortType ( + String that) { + Stream errorStream = Stream.empty(); + + if (!matchesXmlSerializableString(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + + if (!(StringHelpers.len(that) >= 1)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "The value must not be empty."))); + } + + if (!(StringHelpers.len(that) <= 128)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + + if (!matchesIdShort(that)) { + errorStream = Stream.concat(errorStream, + Stream.of(new Reporting.Error( + "Invariant violated:\n" + + "ID-short of Referables shall only feature letters, digits, " + + "hyphen (``-``) and underscore (``_``); starting mandatory " + + "with a letter, and not ending with a hyphen, *I.e.* " + + "``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``."))); + } + + return errorStream; + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyModellingKind( + ModellingKind that) { + if (!_EnumValueSet.forModellingKind.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid ModellingKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyQualifierKind( + QualifierKind that) { + if (!_EnumValueSet.forQualifierKind.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid QualifierKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyAssetKind( + AssetKind that) { + if (!_EnumValueSet.forAssetKind.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid AssetKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyAasSubmodelElements( + AasSubmodelElements that) { + if (!_EnumValueSet.forAasSubmodelElements.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid AasSubmodelElements: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyEntityType( + EntityType that) { + if (!_EnumValueSet.forEntityType.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid EntityType: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyDirection( + Direction that) { + if (!_EnumValueSet.forDirection.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid Direction: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyStateOfEvent( + StateOfEvent that) { + if (!_EnumValueSet.forStateOfEvent.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid StateOfEvent: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyReferenceTypes( + ReferenceTypes that) { + if (!_EnumValueSet.forReferenceTypes.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid ReferenceTypes: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyKeyTypes( + KeyTypes that) { + if (!_EnumValueSet.forKeyTypes.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid KeyTypes: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyDataTypeDefXsd( + DataTypeDefXsd that) { + if (!_EnumValueSet.forDataTypeDefXsd.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid DataTypeDefXsd: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify that {@code that} is a valid enumeration value. + */ + public static Stream verifyDataTypeIec61360( + DataTypeIec61360 that) { + if (!_EnumValueSet.forDataTypeIec61360.contains(that)) { + return Stream.of(new Reporting.Error( + "Invalid DataTypeIec61360: " + that)); + } else { + return Stream.empty(); + } + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IReference( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IEmbeddedDataSpecification( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IExtension( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringNameType( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringTextType( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ISpecificAssetId( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IQualifier( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ISubmodelElement( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IDataElement( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IOperationVariable( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IKey( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IAssetAdministrationShell( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ISubmodel( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IConceptDescription( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_IValueReferencePair( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringPreferredNameTypeIec61360( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringShortNameTypeIec61360( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** + * Verify the items of {@code that} recursively. + */ + private static Stream verifyListOf_ILangStringDefinitionTypeIec61360( + List that) { + return Verification.zip( + IntStream.iterate(0, i -> i + 1).boxed(), + that.stream()) + .flatMap(itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map(error -> { + error.prependSegment( + new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + private static class _Pair { + private final A first; + private final B second; + + public _Pair(A first, B second) { + this.first = first; + this.second = second; + } + + public A getFirst() { + return first; + } + + public B getSecond() { + return second; + } + } + + // Java 8 doesn't provide a split operation out of the box, so we have to ship our own. + // Adapted from: https://stackoverflow.com/a/23529010 + private static Stream<_Pair> zip( + Stream a, + Stream b) { + Spliterator aSplit = Objects.requireNonNull(a).spliterator(); + Spliterator bSplit = Objects.requireNonNull(b).spliterator(); + + int characteristics = aSplit.characteristics() & bSplit.characteristics() & + ~(Spliterator.DISTINCT | Spliterator.SORTED); + + long zipSize = ((characteristics & Spliterator.SIZED) != 0) + ? Math.min(aSplit.getExactSizeIfKnown(), bSplit.getExactSizeIfKnown()) + : -1; + + Iterator aIter = Spliterators.iterator(aSplit); + Iterator bIter = Spliterators.iterator(bSplit); + Iterator<_Pair> cIter = new Iterator<_Pair>() { + @Override + public boolean hasNext() { + return aIter.hasNext() && bIter.hasNext(); + } + + @Override + public _Pair next() { + return new _Pair<>(aIter.next(), bIter.next()); + } + }; + + Spliterator<_Pair> split = Spliterators.spliterator(cIter, zipSize, characteristics); + return StreamSupport.stream(split, false); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/dev_scripts/semantically_patch_code.py b/dev_scripts/semantically_patch_code.py new file mode 100644 index 00000000..09d0744d --- /dev/null +++ b/dev_scripts/semantically_patch_code.py @@ -0,0 +1,110 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Generate the SDK based on the aas-core-meta model and the snippets.""" + +import os +import pathlib +import subprocess +import sys +from typing import Optional, Sequence, Mapping + + +def _execute( + cmd: Sequence[str], + stdout: Optional[int] = None, + stderr: Optional[int] = None, + cwd: Optional[str] = None, + env: Optional[Mapping[str, str]] = None, +) -> int: + """ + Execute the command and print if something went wrong. + + Return the non-zero exit code, or None if the exit code was zero. + """ + cmd_joined = " ".join(cmd) + + try: + exit_code = subprocess.call(cmd, stdout=stdout, stderr=stderr, cwd=cwd, env=env) + except FileNotFoundError as exception: + print(f"Failed to execute {cmd_joined}: {exception}", file=sys.stderr) + return 1 + + if exit_code != 0: + print( + f"Failed to execute {cmd_joined} with exit code: {exit_code}", + file=sys.stderr, + ) + + return exit_code + + +def _check_all_tools_installed() -> int: + """Check that Git, Java and Maven are installed and work properly.""" + exit_code = _execute( + cmd=["java", "-version"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL + ) + if exit_code != 0: + return exit_code + + exit_code = _execute( + cmd=["mvn", "-version"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL + ) + if exit_code != 0: + return exit_code + + return 0 + + +def _semantically_patch(our_repo: pathlib.Path) -> int: + """Run the scripts to semantically patch the generated code.""" + cwd = our_repo / "dev_scripts" / "semantic-patching" + + verification_java = ( + our_repo / "src/main/java/aas_core/aas3_1/verification/Verification.java" + ) + assert ( + verification_java.exists() and verification_java.is_file() + ), f"No Verification.java found to patch: {verification_java=}" + + exit_code = _execute(cmd=["mvn", "package"], cwd=str(cwd)) + + if exit_code != 0: + return exit_code + + exit_code = _execute( + [ + "mvn", + "exec:java", + "-Dexec.mainClass=aas_core_works.PatchVerification", + f"-Dexec.args={verification_java} {verification_java}", + ], + cwd=str(cwd), + ) + + return exit_code + + +def main() -> int: + """Execute the main routine.""" + exit_code = _check_all_tools_installed() + if exit_code != 0: + return exit_code + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + exit_code = _semantically_patch(repo_root) + + if exit_code != 0: + print( + f"Failed to semantically patch Verification.java with exit code: {exit_code}", + file=sys.stderr, + ) + return exit_code + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/dev_scripts/update_all.py b/dev_scripts/update_all.py new file mode 100644 index 00000000..87a70bf4 --- /dev/null +++ b/dev_scripts/update_all.py @@ -0,0 +1,88 @@ +# SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +# +# SPDX-License-Identifier: MIT + +"""Update to the latest meta-model and the latest test data.""" + +import argparse +import os +import pathlib +import subprocess +import sys + + +def main() -> int: + """Execute the main routine.""" + parser = argparse.ArgumentParser(description=__doc__) + _ = parser.parse_args() + + repo_root = pathlib.Path(os.path.realpath(__file__)).parent.parent + + print("Downloading the latest meta-model...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "download_aas_core_meta_model.py"), + ], + cwd=str(repo_root), + ) + + print("Generating the code...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "regenerate_code.py"), + ], + cwd=str(repo_root), + ) + + print("Semantically patching code...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "semantically_patch_code.py"), + ], + cwd=str(repo_root), + ) + + print("Generating REUSE annotations...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "apply_reuse_annotation.py"), + ], + cwd=str(repo_root), + ) + + print("Re-formatting the code...") + subprocess.check_call( + [sys.executable, str(repo_root / "dev_scripts" / "format_code.py")], + cwd=str(repo_root), + ) + + print("Downloading the latest test data...") + subprocess.check_call( + [ + sys.executable, + str(repo_root / "dev_scripts" / "download_latest_test_data.py"), + ], + cwd=str(repo_root), + ) + + print("Re-recording the test data...") + subprocess.check_call( + [sys.executable, str(repo_root / "dev_scripts" / "rerecord_tests.py")], + cwd=str(repo_root), + ) + + print("Running the pre-commit to check that everything worked...") + subprocess.check_call( + [sys.executable, str(repo_root / "dev_scripts" / "check.py")], + cwd=str(repo_root), + ) + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/doc/overview.html b/doc/overview.html new file mode 100644 index 00000000..d7b6d567 --- /dev/null +++ b/doc/overview.html @@ -0,0 +1,709 @@ + + +

+ + + +
+

Install the SDK

+ First use git and clone aas-core3.1-java repository. + In the the root directory of the cloned repository you will find the pom.xml used by maven to build the SDK artefact. + Simply run mvn install and include the SDK as a dependency in your project by adding it to your own pom.xml: +
{@code
+
+    io.github.aas-core-works
+    aas-core3.1-java
+    1.0.0-rc.1
+
+}
+
+
+ +
+

Programmatically create, get and set properties of an AAS model

+ The package aas_core.aas3_1 contains all the classes of the meta-model. + You can simply use their constructors to create an AAS model. + Usually you start bottom-up, all the way up to the Environment. + Alternatively the SDK also provides you with builders for all classes of the meta-model. + + +

Example: Create an Environment with a Submodel

+
+        {@code
+ // We create the first element with the constructor.
+IProperty someElement = new Property(DataTypeDefXsd.INT);
+
+// We use setters to set the optional attributes.
+someElement.setIdShort("someElement");
+someElement.setValue("1984");
+
+// We create the second element.
+IBlob anotherElement = new Blob("application/octet-stream");
+anotherElement.setIdShort("anotherElement");
+anotherElement.setValue(new byte[]{0, 1, 2, 3});
+
+// We also directly access the element attributes.
+anotherElement.getValue().ifPresent(bytes -> bytes[3] = 4);
+
+// We nest the elements in a submodel.
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+List submodelElements = new ArrayList<>();
+submodelElements.add(someElement);
+submodelElements.add(anotherElement);
+submodel.setSubmodelElements(submodelElements);
+
+// We now create the environment to wrap it all up.
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We can directly access the properties from the children
+// as well.
+((Blob) environment
+        .getSubmodels().get()
+        .get(0)
+        .getSubmodelElements().get()
+        .get(1)).getValue().get()[3] = 3;
+
+// Now we can do something with the environment...
+        }
+    
+
+ +
+

Iterate over a model

+ The SDK provides various ways how you can loop through the elements of the model, and how these elements can be transformed. + Each following section will look into one of the approaches. + +

DescendOnce and Descend

+ The SDK provides two methods in the most general interface IClass, descendOnce and descend, which you can use to loop through the instances. + Both descendOnce and descend iterate over model children of an IClass. + DescendOnce, as it names suggests, stops after all the children has been iterated over. + Descend continues recursively to grand-children etc. + Here is a short example how you can iterate over all the instances of a model, and output their model types: +
+        {@code
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.BOOLEAN);
+someProperty.setIdShort("someProperty");
+
+ISubmodelElement anotherProperty = new Property(DataTypeDefXsd.BOOLEAN);
+anotherProperty.setIdShort("anotherProperty");
+
+ISubmodelElement yetAnotherProperty = new Property(DataTypeDefXsd.BOOLEAN);
+yetAnotherProperty.setIdShort("yetAnotherProperty");
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+submodelElements.add(anotherProperty);
+submodelElements.add(yetAnotherProperty);
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+IEnvironment environment = new Environment(null, submodels, null);
+
+environment.descend().forEach(iClass -> System.out.println(iClass.getClass().getSimpleName()));
+
+// Prints:
+// Submodel
+// Property
+// Property
+// Property
+        }
+    
+

Filtering with descent and descentOnce

+ Filtering with descent and descentOnce is fairly easy, as we can write the filtering code within a for loop. + Here is a short snippet, adapted from the previous example, where we filter for all properties which have int as their value type: +
+        {@code
+// We prepare the environment.
+ISubmodelElement boolProperty = new Property(DataTypeDefXsd.BOOLEAN);
+boolProperty.setIdShort("boolProperty");
+
+ISubmodelElement intProperty = new Property(DataTypeDefXsd.INT);
+intProperty.setIdShort("intProperty");
+
+ISubmodelElement anotherIntProperty = new Property(DataTypeDefXsd.INT);
+anotherIntProperty.setIdShort("anotherIntProperty");
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+List submodelElements = new ArrayList<>();
+submodelElements.add(boolProperty);
+submodelElements.add(intProperty);
+submodelElements.add(anotherIntProperty);
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We descend recursively over all the instances
+// and filter for the int properties.
+environment.descend().forEach(iClass -> {
+    if (iClass instanceof Property) {
+        Property property = (Property) iClass;
+        if (property.getValueType() == DataTypeDefXsd.INT) {
+            property.getIdShort().ifPresent(System.out::println);
+        }
+    }
+});
+
+// Prints:
+// intProperty
+// anotherIntProperty
+        }
+    
+

Visitors

+ For loops are practical for short iterations. + When you need to apply an action for each different model type, your loop body will probably become unbearably long. + Such iterations are much better solved by using the visitor pattern. + You specify for each model type a separate method in the visitor, and the visitor automatically dispatches the calls based on the type. + +

IVisitor + The SDK provides an abstract, purely virtual, IVisitor. + If you want to steer how the children references from an instance are handled, then implement this interface. +

+ +

AbstractVisitor + Most of the time, you want to process each instance of a model in isolation, so you do not want to call the visiting methods on the children references. + The abstract visitor AbstractVisitor will take care of the children references. + You merely have to specify the operation for each model type. +

+ +

VisitorThrough + If you want to process only some of the model types, use the class VisitorThrough. + This class will iterate recursively over all the referenced instances, and simply perform no action for instances of model types for which you did not override the corresponding visiting method. + Here is an example with a VisitorThrough, which has been adapted from the previous filtering example: +

+
+        {@code
+// We implement our visitor.
+private class MyVisitor extends VisitorThrough {
+    Override
+    public void visitProperty(IProperty that) {
+        if (that.getValueType() == DataTypeDefXsd.INT) {
+            that.getIdShort().ifPresent(System.out::println);
+        }
+    }
+}
+        }
+    
+
+        {@code
+// We use it in our main routine
+MyVisitor myVisitor = new MyVisitor();
+// We prepare the environment.
+ISubmodelElement boolProperty = new Property(DataTypeDefXsd.BOOLEAN);
+boolProperty.setIdShort("boolProperty");
+
+ISubmodelElement intProperty = new Property(DataTypeDefXsd.INT);
+intProperty.setIdShort("intProperty");
+
+ISubmodelElement anotherIntProperty = new Property(DataTypeDefXsd.INT);
+anotherIntProperty.setIdShort("anotherIntProperty");
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+List submodelElements = new ArrayList<>();
+submodelElements.add(boolProperty);
+submodelElements.add(intProperty);
+submodelElements.add(anotherIntProperty);
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+IEnvironment environment = new Environment(null, submodels, null);
+
+myVisitor.visit(environment);
+
+// Prints:
+// intProperty
+// anotherIntProperty
+        }
+    
+
+
+

Verify

+ Our SDK allows you to verify that a model satisfies the constraints of the meta-model. + The verification logic is concentrated in the static class Verification, and all it takes is a call to verify method. + The method verify will check that constraints in the given model element are satisfied, including the recursion into children elements. + The method returns an iterator of errors, which you can use to for further processing (e.g., report to the user). + Here is a short example snippet: +
+            {@code
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.BOOLEAN);
+
+// We intentionally introduce a mistake.
+someProperty.setIdShort("!@#$% invalid ID short (*&^_+)");
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We verify the environment and report the errors.
+Iterable iterable = Verification.verify(environment);
+iterable.forEach(error -> {
+    System.out.println(Reporting.generateJsonPath(error.getPathSegments()));
+    System.out.println(error.getCause());
+});
+
+// Prints
+// submodels[0].submodelElements[0].idShort
+// Invariant violated:
+// ID-short of Referables shall only feature letters, digits, underscore (``_``);
+// starting mandatory with a letter. *I.e.* ``[a-zA-Z][a-zA-Z0-9_]*``.
+            }
+    
+
+
+

De/serialize a model from and to JSON

+ Our SDK handles the de/serialization of the AAS models from and to JSON format through the Jsonization. + Since Java does not support JSON de/serialization in the standard library, we use jackson as the underlying representation of JSON values. + We thus do not directly de/serialize from and to strings, but rely on jackson for intermediate handling. + +

Serialize

+ Here is an example code how to serialize an instance to json: +
+        {@code
+// We need to import jackson
+import com.fasterxml.jackson.databind.JsonNode;
+
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.INT);
+someProperty.setIdShort("someProperty");
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+JsonNode json = Jsonization.Serialize.toJsonObject(environment);
+System.out.println(json.toString());
+
+// Prints
+// {"submodels":[{
+// "id":"some-unique-global-identifier"
+// ,"submodelElements":[{"idShort":"someProperty","valueType":"xs:int","modelType":"Property"}]
+// ,"modelType":"Submodel"}]}
+        }
+    
+

De-serialize

+ To translate json value to a model instance, the SDK offers deserializeXxx de-serialization functions. + For example, to de-serialize an environment, call {@code Jsonization.Deserialize.deserializeEnvironment(json)}. + Here is an example how to de-serialize json to an instance. +
+        {@code
+// We need to import jackson
+import com.fasterxml.jackson.databind.JsonNode;
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+// We specify the JSON as text.
+String text = "{\"submodels\":[{\"" +
+        "id\":\"some-unique-global-identifier\"," +
+        "\"submodelElements\":[{\"idShort\":\"someProperty\"" +
+        ",\"valueType\":\"xs:int\",\"modelType\":\"Property\"}]," +
+        "\"modelType\":\"Submodel\"}]}";
+
+// We parse text as JSON.
+ObjectMapper objectMapper = new ObjectMapper();
+JsonNode json = objectMapper.readTree(text);
+
+// We parse the JSON as environment.
+IEnvironment environment = Jsonization.Deserialize.deserializeEnvironment(json);
+
+System.out.println(environment.getSubmodels().get().get(0).getId());
+
+// Prints
+// some-unique-global-identifier
+        }
+    
+

Here is another example of how to report the errors:

+
+        {@code
+// We specify the text which is valid JSON,
+// but not a valid representation of a model.
+String text = "{\"submodels\": 42}";
+
+// We parse text as JSON.
+ObjectMapper objectMapper = new ObjectMapper();
+JsonNode json = objectMapper.readTree(text);
+
+// We parse the JSON as environment.
+try {
+    IEnvironment environment = Jsonization.Deserialize.deserializeEnvironment(json);
+} catch (Jsonization.DeserializeException exception) {
+    System.out.println(exception.getPath().get() + ": " + exception.getReason().get());
+}
+
+// Prints
+// submodels: Expected a JsonArray, but got NUMBER
+        }
+    
+
+
+

De/serialize a model from and to XML

+ The code that de/serializes AAS models from and to XML documents lives in Xmlization. + +

Serialization

+ You serialize a model use the .to(instance, writer) method of Serialize. + Apart from the object, you pass it the writer which is used to serialize the object graph. + + Here is an example: +
+        {@code
+// We need to import
+import javax.xml.stream.XMLOutputFactory;
+import javax.xml.stream.XMLStreamWriter;
+import java.io.StringWriter;
+
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.INT);
+someProperty.setIdShort("someProperty");
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We create the writer
+StringWriter stringOut = new StringWriter();
+XMLOutputFactory outputFactory = XMLOutputFactory.newFactory();
+XMLStreamWriter xmlStreamWriter = outputFactory.createXMLStreamWriter(stringOut);
+
+// We serialize the environment to
+Xmlization.Serialize.to(environment, xmlStreamWriter);
+
+System.out.println(stringOut);
+
+// Prints (without the newlines):
+// 
+// 
+// 
+// some-unique-global-identifier
+// 
+// 
+// someProperty
+// xs:int
+// 
+// 
+// 
+// 
+// 
+        }
+    
+

De-serialization

+ De-serialization goes in the opposite direction, with Xmlization.Deserialize.deserializeXxx(reader). + Here is an example how to de-serialize xml to an instance: +
+        {@code
+// We need to import
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLEventReader;
+
+String text = "\n" +
+    "" +
+    "" +
+    "some-unique-global-identifier" +
+    "" +
+    "" +
+    "someProperty" +
+    "xs:int" +
+    "" +
+    "" +
+    "" +
+    "" +
+    "";
+
+// We create the reader
+final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
+final XMLEventReader outputReader = xmlInputFactory.createXMLEventReader(new StringReader(text));
+
+// We de-serialize the environment from
+// an XML text.
+IEnvironment environment = Xmlization.Deserialize.deserializeEnvironment(outputReader);
+System.out.println(environment.getSubmodels().get().get(0).getId());
+
+// Prints
+// some-unique-global-identifier
+        }
+    
+

Here is another example how you can report the error:

+
+        {@code
+// We define a valid XML, but invalid representation
+// of an AAS instance. Submodels should be a list,
+// not a number.
+String text = "\n" +
+        "" +
+        "" +
+        "42" +
+        "" +
+        "";
+
+// We create the reader
+final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance();
+final XMLEventReader outputReader = xmlInputFactory.createXMLEventReader(new StringReader(text));
+
+// We de-serialize the environment from
+// an XML text.
+try {
+    IEnvironment environment = Xmlization.Deserialize.deserializeEnvironment(outputReader);
+} catch (Xmlization.DeserializeException exception) {
+    System.out.println(exception.getPath().get() + ": " + exception.getReason().get());
+}
+
+// Prints (without newlines):
+// environment/submodels/*[0]:
+// Expected a start element opening an instance of ISubmodel, but got an XML Characters
+        }
+    
+
+
+

Enhance model instances with your custom data

+

In any complex application, creating, modifying and de/serializing AAS instances is not enough. + You have to insert your custom application-specific data to the model in order for the model to be useful.

+ +

Take, for example, parent-child relationship. + The current library ignores it, and there is no easy way for you to find out to which ISubmodel a particular ISubmodelElement belongs to. +

+

We did want to keep the types as simple as possible — the parent-child relationships can get tricky very soon if you have multiple environments with shared submodels etc. + Instead of overcomplicating the code and making it barely traceable, we decided to keep it simple and frugal in features. +

+

However, that is little solace if you are developing an GUI editor where you know for sure that there will be only one + environment, and where parent-child relationships are crucial for so many tasks. What is more, parent-child relationships are not the only data that need to be intertwined — you probably want history, localized caches etc. +

+

Hasthable?

+

There are different ways how application-specific data can be synced with the model. + One popular technique is to use Hashtable's and simply map model instances to your custom nuggets of data. + This works well if the data is read-only, and you can spare the cycles for the lookups (which is often acceptable + as they run on average in time complexity O(1) anyhow). +

+

Otherwise, if you need to modify the data, maintaining the consistency between the Hashtable and your nuggets of information becomes difficult. + For example, if you forget to remove the entries from the Hashtable when you remove the instances from the model, you might clog your garbage collector. +

+

Wrapping

+

Hence, if you modify the data, you need to keep it close to the model instance. + In dynamic languages, such as Python and JavaScript, you can simply add your custom fields to the object. + This does not work in such a static language like Java. +

+

One solution, usually called Decorator pattern, is to wrap or decorate the instances with your application-specific data. + The decorated objects should satisfy both the interface of the original model and provide a way to retrieve your custom nuggets of information. +

+

Writing wrappers for many classes in the AAS meta-model is a tedious task. + We therefore pre-generated the most of the boilerplate code in package aas_core.aas3_1.enhancing.

+

In the context of decoration, we call your specific data enhancements. + First, you need to specify how individual instances are enhanced, i.e. how to produce enhancements for each one of them. + We call this an enhancement factory. + Second, you need to recursively wrap your instances with the given enhancement factory.

+ +

The Enhancing is generic and can work with any form of enhancement classes. + You need to specify your enhancement factory as a function which takes an instance of IClass as input and returns an optional of enhancement, or an empty optional, if you do not want to enhance the particular instance.

+ +

The wrapping and unwrapping is specified in the generic function wrap of the class Enhancer. + This function takes the instance that you want to wrap (i.e., decorate) and the enhancement factory, and recursively wraps it with the produced enhancements. + The wrapped instance will be finally returned. +

+

Example: Parent-Child Enhancement

+

Let us now consider the aforementioned example. + We want to keep track of parent-child relationships in a model. +

+

The following code snippets first constructs an environment for illustration. + Then we specify the enhancement such that each instance is initialized with the parent set to null. + Finally, we modify the enhancements such that they reflect the actual parent-child relationships. +

+ +
+    {@code
+// We define the enhancement, a parent-child relationship.
+private class ParentEnhancement {
+    public IClass parent = null;
+}
+
+// We define the enhancement factory.
+private Enhancer produceParentEnhancement() {
+    Function> enhancementFactory = iClass -> Optional.of(new ParentEnhancement());
+    return new Enhancer<>(enhancementFactory);
+}
+
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.INT);
+someProperty.setIdShort("someProperty");
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+
+// We enhance the environment recursively.
+Enhancer enhancer = produceParentEnhancement();
+environment = (IEnvironment) enhancer.wrap(environment);
+
+Queue queue = new ArrayDeque<>();
+queue.add(environment);
+
+while (!queue.isEmpty()) {
+    IClass instance = queue.remove();
+    for (IClass child : instance.descendOnce()) {
+        enhancer.mustUnwrap(child).parent = instance;
+        queue.add(child);
+    }
+}
+// Retrieve the parent of the first submodel
+boolean environmentIsParent = enhancer.mustUnwrap(environment.getSubmodels().get().get(0)).parent == environment;
+System.out.println(environmentIsParent);
+// Prints true
+    }
+    
+ + Note that this approach is indeed more maintainable than the one with Hashtable, but you still need to take extra care. + If you create new submodels and insert them into the environment, you have to make sure that you wrap them appropriately. + If you move a submodel from one environment to another, you have to update the parent link manually etc. + +

Example: Selective Enhancement

+

We demonstrate now how you can selectively enhance only some instances in the Environment. + +

For example, let us assign a unique identifier to all instances which are referable, i.e., implement IReferable. + All the other instances are not enhanced. +

+    {@code
+// We define the enhancement
+private class IdEnhancement {
+    public long Id;
+
+    public IdEnhancement(long id) {
+        Id = id;
+    }
+}
+// We prepare the environment.
+ISubmodelElement someProperty = new Property(DataTypeDefXsd.INT);
+someProperty.setIdShort("someProperty");
+
+AdministrativeInformation administration = new AdministrativeInformation(null, "1.0", null, null, null);
+
+List submodelElements = new ArrayList<>();
+submodelElements.add(someProperty);
+
+
+ISubmodel submodel = new Submodel("some-unique-global-identifier");
+submodel.setSubmodelElements(submodelElements);
+submodel.setAdministration(administration);
+
+List submodels = new ArrayList<>();
+submodels.add(submodel);
+
+IEnvironment environment = new Environment(null, submodels, null);
+
+// Prepare the enhancer
+AtomicLong lastId = new AtomicLong();
+Function> enhancementFactory = iClass -> {
+    if (iClass instanceof IReferable) {
+        lastId.getAndIncrement();
+        return Optional.of(new IdEnhancement(lastId.get()));
+    }
+    return Optional.empty();
+};
+
+Enhancer enhancer = new Enhancer<>(enhancementFactory);
+// Enhance
+environment = (IEnvironment) enhancer.wrap(environment);
+
+// The submodel and property are enhanced.
+IdEnhancement enhancement = enhancer.mustUnwrap(environment.getSubmodels().get().get(0));
+System.out.println(enhancement.Id);
+
+// Prints:
+// 2
+
+enhancement = enhancer.mustUnwrap(environment.getSubmodels().get().get(0).getSubmodelElements().get().get(0));
+System.out.println(enhancement.Id);
+
+// Prints:
+// 1
+
+// The administrative information is not referable, and thus not enhanced.
+Optional maybeEnhancement = enhancer.unwrap(
+        environment.getSubmodels().get().get(0).getAdministration().get()
+);
+
+System.out.println(maybeEnhancement.isPresent());
+
+// Prints:
+// false
+    }
+    
+

No Re-wraps Allowed

+ We disallow re-wraps of already wrapped instances to avoid costly iterations over the object trees, and throw an exception. + Additionally, we want to prevent bugs in many settings where the enhancement factory assigns unique identifiers to instances or performs non-idempotent operations. +
+ +
+

Change Log

+ +

1.0.2

+ + Unescaped special characters in the file path verification regex caused verification of file / thumbnail elements to fail in some cases. We adjust the regex accordingly. + +

1.0.1

+ + We propagate the changes and fixes; please refer to: + + + +

1.0.0

+ This is the first stable release. The release candidates stood the test of time, so we are now confident to publish a stable version. + +

1.0.0-rc2

+ +
    +
  • The dataSpecification field in EmbeddedDataSpecification is made optional, according to the book.
  • +
  • Add release maven build profile +
      +
    • This allows execution of mvn install, mvn package, phases without execution of the gpg sign plugin for local testing and development.
    • +
    +
  • +
  • Fix camel case for the setter names in the builder types.
  • +
+ +

1.0.0-rc1

+ + This is the initial release candidate version, ready for first reviews. +
+ diff --git a/pom.xml b/pom.xml new file mode 100644 index 00000000..e36b1c5c --- /dev/null +++ b/pom.xml @@ -0,0 +1,198 @@ + + + + + + 4.0.0 + + io.github.aas-core-works + aas-core3.1-java + + 1.0.0-rc.1 + + ${project.groupId}:${project.artifactId} + Manipulate, verify and de/serialize Asset Administration Shells. + https://github.com/aas-core-works/aas-core3.1-java + + + + MIT License + http://www.opensource.org/licenses/mit-license.php + + + + + + Tobias Langer + tobias.langer@conplement.de + conplement AG + https://www.conplement.de/ + + + Markus Böhm + markus.boehm@conplement.de + conplement AG + https://www.conplement.de/ + + + Marko Ristin + marko@ristin.ch + + + + + scm:git:git://github.com:aas-core-works/aas-core3.1-java.git + scm:git:ssh://github.com:aas-core-works/aas-core3.1-java.git + https://github.com/aas-core-works/aas-core3.1-java + + + + 17 + 17 + 17 + UTF-8 + 2.22.4 + 1.12-4 + 3.2.1 + 3.6.3 + + true + + + + org.junit.jupiter + junit-jupiter-api + 5.14.4 + test + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + dk.brics + automaton + ${dk.brics.version} + + + + + + + + com.diffplug.spotless + spotless-maven-plugin + ${spotless.maven.plugin.version} + true + + + + src/main/java/**/*.java + src/test/java/**/*.java + + + 1.17.0 + + + + + + + + + auto-style + + apply + + validate + + + + + org.apache.maven.plugins + maven-source-plugin + 3.4.0 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${javadoc.maven.plugin.version} + + all,-missing + + ${basedir}/doc/overview.html + + + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.2 + + + sign-artifacts + verify + + sign + + + + + + + --pinentry-mode + loopback + + + + + org.sonatype.central + central-publishing-maven-plugin + 0.12.0 + true + + central + true + true + published + + + + + + + release + + false + + + + diff --git a/src/main/java/aas_core/aas3_1/common/ListHelpers.java b/src/main/java/aas_core/aas3_1/common/ListHelpers.java new file mode 100644 index 00000000..23d00c26 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/ListHelpers.java @@ -0,0 +1,67 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +import java.util.List; + +/** + * Provide the access to the items of lists which follows the Python implementation, since Python is + * the language of the meta-model specifications. + * + *

A negative index counts from the back of the list. + */ +public final class ListHelpers { + private ListHelpers() { + // Prevent instantiation + } + + /** + * Resolve {@code index} in a list of {@code size} items as Python does. + * + * @param index of the item; negative counts from the back + * @param size of the list + * @return the resolved index + * @throws ArithmeticException if the resolved index does not fit into an int + */ + private static int resolveIndex(long index, int size) { + return Math.toIntExact(index < 0 ? index + size : index); + } + + /** + * Get the item of {@code list} at {@code index}. + * + * @param list to get the item from + * @param index of the item; negative counts from the back + * @param type of the items + * @return the item + * @throws IndexOutOfBoundsException if {@code index} is out of range + */ + public static T at(List list, long index) { + return list.get(resolveIndex(index, list.size())); + } + + /** + * Set the item of {@code list} at {@code index} to {@code value}. + * + * @param list to set the item in + * @param index of the item; negative counts from the back + * @param value to be set + * @param type of the items + * @throws IndexOutOfBoundsException if {@code index} is out of range + */ + public static void setAt(List list, long index, T value) { + list.set(resolveIndex(index, list.size()), value); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/StringHelpers.java b/src/main/java/aas_core/aas3_1/common/StringHelpers.java new file mode 100644 index 00000000..d6a6ebb4 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/StringHelpers.java @@ -0,0 +1,43 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** + * Provide string operations which follow the Python implementation, since Python is the language of + * the meta-model specifications. + * + *

The lengths and the positions count the characters (code points), and not the UTF-16 code + * units of the Java strings. Hence, a character beyond the Basic Multilingual Plane counts as one, + * though it takes two UTF-16 code units (a surrogate pair). + */ +public final class StringHelpers { + private StringHelpers() { + // Prevent instantiation + } + + /** + * Count the characters (code points) of {@code text}. + * + *

We follow the Python implementation of {@code len}, since Python is the language of the + * meta-model specifications. Hence, a character beyond the Basic Multilingual Plane counts as + * one, unlike in {@code text.length()}. + * + * @param text to be measured + * @return the number of characters + */ + public static int len(String text) { + return text.codePointCount(0, text.length()); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/Tuple1.java b/src/main/java/aas_core/aas3_1/common/Tuple1.java new file mode 100644 index 00000000..e57998b1 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/Tuple1.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** Represent a fixed-size heterogeneous tuple of 1 item(s). */ +public record Tuple1(T1 item1) { + /** Count the items of the tuple. */ + public int size() { + return 1; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/Tuple2.java b/src/main/java/aas_core/aas3_1/common/Tuple2.java new file mode 100644 index 00000000..d81b2673 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/Tuple2.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** Represent a fixed-size heterogeneous tuple of 2 item(s). */ +public record Tuple2(T1 item1, T2 item2) { + /** Count the items of the tuple. */ + public int size() { + return 2; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/Tuple3.java b/src/main/java/aas_core/aas3_1/common/Tuple3.java new file mode 100644 index 00000000..221cee40 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/Tuple3.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** Represent a fixed-size heterogeneous tuple of 3 item(s). */ +public record Tuple3(T1 item1, T2 item2, T3 item3) { + /** Count the items of the tuple. */ + public int size() { + return 3; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/Tuple4.java b/src/main/java/aas_core/aas3_1/common/Tuple4.java new file mode 100644 index 00000000..7b4823b2 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/Tuple4.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** Represent a fixed-size heterogeneous tuple of 4 item(s). */ +public record Tuple4(T1 item1, T2 item2, T3 item3, T4 item4) { + /** Count the items of the tuple. */ + public int size() { + return 4; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/Tuple5.java b/src/main/java/aas_core/aas3_1/common/Tuple5.java new file mode 100644 index 00000000..f9dbc6a5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/Tuple5.java @@ -0,0 +1,23 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** Represent a fixed-size heterogeneous tuple of 5 item(s). */ +public record Tuple5(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) { + /** Count the items of the tuple. */ + public int size() { + return 5; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/Tuple6.java b/src/main/java/aas_core/aas3_1/common/Tuple6.java new file mode 100644 index 00000000..1827e059 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/Tuple6.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** Represent a fixed-size heterogeneous tuple of 6 item(s). */ +public record Tuple6( + T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) { + /** Count the items of the tuple. */ + public int size() { + return 6; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/Tuple7.java b/src/main/java/aas_core/aas3_1/common/Tuple7.java new file mode 100644 index 00000000..e60ff69d --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/Tuple7.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** Represent a fixed-size heterogeneous tuple of 7 item(s). */ +public record Tuple7( + T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) { + /** Count the items of the tuple. */ + public int size() { + return 7; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/common/Tuple8.java b/src/main/java/aas_core/aas3_1/common/Tuple8.java new file mode 100644 index 00000000..93b36c50 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/common/Tuple8.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.common; + +/** Represent a fixed-size heterogeneous tuple of 8 item(s). */ +public record Tuple8( + T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, T8 item8) { + /** Count the items of the tuple. */ + public int size() { + return 8; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/constants/Constants.java b/src/main/java/aas_core/aas3_1/constants/Constants.java new file mode 100644 index 00000000..6b96cbf0 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/constants/Constants.java @@ -0,0 +1,189 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.constants; + +import aas_core.aas3_1.types.enums.DataTypeIec61360; +import aas_core.aas3_1.types.enums.KeyTypes; +import java.util.Collections; +import java.util.HashSet; +import java.util.Set; +import java.util.stream.Collector; +import java.util.stream.Stream; + +// Helper to generate read-only collections with less boilerplate. +// See: https://stackoverflow.com/a/37406054 +class _ImmutableCollector { + public static Collector, Set> toImmutableSet() { + return Collector.of( + HashSet::new, + Set::add, + (l, r) -> { + l.addAll(r); + return l; + }, + Collections::unmodifiableSet); + } +} + +/** Provide constant values of the meta-model. */ +public class Constants { + public static final Set genericFragmentKeys = + Stream.of(KeyTypes.FRAGMENT_REFERENCE).collect(_ImmutableCollector.toImmutableSet()); + + public static final Set genericGloballyIdentifiables = + Stream.of(KeyTypes.GLOBAL_REFERENCE).collect(_ImmutableCollector.toImmutableSet()); + + public static final Set aasIdentifiables = + Stream.of( + KeyTypes.ASSET_ADMINISTRATION_SHELL, + KeyTypes.CONCEPT_DESCRIPTION, + KeyTypes.IDENTIFIABLE, + KeyTypes.SUBMODEL) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set aasSubmodelElementsAsKeys = + Stream.of( + KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT, + KeyTypes.BASIC_EVENT_ELEMENT, + KeyTypes.BLOB, + KeyTypes.CAPABILITY, + KeyTypes.DATA_ELEMENT, + KeyTypes.ENTITY, + KeyTypes.EVENT_ELEMENT, + KeyTypes.FILE, + KeyTypes.MULTI_LANGUAGE_PROPERTY, + KeyTypes.OPERATION, + KeyTypes.PROPERTY, + KeyTypes.RANGE, + KeyTypes.REFERENCE_ELEMENT, + KeyTypes.RELATIONSHIP_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT_COLLECTION, + KeyTypes.SUBMODEL_ELEMENT_LIST) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set aasReferableNonIdentifiables = + Stream.of( + KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT, + KeyTypes.BASIC_EVENT_ELEMENT, + KeyTypes.BLOB, + KeyTypes.CAPABILITY, + KeyTypes.DATA_ELEMENT, + KeyTypes.ENTITY, + KeyTypes.EVENT_ELEMENT, + KeyTypes.FILE, + KeyTypes.MULTI_LANGUAGE_PROPERTY, + KeyTypes.OPERATION, + KeyTypes.PROPERTY, + KeyTypes.RANGE, + KeyTypes.REFERENCE_ELEMENT, + KeyTypes.RELATIONSHIP_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT_COLLECTION, + KeyTypes.SUBMODEL_ELEMENT_LIST) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set aasReferables = + Stream.of( + KeyTypes.ASSET_ADMINISTRATION_SHELL, + KeyTypes.CONCEPT_DESCRIPTION, + KeyTypes.IDENTIFIABLE, + KeyTypes.SUBMODEL, + KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT, + KeyTypes.BASIC_EVENT_ELEMENT, + KeyTypes.BLOB, + KeyTypes.CAPABILITY, + KeyTypes.DATA_ELEMENT, + KeyTypes.ENTITY, + KeyTypes.EVENT_ELEMENT, + KeyTypes.FILE, + KeyTypes.MULTI_LANGUAGE_PROPERTY, + KeyTypes.OPERATION, + KeyTypes.PROPERTY, + KeyTypes.RANGE, + KeyTypes.REFERENCE_ELEMENT, + KeyTypes.REFERABLE, + KeyTypes.RELATIONSHIP_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT_COLLECTION, + KeyTypes.SUBMODEL_ELEMENT_LIST) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set globallyIdentifiables = + Stream.of( + KeyTypes.GLOBAL_REFERENCE, + KeyTypes.ASSET_ADMINISTRATION_SHELL, + KeyTypes.CONCEPT_DESCRIPTION, + KeyTypes.IDENTIFIABLE, + KeyTypes.SUBMODEL) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set fragmentKeys = + Stream.of( + KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT, + KeyTypes.BASIC_EVENT_ELEMENT, + KeyTypes.BLOB, + KeyTypes.CAPABILITY, + KeyTypes.DATA_ELEMENT, + KeyTypes.ENTITY, + KeyTypes.EVENT_ELEMENT, + KeyTypes.FILE, + KeyTypes.FRAGMENT_REFERENCE, + KeyTypes.MULTI_LANGUAGE_PROPERTY, + KeyTypes.OPERATION, + KeyTypes.PROPERTY, + KeyTypes.RANGE, + KeyTypes.REFERENCE_ELEMENT, + KeyTypes.RELATIONSHIP_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT, + KeyTypes.SUBMODEL_ELEMENT_COLLECTION, + KeyTypes.SUBMODEL_ELEMENT_LIST) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set dataTypeIec61360ForPropertyOrValue = + Stream.of( + DataTypeIec61360.DATE, + DataTypeIec61360.STRING, + DataTypeIec61360.STRING_TRANSLATABLE, + DataTypeIec61360.INTEGER_MEASURE, + DataTypeIec61360.INTEGER_COUNT, + DataTypeIec61360.INTEGER_CURRENCY, + DataTypeIec61360.REAL_MEASURE, + DataTypeIec61360.REAL_COUNT, + DataTypeIec61360.REAL_CURRENCY, + DataTypeIec61360.BOOLEAN, + DataTypeIec61360.RATIONAL, + DataTypeIec61360.RATIONAL_MEASURE, + DataTypeIec61360.TIME, + DataTypeIec61360.TIMESTAMP) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set dataTypeIec61360ForReference = + Stream.of(DataTypeIec61360.STRING, DataTypeIec61360.IRI, DataTypeIec61360.IRDI) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set dataTypeIec61360ForDocument = + Stream.of(DataTypeIec61360.FILE, DataTypeIec61360.BLOB, DataTypeIec61360.HTML) + .collect(_ImmutableCollector.toImmutableSet()); + + public static final Set iec61360DataTypesWithUnit = + Stream.of( + DataTypeIec61360.INTEGER_MEASURE, + DataTypeIec61360.REAL_MEASURE, + DataTypeIec61360.RATIONAL_MEASURE, + DataTypeIec61360.INTEGER_CURRENCY, + DataTypeIec61360.REAL_CURRENCY) + .collect(_ImmutableCollector.toImmutableSet()); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/copying/Copying.java b/src/main/java/aas_core/aas3_1/copying/Copying.java new file mode 100644 index 00000000..5c2d5ab5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/copying/Copying.java @@ -0,0 +1,1361 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.copying; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IClass; +import aas_core.aas3_1.visitation.AbstractTransformer; +import java.util.ArrayList; +import java.util.List; + +/** Allow for making shallow and deep copies of model instances. */ +public class Copying { + private static final _ShallowCopier shallowCopierInstance = new _ShallowCopier(); + + private static final _DeepCopier deepCopierInstance = new _DeepCopier(); + + /** + * Make a shallow copy of {@code that}. + * + *

All the properties are copied by reference. This includes also the lists. Hence, a list + * property is copied by reference, and not, as sometimes might be expected, as a new list of + * underlying references. + * + * @param that to be copied in a shallow manner + */ + @SuppressWarnings("unchecked") + public static T shallow(T that) { + return (T) shallowCopierInstance.transform(that); + } + + /** + * Make a recursively a deep copy of {@code that}. + * + * @param that to be deeply copied in a recursive manner + */ + @SuppressWarnings("unchecked") + public static T deep(T that) { + return (T) deepCopierInstance.transform(that); + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IReference(List that) { + List result = new ArrayList<>(that.size()); + for (IReference item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IEmbeddedDataSpecification( + List that) { + List result = new ArrayList<>(that.size()); + for (IEmbeddedDataSpecification item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IExtension(List that) { + List result = new ArrayList<>(that.size()); + for (IExtension item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ILangStringNameType( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringNameType item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ILangStringTextType( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringTextType item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISpecificAssetId(List that) { + List result = new ArrayList<>(that.size()); + for (ISpecificAssetId item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IQualifier(List that) { + List result = new ArrayList<>(that.size()); + for (IQualifier item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISubmodelElement(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelElement item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IDataElement(List that) { + List result = new ArrayList<>(that.size()); + for (IDataElement item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IOperationVariable( + List that) { + List result = new ArrayList<>(that.size()); + for (IOperationVariable item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IKey(List that) { + List result = new ArrayList<>(that.size()); + for (IKey item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IAssetAdministrationShell( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShell item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ISubmodel(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodel item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IConceptDescription( + List that) { + List result = new ArrayList<>(that.size()); + for (IConceptDescription item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_IValueReferencePair( + List that) { + List result = new ArrayList<>(that.size()); + for (IValueReferencePair item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List + deepListOf_ILangStringPreferredNameTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringPreferredNameTypeIec61360 item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List deepListOf_ILangStringShortNameTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringShortNameTypeIec61360 item : that) { + result.add(deep(item)); + } + return result; + } + + /** Make a deep copy of {@code that}, copying its items recursively. */ + private static List + deepListOf_ILangStringDefinitionTypeIec61360(List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringDefinitionTypeIec61360 item : that) { + result.add(deep(item)); + } + return result; + } + + /** Dispatch the making of shallow copies. */ + private static class _ShallowCopier extends AbstractTransformer { + @Override + public IClass transformExtension(IExtension that) { + return new Extension( + that.getName(), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getValueType().orElse(null), + that.getValue().orElse(null), + that.getRefersTo().orElse(null)); + } + + @Override + public IClass transformAdministrativeInformation(IAdministrativeInformation that) { + return new AdministrativeInformation( + that.getEmbeddedDataSpecifications().orElse(null), + that.getVersion().orElse(null), + that.getRevision().orElse(null), + that.getCreator().orElse(null), + that.getTemplateId().orElse(null)); + } + + @Override + public IClass transformQualifier(IQualifier that) { + return new Qualifier( + that.getType(), + that.getValueType(), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getKind().orElse(null), + that.getValue().orElse(null), + that.getValueId().orElse(null)); + } + + @Override + public IClass transformAssetAdministrationShell(IAssetAdministrationShell that) { + return new AssetAdministrationShell( + that.getId(), + that.getAssetInformation(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getAdministration().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getDerivedFrom().orElse(null), + that.getSubmodels().orElse(null)); + } + + @Override + public IClass transformAssetInformation(IAssetInformation that) { + return new AssetInformation( + that.getAssetKind(), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().orElse(null), + that.getAssetType().orElse(null), + that.getDefaultThumbnail().orElse(null)); + } + + @Override + public IClass transformResource(IResource that) { + return new Resource(that.getPath(), that.getContentType().orElse(null)); + } + + @Override + public IClass transformSpecificAssetId(ISpecificAssetId that) { + return new SpecificAssetId( + that.getName(), + that.getValue(), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getExternalSubjectId().orElse(null)); + } + + @Override + public IClass transformSubmodel(ISubmodel that) { + return new Submodel( + that.getId(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getAdministration().orElse(null), + that.getKind().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getSubmodelElements().orElse(null)); + } + + @Override + public IClass transformRelationshipElement(IRelationshipElement that) { + return new RelationshipElement( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getFirst().orElse(null), + that.getSecond().orElse(null)); + } + + @Override + public IClass transformSubmodelElementList(ISubmodelElementList that) { + return new SubmodelElementList( + that.getTypeValueListElement(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getOrderRelevant().orElse(null), + that.getSemanticIdListElement().orElse(null), + that.getValueTypeListElement().orElse(null), + that.getValue().orElse(null)); + } + + @Override + public IClass transformSubmodelElementCollection(ISubmodelElementCollection that) { + return new SubmodelElementCollection( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null)); + } + + @Override + public IClass transformProperty(IProperty that) { + return new Property( + that.getValueType(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null), + that.getValueId().orElse(null)); + } + + @Override + public IClass transformMultiLanguageProperty(IMultiLanguageProperty that) { + return new MultiLanguageProperty( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null), + that.getValueId().orElse(null)); + } + + @Override + public IClass transformRange(IRange that) { + return new Range( + that.getValueType(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getMin().orElse(null), + that.getMax().orElse(null)); + } + + @Override + public IClass transformReferenceElement(IReferenceElement that) { + return new ReferenceElement( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null)); + } + + @Override + public IClass transformBlob(IBlob that) { + return new Blob( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null), + that.getContentType().orElse(null)); + } + + @Override + public IClass transformFile(IFile that) { + return new File( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getValue().orElse(null), + that.getContentType().orElse(null)); + } + + @Override + public IClass transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + return new AnnotatedRelationshipElement( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getFirst().orElse(null), + that.getSecond().orElse(null), + that.getAnnotations().orElse(null)); + } + + @Override + public IClass transformEntity(IEntity that) { + return new Entity( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getStatements().orElse(null), + that.getEntityType().orElse(null), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().orElse(null)); + } + + @Override + public IClass transformEventPayload(IEventPayload that) { + return new EventPayload( + that.getSource(), + that.getObservableReference(), + that.getTimeStamp(), + that.getSourceSemanticId().orElse(null), + that.getObservableSemanticId().orElse(null), + that.getTopic().orElse(null), + that.getSubjectId().orElse(null), + that.getPayload().orElse(null)); + } + + @Override + public IClass transformBasicEventElement(IBasicEventElement that) { + return new BasicEventElement( + that.getObserved(), + that.getDirection(), + that.getState(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getMessageTopic().orElse(null), + that.getMessageBroker().orElse(null), + that.getLastUpdate().orElse(null), + that.getMinInterval().orElse(null), + that.getMaxInterval().orElse(null)); + } + + @Override + public IClass transformOperation(IOperation that) { + return new Operation( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getInputVariables().orElse(null), + that.getOutputVariables().orElse(null), + that.getInoutputVariables().orElse(null)); + } + + @Override + public IClass transformOperationVariable(IOperationVariable that) { + return new OperationVariable(that.getValue()); + } + + @Override + public IClass transformCapability(ICapability that) { + return new Capability( + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getSemanticId().orElse(null), + that.getSupplementalSemanticIds().orElse(null), + that.getQualifiers().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null)); + } + + @Override + public IClass transformConceptDescription(IConceptDescription that) { + return new ConceptDescription( + that.getId(), + that.getExtensions().orElse(null), + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().orElse(null), + that.getDescription().orElse(null), + that.getAdministration().orElse(null), + that.getEmbeddedDataSpecifications().orElse(null), + that.getIsCaseOf().orElse(null)); + } + + @Override + public IClass transformReference(IReference that) { + return new Reference( + that.getType(), that.getKeys(), that.getReferredSemanticId().orElse(null)); + } + + @Override + public IClass transformKey(IKey that) { + return new Key(that.getType(), that.getValue()); + } + + @Override + public IClass transformLangStringNameType(ILangStringNameType that) { + return new LangStringNameType(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringTextType(ILangStringTextType that) { + return new LangStringTextType(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformEnvironment(IEnvironment that) { + return new Environment( + that.getAssetAdministrationShells().orElse(null), + that.getSubmodels().orElse(null), + that.getConceptDescriptions().orElse(null)); + } + + @Override + public IClass transformEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + return new EmbeddedDataSpecification( + that.getDataSpecification(), that.getDataSpecificationContent()); + } + + @Override + public IClass transformLevelType(ILevelType that) { + return new LevelType(that.getMin(), that.getNom(), that.getTyp(), that.getMax()); + } + + @Override + public IClass transformValueReferencePair(IValueReferencePair that) { + return new ValueReferencePair(that.getValue(), that.getValueId().orElse(null)); + } + + @Override + public IClass transformValueList(IValueList that) { + return new ValueList(that.getValueReferencePairs()); + } + + @Override + public IClass transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + return new LangStringPreferredNameTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that) { + return new LangStringShortNameTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + return new LangStringDefinitionTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformDataSpecificationIec61360(IDataSpecificationIec61360 that) { + return new DataSpecificationIec61360( + that.getPreferredName(), + that.getShortName().orElse(null), + that.getUnit().orElse(null), + that.getUnitId().orElse(null), + that.getSourceOfDefinition().orElse(null), + that.getSymbol().orElse(null), + that.getDataType().orElse(null), + that.getDefinition().orElse(null), + that.getValueFormat().orElse(null), + that.getValueList().orElse(null), + that.getValue().orElse(null), + that.getLevelType().orElse(null)); + } + } + + /** Dispatch the making of deep copies. */ + private static class _DeepCopier extends AbstractTransformer { + @Override + public IClass transformExtension(IExtension that) { + return new Extension( + that.getName(), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getValueType().orElse(null), + that.getValue().orElse(null), + that.getRefersTo().isPresent() ? deepListOf_IReference(that.getRefersTo().get()) : null); + } + + @Override + public IClass transformAdministrativeInformation(IAdministrativeInformation that) { + return new AdministrativeInformation( + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getVersion().orElse(null), + that.getRevision().orElse(null), + that.getCreator().isPresent() ? deep(that.getCreator().get()) : null, + that.getTemplateId().orElse(null)); + } + + @Override + public IClass transformQualifier(IQualifier that) { + return new Qualifier( + that.getType(), + that.getValueType(), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getKind().orElse(null), + that.getValue().orElse(null), + that.getValueId().isPresent() ? deep(that.getValueId().get()) : null); + } + + @Override + public IClass transformAssetAdministrationShell(IAssetAdministrationShell that) { + return new AssetAdministrationShell( + that.getId(), + deep(that.getAssetInformation()), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getDerivedFrom().isPresent() ? deep(that.getDerivedFrom().get()) : null, + that.getSubmodels().isPresent() + ? deepListOf_IReference(that.getSubmodels().get()) + : null); + } + + @Override + public IClass transformAssetInformation(IAssetInformation that) { + return new AssetInformation( + that.getAssetKind(), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().isPresent() + ? deepListOf_ISpecificAssetId(that.getSpecificAssetIds().get()) + : null, + that.getAssetType().orElse(null), + that.getDefaultThumbnail().isPresent() ? deep(that.getDefaultThumbnail().get()) : null); + } + + @Override + public IClass transformResource(IResource that) { + return new Resource(that.getPath(), that.getContentType().orElse(null)); + } + + @Override + public IClass transformSpecificAssetId(ISpecificAssetId that) { + return new SpecificAssetId( + that.getName(), + that.getValue(), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getExternalSubjectId().isPresent() ? deep(that.getExternalSubjectId().get()) : null); + } + + @Override + public IClass transformSubmodel(ISubmodel that) { + return new Submodel( + that.getId(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getKind().orElse(null), + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getSubmodelElements().isPresent() + ? deepListOf_ISubmodelElement(that.getSubmodelElements().get()) + : null); + } + + @Override + public IClass transformRelationshipElement(IRelationshipElement that) { + return new RelationshipElement( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getFirst().isPresent() ? deep(that.getFirst().get()) : null, + that.getSecond().isPresent() ? deep(that.getSecond().get()) : null); + } + + @Override + public IClass transformSubmodelElementList(ISubmodelElementList that) { + return new SubmodelElementList( + that.getTypeValueListElement(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getOrderRelevant().orElse(null), + that.getSemanticIdListElement().isPresent() + ? deep(that.getSemanticIdListElement().get()) + : null, + that.getValueTypeListElement().orElse(null), + that.getValue().isPresent() ? deepListOf_ISubmodelElement(that.getValue().get()) : null); + } + + @Override + public IClass transformSubmodelElementCollection(ISubmodelElementCollection that) { + return new SubmodelElementCollection( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().isPresent() ? deepListOf_ISubmodelElement(that.getValue().get()) : null); + } + + @Override + public IClass transformProperty(IProperty that) { + return new Property( + that.getValueType(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().orElse(null), + that.getValueId().isPresent() ? deep(that.getValueId().get()) : null); + } + + @Override + public IClass transformMultiLanguageProperty(IMultiLanguageProperty that) { + return new MultiLanguageProperty( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().isPresent() + ? deepListOf_ILangStringTextType(that.getValue().get()) + : null, + that.getValueId().isPresent() ? deep(that.getValueId().get()) : null); + } + + @Override + public IClass transformRange(IRange that) { + return new Range( + that.getValueType(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getMin().orElse(null), + that.getMax().orElse(null)); + } + + @Override + public IClass transformReferenceElement(IReferenceElement that) { + return new ReferenceElement( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().isPresent() ? deep(that.getValue().get()) : null); + } + + @Override + public IClass transformBlob(IBlob that) { + return new Blob( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().isPresent() ? that.getValue().get().clone() : null, + that.getContentType().orElse(null)); + } + + @Override + public IClass transformFile(IFile that) { + return new File( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getValue().orElse(null), + that.getContentType().orElse(null)); + } + + @Override + public IClass transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + return new AnnotatedRelationshipElement( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getFirst().isPresent() ? deep(that.getFirst().get()) : null, + that.getSecond().isPresent() ? deep(that.getSecond().get()) : null, + that.getAnnotations().isPresent() + ? deepListOf_IDataElement(that.getAnnotations().get()) + : null); + } + + @Override + public IClass transformEntity(IEntity that) { + return new Entity( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getStatements().isPresent() + ? deepListOf_ISubmodelElement(that.getStatements().get()) + : null, + that.getEntityType().orElse(null), + that.getGlobalAssetId().orElse(null), + that.getSpecificAssetIds().isPresent() + ? deepListOf_ISpecificAssetId(that.getSpecificAssetIds().get()) + : null); + } + + @Override + public IClass transformEventPayload(IEventPayload that) { + return new EventPayload( + deep(that.getSource()), + deep(that.getObservableReference()), + that.getTimeStamp(), + that.getSourceSemanticId().isPresent() ? deep(that.getSourceSemanticId().get()) : null, + that.getObservableSemanticId().isPresent() + ? deep(that.getObservableSemanticId().get()) + : null, + that.getTopic().orElse(null), + that.getSubjectId().isPresent() ? deep(that.getSubjectId().get()) : null, + that.getPayload().isPresent() ? that.getPayload().get().clone() : null); + } + + @Override + public IClass transformBasicEventElement(IBasicEventElement that) { + return new BasicEventElement( + deep(that.getObserved()), + that.getDirection(), + that.getState(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getMessageTopic().orElse(null), + that.getMessageBroker().isPresent() ? deep(that.getMessageBroker().get()) : null, + that.getLastUpdate().orElse(null), + that.getMinInterval().orElse(null), + that.getMaxInterval().orElse(null)); + } + + @Override + public IClass transformOperation(IOperation that) { + return new Operation( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getInputVariables().isPresent() + ? deepListOf_IOperationVariable(that.getInputVariables().get()) + : null, + that.getOutputVariables().isPresent() + ? deepListOf_IOperationVariable(that.getOutputVariables().get()) + : null, + that.getInoutputVariables().isPresent() + ? deepListOf_IOperationVariable(that.getInoutputVariables().get()) + : null); + } + + @Override + public IClass transformOperationVariable(IOperationVariable that) { + return new OperationVariable(deep(that.getValue())); + } + + @Override + public IClass transformCapability(ICapability that) { + return new Capability( + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getSemanticId().isPresent() ? deep(that.getSemanticId().get()) : null, + that.getSupplementalSemanticIds().isPresent() + ? deepListOf_IReference(that.getSupplementalSemanticIds().get()) + : null, + that.getQualifiers().isPresent() + ? deepListOf_IQualifier(that.getQualifiers().get()) + : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null); + } + + @Override + public IClass transformConceptDescription(IConceptDescription that) { + return new ConceptDescription( + that.getId(), + that.getExtensions().isPresent() + ? deepListOf_IExtension(that.getExtensions().get()) + : null, + that.getCategory().orElse(null), + that.getIdShort().orElse(null), + that.getDisplayName().isPresent() + ? deepListOf_ILangStringNameType(that.getDisplayName().get()) + : null, + that.getDescription().isPresent() + ? deepListOf_ILangStringTextType(that.getDescription().get()) + : null, + that.getAdministration().isPresent() ? deep(that.getAdministration().get()) : null, + that.getEmbeddedDataSpecifications().isPresent() + ? deepListOf_IEmbeddedDataSpecification(that.getEmbeddedDataSpecifications().get()) + : null, + that.getIsCaseOf().isPresent() ? deepListOf_IReference(that.getIsCaseOf().get()) : null); + } + + @Override + public IClass transformReference(IReference that) { + return new Reference( + that.getType(), + deepListOf_IKey(that.getKeys()), + that.getReferredSemanticId().isPresent() + ? deep(that.getReferredSemanticId().get()) + : null); + } + + @Override + public IClass transformKey(IKey that) { + return new Key(that.getType(), that.getValue()); + } + + @Override + public IClass transformLangStringNameType(ILangStringNameType that) { + return new LangStringNameType(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringTextType(ILangStringTextType that) { + return new LangStringTextType(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformEnvironment(IEnvironment that) { + return new Environment( + that.getAssetAdministrationShells().isPresent() + ? deepListOf_IAssetAdministrationShell(that.getAssetAdministrationShells().get()) + : null, + that.getSubmodels().isPresent() ? deepListOf_ISubmodel(that.getSubmodels().get()) : null, + that.getConceptDescriptions().isPresent() + ? deepListOf_IConceptDescription(that.getConceptDescriptions().get()) + : null); + } + + @Override + public IClass transformEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + return new EmbeddedDataSpecification( + deep(that.getDataSpecification()), deep(that.getDataSpecificationContent())); + } + + @Override + public IClass transformLevelType(ILevelType that) { + return new LevelType(that.getMin(), that.getNom(), that.getTyp(), that.getMax()); + } + + @Override + public IClass transformValueReferencePair(IValueReferencePair that) { + return new ValueReferencePair( + that.getValue(), that.getValueId().isPresent() ? deep(that.getValueId().get()) : null); + } + + @Override + public IClass transformValueList(IValueList that) { + return new ValueList(deepListOf_IValueReferencePair(that.getValueReferencePairs())); + } + + @Override + public IClass transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + return new LangStringPreferredNameTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that) { + return new LangStringShortNameTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + return new LangStringDefinitionTypeIec61360(that.getLanguage(), that.getText()); + } + + @Override + public IClass transformDataSpecificationIec61360(IDataSpecificationIec61360 that) { + return new DataSpecificationIec61360( + deepListOf_ILangStringPreferredNameTypeIec61360(that.getPreferredName()), + that.getShortName().isPresent() + ? deepListOf_ILangStringShortNameTypeIec61360(that.getShortName().get()) + : null, + that.getUnit().orElse(null), + that.getUnitId().isPresent() ? deep(that.getUnitId().get()) : null, + that.getSourceOfDefinition().orElse(null), + that.getSymbol().orElse(null), + that.getDataType().orElse(null), + that.getDefinition().isPresent() + ? deepListOf_ILangStringDefinitionTypeIec61360(that.getDefinition().get()) + : null, + that.getValueFormat().orElse(null), + that.getValueList().isPresent() ? deep(that.getValueList().get()) : null, + that.getValue().orElse(null), + that.getLevelType().isPresent() ? deep(that.getLevelType().get()) : null); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/Enhanced.java b/src/main/java/aas_core/aas3_1/enhancing/Enhanced.java new file mode 100644 index 00000000..d122a714 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/Enhanced.java @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +public abstract class Enhanced { + protected final EnhancementT enhancement; + + protected Enhanced(EnhancementT enhancement) { + this.enhancement = enhancement; + } + + EnhancementT getEnhancement() { + return enhancement; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedAdministrativeInformation.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedAdministrativeInformation.java new file mode 100644 index 00000000..3617a563 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedAdministrativeInformation.java @@ -0,0 +1,117 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAdministrativeInformation extends Enhanced + implements IAdministrativeInformation { + private final IAdministrativeInformation instance; + + public EnhancedAdministrativeInformation( + IAdministrativeInformation instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getVersion() { + return instance.getVersion(); + } + + @Override + public void setVersion(String version) { + instance.setVersion(version); + } + + @Override + public Optional getRevision() { + return instance.getRevision(); + } + + @Override + public void setRevision(String revision) { + instance.setRevision(revision); + } + + @Override + public Optional getCreator() { + return instance.getCreator(); + } + + @Override + public void setCreator(IReference creator) { + instance.setCreator(creator); + } + + @Override + public Optional getTemplateId() { + return instance.getTemplateId(); + } + + @Override + public void setTemplateId(String templateId) { + instance.setTemplateId(templateId); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAdministrativeInformation(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAdministrativeInformation(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAdministrativeInformation(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAdministrativeInformation(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedAnnotatedRelationshipElement.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedAnnotatedRelationshipElement.java new file mode 100644 index 00000000..e500d326 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedAnnotatedRelationshipElement.java @@ -0,0 +1,211 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAnnotatedRelationshipElement extends Enhanced + implements IAnnotatedRelationshipElement { + private final IAnnotatedRelationshipElement instance; + + public EnhancedAnnotatedRelationshipElement( + IAnnotatedRelationshipElement instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getFirst() { + return instance.getFirst(); + } + + @Override + public void setFirst(IReference first) { + instance.setFirst(first); + } + + @Override + public Optional getSecond() { + return instance.getSecond(); + } + + @Override + public void setSecond(IReference second) { + instance.setSecond(second); + } + + @Override + public Optional> getAnnotations() { + return instance.getAnnotations(); + } + + @Override + public void setAnnotations(List annotations) { + instance.setAnnotations(annotations); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overAnnotationsOrEmpty() { + return instance.overAnnotationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAnnotatedRelationshipElement(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAnnotatedRelationshipElement(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAnnotatedRelationshipElement(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAnnotatedRelationshipElement(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedAssetAdministrationShell.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedAssetAdministrationShell.java new file mode 100644 index 00000000..4d032bed --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedAssetAdministrationShell.java @@ -0,0 +1,193 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAssetAdministrationShell extends Enhanced + implements IAssetAdministrationShell { + private final IAssetAdministrationShell instance; + + public EnhancedAssetAdministrationShell( + IAssetAdministrationShell instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getDerivedFrom() { + return instance.getDerivedFrom(); + } + + @Override + public void setDerivedFrom(IReference derivedFrom) { + instance.setDerivedFrom(derivedFrom); + } + + @Override + public IAssetInformation getAssetInformation() { + return instance.getAssetInformation(); + } + + @Override + public void setAssetInformation(IAssetInformation assetInformation) { + instance.setAssetInformation(assetInformation); + } + + @Override + public Optional> getSubmodels() { + return instance.getSubmodels(); + } + + @Override + public void setSubmodels(List submodels) { + instance.setSubmodels(submodels); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overSubmodelsOrEmpty() { + return instance.overSubmodelsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShell(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShell(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShell(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShell(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedAssetInformation.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedAssetInformation.java new file mode 100644 index 00000000..88e1b8cf --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedAssetInformation.java @@ -0,0 +1,115 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedAssetInformation extends Enhanced + implements IAssetInformation { + private final IAssetInformation instance; + + public EnhancedAssetInformation(IAssetInformation instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public AssetKind getAssetKind() { + return instance.getAssetKind(); + } + + @Override + public void setAssetKind(AssetKind assetKind) { + instance.setAssetKind(assetKind); + } + + @Override + public Optional getGlobalAssetId() { + return instance.getGlobalAssetId(); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + instance.setGlobalAssetId(globalAssetId); + } + + @Override + public Optional> getSpecificAssetIds() { + return instance.getSpecificAssetIds(); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + instance.setSpecificAssetIds(specificAssetIds); + } + + @Override + public Optional getAssetType() { + return instance.getAssetType(); + } + + @Override + public void setAssetType(String assetType) { + instance.setAssetType(assetType); + } + + @Override + public Optional getDefaultThumbnail() { + return instance.getDefaultThumbnail(); + } + + @Override + public void setDefaultThumbnail(IResource defaultThumbnail) { + instance.setDefaultThumbnail(defaultThumbnail); + } + + public Iterable overSpecificAssetIdsOrEmpty() { + return instance.overSpecificAssetIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitAssetInformation(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetInformation(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformAssetInformation(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetInformation(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedBasicEventElement.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedBasicEventElement.java new file mode 100644 index 00000000..e7b102fd --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedBasicEventElement.java @@ -0,0 +1,256 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedBasicEventElement extends Enhanced + implements IBasicEventElement { + private final IBasicEventElement instance; + + public EnhancedBasicEventElement(IBasicEventElement instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public IReference getObserved() { + return instance.getObserved(); + } + + @Override + public void setObserved(IReference observed) { + instance.setObserved(observed); + } + + @Override + public Direction getDirection() { + return instance.getDirection(); + } + + @Override + public void setDirection(Direction direction) { + instance.setDirection(direction); + } + + @Override + public StateOfEvent getState() { + return instance.getState(); + } + + @Override + public void setState(StateOfEvent state) { + instance.setState(state); + } + + @Override + public Optional getMessageTopic() { + return instance.getMessageTopic(); + } + + @Override + public void setMessageTopic(String messageTopic) { + instance.setMessageTopic(messageTopic); + } + + @Override + public Optional getMessageBroker() { + return instance.getMessageBroker(); + } + + @Override + public void setMessageBroker(IReference messageBroker) { + instance.setMessageBroker(messageBroker); + } + + @Override + public Optional getLastUpdate() { + return instance.getLastUpdate(); + } + + @Override + public void setLastUpdate(String lastUpdate) { + instance.setLastUpdate(lastUpdate); + } + + @Override + public Optional getMinInterval() { + return instance.getMinInterval(); + } + + @Override + public void setMinInterval(String minInterval) { + instance.setMinInterval(minInterval); + } + + @Override + public Optional getMaxInterval() { + return instance.getMaxInterval(); + } + + @Override + public void setMaxInterval(String maxInterval) { + instance.setMaxInterval(maxInterval); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBasicEventElement(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBasicEventElement(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBasicEventElement(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBasicEventElement(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedBlob.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedBlob.java new file mode 100644 index 00000000..9309e0e6 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedBlob.java @@ -0,0 +1,195 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedBlob extends Enhanced implements IBlob { + private final IBlob instance; + + public EnhancedBlob(IBlob instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(byte[] value) { + instance.setValue(value); + } + + @Override + public Optional getContentType() { + return instance.getContentType(); + } + + @Override + public void setContentType(String contentType) { + instance.setContentType(contentType); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitBlob(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBlob(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformBlob(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBlob(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedCapability.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedCapability.java new file mode 100644 index 00000000..4323102b --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedCapability.java @@ -0,0 +1,176 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedCapability extends Enhanced + implements ICapability { + private final ICapability instance; + + public EnhancedCapability(ICapability instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitCapability(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitCapability(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformCapability(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformCapability(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedConceptDescription.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedConceptDescription.java new file mode 100644 index 00000000..740000c5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedConceptDescription.java @@ -0,0 +1,172 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedConceptDescription extends Enhanced + implements IConceptDescription { + private final IConceptDescription instance; + + public EnhancedConceptDescription(IConceptDescription instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getIsCaseOf() { + return instance.getIsCaseOf(); + } + + @Override + public void setIsCaseOf(List isCaseOf) { + instance.setIsCaseOf(isCaseOf); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overIsCaseOfOrEmpty() { + return instance.overIsCaseOfOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitConceptDescription(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitConceptDescription(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformConceptDescription(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformConceptDescription(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedDataSpecificationIec61360.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedDataSpecificationIec61360.java new file mode 100644 index 00000000..f89a67c4 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedDataSpecificationIec61360.java @@ -0,0 +1,190 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedDataSpecificationIec61360 extends Enhanced + implements IDataSpecificationIec61360 { + private final IDataSpecificationIec61360 instance; + + public EnhancedDataSpecificationIec61360( + IDataSpecificationIec61360 instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getPreferredName() { + return instance.getPreferredName(); + } + + @Override + public void setPreferredName(List preferredName) { + instance.setPreferredName(preferredName); + } + + @Override + public Optional> getShortName() { + return instance.getShortName(); + } + + @Override + public void setShortName(List shortName) { + instance.setShortName(shortName); + } + + @Override + public Optional getUnit() { + return instance.getUnit(); + } + + @Override + public void setUnit(String unit) { + instance.setUnit(unit); + } + + @Override + public Optional getUnitId() { + return instance.getUnitId(); + } + + @Override + public void setUnitId(IReference unitId) { + instance.setUnitId(unitId); + } + + @Override + public Optional getSourceOfDefinition() { + return instance.getSourceOfDefinition(); + } + + @Override + public void setSourceOfDefinition(String sourceOfDefinition) { + instance.setSourceOfDefinition(sourceOfDefinition); + } + + @Override + public Optional getSymbol() { + return instance.getSymbol(); + } + + @Override + public void setSymbol(String symbol) { + instance.setSymbol(symbol); + } + + @Override + public Optional getDataType() { + return instance.getDataType(); + } + + @Override + public void setDataType(DataTypeIec61360 dataType) { + instance.setDataType(dataType); + } + + @Override + public Optional> getDefinition() { + return instance.getDefinition(); + } + + @Override + public void setDefinition(List definition) { + instance.setDefinition(definition); + } + + @Override + public Optional getValueFormat() { + return instance.getValueFormat(); + } + + @Override + public void setValueFormat(String valueFormat) { + instance.setValueFormat(valueFormat); + } + + @Override + public Optional getValueList() { + return instance.getValueList(); + } + + @Override + public void setValueList(IValueList valueList) { + instance.setValueList(valueList); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getLevelType() { + return instance.getLevelType(); + } + + @Override + public void setLevelType(ILevelType levelType) { + instance.setLevelType(levelType); + } + + public Iterable overShortNameOrEmpty() { + return instance.overShortNameOrEmpty(); + } + + public Iterable overDefinitionOrEmpty() { + return instance.overDefinitionOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitDataSpecificationIec61360(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDataSpecificationIec61360(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformDataSpecificationIec61360(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDataSpecificationIec61360(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedEmbeddedDataSpecification.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedEmbeddedDataSpecification.java new file mode 100644 index 00000000..d07e9cd5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedEmbeddedDataSpecification.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedEmbeddedDataSpecification extends Enhanced + implements IEmbeddedDataSpecification { + private final IEmbeddedDataSpecification instance; + + public EnhancedEmbeddedDataSpecification( + IEmbeddedDataSpecification instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IReference getDataSpecification() { + return instance.getDataSpecification(); + } + + @Override + public void setDataSpecification(IReference dataSpecification) { + instance.setDataSpecification(dataSpecification); + } + + @Override + public IDataSpecificationContent getDataSpecificationContent() { + return instance.getDataSpecificationContent(); + } + + @Override + public void setDataSpecificationContent(IDataSpecificationContent dataSpecificationContent) { + instance.setDataSpecificationContent(dataSpecificationContent); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEmbeddedDataSpecification(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEmbeddedDataSpecification(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEmbeddedDataSpecification(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEmbeddedDataSpecification(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedEntity.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedEntity.java new file mode 100644 index 00000000..bd657d98 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedEntity.java @@ -0,0 +1,223 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedEntity extends Enhanced implements IEntity { + private final IEntity instance; + + public EnhancedEntity(IEntity instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getStatements() { + return instance.getStatements(); + } + + @Override + public void setStatements(List statements) { + instance.setStatements(statements); + } + + @Override + public Optional getEntityType() { + return instance.getEntityType(); + } + + @Override + public void setEntityType(EntityType entityType) { + instance.setEntityType(entityType); + } + + @Override + public Optional getGlobalAssetId() { + return instance.getGlobalAssetId(); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + instance.setGlobalAssetId(globalAssetId); + } + + @Override + public Optional> getSpecificAssetIds() { + return instance.getSpecificAssetIds(); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + instance.setSpecificAssetIds(specificAssetIds); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overStatementsOrEmpty() { + return instance.overStatementsOrEmpty(); + } + + public Iterable overSpecificAssetIdsOrEmpty() { + return instance.overSpecificAssetIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEntity(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEntity(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEntity(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEntity(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedEnvironment.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedEnvironment.java new file mode 100644 index 00000000..c67716b0 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedEnvironment.java @@ -0,0 +1,104 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedEnvironment extends Enhanced + implements IEnvironment { + private final IEnvironment instance; + + public EnhancedEnvironment(IEnvironment instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getAssetAdministrationShells() { + return instance.getAssetAdministrationShells(); + } + + @Override + public void setAssetAdministrationShells( + List assetAdministrationShells) { + instance.setAssetAdministrationShells(assetAdministrationShells); + } + + @Override + public Optional> getSubmodels() { + return instance.getSubmodels(); + } + + @Override + public void setSubmodels(List submodels) { + instance.setSubmodels(submodels); + } + + @Override + public Optional> getConceptDescriptions() { + return instance.getConceptDescriptions(); + } + + @Override + public void setConceptDescriptions(List conceptDescriptions) { + instance.setConceptDescriptions(conceptDescriptions); + } + + public Iterable overAssetAdministrationShellsOrEmpty() { + return instance.overAssetAdministrationShellsOrEmpty(); + } + + public Iterable overSubmodelsOrEmpty() { + return instance.overSubmodelsOrEmpty(); + } + + public Iterable overConceptDescriptionsOrEmpty() { + return instance.overConceptDescriptionsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEnvironment(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEnvironment(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEnvironment(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEnvironment(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedEventPayload.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedEventPayload.java new file mode 100644 index 00000000..151d7a6b --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedEventPayload.java @@ -0,0 +1,140 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedEventPayload extends Enhanced + implements IEventPayload { + private final IEventPayload instance; + + public EnhancedEventPayload(IEventPayload instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public IReference getSource() { + return instance.getSource(); + } + + @Override + public void setSource(IReference source) { + instance.setSource(source); + } + + @Override + public Optional getSourceSemanticId() { + return instance.getSourceSemanticId(); + } + + @Override + public void setSourceSemanticId(IReference sourceSemanticId) { + instance.setSourceSemanticId(sourceSemanticId); + } + + @Override + public IReference getObservableReference() { + return instance.getObservableReference(); + } + + @Override + public void setObservableReference(IReference observableReference) { + instance.setObservableReference(observableReference); + } + + @Override + public Optional getObservableSemanticId() { + return instance.getObservableSemanticId(); + } + + @Override + public void setObservableSemanticId(IReference observableSemanticId) { + instance.setObservableSemanticId(observableSemanticId); + } + + @Override + public Optional getTopic() { + return instance.getTopic(); + } + + @Override + public void setTopic(String topic) { + instance.setTopic(topic); + } + + @Override + public Optional getSubjectId() { + return instance.getSubjectId(); + } + + @Override + public void setSubjectId(IReference subjectId) { + instance.setSubjectId(subjectId); + } + + @Override + public String getTimeStamp() { + return instance.getTimeStamp(); + } + + @Override + public void setTimeStamp(String timeStamp) { + instance.setTimeStamp(timeStamp); + } + + @Override + public Optional getPayload() { + return instance.getPayload(); + } + + @Override + public void setPayload(byte[] payload) { + instance.setPayload(payload); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitEventPayload(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEventPayload(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformEventPayload(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEventPayload(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedExtension.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedExtension.java new file mode 100644 index 00000000..201de9cd --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedExtension.java @@ -0,0 +1,132 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedExtension extends Enhanced implements IExtension { + private final IExtension instance; + + public EnhancedExtension(IExtension instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public String getName() { + return instance.getName(); + } + + @Override + public void setName(String name) { + instance.setName(name); + } + + @Override + public Optional getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional> getRefersTo() { + return instance.getRefersTo(); + } + + @Override + public void setRefersTo(List refersTo) { + instance.setRefersTo(refersTo); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overRefersToOrEmpty() { + return instance.overRefersToOrEmpty(); + } + + public DataTypeDefXsd valueTypeOrDefault() { + return instance.valueTypeOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitExtension(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitExtension(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformExtension(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformExtension(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedFile.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedFile.java new file mode 100644 index 00000000..5e01d766 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedFile.java @@ -0,0 +1,195 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedFile extends Enhanced implements IFile { + private final IFile instance; + + public EnhancedFile(IFile instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getContentType() { + return instance.getContentType(); + } + + @Override + public void setContentType(String contentType) { + instance.setContentType(contentType); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitFile(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFile(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformFile(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFile(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedKey.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedKey.java new file mode 100644 index 00000000..5ad608d0 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedKey.java @@ -0,0 +1,78 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedKey extends Enhanced implements IKey { + private final IKey instance; + + public EnhancedKey(IKey instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public KeyTypes getType() { + return instance.getType(); + } + + @Override + public void setType(KeyTypes type) { + instance.setType(type); + } + + @Override + public String getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitKey(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitKey(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformKey(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformKey(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringDefinitionTypeIec61360.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringDefinitionTypeIec61360.java new file mode 100644 index 00000000..4e180663 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringDefinitionTypeIec61360.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedLangStringDefinitionTypeIec61360 extends Enhanced + implements ILangStringDefinitionTypeIec61360 { + private final ILangStringDefinitionTypeIec61360 instance; + + public EnhancedLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringDefinitionTypeIec61360(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringDefinitionTypeIec61360(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringDefinitionTypeIec61360(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringDefinitionTypeIec61360(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringNameType.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringNameType.java new file mode 100644 index 00000000..84e3915f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringNameType.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedLangStringNameType extends Enhanced + implements ILangStringNameType { + private final ILangStringNameType instance; + + public EnhancedLangStringNameType(ILangStringNameType instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringNameType(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringNameType(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringNameType(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringNameType(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringPreferredNameTypeIec61360.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringPreferredNameTypeIec61360.java new file mode 100644 index 00000000..ef82df52 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringPreferredNameTypeIec61360.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedLangStringPreferredNameTypeIec61360 + extends Enhanced implements ILangStringPreferredNameTypeIec61360 { + private final ILangStringPreferredNameTypeIec61360 instance; + + public EnhancedLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringPreferredNameTypeIec61360(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringPreferredNameTypeIec61360(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringPreferredNameTypeIec61360(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringPreferredNameTypeIec61360(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringShortNameTypeIec61360.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringShortNameTypeIec61360.java new file mode 100644 index 00000000..8f582f8a --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringShortNameTypeIec61360.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedLangStringShortNameTypeIec61360 extends Enhanced + implements ILangStringShortNameTypeIec61360 { + private final ILangStringShortNameTypeIec61360 instance; + + public EnhancedLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringShortNameTypeIec61360(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringShortNameTypeIec61360(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringShortNameTypeIec61360(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringShortNameTypeIec61360(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringTextType.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringTextType.java new file mode 100644 index 00000000..de20ca07 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLangStringTextType.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedLangStringTextType extends Enhanced + implements ILangStringTextType { + private final ILangStringTextType instance; + + public EnhancedLangStringTextType(ILangStringTextType instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getLanguage() { + return instance.getLanguage(); + } + + @Override + public void setLanguage(String language) { + instance.setLanguage(language); + } + + @Override + public String getText() { + return instance.getText(); + } + + @Override + public void setText(String text) { + instance.setText(text); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLangStringTextType(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringTextType(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLangStringTextType(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringTextType(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedLevelType.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLevelType.java new file mode 100644 index 00000000..b75be109 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedLevelType.java @@ -0,0 +1,98 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedLevelType extends Enhanced implements ILevelType { + private final ILevelType instance; + + public EnhancedLevelType(ILevelType instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Boolean getMin() { + return instance.getMin(); + } + + @Override + public void setMin(Boolean min) { + instance.setMin(min); + } + + @Override + public Boolean getNom() { + return instance.getNom(); + } + + @Override + public void setNom(Boolean nom) { + instance.setNom(nom); + } + + @Override + public Boolean getTyp() { + return instance.getTyp(); + } + + @Override + public void setTyp(Boolean typ) { + instance.setTyp(typ); + } + + @Override + public Boolean getMax() { + return instance.getMax(); + } + + @Override + public void setMax(Boolean max) { + instance.setMax(max); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitLevelType(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLevelType(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformLevelType(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLevelType(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedMultiLanguageProperty.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedMultiLanguageProperty.java new file mode 100644 index 00000000..d9b4783d --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedMultiLanguageProperty.java @@ -0,0 +1,200 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedMultiLanguageProperty extends Enhanced + implements IMultiLanguageProperty { + private final IMultiLanguageProperty instance; + + public EnhancedMultiLanguageProperty(IMultiLanguageProperty instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getValue() { + return instance.getValue(); + } + + @Override + public void setValue(List value) { + instance.setValue(value); + } + + @Override + public Optional getValueId() { + return instance.getValueId(); + } + + @Override + public void setValueId(IReference valueId) { + instance.setValueId(valueId); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overValueOrEmpty() { + return instance.overValueOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitMultiLanguageProperty(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMultiLanguageProperty(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformMultiLanguageProperty(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMultiLanguageProperty(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedOperation.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedOperation.java new file mode 100644 index 00000000..79c1c25f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedOperation.java @@ -0,0 +1,217 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedOperation extends Enhanced implements IOperation { + private final IOperation instance; + + public EnhancedOperation(IOperation instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getInputVariables() { + return instance.getInputVariables(); + } + + @Override + public void setInputVariables(List inputVariables) { + instance.setInputVariables(inputVariables); + } + + @Override + public Optional> getOutputVariables() { + return instance.getOutputVariables(); + } + + @Override + public void setOutputVariables(List outputVariables) { + instance.setOutputVariables(outputVariables); + } + + @Override + public Optional> getInoutputVariables() { + return instance.getInoutputVariables(); + } + + @Override + public void setInoutputVariables(List inoutputVariables) { + instance.setInoutputVariables(inoutputVariables); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overInputVariablesOrEmpty() { + return instance.overInputVariablesOrEmpty(); + } + + public Iterable overOutputVariablesOrEmpty() { + return instance.overOutputVariablesOrEmpty(); + } + + public Iterable overInoutputVariablesOrEmpty() { + return instance.overInoutputVariablesOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperation(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperation(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperation(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperation(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedOperationVariable.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedOperationVariable.java new file mode 100644 index 00000000..5f517108 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedOperationVariable.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +public class EnhancedOperationVariable extends Enhanced + implements IOperationVariable { + private final IOperationVariable instance; + + public EnhancedOperationVariable(IOperationVariable instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public ISubmodelElement getValue() { + return instance.getValue(); + } + + @Override + public void setValue(ISubmodelElement value) { + instance.setValue(value); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitOperationVariable(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationVariable(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformOperationVariable(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationVariable(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedProperty.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedProperty.java new file mode 100644 index 00000000..eefabb4a --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedProperty.java @@ -0,0 +1,205 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedProperty extends Enhanced implements IProperty { + private final IProperty instance; + + public EnhancedProperty(IProperty instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public DataTypeDefXsd getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getValueId() { + return instance.getValueId(); + } + + @Override + public void setValueId(IReference valueId) { + instance.setValueId(valueId); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitProperty(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitProperty(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformProperty(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformProperty(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedQualifier.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedQualifier.java new file mode 100644 index 00000000..5e1130b9 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedQualifier.java @@ -0,0 +1,138 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedQualifier extends Enhanced implements IQualifier { + private final IQualifier instance; + + public EnhancedQualifier(IQualifier instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional getKind() { + return instance.getKind(); + } + + @Override + public void setKind(QualifierKind kind) { + instance.setKind(kind); + } + + @Override + public String getType() { + return instance.getType(); + } + + @Override + public void setType(String type) { + instance.setType(type); + } + + @Override + public DataTypeDefXsd getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getValueId() { + return instance.getValueId(); + } + + @Override + public void setValueId(IReference valueId) { + instance.setValueId(valueId); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public QualifierKind kindOrDefault() { + return instance.kindOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitQualifier(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitQualifier(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformQualifier(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformQualifier(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedRange.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedRange.java new file mode 100644 index 00000000..760eca92 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedRange.java @@ -0,0 +1,205 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedRange extends Enhanced implements IRange { + private final IRange instance; + + public EnhancedRange(IRange instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public DataTypeDefXsd getValueType() { + return instance.getValueType(); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + instance.setValueType(valueType); + } + + @Override + public Optional getMin() { + return instance.getMin(); + } + + @Override + public void setMin(String min) { + instance.setMin(min); + } + + @Override + public Optional getMax() { + return instance.getMax(); + } + + @Override + public void setMax(String max) { + instance.setMax(max); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRange(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRange(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRange(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRange(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedReference.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedReference.java new file mode 100644 index 00000000..da012765 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedReference.java @@ -0,0 +1,90 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedReference extends Enhanced implements IReference { + private final IReference instance; + + public EnhancedReference(IReference instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public ReferenceTypes getType() { + return instance.getType(); + } + + @Override + public void setType(ReferenceTypes type) { + instance.setType(type); + } + + @Override + public Optional getReferredSemanticId() { + return instance.getReferredSemanticId(); + } + + @Override + public void setReferredSemanticId(IReference referredSemanticId) { + instance.setReferredSemanticId(referredSemanticId); + } + + @Override + public List getKeys() { + return instance.getKeys(); + } + + @Override + public void setKeys(List keys) { + instance.setKeys(keys); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitReference(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReference(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformReference(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReference(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedReferenceElement.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedReferenceElement.java new file mode 100644 index 00000000..98df65cb --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedReferenceElement.java @@ -0,0 +1,186 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedReferenceElement extends Enhanced + implements IReferenceElement { + private final IReferenceElement instance; + + public EnhancedReferenceElement(IReferenceElement instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getValue() { + return instance.getValue(); + } + + @Override + public void setValue(IReference value) { + instance.setValue(value); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitReferenceElement(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceElement(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformReferenceElement(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceElement(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedRelationshipElement.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedRelationshipElement.java new file mode 100644 index 00000000..4c54920e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedRelationshipElement.java @@ -0,0 +1,196 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedRelationshipElement extends Enhanced + implements IRelationshipElement { + private final IRelationshipElement instance; + + public EnhancedRelationshipElement(IRelationshipElement instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getFirst() { + return instance.getFirst(); + } + + @Override + public void setFirst(IReference first) { + instance.setFirst(first); + } + + @Override + public Optional getSecond() { + return instance.getSecond(); + } + + @Override + public void setSecond(IReference second) { + instance.setSecond(second); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitRelationshipElement(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRelationshipElement(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformRelationshipElement(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRelationshipElement(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedResource.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedResource.java new file mode 100644 index 00000000..d26799e0 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedResource.java @@ -0,0 +1,79 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedResource extends Enhanced implements IResource { + private final IResource instance; + + public EnhancedResource(IResource instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getPath() { + return instance.getPath(); + } + + @Override + public void setPath(String path) { + instance.setPath(path); + } + + @Override + public Optional getContentType() { + return instance.getContentType(); + } + + @Override + public void setContentType(String contentType) { + instance.setContentType(contentType); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitResource(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitResource(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformResource(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformResource(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedSpecificAssetId.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedSpecificAssetId.java new file mode 100644 index 00000000..8ebc6153 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedSpecificAssetId.java @@ -0,0 +1,115 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSpecificAssetId extends Enhanced + implements ISpecificAssetId { + private final ISpecificAssetId instance; + + public EnhancedSpecificAssetId(ISpecificAssetId instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public String getName() { + return instance.getName(); + } + + @Override + public void setName(String name) { + instance.setName(name); + } + + @Override + public String getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getExternalSubjectId() { + return instance.getExternalSubjectId(); + } + + @Override + public void setExternalSubjectId(IReference externalSubjectId) { + instance.setExternalSubjectId(externalSubjectId); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSpecificAssetId(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSpecificAssetId(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSpecificAssetId(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSpecificAssetId(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodel.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodel.java new file mode 100644 index 00000000..1c4576a0 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodel.java @@ -0,0 +1,223 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodel extends Enhanced implements ISubmodel { + private final ISubmodel instance; + + public EnhancedSubmodel(ISubmodel instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getAdministration() { + return instance.getAdministration(); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + instance.setAdministration(administration); + } + + @Override + public String getId() { + return instance.getId(); + } + + @Override + public void setId(String id) { + instance.setId(id); + } + + @Override + public Optional getKind() { + return instance.getKind(); + } + + @Override + public void setKind(ModellingKind kind) { + instance.setKind(kind); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getSubmodelElements() { + return instance.getSubmodelElements(); + } + + @Override + public void setSubmodelElements(List submodelElements) { + instance.setSubmodelElements(submodelElements); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overSubmodelElementsOrEmpty() { + return instance.overSubmodelElementsOrEmpty(); + } + + public ModellingKind kindOrDefault() { + return instance.kindOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodel(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodel(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodel(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodel(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodelElementCollection.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodelElementCollection.java new file mode 100644 index 00000000..b4215f1e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodelElementCollection.java @@ -0,0 +1,191 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelElementCollection extends Enhanced + implements ISubmodelElementCollection { + private final ISubmodelElementCollection instance; + + public EnhancedSubmodelElementCollection( + ISubmodelElementCollection instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional> getValue() { + return instance.getValue(); + } + + @Override + public void setValue(List value) { + instance.setValue(value); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overValueOrEmpty() { + return instance.overValueOrEmpty(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementCollection(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementCollection(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementCollection(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementCollection(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodelElementList.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodelElementList.java new file mode 100644 index 00000000..6917d56f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedSubmodelElementList.java @@ -0,0 +1,234 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; +import java.util.Optional; + +public class EnhancedSubmodelElementList extends Enhanced + implements ISubmodelElementList { + private final ISubmodelElementList instance; + + public EnhancedSubmodelElementList(ISubmodelElementList instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public Optional> getExtensions() { + return instance.getExtensions(); + } + + @Override + public void setExtensions(List extensions) { + instance.setExtensions(extensions); + } + + @Override + public Optional getCategory() { + return instance.getCategory(); + } + + @Override + public void setCategory(String category) { + instance.setCategory(category); + } + + @Override + public Optional getIdShort() { + return instance.getIdShort(); + } + + @Override + public void setIdShort(String idShort) { + instance.setIdShort(idShort); + } + + @Override + public Optional> getDisplayName() { + return instance.getDisplayName(); + } + + @Override + public void setDisplayName(List displayName) { + instance.setDisplayName(displayName); + } + + @Override + public Optional> getDescription() { + return instance.getDescription(); + } + + @Override + public void setDescription(List description) { + instance.setDescription(description); + } + + @Override + public Optional getSemanticId() { + return instance.getSemanticId(); + } + + @Override + public void setSemanticId(IReference semanticId) { + instance.setSemanticId(semanticId); + } + + @Override + public Optional> getSupplementalSemanticIds() { + return instance.getSupplementalSemanticIds(); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + instance.setSupplementalSemanticIds(supplementalSemanticIds); + } + + @Override + public Optional> getQualifiers() { + return instance.getQualifiers(); + } + + @Override + public void setQualifiers(List qualifiers) { + instance.setQualifiers(qualifiers); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return instance.getEmbeddedDataSpecifications(); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + instance.setEmbeddedDataSpecifications(embeddedDataSpecifications); + } + + @Override + public Optional getOrderRelevant() { + return instance.getOrderRelevant(); + } + + @Override + public void setOrderRelevant(Boolean orderRelevant) { + instance.setOrderRelevant(orderRelevant); + } + + @Override + public Optional getSemanticIdListElement() { + return instance.getSemanticIdListElement(); + } + + @Override + public void setSemanticIdListElement(IReference semanticIdListElement) { + instance.setSemanticIdListElement(semanticIdListElement); + } + + @Override + public AasSubmodelElements getTypeValueListElement() { + return instance.getTypeValueListElement(); + } + + @Override + public void setTypeValueListElement(AasSubmodelElements typeValueListElement) { + instance.setTypeValueListElement(typeValueListElement); + } + + @Override + public Optional getValueTypeListElement() { + return instance.getValueTypeListElement(); + } + + @Override + public void setValueTypeListElement(DataTypeDefXsd valueTypeListElement) { + instance.setValueTypeListElement(valueTypeListElement); + } + + @Override + public Optional> getValue() { + return instance.getValue(); + } + + @Override + public void setValue(List value) { + instance.setValue(value); + } + + public Iterable overExtensionsOrEmpty() { + return instance.overExtensionsOrEmpty(); + } + + public Iterable overDisplayNameOrEmpty() { + return instance.overDisplayNameOrEmpty(); + } + + public Iterable overDescriptionOrEmpty() { + return instance.overDescriptionOrEmpty(); + } + + public Iterable overSupplementalSemanticIdsOrEmpty() { + return instance.overSupplementalSemanticIdsOrEmpty(); + } + + public Iterable overQualifiersOrEmpty() { + return instance.overQualifiersOrEmpty(); + } + + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return instance.overEmbeddedDataSpecificationsOrEmpty(); + } + + public Iterable overValueOrEmpty() { + return instance.overValueOrEmpty(); + } + + public Boolean orderRelevantOrDefault() { + return instance.orderRelevantOrDefault(); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementList(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementList(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementList(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementList(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedValueList.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedValueList.java new file mode 100644 index 00000000..df2395eb --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedValueList.java @@ -0,0 +1,69 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.List; + +public class EnhancedValueList extends Enhanced implements IValueList { + private final IValueList instance; + + public EnhancedValueList(IValueList instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public List getValueReferencePairs() { + return instance.getValueReferencePairs(); + } + + @Override + public void setValueReferencePairs(List valueReferencePairs) { + instance.setValueReferencePairs(valueReferencePairs); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitValueList(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitValueList(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformValueList(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformValueList(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/EnhancedValueReferencePair.java b/src/main/java/aas_core/aas3_1/enhancing/EnhancedValueReferencePair.java new file mode 100644 index 00000000..cc521c56 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/EnhancedValueReferencePair.java @@ -0,0 +1,80 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Optional; + +public class EnhancedValueReferencePair extends Enhanced + implements IValueReferencePair { + private final IValueReferencePair instance; + + public EnhancedValueReferencePair(IValueReferencePair instance, EnhancementT enhancement) { + super(enhancement); + this.instance = instance; + } + + @Override + public String getValue() { + return instance.getValue(); + } + + @Override + public void setValue(String value) { + instance.setValue(value); + } + + @Override + public Optional getValueId() { + return instance.getValueId(); + } + + @Override + public void setValueId(IReference valueId) { + instance.setValueId(valueId); + } + + public Iterable descendOnce() { + return instance.descendOnce(); + } + + public Iterable descend() { + return instance.descend(); + } + + public void accept(IVisitor visitor) { + visitor.visitValueReferencePair(instance); + } + + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitValueReferencePair(instance, context); + } + + public T transform(ITransformer transformer) { + return transformer.transformValueReferencePair(instance); + } + + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformValueReferencePair(instance, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/Enhancer.java b/src/main/java/aas_core/aas3_1/enhancing/Enhancer.java new file mode 100644 index 00000000..2d16c14d --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/Enhancer.java @@ -0,0 +1,60 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.types.model.*; +import java.util.Optional; +import java.util.function.Function; + +/** + * Wrap and unwrap the instances of model classes with enhancement. + * + * @param structure of the enhancement + */ +public class Enhancer extends Unwrapper { + private final _Wrapper wrapper; + + /** + * @param enhancementFactory how to enhance the instances. + *

If it returns {@code null}, the instance will not be wrapped. However, the wrapping will + * continue recursively. + */ + public Enhancer(Function> enhancementFactory) { + this.wrapper = new _Wrapper<>(enhancementFactory); + } + + /** + * Wrap the instance with an enhancement. + * + *

Double wraps are not allowed to prevent runtime leakage. + * + *

If you use references to the instance objects, you have to update them after the wrapping, + * as the wrapping is recursive. + * + * @param that model instance to be wrapped + * @return {@code that} instance wrapped recursively with enhancements + */ + public IClass wrap(IClass that) { + IClass wrapped; + try { + wrapped = wrapper.transform(that); + } catch (IllegalArgumentException exception) { + throw new UnsupportedOperationException( + "Expected the wrapped instance to be an instance of IClass, " + "but got: " + that); + } + + return wrapped; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/Unwrapper.java b/src/main/java/aas_core/aas3_1/enhancing/Unwrapper.java new file mode 100644 index 00000000..da02fc3e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/Unwrapper.java @@ -0,0 +1,57 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.types.model.*; +import java.util.Optional; + +/** + * Unwrap enhancements from the wrapped instances. + * + * @param structure of the expected enhancement + */ +public class Unwrapper { + /** + * Unwrap the given model instance. + * + * @param that model instance to be unwrapped + * @return Enhancement, or {@link java.util.Optional#empty()} if {@code that} has not been wrapped + * yet. + */ + public Optional unwrap(IClass that) { + if (that instanceof Enhanced) { + @SuppressWarnings("unchecked") + Enhanced enhanced = (Enhanced) that; + return Optional.of(enhanced.getEnhancement()); + } else { + return Optional.empty(); + } + } + + /** + * Unwrap the given model instance. + * + * @param that model instance to be unwrapped + * @return Enhancement wrapped around {@code that} + */ + public EnhancementT mustUnwrap(IClass that) { + Optional value = unwrap(that); + if (!value.isPresent()) { + throw new IllegalArgumentException( + "Expected the instance to have been wrapped, but it was not: " + that); + } + return value.get(); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/enhancing/_Wrapper.java b/src/main/java/aas_core/aas3_1/enhancing/_Wrapper.java new file mode 100644 index 00000000..a285886a --- /dev/null +++ b/src/main/java/aas_core/aas3_1/enhancing/_Wrapper.java @@ -0,0 +1,1630 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.enhancing; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.AbstractTransformer; +import java.util.ArrayList; +import java.util.List; +import java.util.Optional; +import java.util.function.Function; + +class _Wrapper extends AbstractTransformer { + private final Function> enhancementFactory; + + _Wrapper(Function> enhancementFactory) { + this.enhancementFactory = enhancementFactory; + } + + @Override + public IClass transformExtension(IExtension that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getRefersTo() + .ifPresent( + value -> { + that.setRefersTo(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedExtension<>(that, enhancement.get()); + } + + @Override + public IClass transformAdministrativeInformation(IAdministrativeInformation that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getCreator() + .ifPresent( + value -> { + that.setCreator(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAdministrativeInformation<>(that, enhancement.get()); + } + + @Override + public IClass transformQualifier(IQualifier that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getValueId() + .ifPresent( + value -> { + that.setValueId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedQualifier<>(that, enhancement.get()); + } + + @Override + public IClass transformAssetAdministrationShell(IAssetAdministrationShell that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getDerivedFrom() + .ifPresent( + value -> { + that.setDerivedFrom(wrap(value)); + }); + + that.setAssetInformation(wrap(that.getAssetInformation())); + + that.getSubmodels() + .ifPresent( + value -> { + that.setSubmodels(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAssetAdministrationShell<>(that, enhancement.get()); + } + + @Override + public IClass transformAssetInformation(IAssetInformation that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSpecificAssetIds() + .ifPresent( + value -> { + that.setSpecificAssetIds(wrapListOf_ISpecificAssetId(value)); + }); + + that.getDefaultThumbnail() + .ifPresent( + value -> { + that.setDefaultThumbnail(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAssetInformation<>(that, enhancement.get()); + } + + @Override + public IClass transformResource(IResource that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedResource<>(that, enhancement.get()); + } + + @Override + public IClass transformSpecificAssetId(ISpecificAssetId that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getExternalSubjectId() + .ifPresent( + value -> { + that.setExternalSubjectId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedSpecificAssetId<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodel(ISubmodel that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getSubmodelElements() + .ifPresent( + value -> { + that.setSubmodelElements(wrapListOf_ISubmodelElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedSubmodel<>(that, enhancement.get()); + } + + @Override + public IClass transformRelationshipElement(IRelationshipElement that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getFirst() + .ifPresent( + value -> { + that.setFirst(wrap(value)); + }); + + that.getSecond() + .ifPresent( + value -> { + that.setSecond(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedRelationshipElement<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelElementList(ISubmodelElementList that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getSemanticIdListElement() + .ifPresent( + value -> { + that.setSemanticIdListElement(wrap(value)); + }); + + that.getValue() + .ifPresent( + value -> { + that.setValue(wrapListOf_ISubmodelElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelElementList<>(that, enhancement.get()); + } + + @Override + public IClass transformSubmodelElementCollection(ISubmodelElementCollection that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getValue() + .ifPresent( + value -> { + that.setValue(wrapListOf_ISubmodelElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedSubmodelElementCollection<>(that, enhancement.get()); + } + + @Override + public IClass transformProperty(IProperty that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getValueId() + .ifPresent( + value -> { + that.setValueId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedProperty<>(that, enhancement.get()); + } + + @Override + public IClass transformMultiLanguageProperty(IMultiLanguageProperty that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getValue() + .ifPresent( + value -> { + that.setValue(wrapListOf_ILangStringTextType(value)); + }); + + that.getValueId() + .ifPresent( + value -> { + that.setValueId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedMultiLanguageProperty<>(that, enhancement.get()); + } + + @Override + public IClass transformRange(IRange that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedRange<>(that, enhancement.get()); + } + + @Override + public IClass transformReferenceElement(IReferenceElement that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getValue() + .ifPresent( + value -> { + that.setValue(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedReferenceElement<>(that, enhancement.get()); + } + + @Override + public IClass transformBlob(IBlob that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedBlob<>(that, enhancement.get()); + } + + @Override + public IClass transformFile(IFile that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedFile<>(that, enhancement.get()); + } + + @Override + public IClass transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getFirst() + .ifPresent( + value -> { + that.setFirst(wrap(value)); + }); + + that.getSecond() + .ifPresent( + value -> { + that.setSecond(wrap(value)); + }); + + that.getAnnotations() + .ifPresent( + value -> { + that.setAnnotations(wrapListOf_IDataElement(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedAnnotatedRelationshipElement<>(that, enhancement.get()); + } + + @Override + public IClass transformEntity(IEntity that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getStatements() + .ifPresent( + value -> { + that.setStatements(wrapListOf_ISubmodelElement(value)); + }); + + that.getSpecificAssetIds() + .ifPresent( + value -> { + that.setSpecificAssetIds(wrapListOf_ISpecificAssetId(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEntity<>(that, enhancement.get()); + } + + @Override + public IClass transformEventPayload(IEventPayload that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setSource(wrap(that.getSource())); + + that.getSourceSemanticId() + .ifPresent( + value -> { + that.setSourceSemanticId(wrap(value)); + }); + + that.setObservableReference(wrap(that.getObservableReference())); + + that.getObservableSemanticId() + .ifPresent( + value -> { + that.setObservableSemanticId(wrap(value)); + }); + + that.getSubjectId() + .ifPresent( + value -> { + that.setSubjectId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEventPayload<>(that, enhancement.get()); + } + + @Override + public IClass transformBasicEventElement(IBasicEventElement that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.setObserved(wrap(that.getObserved())); + + that.getMessageBroker() + .ifPresent( + value -> { + that.setMessageBroker(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedBasicEventElement<>(that, enhancement.get()); + } + + @Override + public IClass transformOperation(IOperation that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getInputVariables() + .ifPresent( + value -> { + that.setInputVariables(wrapListOf_IOperationVariable(value)); + }); + + that.getOutputVariables() + .ifPresent( + value -> { + that.setOutputVariables(wrapListOf_IOperationVariable(value)); + }); + + that.getInoutputVariables() + .ifPresent( + value -> { + that.setInoutputVariables(wrapListOf_IOperationVariable(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedOperation<>(that, enhancement.get()); + } + + @Override + public IClass transformOperationVariable(IOperationVariable that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setValue(wrap(that.getValue())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedOperationVariable<>(that, enhancement.get()); + } + + @Override + public IClass transformCapability(ICapability that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getSemanticId() + .ifPresent( + value -> { + that.setSemanticId(wrap(value)); + }); + + that.getSupplementalSemanticIds() + .ifPresent( + value -> { + that.setSupplementalSemanticIds(wrapListOf_IReference(value)); + }); + + that.getQualifiers() + .ifPresent( + value -> { + that.setQualifiers(wrapListOf_IQualifier(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedCapability<>(that, enhancement.get()); + } + + @Override + public IClass transformConceptDescription(IConceptDescription that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getExtensions() + .ifPresent( + value -> { + that.setExtensions(wrapListOf_IExtension(value)); + }); + + that.getDisplayName() + .ifPresent( + value -> { + that.setDisplayName(wrapListOf_ILangStringNameType(value)); + }); + + that.getDescription() + .ifPresent( + value -> { + that.setDescription(wrapListOf_ILangStringTextType(value)); + }); + + that.getAdministration() + .ifPresent( + value -> { + that.setAdministration(wrap(value)); + }); + + that.getEmbeddedDataSpecifications() + .ifPresent( + value -> { + that.setEmbeddedDataSpecifications(wrapListOf_IEmbeddedDataSpecification(value)); + }); + + that.getIsCaseOf() + .ifPresent( + value -> { + that.setIsCaseOf(wrapListOf_IReference(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedConceptDescription<>(that, enhancement.get()); + } + + @Override + public IClass transformReference(IReference that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getReferredSemanticId() + .ifPresent( + value -> { + that.setReferredSemanticId(wrap(value)); + }); + + that.setKeys(wrapListOf_IKey(that.getKeys())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedReference<>(that, enhancement.get()); + } + + @Override + public IClass transformKey(IKey that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedKey<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringNameType(ILangStringNameType that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringNameType<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringTextType(ILangStringTextType that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringTextType<>(that, enhancement.get()); + } + + @Override + public IClass transformEnvironment(IEnvironment that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getAssetAdministrationShells() + .ifPresent( + value -> { + that.setAssetAdministrationShells(wrapListOf_IAssetAdministrationShell(value)); + }); + + that.getSubmodels() + .ifPresent( + value -> { + that.setSubmodels(wrapListOf_ISubmodel(value)); + }); + + that.getConceptDescriptions() + .ifPresent( + value -> { + that.setConceptDescriptions(wrapListOf_IConceptDescription(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedEnvironment<>(that, enhancement.get()); + } + + @Override + public IClass transformEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setDataSpecification(wrap(that.getDataSpecification())); + + that.setDataSpecificationContent(wrap(that.getDataSpecificationContent())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedEmbeddedDataSpecification<>(that, enhancement.get()); + } + + @Override + public IClass transformLevelType(ILevelType that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedLevelType<>(that, enhancement.get()); + } + + @Override + public IClass transformValueReferencePair(IValueReferencePair that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.getValueId() + .ifPresent( + value -> { + that.setValueId(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedValueReferencePair<>(that, enhancement.get()); + } + + @Override + public IClass transformValueList(IValueList that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setValueReferencePairs(wrapListOf_IValueReferencePair(that.getValueReferencePairs())); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() ? that : new EnhancedValueList<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringPreferredNameTypeIec61360<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringShortNameTypeIec61360<>(that, enhancement.get()); + } + + @Override + public IClass transformLangStringDefinitionTypeIec61360(ILangStringDefinitionTypeIec61360 that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedLangStringDefinitionTypeIec61360<>(that, enhancement.get()); + } + + @Override + public IClass transformDataSpecificationIec61360(IDataSpecificationIec61360 that) { + if (that instanceof Enhanced) { + throw new IllegalArgumentException("The instance has been already enhanced: " + that); + } + + that.setPreferredName(wrapListOf_ILangStringPreferredNameTypeIec61360(that.getPreferredName())); + + that.getShortName() + .ifPresent( + value -> { + that.setShortName(wrapListOf_ILangStringShortNameTypeIec61360(value)); + }); + + that.getUnitId() + .ifPresent( + value -> { + that.setUnitId(wrap(value)); + }); + + that.getDefinition() + .ifPresent( + value -> { + that.setDefinition(wrapListOf_ILangStringDefinitionTypeIec61360(value)); + }); + + that.getValueList() + .ifPresent( + value -> { + that.setValueList(wrap(value)); + }); + + that.getLevelType() + .ifPresent( + value -> { + that.setLevelType(wrap(value)); + }); + + Optional enhancement = enhancementFactory.apply(that); + return !enhancement.isPresent() + ? that + : new EnhancedDataSpecificationIec61360<>(that, enhancement.get()); + } + + @SuppressWarnings("unchecked") + private T wrap(T that) { + return (T) transform(that); + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IReference(List that) { + List result = new ArrayList<>(that.size()); + for (IReference item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IEmbeddedDataSpecification( + List that) { + List result = new ArrayList<>(that.size()); + for (IEmbeddedDataSpecification item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IExtension(List that) { + List result = new ArrayList<>(that.size()); + for (IExtension item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringNameType(List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringNameType item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringTextType(List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringTextType item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISpecificAssetId(List that) { + List result = new ArrayList<>(that.size()); + for (ISpecificAssetId item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IQualifier(List that) { + List result = new ArrayList<>(that.size()); + for (IQualifier item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISubmodelElement(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodelElement item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IDataElement(List that) { + List result = new ArrayList<>(that.size()); + for (IDataElement item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IOperationVariable(List that) { + List result = new ArrayList<>(that.size()); + for (IOperationVariable item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IKey(List that) { + List result = new ArrayList<>(that.size()); + for (IKey item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IAssetAdministrationShell( + List that) { + List result = new ArrayList<>(that.size()); + for (IAssetAdministrationShell item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ISubmodel(List that) { + List result = new ArrayList<>(that.size()); + for (ISubmodel item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IConceptDescription(List that) { + List result = new ArrayList<>(that.size()); + for (IConceptDescription item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_IValueReferencePair(List that) { + List result = new ArrayList<>(that.size()); + for (IValueReferencePair item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List + wrapListOf_ILangStringPreferredNameTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringPreferredNameTypeIec61360 item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringShortNameTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringShortNameTypeIec61360 item : that) { + result.add(wrap(item)); + } + return result; + } + + /** Wrap the instances held by {@code that} recursively in a new container. */ + private List wrapListOf_ILangStringDefinitionTypeIec61360( + List that) { + List result = new ArrayList<>(that.size()); + for (ILangStringDefinitionTypeIec61360 item : that) { + result.add(wrap(item)); + } + return result; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/generation/AdministrativeInformationBuilder.java b/src/main/java/aas_core/aas3_1/generation/AdministrativeInformationBuilder.java new file mode 100644 index 00000000..900c65ba --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/AdministrativeInformationBuilder.java @@ -0,0 +1,78 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the AdministrativeInformation type. */ +public class AdministrativeInformationBuilder { + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Version of the element. */ + private String version; + + /** Revision of the element. */ + private String revision; + + /** The subject ID of the subject responsible for making the element. */ + private IReference creator; + + /** + * Identifier of the template that guided the creation of the element. + * + *

In case of a submodel the {@link + * aas_core.aas3_1.types.impl.AdministrativeInformation#getTemplateId()} is the identifier of the + * submodel template ID that guided the creation of the submodel + * + *

The {@link aas_core.aas3_1.types.impl.AdministrativeInformation#getTemplateId()} is not + * relevant for validation in Submodels. For validation the {@link + * aas_core.aas3_1.types.impl.Submodel#getSemanticId()} shall be used. + * + *

Usage of {@link aas_core.aas3_1.types.impl.AdministrativeInformation#getTemplateId()} is not + * restricted to submodel instances. So also the creation of submodel templates can be guided by + * another submodel template. + */ + private String templateId; + + public AdministrativeInformationBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public AdministrativeInformationBuilder setVersion(String version) { + this.version = version; + return this; + } + + public AdministrativeInformationBuilder setRevision(String revision) { + this.revision = revision; + return this; + } + + public AdministrativeInformationBuilder setCreator(IReference creator) { + this.creator = creator; + return this; + } + + public AdministrativeInformationBuilder setTemplateId(String templateId) { + this.templateId = templateId; + return this; + } + + public AdministrativeInformation build() { + return new AdministrativeInformation( + this.embeddedDataSpecifications, + this.version, + this.revision, + this.creator, + this.templateId); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/AnnotatedRelationshipElementBuilder.java b/src/main/java/aas_core/aas3_1/generation/AnnotatedRelationshipElementBuilder.java new file mode 100644 index 00000000..d791fbe8 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/AnnotatedRelationshipElementBuilder.java @@ -0,0 +1,177 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the AnnotatedRelationshipElement type. */ +public class AnnotatedRelationshipElementBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to the first element in the relationship taking the role of the subject. */ + private IReference first; + + /** Reference to the second element in the relationship taking the role of the object. */ + private IReference second; + + /** + * A data element that represents an annotation that holds for the relationship between the two + * elements + */ + private List annotations; + + public AnnotatedRelationshipElementBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public AnnotatedRelationshipElementBuilder setCategory(String category) { + this.category = category; + return this; + } + + public AnnotatedRelationshipElementBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public AnnotatedRelationshipElementBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public AnnotatedRelationshipElementBuilder setDescription(List description) { + this.description = description; + return this; + } + + public AnnotatedRelationshipElementBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public AnnotatedRelationshipElementBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public AnnotatedRelationshipElementBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public AnnotatedRelationshipElementBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public AnnotatedRelationshipElementBuilder setFirst(IReference first) { + this.first = first; + return this; + } + + public AnnotatedRelationshipElementBuilder setSecond(IReference second) { + this.second = second; + return this; + } + + public AnnotatedRelationshipElementBuilder setAnnotations(List annotations) { + this.annotations = annotations; + return this; + } + + public AnnotatedRelationshipElement build() { + return new AnnotatedRelationshipElement( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.first, + this.second, + this.annotations); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/AssetAdministrationShellBuilder.java b/src/main/java/aas_core/aas3_1/generation/AssetAdministrationShellBuilder.java new file mode 100644 index 00000000..245d4588 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/AssetAdministrationShellBuilder.java @@ -0,0 +1,156 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the AssetAdministrationShell type. */ +public class AssetAdministrationShellBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The reference to the AAS the AAS was derived from. */ + private IReference derivedFrom; + + /** Meta-information about the asset the AAS is representing. */ + private IAssetInformation assetInformation; + + /** + * References to submodels of the AAS. + * + *

A submodel is a description of an aspect of the asset the AAS is representing. + * + *

The asset of an AAS is typically described by one or more submodels. + * + *

Temporarily no submodel might be assigned to the AAS. + */ + private List submodels; + + public AssetAdministrationShellBuilder(String id, IAssetInformation assetInformation) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.assetInformation = + Objects.requireNonNull(assetInformation, "Argument \"assetInformation\" must be non-null."); + } + + public AssetAdministrationShellBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public AssetAdministrationShellBuilder setCategory(String category) { + this.category = category; + return this; + } + + public AssetAdministrationShellBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public AssetAdministrationShellBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public AssetAdministrationShellBuilder setDescription(List description) { + this.description = description; + return this; + } + + public AssetAdministrationShellBuilder setAdministration( + IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public AssetAdministrationShellBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public AssetAdministrationShellBuilder setDerivedFrom(IReference derivedFrom) { + this.derivedFrom = derivedFrom; + return this; + } + + public AssetAdministrationShellBuilder setSubmodels(List submodels) { + this.submodels = submodels; + return this; + } + + public AssetAdministrationShell build() { + return new AssetAdministrationShell( + this.id, + this.assetInformation, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.administration, + this.embeddedDataSpecifications, + this.derivedFrom, + this.submodels); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/AssetInformationBuilder.java b/src/main/java/aas_core/aas3_1/generation/AssetInformationBuilder.java new file mode 100644 index 00000000..56786d05 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/AssetInformationBuilder.java @@ -0,0 +1,95 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the AssetInformation type. */ +public class AssetInformationBuilder { + /** + * Denotes whether the Asset is of kind {@link aas_core.aas3_1.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_1.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_1.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_1.types.enums.AssetKind#NOT_APPLICABLE}. + */ + private AssetKind assetKind; + + /** + * Global identifier of the asset the AAS is representing. + * + *

This attribute is required as soon as the AAS is exchanged via partners in the life cycle of + * the asset. In a first phase of the life cycle the asset might not yet have a global ID but + * already an internal identifier. The internal identifier would be modelled via {@link + * aas_core.aas3_1.types.impl.AssetInformation#getSpecificAssetIds()}. + * + *

This is a global reference. + */ + private String globalAssetId; + + /** + * Additional domain-specific, typically proprietary identifier for the asset like e.g., serial + * number etc. + */ + private List specificAssetIds; + + /** + * In case {@link aas_core.aas3_1.types.impl.AssetInformation#getAssetKind()} is {@link + * aas_core.aas3_1.types.enums.AssetKind#NOT_APPLICABLE} the {@link + * aas_core.aas3_1.types.impl.AssetInformation#getAssetType()} is the asset ID of the type asset + * of the asset under consideration as identified by {@link + * aas_core.aas3_1.types.impl.AssetInformation#getGlobalAssetId()}. + * + *

In case {@link aas_core.aas3_1.types.impl.AssetInformation#getAssetKind()} is "Instance" + * then the {@link aas_core.aas3_1.types.impl.AssetInformation#getAssetType()} denotes which + * "Type" the asset is of. But it is also possible to have an {@link + * aas_core.aas3_1.types.impl.AssetInformation#getAssetType()} of an asset of kind "Type". + */ + private String assetType; + + /** + * Thumbnail of the asset represented by the Asset Administration Shell. + * + *

Used as default. + */ + private IResource defaultThumbnail; + + public AssetInformationBuilder(AssetKind assetKind) { + this.assetKind = Objects.requireNonNull(assetKind, "Argument \"assetKind\" must be non-null."); + } + + public AssetInformationBuilder setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + return this; + } + + public AssetInformationBuilder setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + return this; + } + + public AssetInformationBuilder setAssetType(String assetType) { + this.assetType = assetType; + return this; + } + + public AssetInformationBuilder setDefaultThumbnail(IResource defaultThumbnail) { + this.defaultThumbnail = defaultThumbnail; + return this; + } + + public AssetInformation build() { + return new AssetInformation( + this.assetKind, + this.globalAssetId, + this.specificAssetIds, + this.assetType, + this.defaultThumbnail); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/BasicEventElementBuilder.java b/src/main/java/aas_core/aas3_1/generation/BasicEventElementBuilder.java new file mode 100644 index 00000000..99bd64f3 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/BasicEventElementBuilder.java @@ -0,0 +1,258 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the BasicEventElement type. */ +public class BasicEventElementBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Reference to the {@link aas_core.aas3_1.types.model.IReferable}, which defines the scope of the + * event. Can be {@link aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel}, or {@link aas_core.aas3_1.types.model.ISubmodelElement}. + * + *

Reference to a referable, e.g., a data element or a submodel, that is being observed. + */ + private IReference observed; + + /** + * Direction of event. + * + *

Can be {@code { Input, Output }}. + */ + private Direction direction; + + /** + * State of event. + * + *

Can be {@code { On, Off }}. + */ + private StateOfEvent state; + + /** + * Information for the outer message infrastructure for scheduling the event to the respective + * communication channel. + */ + private String messageTopic; + + /** + * Information, which outer message infrastructure shall handle messages for the {@link + * aas_core.aas3_1.types.model.IEventElement}. Refers to a {@link + * aas_core.aas3_1.types.impl.Submodel}, {@link aas_core.aas3_1.types.impl.SubmodelElementList}, + * {@link aas_core.aas3_1.types.impl.SubmodelElementCollection} or {@link + * aas_core.aas3_1.types.impl.Entity}, which contains {@link + * aas_core.aas3_1.types.model.IDataElement}'s describing the proprietary specification for the + * message broker. + * + *

For different message infrastructure, e.g., OPC UA or MQTT or AMQP, this proprietary + * specification could be standardized by having respective Submodels. + */ + private IReference messageBroker; + + /** + * Timestamp in UTC, when the last event was received (input direction) or sent (output + * direction). + */ + private String lastUpdate; + + /** + * For input direction, reports on the maximum frequency, the software entity behind the + * respective Referable can handle input events. + * + *

For output events, specifies the maximum frequency of outputting this event to an outer + * infrastructure. + * + *

Might be not specified, that is, there is no minimum interval. + */ + private String minInterval; + + /** + * For input direction: not applicable. + * + *

For output direction: maximum interval in time, the respective Referable shall send an + * update of the status of the event, even if no other trigger condition for the event was not + * met. + * + *

Might be not specified, that is, there is no maximum interval + */ + private String maxInterval; + + public BasicEventElementBuilder(IReference observed, Direction direction, StateOfEvent state) { + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + public BasicEventElementBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public BasicEventElementBuilder setCategory(String category) { + this.category = category; + return this; + } + + public BasicEventElementBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public BasicEventElementBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public BasicEventElementBuilder setDescription(List description) { + this.description = description; + return this; + } + + public BasicEventElementBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public BasicEventElementBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public BasicEventElementBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public BasicEventElementBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public BasicEventElementBuilder setMessageTopic(String messageTopic) { + this.messageTopic = messageTopic; + return this; + } + + public BasicEventElementBuilder setMessageBroker(IReference messageBroker) { + this.messageBroker = messageBroker; + return this; + } + + public BasicEventElementBuilder setLastUpdate(String lastUpdate) { + this.lastUpdate = lastUpdate; + return this; + } + + public BasicEventElementBuilder setMinInterval(String minInterval) { + this.minInterval = minInterval; + return this; + } + + public BasicEventElementBuilder setMaxInterval(String maxInterval) { + this.maxInterval = maxInterval; + return this; + } + + public BasicEventElement build() { + return new BasicEventElement( + this.observed, + this.direction, + this.state, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.messageTopic, + this.messageBroker, + this.lastUpdate, + this.minInterval, + this.maxInterval); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/BlobBuilder.java b/src/main/java/aas_core/aas3_1/generation/BlobBuilder.java new file mode 100644 index 00000000..446b051f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/BlobBuilder.java @@ -0,0 +1,178 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the Blob type. */ +public class BlobBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * The value of the {@link aas_core.aas3_1.types.impl.Blob} instance of a blob data element. + * + *

In contrast to the file property the file content is stored directly as value in the {@link + * aas_core.aas3_1.types.impl.Blob} data element. + */ + private byte[] value; + + /** + * Content type of the content of the {@link aas_core.aas3_1.types.impl.Blob}. + * + *

The content type (MIME type) states which file extensions the file can have. + * + *

Valid values are content types like e.g. {@code application/json}, {@code application/xls}, + * {@code image/jpg}. + * + *

The allowed values are defined as in RFC2046. + */ + private String contentType; + + public BlobBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public BlobBuilder setCategory(String category) { + this.category = category; + return this; + } + + public BlobBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public BlobBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public BlobBuilder setDescription(List description) { + this.description = description; + return this; + } + + public BlobBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public BlobBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public BlobBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public BlobBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public BlobBuilder setValue(byte[] value) { + this.value = value; + return this; + } + + public BlobBuilder setContentType(String contentType) { + this.contentType = contentType; + return this; + } + + public Blob build() { + return new Blob( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value, + this.contentType); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/CapabilityBuilder.java b/src/main/java/aas_core/aas3_1/generation/CapabilityBuilder.java new file mode 100644 index 00000000..491a4a21 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/CapabilityBuilder.java @@ -0,0 +1,146 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the Capability type. */ +public class CapabilityBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public CapabilityBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public CapabilityBuilder setCategory(String category) { + this.category = category; + return this; + } + + public CapabilityBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public CapabilityBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public CapabilityBuilder setDescription(List description) { + this.description = description; + return this; + } + + public CapabilityBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public CapabilityBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public CapabilityBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public CapabilityBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public Capability build() { + return new Capability( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/ConceptDescriptionBuilder.java b/src/main/java/aas_core/aas3_1/generation/ConceptDescriptionBuilder.java new file mode 100644 index 00000000..522e4f8e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/ConceptDescriptionBuilder.java @@ -0,0 +1,138 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the ConceptDescription type. */ +public class ConceptDescriptionBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Reference to an external definition the concept is compatible to or was derived from. + * + *

It is recommended to use a global reference. + * + *

Compare to is-case-of relationship in ISO 13584-32 & IEC EN 61360 + */ + private List isCaseOf; + + public ConceptDescriptionBuilder(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public ConceptDescriptionBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public ConceptDescriptionBuilder setCategory(String category) { + this.category = category; + return this; + } + + public ConceptDescriptionBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public ConceptDescriptionBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public ConceptDescriptionBuilder setDescription(List description) { + this.description = description; + return this; + } + + public ConceptDescriptionBuilder setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public ConceptDescriptionBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public ConceptDescriptionBuilder setIsCaseOf(List isCaseOf) { + this.isCaseOf = isCaseOf; + return this; + } + + public ConceptDescription build() { + return new ConceptDescription( + this.id, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.administration, + this.embeddedDataSpecifications, + this.isCaseOf); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/DataSpecificationIec61360Builder.java b/src/main/java/aas_core/aas3_1/generation/DataSpecificationIec61360Builder.java new file mode 100644 index 00000000..25bb2085 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/DataSpecificationIec61360Builder.java @@ -0,0 +1,154 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the DataSpecificationIec61360 type. */ +public class DataSpecificationIec61360Builder { + /** + * Preferred name + * + *

It is advised to keep the length of the name limited to 35 characters. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-002: {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getPreferredName()} shall be + * provided at least in English. + *
+ */ + private List preferredName; + + /** Short name */ + private List shortName; + + /** Unit */ + private String unit; + + /** + * Unique unit id + * + *

{@link aas_core.aas3_1.types.impl.DataSpecificationIec61360#getUnit()} and {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getUnitId()} need to be consistent if both + * attributes are set + * + *

It is recommended to use an external reference ID. + */ + private IReference unitId; + + /** Source of definition */ + private String sourceOfDefinition; + + /** Symbol */ + private String symbol; + + /** Data Type */ + private DataTypeIec61360 dataType; + + /** Definition in different languages */ + private List definition; + + /** + * Value Format + * + *

The value format is based on ISO 13584-42 and IEC 61360-2. + */ + private String valueFormat; + + /** List of allowed values */ + private IValueList valueList; + + /** Value */ + private String value; + + /** Set of levels. */ + private ILevelType levelType; + + public DataSpecificationIec61360Builder( + List preferredName) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + } + + public DataSpecificationIec61360Builder setShortName( + List shortName) { + this.shortName = shortName; + return this; + } + + public DataSpecificationIec61360Builder setUnit(String unit) { + this.unit = unit; + return this; + } + + public DataSpecificationIec61360Builder setUnitId(IReference unitId) { + this.unitId = unitId; + return this; + } + + public DataSpecificationIec61360Builder setSourceOfDefinition(String sourceOfDefinition) { + this.sourceOfDefinition = sourceOfDefinition; + return this; + } + + public DataSpecificationIec61360Builder setSymbol(String symbol) { + this.symbol = symbol; + return this; + } + + public DataSpecificationIec61360Builder setDataType(DataTypeIec61360 dataType) { + this.dataType = dataType; + return this; + } + + public DataSpecificationIec61360Builder setDefinition( + List definition) { + this.definition = definition; + return this; + } + + public DataSpecificationIec61360Builder setValueFormat(String valueFormat) { + this.valueFormat = valueFormat; + return this; + } + + public DataSpecificationIec61360Builder setValueList(IValueList valueList) { + this.valueList = valueList; + return this; + } + + public DataSpecificationIec61360Builder setValue(String value) { + this.value = value; + return this; + } + + public DataSpecificationIec61360Builder setLevelType(ILevelType levelType) { + this.levelType = levelType; + return this; + } + + public DataSpecificationIec61360 build() { + return new DataSpecificationIec61360( + this.preferredName, + this.shortName, + this.unit, + this.unitId, + this.sourceOfDefinition, + this.symbol, + this.dataType, + this.definition, + this.valueFormat, + this.valueList, + this.value, + this.levelType); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/EntityBuilder.java b/src/main/java/aas_core/aas3_1/generation/EntityBuilder.java new file mode 100644 index 00000000..49c1813e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/EntityBuilder.java @@ -0,0 +1,192 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the Entity type. */ +public class EntityBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Describes statements applicable to the entity by a set of submodel elements, typically with a + * qualified value. + */ + private List statements; + + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + private EntityType entityType; + + /** + * Global identifier of the asset the entity is representing. + * + *

This is a global reference. + */ + private String globalAssetId; + + /** + * Reference to a specific asset ID representing a supplementary identifier of the asset + * represented by the Asset Administration Shell. + */ + private List specificAssetIds; + + public EntityBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public EntityBuilder setCategory(String category) { + this.category = category; + return this; + } + + public EntityBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public EntityBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public EntityBuilder setDescription(List description) { + this.description = description; + return this; + } + + public EntityBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public EntityBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public EntityBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public EntityBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public EntityBuilder setStatements(List statements) { + this.statements = statements; + return this; + } + + public EntityBuilder setEntityType(EntityType entityType) { + this.entityType = entityType; + return this; + } + + public EntityBuilder setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + return this; + } + + public EntityBuilder setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + return this; + } + + public Entity build() { + return new Entity( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.statements, + this.entityType, + this.globalAssetId, + this.specificAssetIds); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/EnvironmentBuilder.java b/src/main/java/aas_core/aas3_1/generation/EnvironmentBuilder.java new file mode 100644 index 00000000..867ffca2 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/EnvironmentBuilder.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the Environment type. */ +public class EnvironmentBuilder { + /** Asset administration shell */ + private List assetAdministrationShells; + + /** Submodel */ + private List submodels; + + /** Concept description */ + private List conceptDescriptions; + + public EnvironmentBuilder setAssetAdministrationShells( + List assetAdministrationShells) { + this.assetAdministrationShells = assetAdministrationShells; + return this; + } + + public EnvironmentBuilder setSubmodels(List submodels) { + this.submodels = submodels; + return this; + } + + public EnvironmentBuilder setConceptDescriptions(List conceptDescriptions) { + this.conceptDescriptions = conceptDescriptions; + return this; + } + + public Environment build() { + return new Environment( + this.assetAdministrationShells, this.submodels, this.conceptDescriptions); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/EventPayloadBuilder.java b/src/main/java/aas_core/aas3_1/generation/EventPayloadBuilder.java new file mode 100644 index 00000000..b74fbb57 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/EventPayloadBuilder.java @@ -0,0 +1,109 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.Objects; + +/** Builder for the EventPayload type. */ +public class EventPayloadBuilder { + /** + * Reference to the source event element, including identification of {@link + * aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel}, {@link aas_core.aas3_1.types.model.ISubmodelElement}'s. + */ + private IReference source; + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the source event element, + * if available + * + *

It is recommended to use a global reference. + */ + private IReference sourceSemanticId; + + /** + * Reference to the referable, which defines the scope of the event. + * + *

Can be {@link aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel} or {@link aas_core.aas3_1.types.model.ISubmodelElement}. + */ + private IReference observableReference; + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the referable which + * defines the scope of the event, if available. + * + *

It is recommended to use a global reference. + */ + private IReference observableSemanticId; + + /** + * Information for the outer message infrastructure for scheduling the event to the respective + * communication channel. + */ + private String topic; + + /** + * Subject, who/which initiated the creation. + * + *

This is an external reference. + */ + private IReference subjectId; + + /** Timestamp in UTC, when this event was triggered. */ + private String timeStamp; + + /** Event specific payload. */ + private byte[] payload; + + public EventPayloadBuilder(IReference source, IReference observableReference, String timeStamp) { + this.source = Objects.requireNonNull(source, "Argument \"source\" must be non-null."); + this.observableReference = + Objects.requireNonNull( + observableReference, "Argument \"observableReference\" must be non-null."); + this.timeStamp = Objects.requireNonNull(timeStamp, "Argument \"timeStamp\" must be non-null."); + } + + public EventPayloadBuilder setSourceSemanticId(IReference sourceSemanticId) { + this.sourceSemanticId = sourceSemanticId; + return this; + } + + public EventPayloadBuilder setObservableSemanticId(IReference observableSemanticId) { + this.observableSemanticId = observableSemanticId; + return this; + } + + public EventPayloadBuilder setTopic(String topic) { + this.topic = topic; + return this; + } + + public EventPayloadBuilder setSubjectId(IReference subjectId) { + this.subjectId = subjectId; + return this; + } + + public EventPayloadBuilder setPayload(byte[] payload) { + this.payload = payload; + return this; + } + + public EventPayload build() { + return new EventPayload( + this.source, + this.observableReference, + this.timeStamp, + this.sourceSemanticId, + this.observableSemanticId, + this.topic, + this.subjectId, + this.payload); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/ExtensionBuilder.java b/src/main/java/aas_core/aas3_1/generation/ExtensionBuilder.java new file mode 100644 index 00000000..727342af --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/ExtensionBuilder.java @@ -0,0 +1,95 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Extension type. */ +public class ExtensionBuilder { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Name of the extension. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-077: The name of an extension (Extension/name) within {@link + * aas_core.aas3_1.types.model.IHasExtensions} needs to be unique. + *
+ */ + private String name; + + /** + * Type of the value of the extension. + * + *

Default: {@link aas_core.aas3_1.types.enums.DataTypeDefXsd#STRING} + */ + private DataTypeDefXsd valueType; + + /** Value of the extension */ + private String value; + + /** Reference to an element the extension refers to. */ + private List refersTo; + + public ExtensionBuilder(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + public ExtensionBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public ExtensionBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public ExtensionBuilder setValueType(DataTypeDefXsd valueType) { + this.valueType = valueType; + return this; + } + + public ExtensionBuilder setValue(String value) { + this.value = value; + return this; + } + + public ExtensionBuilder setRefersTo(List refersTo) { + this.refersTo = refersTo; + return this; + } + + public Extension build() { + return new Extension( + this.name, + this.semanticId, + this.supplementalSemanticIds, + this.valueType, + this.value, + this.refersTo); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/FileBuilder.java b/src/main/java/aas_core/aas3_1/generation/FileBuilder.java new file mode 100644 index 00000000..fdb2680e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/FileBuilder.java @@ -0,0 +1,172 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the File type. */ +public class FileBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Path and name of the referenced file (with file extension). + * + *

The path can be absolute or relative. + */ + private String value; + + /** + * Content type of the content of the file. + * + *

The content type states which file extensions the file can have. + */ + private String contentType; + + public FileBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public FileBuilder setCategory(String category) { + this.category = category; + return this; + } + + public FileBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public FileBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public FileBuilder setDescription(List description) { + this.description = description; + return this; + } + + public FileBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public FileBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public FileBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public FileBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public FileBuilder setValue(String value) { + this.value = value; + return this; + } + + public FileBuilder setContentType(String contentType) { + this.contentType = contentType; + return this; + } + + public File build() { + return new File( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value, + this.contentType); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/MultiLanguagePropertyBuilder.java b/src/main/java/aas_core/aas3_1/generation/MultiLanguagePropertyBuilder.java new file mode 100644 index 00000000..35d0365f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/MultiLanguagePropertyBuilder.java @@ -0,0 +1,169 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the MultiLanguageProperty type. */ +public class MultiLanguagePropertyBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The value of the property instance. */ + private List value; + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public MultiLanguagePropertyBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public MultiLanguagePropertyBuilder setCategory(String category) { + this.category = category; + return this; + } + + public MultiLanguagePropertyBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public MultiLanguagePropertyBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public MultiLanguagePropertyBuilder setDescription(List description) { + this.description = description; + return this; + } + + public MultiLanguagePropertyBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public MultiLanguagePropertyBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public MultiLanguagePropertyBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public MultiLanguagePropertyBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public MultiLanguagePropertyBuilder setValue(List value) { + this.value = value; + return this; + } + + public MultiLanguagePropertyBuilder setValueId(IReference valueId) { + this.valueId = valueId; + return this; + } + + public MultiLanguageProperty build() { + return new MultiLanguageProperty( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value, + this.valueId); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/OperationBuilder.java b/src/main/java/aas_core/aas3_1/generation/OperationBuilder.java new file mode 100644 index 00000000..4ec8b7b3 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/OperationBuilder.java @@ -0,0 +1,173 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the Operation type. */ +public class OperationBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Input parameter of the operation. */ + private List inputVariables; + + /** Output parameter of the operation. */ + private List outputVariables; + + /** Parameter that is input and output of the operation. */ + private List inoutputVariables; + + public OperationBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public OperationBuilder setCategory(String category) { + this.category = category; + return this; + } + + public OperationBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public OperationBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public OperationBuilder setDescription(List description) { + this.description = description; + return this; + } + + public OperationBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public OperationBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public OperationBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public OperationBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public OperationBuilder setInputVariables(List inputVariables) { + this.inputVariables = inputVariables; + return this; + } + + public OperationBuilder setOutputVariables(List outputVariables) { + this.outputVariables = outputVariables; + return this; + } + + public OperationBuilder setInoutputVariables(List inoutputVariables) { + this.inoutputVariables = inoutputVariables; + return this; + } + + public Operation build() { + return new Operation( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.inputVariables, + this.outputVariables, + this.inoutputVariables); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/PropertyBuilder.java b/src/main/java/aas_core/aas3_1/generation/PropertyBuilder.java new file mode 100644 index 00000000..6cf4f516 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/PropertyBuilder.java @@ -0,0 +1,177 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Property type. */ +public class PropertyBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Data type of the value */ + private DataTypeDefXsd valueType; + + /** The value of the property instance. */ + private String value; + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public PropertyBuilder(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public PropertyBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public PropertyBuilder setCategory(String category) { + this.category = category; + return this; + } + + public PropertyBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public PropertyBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public PropertyBuilder setDescription(List description) { + this.description = description; + return this; + } + + public PropertyBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public PropertyBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public PropertyBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public PropertyBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public PropertyBuilder setValue(String value) { + this.value = value; + return this; + } + + public PropertyBuilder setValueId(IReference valueId) { + this.valueId = valueId; + return this; + } + + public Property build() { + return new Property( + this.valueType, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value, + this.valueId); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/QualifierBuilder.java b/src/main/java/aas_core/aas3_1/generation/QualifierBuilder.java new file mode 100644 index 00000000..0cfe1c21 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/QualifierBuilder.java @@ -0,0 +1,97 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Qualifier type. */ +public class QualifierBuilder { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * The qualifier kind describes the kind of the qualifier that is applied to the element. + * + *

Default: {@link aas_core.aas3_1.types.enums.QualifierKind#CONCEPT_QUALIFIER} + */ + private QualifierKind kind; + + /** + * The qualifier type describes the type of the qualifier that is applied to the element. + */ + private String type; + + /** Data type of the qualifier value. */ + private DataTypeDefXsd valueType; + + /** The qualifier value is the value of the qualifier. */ + private String value; + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public QualifierBuilder(String type, DataTypeDefXsd valueType) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public QualifierBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public QualifierBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public QualifierBuilder setKind(QualifierKind kind) { + this.kind = kind; + return this; + } + + public QualifierBuilder setValue(String value) { + this.value = value; + return this; + } + + public QualifierBuilder setValueId(IReference valueId) { + this.valueId = valueId; + return this; + } + + public Qualifier build() { + return new Qualifier( + this.type, + this.valueType, + this.semanticId, + this.supplementalSemanticIds, + this.kind, + this.value, + this.valueId); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/RangeBuilder.java b/src/main/java/aas_core/aas3_1/generation/RangeBuilder.java new file mode 100644 index 00000000..51542d39 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/RangeBuilder.java @@ -0,0 +1,181 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Range type. */ +public class RangeBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Data type of the min und max */ + private DataTypeDefXsd valueType; + + /** + * The minimum value of the range. + * + *

If the min value is missing, then the value is assumed to be negative infinite. + */ + private String min; + + /** + * The maximum value of the range. + * + *

If the max value is missing, then the value is assumed to be positive infinite. + */ + private String max; + + public RangeBuilder(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public RangeBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public RangeBuilder setCategory(String category) { + this.category = category; + return this; + } + + public RangeBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public RangeBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public RangeBuilder setDescription(List description) { + this.description = description; + return this; + } + + public RangeBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public RangeBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public RangeBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public RangeBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public RangeBuilder setMin(String min) { + this.min = min; + return this; + } + + public RangeBuilder setMax(String max) { + this.max = max; + return this; + } + + public Range build() { + return new Range( + this.valueType, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.min, + this.max); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/ReferenceBuilder.java b/src/main/java/aas_core/aas3_1/generation/ReferenceBuilder.java new file mode 100644 index 00000000..48a3f808 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/ReferenceBuilder.java @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Reference type. */ +public class ReferenceBuilder { + /** + * Type of the reference. + * + *

Denotes, whether reference is an external reference or a model reference. + */ + private ReferenceTypes type; + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the referenced model + * element ({@link aas_core.aas3_1.types.impl.Reference#getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}). + * + *

For external references there typically is no semantic ID. + * + *

It is recommended to use a external reference. + */ + private IReference referredSemanticId; + + /** Unique references in their name space. */ + private List keys; + + public ReferenceBuilder(ReferenceTypes type, List keys) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + public ReferenceBuilder setReferredSemanticId(IReference referredSemanticId) { + this.referredSemanticId = referredSemanticId; + return this; + } + + public Reference build() { + return new Reference(this.type, this.keys, this.referredSemanticId); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/ReferenceElementBuilder.java b/src/main/java/aas_core/aas3_1/generation/ReferenceElementBuilder.java new file mode 100644 index 00000000..71a8d470 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/ReferenceElementBuilder.java @@ -0,0 +1,159 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the ReferenceElement type. */ +public class ReferenceElementBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Global reference to an external object or entity or a logical reference to another element + * within the same or another AAS (i.e. a model reference to a Referable). + */ + private IReference value; + + public ReferenceElementBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public ReferenceElementBuilder setCategory(String category) { + this.category = category; + return this; + } + + public ReferenceElementBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public ReferenceElementBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public ReferenceElementBuilder setDescription(List description) { + this.description = description; + return this; + } + + public ReferenceElementBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public ReferenceElementBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public ReferenceElementBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public ReferenceElementBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public ReferenceElementBuilder setValue(IReference value) { + this.value = value; + return this; + } + + public ReferenceElement build() { + return new ReferenceElement( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/RelationshipElementBuilder.java b/src/main/java/aas_core/aas3_1/generation/RelationshipElementBuilder.java new file mode 100644 index 00000000..2828ba96 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/RelationshipElementBuilder.java @@ -0,0 +1,165 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the RelationshipElement type. */ +public class RelationshipElementBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to the first element in the relationship taking the role of the subject. */ + private IReference first; + + /** Reference to the second element in the relationship taking the role of the object. */ + private IReference second; + + public RelationshipElementBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public RelationshipElementBuilder setCategory(String category) { + this.category = category; + return this; + } + + public RelationshipElementBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public RelationshipElementBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public RelationshipElementBuilder setDescription(List description) { + this.description = description; + return this; + } + + public RelationshipElementBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public RelationshipElementBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public RelationshipElementBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public RelationshipElementBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public RelationshipElementBuilder setFirst(IReference first) { + this.first = first; + return this; + } + + public RelationshipElementBuilder setSecond(IReference second) { + this.second = second; + return this; + } + + public RelationshipElement build() { + return new RelationshipElement( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.first, + this.second); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/ResourceBuilder.java b/src/main/java/aas_core/aas3_1/generation/ResourceBuilder.java new file mode 100644 index 00000000..268b93dc --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/ResourceBuilder.java @@ -0,0 +1,41 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.Objects; + +/** Builder for the Resource type. */ +public class ResourceBuilder { + /** + * Path and name of the resource (with file extension). + * + *

The path can be absolute or relative. + */ + private String path; + + /** + * Content type of the content of the file. + * + *

The content type states which file extensions the file can have. + */ + private String contentType; + + public ResourceBuilder(String path) { + this.path = Objects.requireNonNull(path, "Argument \"path\" must be non-null."); + } + + public ResourceBuilder setContentType(String contentType) { + this.contentType = contentType; + return this; + } + + public Resource build() { + return new Resource(this.path, this.contentType); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/SpecificAssetIdBuilder.java b/src/main/java/aas_core/aas3_1/generation/SpecificAssetIdBuilder.java new file mode 100644 index 00000000..88ddca4a --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/SpecificAssetIdBuilder.java @@ -0,0 +1,74 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the SpecificAssetId type. */ +public class SpecificAssetIdBuilder { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** Name of the identifier */ + private String name; + + /** The value of the specific asset identifier with the corresponding name. */ + private String value; + + /** + * The (external) subject the key belongs to or has meaning to. + * + *

This is a global reference. + */ + private IReference externalSubjectId; + + public SpecificAssetIdBuilder(String name, String value) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + public SpecificAssetIdBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SpecificAssetIdBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SpecificAssetIdBuilder setExternalSubjectId(IReference externalSubjectId) { + this.externalSubjectId = externalSubjectId; + return this; + } + + public SpecificAssetId build() { + return new SpecificAssetId( + this.name, + this.value, + this.semanticId, + this.supplementalSemanticIds, + this.externalSubjectId); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/SubmodelBuilder.java b/src/main/java/aas_core/aas3_1/generation/SubmodelBuilder.java new file mode 100644 index 00000000..e4373171 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/SubmodelBuilder.java @@ -0,0 +1,191 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the Submodel type. */ +public class SubmodelBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** + * Kind of the element: either template or instance. + * + *

Default: {@link aas_core.aas3_1.types.enums.ModellingKind#INSTANCE} + */ + private ModellingKind kind; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** A submodel consists of zero or more submodel elements. */ + private List submodelElements; + + public SubmodelBuilder(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public SubmodelBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelBuilder setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + return this; + } + + public SubmodelBuilder setKind(ModellingKind kind) { + this.kind = kind; + return this; + } + + public SubmodelBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelBuilder setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelBuilder setSubmodelElements(List submodelElements) { + this.submodelElements = submodelElements; + return this; + } + + public Submodel build() { + return new Submodel( + this.id, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.administration, + this.kind, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.submodelElements); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/SubmodelElementCollectionBuilder.java b/src/main/java/aas_core/aas3_1/generation/SubmodelElementCollectionBuilder.java new file mode 100644 index 00000000..be043720 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/SubmodelElementCollectionBuilder.java @@ -0,0 +1,156 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; + +/** Builder for the SubmodelElementCollection type. */ +public class SubmodelElementCollectionBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Submodel element contained in the collection. */ + private List value; + + public SubmodelElementCollectionBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelElementCollectionBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelElementCollectionBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelElementCollectionBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelElementCollectionBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelElementCollectionBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelElementCollectionBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelElementCollectionBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelElementCollectionBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelElementCollectionBuilder setValue(List value) { + this.value = value; + return this; + } + + public SubmodelElementCollection build() { + return new SubmodelElementCollection( + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.value); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/SubmodelElementListBuilder.java b/src/main/java/aas_core/aas3_1/generation/SubmodelElementListBuilder.java new file mode 100644 index 00000000..2f07e9b8 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/SubmodelElementListBuilder.java @@ -0,0 +1,208 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.Objects; + +/** Builder for the SubmodelElementList type. */ +public class SubmodelElementListBuilder { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Defines whether order in list is relevant. If {@link + * aas_core.aas3_1.types.impl.SubmodelElementList#getOrderRelevant()} = {@code False} then the + * list is representing a set or a bag. + * + *

Default: {@code True} + */ + private Boolean orderRelevant; + + /** + * Semantic ID the submodel elements contained in the list match to. + * + *

It is recommended to use a global reference. + */ + private IReference semanticIdListElement; + + /** The submodel element type of the submodel elements contained in the list. */ + private AasSubmodelElements typeValueListElement; + + /** The value type of the submodel element contained in the list. */ + private DataTypeDefXsd valueTypeListElement; + + /** + * Submodel element contained in the list. + * + *

The list is ordered. + */ + private List value; + + public SubmodelElementListBuilder(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + public SubmodelElementListBuilder setExtensions(List extensions) { + this.extensions = extensions; + return this; + } + + public SubmodelElementListBuilder setCategory(String category) { + this.category = category; + return this; + } + + public SubmodelElementListBuilder setIdShort(String idShort) { + this.idShort = idShort; + return this; + } + + public SubmodelElementListBuilder setDisplayName(List displayName) { + this.displayName = displayName; + return this; + } + + public SubmodelElementListBuilder setDescription(List description) { + this.description = description; + return this; + } + + public SubmodelElementListBuilder setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + return this; + } + + public SubmodelElementListBuilder setSupplementalSemanticIds( + List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + return this; + } + + public SubmodelElementListBuilder setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + return this; + } + + public SubmodelElementListBuilder setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + return this; + } + + public SubmodelElementListBuilder setOrderRelevant(Boolean orderRelevant) { + this.orderRelevant = orderRelevant; + return this; + } + + public SubmodelElementListBuilder setSemanticIdListElement(IReference semanticIdListElement) { + this.semanticIdListElement = semanticIdListElement; + return this; + } + + public SubmodelElementListBuilder setValueTypeListElement(DataTypeDefXsd valueTypeListElement) { + this.valueTypeListElement = valueTypeListElement; + return this; + } + + public SubmodelElementListBuilder setValue(List value) { + this.value = value; + return this; + } + + public SubmodelElementList build() { + return new SubmodelElementList( + this.typeValueListElement, + this.extensions, + this.category, + this.idShort, + this.displayName, + this.description, + this.semanticId, + this.supplementalSemanticIds, + this.qualifiers, + this.embeddedDataSpecifications, + this.orderRelevant, + this.semanticIdListElement, + this.valueTypeListElement, + this.value); + } +} diff --git a/src/main/java/aas_core/aas3_1/generation/ValueReferencePairBuilder.java b/src/main/java/aas_core/aas3_1/generation/ValueReferencePairBuilder.java new file mode 100644 index 00000000..6f1395c4 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/generation/ValueReferencePairBuilder.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +package aas_core.aas3_1.generation; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import java.util.Objects; + +/** Builder for the ValueReferencePair type. */ +public class ValueReferencePairBuilder { + /** + * The value of the referenced concept definition of the value in {@link + * aas_core.aas3_1.types.impl.ValueReferencePair#getValueId()}. + */ + private String value; + + /** + * Global unique id of the value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public ValueReferencePairBuilder(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + public ValueReferencePairBuilder setValueId(IReference valueId) { + this.valueId = valueId; + return this; + } + + public ValueReferencePair build() { + return new ValueReferencePair(this.value, this.valueId); + } +} diff --git a/src/main/java/aas_core/aas3_1/jsonization/Jsonization.java b/src/main/java/aas_core/aas3_1/jsonization/Jsonization.java new file mode 100644 index 00000000..8a81186d --- /dev/null +++ b/src/main/java/aas_core/aas3_1/jsonization/Jsonization.java @@ -0,0 +1,8860 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.jsonization; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.stringification.Stringification; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.AbstractTransformer; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.ArrayNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import com.fasterxml.jackson.databind.node.ObjectNode; +import java.util.ArrayList; +import java.util.Base64; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Function; + +/** + * Provide de/serialization of meta-model classes to/from JSON. + * + *

We can not use one-pass deserialization for JSON since the object properties do not have fixed + * order, and hence we can not read {@code modelType} property ahead of the remaining properties. + */ +public class Jsonization { + /** + * Implement the deserialization of meta-model classes from JSON nodes. + * + *

The implementation propagates an {@link Reporting.Error} instead of relying on exceptions. + * Under the assumption that incorrect data is much less frequent than correct data, this makes + * the deserialization more efficient. + * + *

However, we do not want to force the client to deal with the {@link Reporting.Error} class + * as this is not intuitive. Therefore we distinguish the implementation, realized in {@link + * _DeserializeImplementation}, and the facade given in {@link Deserialize} class. + * + *

Every value is parsed through a function which takes a single {@link JsonNode} and gives + * back a {@link Reporting.Result}, so that a list and a tuple can be composed out of the parsers + * of their items. Only they need such a composition -- every other value already has a function + * named after its very type. + */ + private static class _DeserializeImplementation { + /** + * Convert {@code value} to a string. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryStringFrom(JsonNode value) { + if (!value.isTextual()) { + final Reporting.Error error = + new Reporting.Error("Expected a JsonValue of String, but got " + value.getNodeType()); + return Reporting.Result.failure(error); + } + return Reporting.Result.success(value.asText()); + } + + /** + * Convert {@code value} to a boolean. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBooleanFrom(JsonNode value) { + if (!value.isBoolean()) { + final Reporting.Error error = + new Reporting.Error("Expected a JsonValue of Boolean, but got " + value.getNodeType()); + return Reporting.Result.failure(error); + } + return Reporting.Result.success(value.asBoolean()); + } + + /** + * Convert {@code value} to a double-precision 64-bit float. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDoubleFrom(JsonNode value) { + // NOTE (mristin): + // We deliberately ask for a number, and not for a floating-point number. + // JSON has a single number type, so ``3`` is every bit as good a double as + // ``3.0`` is, and every other SDK reads it as one. + if (!value.isNumber()) { + final Reporting.Error error = + new Reporting.Error("Expected a JsonValue of Double, but got " + value.getNodeType()); + return Reporting.Result.failure(error); + } + + // NOTE (mristin): + // JSON knows neither an infinity nor a not-a-number, so a conformant parser + // can never give us one. Jackson parses them when + // JsonReadFeature.ALLOW_NON_NUMERIC_NUMBERS is enabled, and the caller can + // construct such a node programmatically in any case, so we check here. + final double asDouble = value.asDouble(); + if (!Double.isFinite(asDouble)) { + final Reporting.Error error = + new Reporting.Error("Expected a finite number, but got " + asDouble); + return Reporting.Result.failure(error); + } + + return Reporting.Result.success(asDouble); + } + + private static Reporting.Result tryBytesFrom(JsonNode value) { + if (!value.isTextual()) { + final Reporting.Error error = + new Reporting.Error("Expected a JsonValue of String, but got " + value.getNodeType()); + return Reporting.Result.failure(error); + } + final byte[] decodedData; + Base64.Decoder decoder = Base64.getDecoder(); + + try { + decodedData = decoder.decode(value.textValue()); + } catch (Exception exception) { + final Reporting.Error error = + new Reporting.Error( + "Expected Base-64 encoded bytes, but the conversion failed " + + "because: " + + exception.getMessage()); + return Reporting.Result.failure(error); + } + + return Reporting.Result.success(decodedData); + } + + /** + * Mark the error of {@code result} as coming from the property {@code name}. + * + *

A {@code case} of a property loop is matched exactly when the key of the property equals + * its literal, so the key already names the property and no {@code case} has to spell it out a + * second time. + */ + private static Reporting.Result prependName(Reporting.Result result, String name) { + final Reporting.Error error = result.getError(); + error.prependSegment(new Reporting.NameSegment(name)); + return Reporting.Result.failure(error); + } + + /** Mark the error of {@code result} as coming from the item at {@code index}. */ + private static Reporting.Result prependIndex(Reporting.Result result, int index) { + final Reporting.Error error = result.getError(); + error.prependSegment(new Reporting.IndexSegment(index)); + return Reporting.Result.failure(error); + } + + /** Report that {@code node} is no JSON object. */ + private static Reporting.Result notAJsonObject(JsonNode node) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected a JsonObject, but got " + (node == null ? "null" : node.getNodeType()))); + } + + /** Report that {@code node} is no JSON array. */ + private static Reporting.Result notAJsonArray(JsonNode node) { + return Reporting.Result.failure( + new Reporting.Error("Expected a JsonArray, but got " + node.getNodeType())); + } + + /** Report a property which the class does not have. */ + private static Reporting.Result unexpectedProperty(String name) { + return Reporting.Result.failure(new Reporting.Error("Unexpected property: " + name)); + } + + /** Report a required property which the JSON object did not give. */ + private static Reporting.Result missingRequiredProperty(String name) { + return Reporting.Result.failure( + new Reporting.Error("Required property \"" + name + "\" is missing")); + } + + /** + * Extract the {@code modelType} property of {@code node} as a string. + * + *

This is the only place which knows how the model type is spelled on the wire. Both the + * dispatch on the model type and its check in a concrete class go through it. + * + * @param node JSON object to be inspected + */ + private static Reporting.Result tryModelTypeFrom(JsonNode node) { + final JsonNode modelTypeNode = node.get("modelType"); + if (modelTypeNode == null) { + return missingRequiredProperty("modelType"); + } + + final Reporting.Result result = tryStringFrom(modelTypeNode); + if (result.isError()) { + return prependName(result, "modelType"); + } + + return result; + } + + /** + * Check that {@code node} gives the {@code expected} model type, and return the error if it + * does not. + * + *

The model type is checked before the properties are read, so that a wrong one is reported + * without de-serializing any of them first, and so that the property loop carries nothing but + * the properties. + * + * @param node JSON object to be inspected + * @param expected model type of the class being de-serialized + */ + private static Reporting.Error checkModelType(JsonNode node, String expected) { + final Reporting.Result result = tryModelTypeFrom(node); + if (result.isError()) { + return result.getError(); + } + + final String modelType = result.getResult(); + if (!modelType.equals(expected)) { + final Reporting.Error error = + new Reporting.Error( + "Expected the model type '" + expected + "', " + "but got '" + modelType + "'"); + // NOTE (mristin): + // A wrong model type is reported at the instance, as an unknown one is, + // and as in the other SDKs. + return error; + } + + return null; + } + + /** + * Parse {@code node} as a literal of the enumeration {@code enumType}, converted from its text + * by {@code fromString}. + * + *

The stringification is passed in as a function value so that this one helper does the + * whole plumbing for every enumeration, and a single statement parses one. The literal and the + * class constrain each other, so the name in the error message can not drift from the type of + * the literal. + * + * @param node JSON node to be parsed + * @param fromString to convert the text into a literal + * @param enumType enumeration whose literal is expected + */ + private static Reporting.Result tryEnumFrom( + JsonNode node, Function> fromString, Class enumType) { + final Reporting.Result text = tryStringFrom(node); + if (text.isError()) { + return text.castTo(enumType); + } + + final Optional parsed = fromString.apply(text.getResult()); + if (!parsed.isPresent()) { + return Reporting.Result.failure( + new Reporting.Error("Not a valid JSON representation of " + enumType.getSimpleName())); + } + + return Reporting.Result.success(parsed.get()); + } + + /** + * Parse {@code node} as a JSON array, and every of its items with {@code parseItem}. + * + * @param node JSON node to be parsed + * @param parseItem to parse a single item of the array + */ + private static Reporting.Result> parseArray( + JsonNode node, Function> parseItem) { + if (!node.isArray()) { + return notAJsonArray(node); + } + + final List result = new ArrayList<>(node.size()); + + int index = 0; + for (JsonNode item : node) { + final Reporting.Result parsedItem = parseItem.apply(item); + if (parsedItem.isError()) { + return prependIndex(parsedItem, index); + } + + result.add(parsedItem.getResult()); + index++; + } + + return Reporting.Result.success(result); + } + + /** + * Parse {@code node} as a list of {@code IReference}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IReference(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryReferenceFrom); + } + + /** + * Parse {@code node} as a list of {@code IEmbeddedDataSpecification}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_IEmbeddedDataSpecification(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryEmbeddedDataSpecificationFrom); + } + + /** + * Parse {@code node} as a list of {@code IExtension}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IExtension(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryExtensionFrom); + } + + /** + * Parse {@code node} as a list of {@code ILangStringNameType}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ILangStringNameType( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringNameTypeFrom); + } + + /** + * Parse {@code node} as a list of {@code ILangStringTextType}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ILangStringTextType( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringTextTypeFrom); + } + + /** + * Parse {@code node} as a list of {@code ISpecificAssetId}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISpecificAssetId( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::trySpecificAssetIdFrom); + } + + /** + * Parse {@code node} as a list of {@code IQualifier}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IQualifier(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryQualifierFrom); + } + + /** + * Parse {@code node} as a list of {@code ISubmodelElement}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISubmodelElement( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryISubmodelElementFrom); + } + + /** + * Parse {@code node} as a list of {@code IDataElement}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IDataElement(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryIDataElementFrom); + } + + /** + * Parse {@code node} as a list of {@code IOperationVariable}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IOperationVariable( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryOperationVariableFrom); + } + + /** + * Parse {@code node} as a list of {@code IKey}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IKey(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryKeyFrom); + } + + /** + * Parse {@code node} as a list of {@code IAssetAdministrationShell}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_IAssetAdministrationShell(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryAssetAdministrationShellFrom); + } + + /** + * Parse {@code node} as a list of {@code ISubmodel}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_ISubmodel(JsonNode node) { + return parseArray(node, _DeserializeImplementation::trySubmodelFrom); + } + + /** + * Parse {@code node} as a list of {@code IConceptDescription}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IConceptDescription( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryConceptDescriptionFrom); + } + + /** + * Parse {@code node} as a list of {@code IValueReferencePair}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> parseListOf_IValueReferencePair( + JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryValueReferencePairFrom); + } + + /** + * Parse {@code node} as a list of {@code ILangStringPreferredNameTypeIec61360}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ILangStringPreferredNameTypeIec61360(JsonNode node) { + return parseArray( + node, _DeserializeImplementation::tryLangStringPreferredNameTypeIec61360From); + } + + /** + * Parse {@code node} as a list of {@code ILangStringShortNameTypeIec61360}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ILangStringShortNameTypeIec61360(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringShortNameTypeIec61360From); + } + + /** + * Parse {@code node} as a list of {@code ILangStringDefinitionTypeIec61360}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result> + parseListOf_ILangStringDefinitionTypeIec61360(JsonNode node) { + return parseArray(node, _DeserializeImplementation::tryLangStringDefinitionTypeIec61360From); + } + + /** + * Deserialize an instance of IHasSemantics by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIHasSemanticsFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IHasSemantics.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "Extension": + return tryExtensionFrom(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Qualifier": + return tryQualifierFrom(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "SpecificAssetId": + return trySpecificAssetIdFrom(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IHasSemantics: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of Extension from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryExtensionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theName = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + DataTypeDefXsd theValueType = null; + String theValue = null; + List theRefersTo = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "name": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theName = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "refersTo": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theRefersTo = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theName == null) { + return missingRequiredProperty("name"); + } + + return Reporting.Result.success( + new Extension( + theName, + theSemanticId, + theSupplementalSemanticIds, + theValueType, + theValue, + theRefersTo)); + } + + /** + * Deserialize an instance of IHasExtensions by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIHasExtensionsFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IHasExtensions.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "AssetAdministrationShell": + return tryAssetAdministrationShellFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "ConceptDescription": + return tryConceptDescriptionFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IHasExtensions: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of IReferable by dispatching based on {@code modelType} property of + * the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIReferableFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IReferable.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "AssetAdministrationShell": + return tryAssetAdministrationShellFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "ConceptDescription": + return tryConceptDescriptionFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IReferable: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of IIdentifiable by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIIdentifiableFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IIdentifiable.class); + } + + switch (modelTypeResult.getResult()) { + case "AssetAdministrationShell": + return tryAssetAdministrationShellFromObject(node); + case "ConceptDescription": + return tryConceptDescriptionFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IIdentifiable: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize the enumeration ModellingKind from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryModellingKindFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::modellingKindFromString, ModellingKind.class); + } + + /** + * Deserialize an instance of IHasKind by dispatching based on {@code modelType} property of the + * {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIHasKindFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IHasKind.class); + } + + switch (modelTypeResult.getResult()) { + case "Submodel": + return trySubmodelFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IHasKind: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of IHasDataSpecification by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIHasDataSpecificationFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IHasDataSpecification.class); + } + + switch (modelTypeResult.getResult()) { + case "AdministrativeInformation": + return tryAdministrativeInformationFrom(node); + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "AssetAdministrationShell": + return tryAssetAdministrationShellFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "ConceptDescription": + return tryConceptDescriptionFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IHasDataSpecification: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of AdministrativeInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAdministrativeInformationFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theEmbeddedDataSpecifications = null; + String theVersion = null; + String theRevision = null; + IReference theCreator = null; + String theTemplateId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "version": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theVersion = parsed.getResult(); + break; + } + case "revision": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theRevision = parsed.getResult(); + break; + } + case "creator": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCreator = parsed.getResult(); + break; + } + case "templateId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTemplateId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new AdministrativeInformation( + theEmbeddedDataSpecifications, theVersion, theRevision, theCreator, theTemplateId)); + } + + /** + * Deserialize an instance of IQualifiable by dispatching based on {@code modelType} property of + * the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIQualifiableFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IQualifiable.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "Submodel": + return trySubmodelFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IQualifiable: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize the enumeration QualifierKind from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryQualifierKindFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::qualifierKindFromString, QualifierKind.class); + } + + /** + * Deserialize an instance of Qualifier from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryQualifierFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theType = null; + DataTypeDefXsd theValueType = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + QualifierKind theKind = null; + String theValue = null; + IReference theValueId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "type": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theType = parsed.getResult(); + break; + } + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "kind": + { + final Reporting.Result parsed = tryQualifierKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKind = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "valueId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theType == null) { + return missingRequiredProperty("type"); + } + + if (theValueType == null) { + return missingRequiredProperty("valueType"); + } + + return Reporting.Result.success( + new Qualifier( + theType, + theValueType, + theSemanticId, + theSupplementalSemanticIds, + theKind, + theValue, + theValueId)); + } + + /** + * Deserialize an instance of AssetAdministrationShell from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAssetAdministrationShellFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "AssetAdministrationShell"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryAssetAdministrationShellFromObject(node); + } + + /** + * Deserialize an instance of AssetAdministrationShell from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryAssetAdministrationShellFromObject( + JsonNode node) { + String theId = null; + IAssetInformation theAssetInformation = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + List theEmbeddedDataSpecifications = null; + IReference theDerivedFrom = null; + List theSubmodels = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "assetInformation": + { + final Reporting.Result parsed = + tryAssetInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetInformation = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "derivedFrom": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDerivedFrom = parsed.getResult(); + break; + } + case "submodels": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubmodels = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + if (theAssetInformation == null) { + return missingRequiredProperty("assetInformation"); + } + + return Reporting.Result.success( + new AssetAdministrationShell( + theId, + theAssetInformation, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theDerivedFrom, + theSubmodels)); + } + + /** + * Deserialize an instance of AssetInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAssetInformationFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + AssetKind theAssetKind = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + String theAssetType = null; + IResource theDefaultThumbnail = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "assetKind": + { + final Reporting.Result parsed = tryAssetKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetKind = parsed.getResult(); + break; + } + case "globalAssetId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGlobalAssetId = parsed.getResult(); + break; + } + case "specificAssetIds": + { + final Reporting.Result> parsed = + parseListOf_ISpecificAssetId(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSpecificAssetIds = parsed.getResult(); + break; + } + case "assetType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetType = parsed.getResult(); + break; + } + case "defaultThumbnail": + { + final Reporting.Result parsed = tryResourceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDefaultThumbnail = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theAssetKind == null) { + return missingRequiredProperty("assetKind"); + } + + return Reporting.Result.success( + new AssetInformation( + theAssetKind, + theGlobalAssetId, + theSpecificAssetIds, + theAssetType, + theDefaultThumbnail)); + } + + /** + * Deserialize an instance of Resource from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryResourceFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String thePath = null; + String theContentType = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "path": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePath = parsed.getResult(); + break; + } + case "contentType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContentType = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (thePath == null) { + return missingRequiredProperty("path"); + } + + return Reporting.Result.success(new Resource(thePath, theContentType)); + } + + /** + * Deserialize the enumeration AssetKind from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAssetKindFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::assetKindFromString, AssetKind.class); + } + + /** + * Deserialize an instance of SpecificAssetId from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySpecificAssetIdFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theName = null; + String theValue = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + IReference theExternalSubjectId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "name": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theName = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "externalSubjectId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExternalSubjectId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theName == null) { + return missingRequiredProperty("name"); + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success( + new SpecificAssetId( + theName, theValue, theSemanticId, theSupplementalSemanticIds, theExternalSubjectId)); + } + + /** + * Deserialize an instance of Submodel from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Submodel"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelFromObject(node); + } + + /** + * Deserialize an instance of Submodel from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result trySubmodelFromObject(JsonNode node) { + String theId = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + ModellingKind theKind = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theSubmodelElements = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "kind": + { + final Reporting.Result parsed = tryModellingKindFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKind = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "submodelElements": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubmodelElements = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new Submodel( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theKind, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theSubmodelElements)); + } + + /** + * Deserialize an instance of ISubmodelElement by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryISubmodelElementFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(ISubmodelElement.class); + } + + switch (modelTypeResult.getResult()) { + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + case "Blob": + return tryBlobFromObject(node); + case "Capability": + return tryCapabilityFromObject(node); + case "Entity": + return tryEntityFromObject(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Operation": + return tryOperationFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + case "SubmodelElementCollection": + return trySubmodelElementCollectionFromObject(node); + case "SubmodelElementList": + return trySubmodelElementListFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for ISubmodelElement: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of IRelationshipElement by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIRelationshipElementFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IRelationshipElement.class); + } + + switch (modelTypeResult.getResult()) { + case "AnnotatedRelationshipElement": + return tryAnnotatedRelationshipElementFromObject(node); + case "RelationshipElement": + return tryRelationshipElementFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IRelationshipElement: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of RelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRelationshipElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "RelationshipElement"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryRelationshipElementFromObject(node); + } + + /** + * Deserialize an instance of RelationshipElement from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryRelationshipElementFromObject( + JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theFirst = null; + IReference theSecond = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "first": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theFirst = parsed.getResult(); + break; + } + case "second": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSecond = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new RelationshipElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theFirst, + theSecond)); + } + + /** + * Deserialize the enumeration AasSubmodelElements from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryAasSubmodelElementsFrom(JsonNode node) { + return tryEnumFrom( + node, Stringification::aasSubmodelElementsFromString, AasSubmodelElements.class); + } + + /** + * Deserialize an instance of SubmodelElementList from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelElementListFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "SubmodelElementList"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelElementListFromObject(node); + } + + /** + * Deserialize an instance of SubmodelElementList from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result trySubmodelElementListFromObject( + JsonNode node) { + AasSubmodelElements theTypeValueListElement = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + Boolean theOrderRelevant = null; + IReference theSemanticIdListElement = null; + DataTypeDefXsd theValueTypeListElement = null; + List theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "typeValueListElement": + { + final Reporting.Result parsed = + tryAasSubmodelElementsFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTypeValueListElement = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "orderRelevant": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theOrderRelevant = parsed.getResult(); + break; + } + case "semanticIdListElement": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticIdListElement = parsed.getResult(); + break; + } + case "valueTypeListElement": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueTypeListElement = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theTypeValueListElement == null) { + return missingRequiredProperty("typeValueListElement"); + } + + return Reporting.Result.success( + new SubmodelElementList( + theTypeValueListElement, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theOrderRelevant, + theSemanticIdListElement, + theValueTypeListElement, + theValue)); + } + + /** + * Deserialize an instance of SubmodelElementCollection from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result trySubmodelElementCollectionFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "SubmodelElementCollection"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return trySubmodelElementCollectionFromObject(node); + } + + /** + * Deserialize an instance of SubmodelElementCollection from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + trySubmodelElementCollectionFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new SubmodelElementCollection( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue)); + } + + /** + * Deserialize an instance of IDataElement by dispatching based on {@code modelType} property of + * the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIDataElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IDataElement.class); + } + + switch (modelTypeResult.getResult()) { + case "Blob": + return tryBlobFromObject(node); + case "File": + return tryFileFromObject(node); + case "MultiLanguageProperty": + return tryMultiLanguagePropertyFromObject(node); + case "Property": + return tryPropertyFromObject(node); + case "Range": + return tryRangeFromObject(node); + case "ReferenceElement": + return tryReferenceElementFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IDataElement: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of Property from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryPropertyFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Property"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryPropertyFromObject(node); + } + + /** + * Deserialize an instance of Property from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryPropertyFromObject(JsonNode node) { + DataTypeDefXsd theValueType = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theValue = null; + IReference theValueId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "valueId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueId = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType"); + } + + return Reporting.Result.success( + new Property( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theValueId)); + } + + /** + * Deserialize an instance of MultiLanguageProperty from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryMultiLanguagePropertyFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "MultiLanguageProperty"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryMultiLanguagePropertyFromObject(node); + } + + /** + * Deserialize an instance of MultiLanguageProperty from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryMultiLanguagePropertyFromObject( + JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theValue = null; + IReference theValueId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "valueId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueId = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new MultiLanguageProperty( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theValueId)); + } + + /** + * Deserialize an instance of Range from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryRangeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Range"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryRangeFromObject(node); + } + + /** + * Deserialize an instance of Range from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryRangeFromObject(JsonNode node) { + DataTypeDefXsd theValueType = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theMin = null; + String theMax = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "valueType": + { + final Reporting.Result parsed = + tryDataTypeDefXsdFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueType = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "min": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMin = parsed.getResult(); + break; + } + case "max": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMax = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType"); + } + + return Reporting.Result.success( + new Range( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMin, + theMax)); + } + + /** + * Deserialize an instance of ReferenceElement from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "ReferenceElement"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryReferenceElementFromObject(node); + } + + /** + * Deserialize an instance of ReferenceElement from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryReferenceElementFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new ReferenceElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue)); + } + + /** + * Deserialize an instance of Blob from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBlobFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Blob"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryBlobFromObject(node); + } + + /** + * Deserialize an instance of Blob from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryBlobFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + byte[] theValue = null; + String theContentType = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryBytesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "contentType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContentType = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Blob( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theContentType)); + } + + /** + * Deserialize an instance of File from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryFileFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "File"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryFileFromObject(node); + } + + /** + * Deserialize an instance of File from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryFileFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theValue = null; + String theContentType = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "contentType": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theContentType = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new File( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theContentType)); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryAnnotatedRelationshipElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "AnnotatedRelationshipElement"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryAnnotatedRelationshipElementFromObject(node); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElement from the JSON object {@code node} + * whose model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryAnnotatedRelationshipElementFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theFirst = null; + IReference theSecond = null; + List theAnnotations = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "first": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theFirst = parsed.getResult(); + break; + } + case "second": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSecond = parsed.getResult(); + break; + } + case "annotations": + { + final Reporting.Result> parsed = parseListOf_IDataElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAnnotations = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new AnnotatedRelationshipElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theFirst, + theSecond, + theAnnotations)); + } + + /** + * Deserialize an instance of Entity from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEntityFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Entity"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryEntityFromObject(node); + } + + /** + * Deserialize an instance of Entity from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryEntityFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theStatements = null; + EntityType theEntityType = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "statements": + { + final Reporting.Result> parsed = + parseListOf_ISubmodelElement(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theStatements = parsed.getResult(); + break; + } + case "entityType": + { + final Reporting.Result parsed = tryEntityTypeFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEntityType = parsed.getResult(); + break; + } + case "globalAssetId": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theGlobalAssetId = parsed.getResult(); + break; + } + case "specificAssetIds": + { + final Reporting.Result> parsed = + parseListOf_ISpecificAssetId(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSpecificAssetIds = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Entity( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theStatements, + theEntityType, + theGlobalAssetId, + theSpecificAssetIds)); + } + + /** + * Deserialize the enumeration EntityType from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEntityTypeFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::entityTypeFromString, EntityType.class); + } + + /** + * Deserialize the enumeration Direction from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDirectionFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::directionFromString, Direction.class); + } + + /** + * Deserialize the enumeration StateOfEvent from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryStateOfEventFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::stateOfEventFromString, StateOfEvent.class); + } + + /** + * Deserialize an instance of EventPayload from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEventPayloadFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IReference theSource = null; + IReference theObservableReference = null; + String theTimeStamp = null; + IReference theSourceSemanticId = null; + IReference theObservableSemanticId = null; + String theTopic = null; + IReference theSubjectId = null; + byte[] thePayload = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "source": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSource = parsed.getResult(); + break; + } + case "observableReference": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theObservableReference = parsed.getResult(); + break; + } + case "timeStamp": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTimeStamp = parsed.getResult(); + break; + } + case "sourceSemanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSourceSemanticId = parsed.getResult(); + break; + } + case "observableSemanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theObservableSemanticId = parsed.getResult(); + break; + } + case "topic": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTopic = parsed.getResult(); + break; + } + case "subjectId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubjectId = parsed.getResult(); + break; + } + case "payload": + { + final Reporting.Result parsed = tryBytesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePayload = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theSource == null) { + return missingRequiredProperty("source"); + } + + if (theObservableReference == null) { + return missingRequiredProperty("observableReference"); + } + + if (theTimeStamp == null) { + return missingRequiredProperty("timeStamp"); + } + + return Reporting.Result.success( + new EventPayload( + theSource, + theObservableReference, + theTimeStamp, + theSourceSemanticId, + theObservableSemanticId, + theTopic, + theSubjectId, + thePayload)); + } + + /** + * Deserialize an instance of IEventElement by dispatching based on {@code modelType} property + * of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIEventElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IEventElement.class); + } + + switch (modelTypeResult.getResult()) { + case "BasicEventElement": + return tryBasicEventElementFromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IEventElement: " + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of BasicEventElement from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryBasicEventElementFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "BasicEventElement"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryBasicEventElementFromObject(node); + } + + /** + * Deserialize an instance of BasicEventElement from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryBasicEventElementFromObject( + JsonNode node) { + IReference theObserved = null; + Direction theDirection = null; + StateOfEvent theState = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theMessageTopic = null; + IReference theMessageBroker = null; + String theLastUpdate = null; + String theMinInterval = null; + String theMaxInterval = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "observed": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theObserved = parsed.getResult(); + break; + } + case "direction": + { + final Reporting.Result parsed = tryDirectionFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDirection = parsed.getResult(); + break; + } + case "state": + { + final Reporting.Result parsed = tryStateOfEventFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theState = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "messageTopic": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessageTopic = parsed.getResult(); + break; + } + case "messageBroker": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMessageBroker = parsed.getResult(); + break; + } + case "lastUpdate": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLastUpdate = parsed.getResult(); + break; + } + case "minInterval": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMinInterval = parsed.getResult(); + break; + } + case "maxInterval": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMaxInterval = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theObserved == null) { + return missingRequiredProperty("observed"); + } + + if (theDirection == null) { + return missingRequiredProperty("direction"); + } + + if (theState == null) { + return missingRequiredProperty("state"); + } + + return Reporting.Result.success( + new BasicEventElement( + theObserved, + theDirection, + theState, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMessageTopic, + theMessageBroker, + theLastUpdate, + theMinInterval, + theMaxInterval)); + } + + /** + * Deserialize an instance of Operation from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Operation"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryOperationFromObject(node); + } + + /** + * Deserialize an instance of Operation from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryOperationFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theInputVariables = null; + List theOutputVariables = null; + List theInoutputVariables = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "inputVariables": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInputVariables = parsed.getResult(); + break; + } + case "outputVariables": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theOutputVariables = parsed.getResult(); + break; + } + case "inoutputVariables": + { + final Reporting.Result> parsed = + parseListOf_IOperationVariable(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theInoutputVariables = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Operation( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theInputVariables, + theOutputVariables, + theInoutputVariables)); + } + + /** + * Deserialize an instance of OperationVariable from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryOperationVariableFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ISubmodelElement theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "value": + { + final Reporting.Result parsed = + tryISubmodelElementFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success(new OperationVariable(theValue)); + } + + /** + * Deserialize an instance of Capability from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryCapabilityFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "Capability"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryCapabilityFromObject(node); + } + + /** + * Deserialize an instance of Capability from the JSON object {@code node} whose model type has + * already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryCapabilityFromObject(JsonNode node) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "semanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSemanticId = parsed.getResult(); + break; + } + case "supplementalSemanticIds": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSupplementalSemanticIds = parsed.getResult(); + break; + } + case "qualifiers": + { + final Reporting.Result> parsed = parseListOf_IQualifier(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theQualifiers = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Capability( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** + * Deserialize an instance of ConceptDescription from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryConceptDescriptionFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "ConceptDescription"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryConceptDescriptionFromObject(node); + } + + /** + * Deserialize an instance of ConceptDescription from the JSON object {@code node} whose model + * type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result tryConceptDescriptionFromObject( + JsonNode node) { + String theId = null; + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + List theEmbeddedDataSpecifications = null; + List theIsCaseOf = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "id": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theId = parsed.getResult(); + break; + } + case "extensions": + { + final Reporting.Result> parsed = parseListOf_IExtension(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theExtensions = parsed.getResult(); + break; + } + case "category": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theCategory = parsed.getResult(); + break; + } + case "idShort": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIdShort = parsed.getResult(); + break; + } + case "displayName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringNameType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDisplayName = parsed.getResult(); + break; + } + case "description": + { + final Reporting.Result> parsed = + parseListOf_ILangStringTextType(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDescription = parsed.getResult(); + break; + } + case "administration": + { + final Reporting.Result parsed = + tryAdministrativeInformationFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAdministration = parsed.getResult(); + break; + } + case "embeddedDataSpecifications": + { + final Reporting.Result> parsed = + parseListOf_IEmbeddedDataSpecification(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theEmbeddedDataSpecifications = parsed.getResult(); + break; + } + case "isCaseOf": + { + final Reporting.Result> parsed = parseListOf_IReference(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theIsCaseOf = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (theId == null) { + return missingRequiredProperty("id"); + } + + return Reporting.Result.success( + new ConceptDescription( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theIsCaseOf)); + } + + /** + * Deserialize the enumeration ReferenceTypes from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceTypesFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::referenceTypesFromString, ReferenceTypes.class); + } + + /** + * Deserialize an instance of Reference from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryReferenceFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + ReferenceTypes theType = null; + List theKeys = null; + IReference theReferredSemanticId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "type": + { + final Reporting.Result parsed = + tryReferenceTypesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theType = parsed.getResult(); + break; + } + case "keys": + { + final Reporting.Result> parsed = parseListOf_IKey(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theKeys = parsed.getResult(); + break; + } + case "referredSemanticId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theReferredSemanticId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theType == null) { + return missingRequiredProperty("type"); + } + + if (theKeys == null) { + return missingRequiredProperty("keys"); + } + + return Reporting.Result.success(new Reference(theType, theKeys, theReferredSemanticId)); + } + + /** + * Deserialize an instance of Key from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryKeyFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + KeyTypes theType = null; + String theValue = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "type": + { + final Reporting.Result parsed = tryKeyTypesFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theType = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theType == null) { + return missingRequiredProperty("type"); + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success(new Key(theType, theValue)); + } + + /** + * Deserialize the enumeration KeyTypes from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryKeyTypesFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::keyTypesFromString, KeyTypes.class); + } + + /** + * Deserialize the enumeration DataTypeDefXsd from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDataTypeDefXsdFrom(JsonNode node) { + return tryEnumFrom(node, Stringification::dataTypeDefXsdFromString, DataTypeDefXsd.class); + } + + /** + * Deserialize an instance of IAbstractLangString by dispatching based on {@code modelType} + * property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result tryIAbstractLangStringFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IAbstractLangString.class); + } + + switch (modelTypeResult.getResult()) { + case "LangStringDefinitionTypeIec61360": + return tryLangStringDefinitionTypeIec61360From(node); + case "LangStringNameType": + return tryLangStringNameTypeFrom(node); + case "LangStringPreferredNameTypeIec61360": + return tryLangStringPreferredNameTypeIec61360From(node); + case "LangStringShortNameTypeIec61360": + return tryLangStringShortNameTypeIec61360From(node); + case "LangStringTextType": + return tryLangStringTextTypeFrom(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IAbstractLangString: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of LangStringNameType from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLangStringNameTypeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringNameType(theLanguage, theText)); + } + + /** + * Deserialize an instance of LangStringTextType from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLangStringTextTypeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringTextType(theLanguage, theText)); + } + + /** + * Deserialize an instance of Environment from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEnvironmentFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theAssetAdministrationShells = null; + List theSubmodels = null; + List theConceptDescriptions = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "assetAdministrationShells": + { + final Reporting.Result> parsed = + parseListOf_IAssetAdministrationShell(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theAssetAdministrationShells = parsed.getResult(); + break; + } + case "submodels": + { + final Reporting.Result> parsed = parseListOf_ISubmodel(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSubmodels = parsed.getResult(); + break; + } + case "conceptDescriptions": + { + final Reporting.Result> parsed = + parseListOf_IConceptDescription(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theConceptDescriptions = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + return Reporting.Result.success( + new Environment(theAssetAdministrationShells, theSubmodels, theConceptDescriptions)); + } + + /** + * Deserialize an instance of IDataSpecificationContent by dispatching based on {@code + * modelType} property of the {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reporting.Result + tryIDataSpecificationContentFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Result modelTypeResult = tryModelTypeFrom(node); + if (modelTypeResult.isError()) { + return modelTypeResult.castTo(IDataSpecificationContent.class); + } + + switch (modelTypeResult.getResult()) { + case "DataSpecificationIec61360": + return tryDataSpecificationIec61360FromObject(node); + default: + { + final Reporting.Error error = + new Reporting.Error( + "Unexpected model type for IDataSpecificationContent: " + + modelTypeResult.getResult()); + return Reporting.Result.failure(error); + } + } + } + + /** + * Deserialize an instance of EmbeddedDataSpecification from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryEmbeddedDataSpecificationFrom( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + IReference theDataSpecification = null; + IDataSpecificationContent theDataSpecificationContent = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "dataSpecification": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDataSpecification = parsed.getResult(); + break; + } + case "dataSpecificationContent": + { + final Reporting.Result parsed = + tryIDataSpecificationContentFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDataSpecificationContent = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theDataSpecification == null) { + return missingRequiredProperty("dataSpecification"); + } + + if (theDataSpecificationContent == null) { + return missingRequiredProperty("dataSpecificationContent"); + } + + return Reporting.Result.success( + new EmbeddedDataSpecification(theDataSpecification, theDataSpecificationContent)); + } + + /** + * Deserialize the enumeration DataTypeIec61360 from the {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDataTypeIec61360From(JsonNode node) { + return tryEnumFrom(node, Stringification::dataTypeIec61360FromString, DataTypeIec61360.class); + } + + /** + * Deserialize an instance of LevelType from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryLevelTypeFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + Boolean theMin = null; + Boolean theNom = null; + Boolean theTyp = null; + Boolean theMax = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "min": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMin = parsed.getResult(); + break; + } + case "nom": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theNom = parsed.getResult(); + break; + } + case "typ": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theTyp = parsed.getResult(); + break; + } + case "max": + { + final Reporting.Result parsed = tryBooleanFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theMax = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theMin == null) { + return missingRequiredProperty("min"); + } + + if (theNom == null) { + return missingRequiredProperty("nom"); + } + + if (theTyp == null) { + return missingRequiredProperty("typ"); + } + + if (theMax == null) { + return missingRequiredProperty("max"); + } + + return Reporting.Result.success(new LevelType(theMin, theNom, theTyp, theMax)); + } + + /** + * Deserialize an instance of ValueReferencePair from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryValueReferencePairFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theValue = null; + IReference theValueId = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "valueId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueId = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theValue == null) { + return missingRequiredProperty("value"); + } + + return Reporting.Result.success(new ValueReferencePair(theValue, theValueId)); + } + + /** + * Deserialize an instance of ValueList from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryValueListFrom(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + List theValueReferencePairs = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "valueReferencePairs": + { + final Reporting.Result> parsed = + parseListOf_IValueReferencePair(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueReferencePairs = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theValueReferencePairs == null) { + return missingRequiredProperty("valueReferencePairs"); + } + + return Reporting.Result.success(new ValueList(theValueReferencePairs)); + } + + /** + * Deserialize an instance of LangStringPreferredNameTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryLangStringPreferredNameTypeIec61360From(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success( + new LangStringPreferredNameTypeIec61360(theLanguage, theText)); + } + + /** + * Deserialize an instance of LangStringShortNameTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryLangStringShortNameTypeIec61360From(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringShortNameTypeIec61360(theLanguage, theText)); + } + + /** + * Deserialize an instance of LangStringDefinitionTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result + tryLangStringDefinitionTypeIec61360From(JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + String theLanguage = null; + String theText = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "language": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLanguage = parsed.getResult(); + break; + } + case "text": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theText = parsed.getResult(); + break; + } + default: + return unexpectedProperty(key); + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language"); + } + + if (theText == null) { + return missingRequiredProperty("text"); + } + + return Reporting.Result.success(new LangStringDefinitionTypeIec61360(theLanguage, theText)); + } + + /** + * Deserialize an instance of DataSpecificationIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + private static Reporting.Result tryDataSpecificationIec61360From( + JsonNode node) { + if (node == null || !node.isObject()) { + return notAJsonObject(node); + } + + final Reporting.Error modelTypeError = checkModelType(node, "DataSpecificationIec61360"); + if (modelTypeError != null) { + return Reporting.Result.failure(modelTypeError); + } + + return tryDataSpecificationIec61360FromObject(node); + } + + /** + * Deserialize an instance of DataSpecificationIec61360 from the JSON object {@code node} whose + * model type has already been checked. + * + * @param node JSON object to be parsed + */ + private static Reporting.Result + tryDataSpecificationIec61360FromObject(JsonNode node) { + List thePreferredName = null; + List theShortName = null; + String theUnit = null; + IReference theUnitId = null; + String theSourceOfDefinition = null; + String theSymbol = null; + DataTypeIec61360 theDataType = null; + List theDefinition = null; + String theValueFormat = null; + IValueList theValueList = null; + String theValue = null; + ILevelType theLevelType = null; + + for (Iterator> iterator = node.properties().iterator(); + iterator.hasNext(); ) { + final Map.Entry keyValue = iterator.next(); + final String key = keyValue.getKey(); + final JsonNode value = keyValue.getValue(); + + switch (key) { + case "preferredName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringPreferredNameTypeIec61360(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + thePreferredName = parsed.getResult(); + break; + } + case "shortName": + { + final Reporting.Result> parsed = + parseListOf_ILangStringShortNameTypeIec61360(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theShortName = parsed.getResult(); + break; + } + case "unit": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theUnit = parsed.getResult(); + break; + } + case "unitId": + { + final Reporting.Result parsed = tryReferenceFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theUnitId = parsed.getResult(); + break; + } + case "sourceOfDefinition": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSourceOfDefinition = parsed.getResult(); + break; + } + case "symbol": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theSymbol = parsed.getResult(); + break; + } + case "dataType": + { + final Reporting.Result parsed = + tryDataTypeIec61360From(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDataType = parsed.getResult(); + break; + } + case "definition": + { + final Reporting.Result> parsed = + parseListOf_ILangStringDefinitionTypeIec61360(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theDefinition = parsed.getResult(); + break; + } + case "valueFormat": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueFormat = parsed.getResult(); + break; + } + case "valueList": + { + final Reporting.Result parsed = tryValueListFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValueList = parsed.getResult(); + break; + } + case "value": + { + final Reporting.Result parsed = tryStringFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theValue = parsed.getResult(); + break; + } + case "levelType": + { + final Reporting.Result parsed = tryLevelTypeFrom(value); + if (parsed.isError()) { + return prependName(parsed, key); + } + theLevelType = parsed.getResult(); + break; + } + case "modelType": + // The model type has already been checked before the loop. + break; + default: + return unexpectedProperty(key); + } + } + + if (thePreferredName == null) { + return missingRequiredProperty("preferredName"); + } + + return Reporting.Result.success( + new DataSpecificationIec61360( + thePreferredName, + theShortName, + theUnit, + theUnitId, + theSourceOfDefinition, + theSymbol, + theDataType, + theDefinition, + theValueFormat, + theValueList, + theValue, + theLevelType)); + } + } + + /** Represent a critical error during the deserialization. */ + @SuppressWarnings("serial") + public static class DeserializeException extends RuntimeException { + private final String path; + private final String reason; + + public DeserializeException(String path, String reason) { + super(reason + " at: " + ("".equals(path) ? "the beginning" : path)); + this.path = path; + this.reason = reason; + } + + public Optional getPath() { + return Optional.ofNullable(path); + } + + public Optional getReason() { + return Optional.ofNullable(reason); + } + } + + /** Represent a critical error during the serialization. */ + @SuppressWarnings("serial") + public static class SerializeException extends RuntimeException { + private final String path; + private final String reason; + + public SerializeException(String path, String reason) { + super(reason + " at: " + ("".equals(path) ? "the beginning" : path)); + this.path = path; + this.reason = reason; + } + + public Optional getPath() { + return Optional.ofNullable(path); + } + + public Optional getReason() { + return Optional.ofNullable(reason); + } + } + + /** + * Signal a failure of the serialization, carrying the path to the culprit. + * + *

The path is built as the stack unwinds -- every container prepends the one segment it knows, + * the property its name and the list the index of the item -- which is why this can not be a + * {@link SerializeException} already: that one renders its message in its constructor, so its + * path has to be complete by then. {@link Serialize#toJsonObject} renders and converts. + */ + @SuppressWarnings("serial") + private static class _SerializeFailure extends RuntimeException { + private final Reporting.Error error; + + _SerializeFailure(Reporting.Error error) { + super(error.getCause()); + this.error = error; + } + + Reporting.Error getError() { + return error; + } + } + + /** + * Deserialize instances of meta-model classes from JSON nodes. + * + *

Here is an example how to parse an instance of IHasSemantics: + * + *

{@code
+   * String someString = "... some JSON ...";
+   * ObjectMapper objectMapper = new ObjectMapper();
+   * JsonNode node = objectMapper.readTree(someString);
+   * IHasSemantics anInstance = Deserialize.deserializeIHasSemantics(
+   *   node);
+   * }
+ */ + public static class Deserialize { + /** + * Deserialize an instance of IHasSemantics from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IHasSemantics deserializeIHasSemantics(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIHasSemanticsFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Extension from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Extension deserializeExtension(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryExtensionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasExtensions from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IHasExtensions deserializeIHasExtensions(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIHasExtensionsFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IReferable from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IReferable deserializeIReferable(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIReferableFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IIdentifiable from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IIdentifiable deserializeIIdentifiable(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIIdentifiableFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ModellingKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ModellingKind deserializeModellingKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryModellingKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IHasKind deserializeIHasKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIHasKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasDataSpecification from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IHasDataSpecification deserializeIHasDataSpecification(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIHasDataSpecificationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AdministrativeInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AdministrativeInformation deserializeAdministrativeInformation(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAdministrativeInformationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IQualifiable from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IQualifiable deserializeIQualifiable(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIQualifiableFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of QualifierKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static QualifierKind deserializeQualifierKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryQualifierKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Qualifier from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Qualifier deserializeQualifier(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryQualifierFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShell from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetAdministrationShell deserializeAssetAdministrationShell(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetAdministrationShellFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetInformation from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetInformation deserializeAssetInformation(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetInformationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Resource from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Resource deserializeResource(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryResourceFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetKind from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AssetKind deserializeAssetKind(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAssetKindFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SpecificAssetId from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SpecificAssetId deserializeSpecificAssetId(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySpecificAssetIdFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Submodel from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Submodel deserializeSubmodel(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ISubmodelElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ISubmodelElement deserializeISubmodelElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryISubmodelElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IRelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IRelationshipElement deserializeIRelationshipElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIRelationshipElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static RelationshipElement deserializeRelationshipElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRelationshipElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AasSubmodelElements from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AasSubmodelElements deserializeAasSubmodelElements(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAasSubmodelElementsFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementList from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelElementList deserializeSubmodelElementList(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelElementListFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementCollection from {@code node}. + * + * @param node JSON node to be parsed + */ + public static SubmodelElementCollection deserializeSubmodelElementCollection(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.trySubmodelElementCollectionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDataElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IDataElement deserializeIDataElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIDataElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Property from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Property deserializeProperty(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryPropertyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MultiLanguageProperty from {@code node}. + * + * @param node JSON node to be parsed + */ + public static MultiLanguageProperty deserializeMultiLanguageProperty(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryMultiLanguagePropertyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Range from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Range deserializeRange(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryRangeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ReferenceElement deserializeReferenceElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Blob from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Blob deserializeBlob(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryBlobFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of File from {@code node}. + * + * @param node JSON node to be parsed + */ + public static File deserializeFile(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryFileFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static AnnotatedRelationshipElement deserializeAnnotatedRelationshipElement( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryAnnotatedRelationshipElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Entity from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Entity deserializeEntity(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEntityFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EntityType from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EntityType deserializeEntityType(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEntityTypeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Direction from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Direction deserializeDirection(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDirectionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of StateOfEvent from {@code node}. + * + * @param node JSON node to be parsed + */ + public static StateOfEvent deserializeStateOfEvent(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryStateOfEventFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EventPayload from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EventPayload deserializeEventPayload(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEventPayloadFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IEventElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IEventElement deserializeIEventElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIEventElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BasicEventElement from {@code node}. + * + * @param node JSON node to be parsed + */ + public static BasicEventElement deserializeBasicEventElement(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryBasicEventElementFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Operation from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Operation deserializeOperation(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationVariable from {@code node}. + * + * @param node JSON node to be parsed + */ + public static OperationVariable deserializeOperationVariable(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryOperationVariableFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Capability from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Capability deserializeCapability(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryCapabilityFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ConceptDescription from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ConceptDescription deserializeConceptDescription(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryConceptDescriptionFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceTypes from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ReferenceTypes deserializeReferenceTypes(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceTypesFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Reference from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Reference deserializeReference(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryReferenceFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Key from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Key deserializeKey(JsonNode node) { + final Reporting.Result result = _DeserializeImplementation.tryKeyFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of KeyTypes from {@code node}. + * + * @param node JSON node to be parsed + */ + public static KeyTypes deserializeKeyTypes(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryKeyTypesFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataTypeDefXsd from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DataTypeDefXsd deserializeDataTypeDefXsd(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDataTypeDefXsdFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IAbstractLangString from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IAbstractLangString deserializeIAbstractLangString(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIAbstractLangStringFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringNameType from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringNameType deserializeLangStringNameType(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringNameTypeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringTextType from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringTextType deserializeLangStringTextType(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringTextTypeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Environment from {@code node}. + * + * @param node JSON node to be parsed + */ + public static Environment deserializeEnvironment(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEnvironmentFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDataSpecificationContent from {@code node}. + * + * @param node JSON node to be parsed + */ + public static IDataSpecificationContent deserializeIDataSpecificationContent(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryIDataSpecificationContentFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EmbeddedDataSpecification from {@code node}. + * + * @param node JSON node to be parsed + */ + public static EmbeddedDataSpecification deserializeEmbeddedDataSpecification(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryEmbeddedDataSpecificationFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DataTypeIec61360 deserializeDataTypeIec61360(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDataTypeIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LevelType from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LevelType deserializeLevelType(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLevelTypeFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ValueReferencePair from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ValueReferencePair deserializeValueReferencePair(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryValueReferencePairFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ValueList from {@code node}. + * + * @param node JSON node to be parsed + */ + public static ValueList deserializeValueList(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryValueListFrom(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringPreferredNameTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringPreferredNameTypeIec61360 + deserializeLangStringPreferredNameTypeIec61360(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringPreferredNameTypeIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringShortNameTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringShortNameTypeIec61360 deserializeLangStringShortNameTypeIec61360( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringShortNameTypeIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringDefinitionTypeIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static LangStringDefinitionTypeIec61360 deserializeLangStringDefinitionTypeIec61360( + JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryLangStringDefinitionTypeIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataSpecificationIec61360 from {@code node}. + * + * @param node JSON node to be parsed + */ + public static DataSpecificationIec61360 deserializeDataSpecificationIec61360(JsonNode node) { + final Reporting.Result result = + _DeserializeImplementation.tryDataSpecificationIec61360From(node); + + return result.onError( + error -> { + throw new DeserializeException( + Reporting.generateJsonPath(error.getPathSegments()), error.getCause()); + }); + } + } + + private static class _Transformer extends AbstractTransformer { + /** + * Dispatch the serialization over the run-time type of an instance. + * + *

The transformer carries no state, so a single instance serves the whole program. + */ + private static final _Transformer INSTANCE = new _Transformer(); + + /** + * Serialize {@code that} into a JSON object. + * + *

Which JSON object that is, is decided by the run-time type of {@code that}, so this one + * serializer serves every abstract class, every concrete class with descendants, and the item + * of a list or of a tuple of any class at all. The de-serialization, which has to decide what + * to construct before it has read anything, needs a dispatcher per interface instead. + * + *

It is static, so that a composed serializer -- which is static as well, since it carries + * no state either -- can reach it. + */ + static JsonNode transformClass(IClass that) { + return INSTANCE.transform(that); + } + + /** Convert a single value into a JSON node. */ + @FunctionalInterface + private interface Serializer { + JsonNode serialize(T that); + } + + /** + * Set the property {@code jsonName} of {@code result} to {@code that}, serialized by {@code + * serialize}. + * + *

{@code getterName} names the property on the path of a failure. It is the getter, and not + * the JSON property: a serialization error is reported on an instance, which the + * caller holds, and not on a document which has not been written yet. + */ + private static void setProperty( + ObjectNode result, + String jsonName, + String getterName, + T that, + Serializer serialize) { + try { + result.set(jsonName, serialize.serialize(that)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.NameSegment(getterName)); + throw failure; + } + } + + /** + * Set the property {@code jsonName} of {@code result} if {@code that} has been given, and set + * nothing at all otherwise. + * + *

The {@link Optional} is taken apart here, once, instead of at every optional property: + * asking it and then unwrapping it at the call site would call the getter twice, and every call + * allocates an {@link Optional} of its own. + */ + private static void setOptionalProperty( + ObjectNode result, + String jsonName, + String getterName, + Optional that, + Serializer serialize) { + final T value = that.orElse(null); + if (value != null) { + setProperty(result, jsonName, getterName, value, serialize); + } + } + + /** + * Convert {@code that} boolean to a JSON value. + * + *

This wraps {@link JsonNodeFactory}, which is an object, so that the conversion is a static + * method like every other one here and a reference to it captures nothing. + * + * @param that value to be converted + */ + private static JsonNode boolToJsonNode(Boolean that) { + return JsonNodeFactory.instance.booleanNode(that); + } + + /** + * Convert {@code that} string to a JSON value. + * + *

See the note on {@link #boolToJsonNode} on why this wrapper exists. + * + * @param that value to be converted + */ + private static JsonNode stringToJsonNode(String that) { + return JsonNodeFactory.instance.textNode(that); + } + + /** + * Convert {@code that} byte array to a JSON value. + * + * @param that value to be converted + */ + private static JsonNode bytesToJsonNode(byte[] that) { + return JsonNodeFactory.instance.textNode(Base64.getEncoder().encodeToString(that)); + } + + /** + * Serialize every item of {@code that} into a JSON array. + * + * @param that to be serialized + */ + private static ArrayNode serializeListOf_IClass(List that) { + final ArrayNode result = JsonNodeFactory.instance.arrayNode(); + int i = 0; + for (IClass item : that) { + try { + result.add(transformClass(item)); + } catch (_SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(i)); + throw failure; + } + i++; + } + return result; + } + + @Override + public JsonNode transformExtension(IExtension that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setProperty(result, "name", "getName()", that.getName(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "refersTo", + "getRefersTo()", + that.getRefersTo(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformAdministrativeInformation(IAdministrativeInformation that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "version", "getVersion()", that.getVersion(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "revision", "getRevision()", that.getRevision(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "creator", "getCreator()", that.getCreator(), _Transformer::transformClass); + + setOptionalProperty( + result, + "templateId", + "getTemplateId()", + that.getTemplateId(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformQualifier(IQualifier that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty(result, "kind", "getKind()", that.getKind(), Serialize::toJsonValue); + + setProperty(result, "type", "getType()", that.getType(), _Transformer::stringToJsonNode); + + setProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueId", "getValueId()", that.getValueId(), _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformAssetAdministrationShell(IAssetAdministrationShell that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "derivedFrom", + "getDerivedFrom()", + that.getDerivedFrom(), + _Transformer::transformClass); + + setProperty( + result, + "assetInformation", + "getAssetInformation()", + that.getAssetInformation(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "submodels", + "getSubmodels()", + that.getSubmodels(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "AssetAdministrationShell"); + + return result; + } + + @Override + public JsonNode transformAssetInformation(IAssetInformation that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "assetKind", "getAssetKind()", that.getAssetKind(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "assetType", + "getAssetType()", + that.getAssetType(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "defaultThumbnail", + "getDefaultThumbnail()", + that.getDefaultThumbnail(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformResource(IResource that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "path", "getPath()", that.getPath(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "contentType", + "getContentType()", + that.getContentType(), + _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformSpecificAssetId(ISpecificAssetId that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setProperty(result, "name", "getName()", that.getName(), _Transformer::stringToJsonNode); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "externalSubjectId", + "getExternalSubjectId()", + that.getExternalSubjectId(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformSubmodel(ISubmodel that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty(result, "kind", "getKind()", that.getKind(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "submodelElements", + "getSubmodelElements()", + that.getSubmodelElements(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "Submodel"); + + return result; + } + + @Override + public JsonNode transformRelationshipElement(IRelationshipElement that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "first", "getFirst()", that.getFirst(), _Transformer::transformClass); + + setOptionalProperty( + result, "second", "getSecond()", that.getSecond(), _Transformer::transformClass); + + result.put("modelType", "RelationshipElement"); + + return result; + } + + @Override + public JsonNode transformSubmodelElementList(ISubmodelElementList that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "orderRelevant", + "getOrderRelevant()", + that.getOrderRelevant(), + _Transformer::boolToJsonNode); + + setOptionalProperty( + result, + "semanticIdListElement", + "getSemanticIdListElement()", + that.getSemanticIdListElement(), + _Transformer::transformClass); + + setProperty( + result, + "typeValueListElement", + "getTypeValueListElement()", + that.getTypeValueListElement(), + Serialize::toJsonValue); + + setOptionalProperty( + result, + "valueTypeListElement", + "getValueTypeListElement()", + that.getValueTypeListElement(), + Serialize::toJsonValue); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::serializeListOf_IClass); + + result.put("modelType", "SubmodelElementList"); + + return result; + } + + @Override + public JsonNode transformSubmodelElementCollection(ISubmodelElementCollection that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::serializeListOf_IClass); + + result.put("modelType", "SubmodelElementCollection"); + + return result; + } + + @Override + public JsonNode transformProperty(IProperty that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueId", "getValueId()", that.getValueId(), _Transformer::transformClass); + + result.put("modelType", "Property"); + + return result; + } + + @Override + public JsonNode transformMultiLanguageProperty(IMultiLanguageProperty that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "valueId", "getValueId()", that.getValueId(), _Transformer::transformClass); + + result.put("modelType", "MultiLanguageProperty"); + + return result; + } + + @Override + public JsonNode transformRange(IRange that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "valueType", "getValueType()", that.getValueType(), Serialize::toJsonValue); + + setOptionalProperty(result, "min", "getMin()", that.getMin(), _Transformer::stringToJsonNode); + + setOptionalProperty(result, "max", "getMax()", that.getMax(), _Transformer::stringToJsonNode); + + result.put("modelType", "Range"); + + return result; + } + + @Override + public JsonNode transformReferenceElement(IReferenceElement that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::transformClass); + + result.put("modelType", "ReferenceElement"); + + return result; + } + + @Override + public JsonNode transformBlob(IBlob that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::bytesToJsonNode); + + setOptionalProperty( + result, + "contentType", + "getContentType()", + that.getContentType(), + _Transformer::stringToJsonNode); + + result.put("modelType", "Blob"); + + return result; + } + + @Override + public JsonNode transformFile(IFile that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "contentType", + "getContentType()", + that.getContentType(), + _Transformer::stringToJsonNode); + + result.put("modelType", "File"); + + return result; + } + + @Override + public JsonNode transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "first", "getFirst()", that.getFirst(), _Transformer::transformClass); + + setOptionalProperty( + result, "second", "getSecond()", that.getSecond(), _Transformer::transformClass); + + setOptionalProperty( + result, + "annotations", + "getAnnotations()", + that.getAnnotations(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "AnnotatedRelationshipElement"); + + return result; + } + + @Override + public JsonNode transformEntity(IEntity that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "statements", + "getStatements()", + that.getStatements(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "entityType", "getEntityType()", that.getEntityType(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "Entity"); + + return result; + } + + @Override + public JsonNode transformEventPayload(IEventPayload that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "source", "getSource()", that.getSource(), _Transformer::transformClass); + + setOptionalProperty( + result, + "sourceSemanticId", + "getSourceSemanticId()", + that.getSourceSemanticId(), + _Transformer::transformClass); + + setProperty( + result, + "observableReference", + "getObservableReference()", + that.getObservableReference(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "observableSemanticId", + "getObservableSemanticId()", + that.getObservableSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, "topic", "getTopic()", that.getTopic(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "subjectId", "getSubjectId()", that.getSubjectId(), _Transformer::transformClass); + + setProperty( + result, + "timeStamp", + "getTimeStamp()", + that.getTimeStamp(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "payload", "getPayload()", that.getPayload(), _Transformer::bytesToJsonNode); + + return result; + } + + @Override + public JsonNode transformBasicEventElement(IBasicEventElement that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setProperty( + result, "observed", "getObserved()", that.getObserved(), _Transformer::transformClass); + + setProperty( + result, "direction", "getDirection()", that.getDirection(), Serialize::toJsonValue); + + setProperty(result, "state", "getState()", that.getState(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "messageTopic", + "getMessageTopic()", + that.getMessageTopic(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "messageBroker", + "getMessageBroker()", + that.getMessageBroker(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "lastUpdate", + "getLastUpdate()", + that.getLastUpdate(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "minInterval", + "getMinInterval()", + that.getMinInterval(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "maxInterval", + "getMaxInterval()", + that.getMaxInterval(), + _Transformer::stringToJsonNode); + + result.put("modelType", "BasicEventElement"); + + return result; + } + + @Override + public JsonNode transformOperation(IOperation that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "inputVariables", + "getInputVariables()", + that.getInputVariables(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "outputVariables", + "getOutputVariables()", + that.getOutputVariables(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "inoutputVariables", + "getInoutputVariables()", + that.getInoutputVariables(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "Operation"); + + return result; + } + + @Override + public JsonNode transformOperationVariable(IOperationVariable that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformCapability(ICapability that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "semanticId", + "getSemanticId()", + that.getSemanticId(), + _Transformer::transformClass); + + setOptionalProperty( + result, + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "Capability"); + + return result; + } + + @Override + public JsonNode transformConceptDescription(IConceptDescription that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "extensions", + "getExtensions()", + that.getExtensions(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "category", "getCategory()", that.getCategory(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "idShort", "getIdShort()", that.getIdShort(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "displayName", + "getDisplayName()", + that.getDisplayName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "description", + "getDescription()", + that.getDescription(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "administration", + "getAdministration()", + that.getAdministration(), + _Transformer::transformClass); + + setProperty(result, "id", "getId()", that.getId(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "isCaseOf", + "getIsCaseOf()", + that.getIsCaseOf(), + _Transformer::serializeListOf_IClass); + + result.put("modelType", "ConceptDescription"); + + return result; + } + + @Override + public JsonNode transformReference(IReference that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "type", "getType()", that.getType(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "referredSemanticId", + "getReferredSemanticId()", + that.getReferredSemanticId(), + _Transformer::transformClass); + + setProperty( + result, "keys", "getKeys()", that.getKeys(), _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformKey(IKey that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "type", "getType()", that.getType(), Serialize::toJsonValue); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringNameType(ILangStringNameType that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringTextType(ILangStringTextType that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformEnvironment(IEnvironment that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setOptionalProperty( + result, + "assetAdministrationShells", + "getAssetAdministrationShells()", + that.getAssetAdministrationShells(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "submodels", + "getSubmodels()", + that.getSubmodels(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "conceptDescriptions", + "getConceptDescriptions()", + that.getConceptDescriptions(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "dataSpecification", + "getDataSpecification()", + that.getDataSpecification(), + _Transformer::transformClass); + + setProperty( + result, + "dataSpecificationContent", + "getDataSpecificationContent()", + that.getDataSpecificationContent(), + _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformLevelType(ILevelType that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "min", "getMin()", that.getMin(), _Transformer::boolToJsonNode); + + setProperty(result, "nom", "getNom()", that.getNom(), _Transformer::boolToJsonNode); + + setProperty(result, "typ", "getTyp()", that.getTyp(), _Transformer::boolToJsonNode); + + setProperty(result, "max", "getMax()", that.getMax(), _Transformer::boolToJsonNode); + + return result; + } + + @Override + public JsonNode transformValueReferencePair(IValueReferencePair that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty(result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueId", "getValueId()", that.getValueId(), _Transformer::transformClass); + + return result; + } + + @Override + public JsonNode transformValueList(IValueList that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "valueReferencePairs", + "getValueReferencePairs()", + that.getValueReferencePairs(), + _Transformer::serializeListOf_IClass); + + return result; + } + + @Override + public JsonNode transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, "language", "getLanguage()", that.getLanguage(), _Transformer::stringToJsonNode); + + setProperty(result, "text", "getText()", that.getText(), _Transformer::stringToJsonNode); + + return result; + } + + @Override + public JsonNode transformDataSpecificationIec61360(IDataSpecificationIec61360 that) { + final ObjectNode result = JsonNodeFactory.instance.objectNode(); + + setProperty( + result, + "preferredName", + "getPreferredName()", + that.getPreferredName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "shortName", + "getShortName()", + that.getShortName(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, "unit", "getUnit()", that.getUnit(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "unitId", "getUnitId()", that.getUnitId(), _Transformer::transformClass); + + setOptionalProperty( + result, + "sourceOfDefinition", + "getSourceOfDefinition()", + that.getSourceOfDefinition(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "symbol", "getSymbol()", that.getSymbol(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "dataType", "getDataType()", that.getDataType(), Serialize::toJsonValue); + + setOptionalProperty( + result, + "definition", + "getDefinition()", + that.getDefinition(), + _Transformer::serializeListOf_IClass); + + setOptionalProperty( + result, + "valueFormat", + "getValueFormat()", + that.getValueFormat(), + _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "valueList", "getValueList()", that.getValueList(), _Transformer::transformClass); + + setOptionalProperty( + result, "value", "getValue()", that.getValue(), _Transformer::stringToJsonNode); + + setOptionalProperty( + result, "levelType", "getLevelType()", that.getLevelType(), _Transformer::transformClass); + + result.put("modelType", "DataSpecificationIec61360"); + + return result; + } + } + + /** + * Serialize instances of meta-model classes to JSON elements. + * + *

Here is an example how to serialize an instance of IHasSemantics: + * + *

{@code
+   * IHasSemantics anInstance = new IHasSemantics(
+   *     // ... some constructor arguments ...
+   * );
+   * JsonNode element = Jsonization.Serialize.toJsonObject(
+   *     anInstance));
+   * }
+ */ + public static class Serialize { + /** + * Serialize an instance of the meta-model into a JSON object. + * + * @throws SerializeException if a value within {@code that} instance can not be represented in + * JSON + */ + public static JsonNode toJsonObject(IClass that) { + try { + return _Transformer.transformClass(that); + } catch (_SerializeFailure failure) { + final Reporting.Error error = failure.getError(); + throw new SerializeException( + Reporting.generateJavaPath(error.getPathSegments()), error.getCause()); + } + } + + /** + * Serialize a literal of any enumeration of the meta-model into a JSON string. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static JsonNode toJsonValue(IEnum that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal: " + that); + } + return JsonNodeFactory.instance.textNode(that.literalText()); + } + + /** Serialize a literal of ModellingKind into a JSON string. */ + public static JsonNode modellingKindToJsonValue(ModellingKind that) { + return toJsonValue(that); + } + + /** Serialize a literal of QualifierKind into a JSON string. */ + public static JsonNode qualifierKindToJsonValue(QualifierKind that) { + return toJsonValue(that); + } + + /** Serialize a literal of AssetKind into a JSON string. */ + public static JsonNode assetKindToJsonValue(AssetKind that) { + return toJsonValue(that); + } + + /** Serialize a literal of AasSubmodelElements into a JSON string. */ + public static JsonNode aasSubmodelElementsToJsonValue(AasSubmodelElements that) { + return toJsonValue(that); + } + + /** Serialize a literal of EntityType into a JSON string. */ + public static JsonNode entityTypeToJsonValue(EntityType that) { + return toJsonValue(that); + } + + /** Serialize a literal of Direction into a JSON string. */ + public static JsonNode directionToJsonValue(Direction that) { + return toJsonValue(that); + } + + /** Serialize a literal of StateOfEvent into a JSON string. */ + public static JsonNode stateOfEventToJsonValue(StateOfEvent that) { + return toJsonValue(that); + } + + /** Serialize a literal of ReferenceTypes into a JSON string. */ + public static JsonNode referenceTypesToJsonValue(ReferenceTypes that) { + return toJsonValue(that); + } + + /** Serialize a literal of KeyTypes into a JSON string. */ + public static JsonNode keyTypesToJsonValue(KeyTypes that) { + return toJsonValue(that); + } + + /** Serialize a literal of DataTypeDefXsd into a JSON string. */ + public static JsonNode dataTypeDefXsdToJsonValue(DataTypeDefXsd that) { + return toJsonValue(that); + } + + /** Serialize a literal of DataTypeIec61360 into a JSON string. */ + public static JsonNode dataTypeIec61360ToJsonValue(DataTypeIec61360 that) { + return toJsonValue(that); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/reporting/Reporting.java b/src/main/java/aas_core/aas3_1/reporting/Reporting.java new file mode 100644 index 00000000..8fb5fd4a --- /dev/null +++ b/src/main/java/aas_core/aas3_1/reporting/Reporting.java @@ -0,0 +1,335 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.reporting; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Deque; +import java.util.LinkedList; +import java.util.List; +import java.util.Objects; +import java.util.function.Function; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +/** Provide reporting for de/serialization and verification. */ +public class Reporting { + /** Capture a path segment of a value in a model. */ + public abstract static class Segment { + // Intentionally empty. + } + + public static class NameSegment extends Segment { + private final String name; + + public NameSegment(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + public String getName() { + return name; + } + } + + public static class IndexSegment extends Segment { + private final Integer index; + + public IndexSegment(int index) { + this.index = index; + } + + public Integer getIndex() { + return index; + } + } + + /** + * Capture a member of an open JSON-able object on a path to the erroneous value. + * + *

Unlike a {@link NameSegment}, which names a property of one of our classes, a key is known + * only at run time, and can be any string at all. + */ + public static class KeySegment extends Segment { + private final String key; + + public KeySegment(String key) { + this.key = Objects.requireNonNull(key, "Argument \"key\" must be non-null."); + } + + public String getKey() { + return key; + } + } + + private static final Pattern variableNameRe = Pattern.compile("^[a-zA-Z_][a-zA-Z_0-9]*$"); + + /** + * Generate a JSON Path based on the path segments. + * + *

See, for example, this page for more information on JSON path: https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html + */ + public static String generateJsonPath(Collection segments) { + ArrayList parts = new ArrayList<>(segments.size()); + int i = 0; + + for (Segment segment : segments) { + String part; + + if (segment instanceof NameSegment) { + NameSegment nameSegment = (NameSegment) segment; + Matcher m = variableNameRe.matcher(nameSegment.getName()); + + if (m.matches()) { + part = (i == 0) ? nameSegment.getName() : "." + nameSegment.getName(); + } else { + part = "[\"" + escapeForJsonString(nameSegment.getName()) + "\"]"; + } + } else if (segment instanceof IndexSegment) { + IndexSegment indexSegment = (IndexSegment) segment; + part = "[" + indexSegment.getIndex() + "]"; + } else if (segment instanceof KeySegment) { + // A key is no name of a property of one of our classes, so it is + // always bracketed, whatever it looks like. + KeySegment keySegment = (KeySegment) segment; + part = "[\"" + escapeForJsonString(keySegment.getKey()) + "\"]"; + } else { + throw new RuntimeException( + "Unexpected segment type: " + segment.getClass().getSimpleName()); + } + + parts.add(part); + i++; + } + return String.join("", parts); + } + + /** + * Escape the characters which a JSON string may not hold as they are. + * + *

The control characters without a short escape are written as Unicode escapes, as {@code + * JSON.stringify} does. + */ + private static String escapeForJsonString(String text) { + StringBuilder builder = new StringBuilder(text.length()); + for (int i = 0; i < text.length(); i++) { + char character = text.charAt(i); + switch (character) { + case '\\': + builder.append("\\\\"); + break; + case '"': + builder.append("\\\""); + break; + case '\b': + builder.append("\\b"); + break; + case '\f': + builder.append("\\f"); + break; + case '\n': + builder.append("\\n"); + break; + case '\r': + builder.append("\\r"); + break; + case '\t': + builder.append("\\t"); + break; + default: + if (character < 0x20) { + builder.append(String.format("\\u%04x", (int) character)); + } else { + builder.append(character); + } + break; + } + } + return builder.toString(); + } + + /** Escape special characters for XPath. */ + private static String escapeForXPath(String text) { + return text.replace("&", "&") + .replace("/", "/") + .replace("<", "<") + .replace(">", ">") + .replace("\"", """) + .replace("'", "'"); + } + + /** + * Generate a relative XPath based on the path segments. + * + *

This method leaves out the leading slash ('/'). This is helpful if to embed the error report + * in a larger document with a prefix etc. + */ + public static String generateRelativeXPath(Collection segments) { + final List parts = new ArrayList<>(); + segments.forEach( + segment -> { + String part; + if (segment instanceof NameSegment) { + final NameSegment nameSegment = ((NameSegment) segment); + final String name = nameSegment.getName(); + part = escapeForXPath(name); + } else if (segment instanceof IndexSegment) { + final IndexSegment indexSegment = ((IndexSegment) segment); + // NOTE (mristin): + // XPath counts the elements starting at one, while our indices start at zero. + final int index = indexSegment.getIndex(); + part = "*[" + (index + 1) + "]"; + } else if (segment instanceof KeySegment) { + // A JSON-able object is written as an XML-RPC , which holds + // the key of a member in a child element, and not in + // an attribute, so the XPath has to match on that child element. + final KeySegment keySegment = ((KeySegment) segment); + part = "member[name=\"" + escapeForXPath(keySegment.getKey()) + "\"]"; + } else { + throw new IllegalArgumentException( + "Unexpected segment type: " + segment.getClass().getSimpleName()); + } + parts.add(part); + }); + return String.join("/", parts); + } + + /** + * Generate a Java access path based on the path segments. + * + *

The name segments are expected to be the getters of the properties in Java, parentheses + * included. This is the path to report where in an instance something went wrong -- on + * the serialization, say, where the caller holds the instance, and not a document which has not + * been written yet. + * + *

Unlike the JSON path and the XPath, this one is a Java expression on that instance which the + * caller can paste, as a list and a JSON-able value happen to agree on {@code get}: an item of a + * list, an item of a JSON-able array and a member of a JSON-able object are all reached with it, + * e.g., {@code getSubmodelElements().get(0).getValue().get("some key")}. + */ + public static String generateJavaPath(Collection segments) { + final List parts = new ArrayList<>(segments.size()); + int i = 0; + + for (Segment segment : segments) { + final String part; + + if (segment instanceof NameSegment) { + final NameSegment nameSegment = ((NameSegment) segment); + part = (i == 0) ? nameSegment.getName() : "." + nameSegment.getName(); + } else if (segment instanceof IndexSegment) { + final IndexSegment indexSegment = ((IndexSegment) segment); + part = ".get(" + indexSegment.getIndex() + ")"; + } else if (segment instanceof KeySegment) { + final KeySegment keySegment = ((KeySegment) segment); + part = ".get(\"" + escapeForJsonString(keySegment.getKey()) + "\")"; + } else { + throw new IllegalArgumentException( + "Unexpected segment type: " + segment.getClass().getSimpleName()); + } + + parts.add(part); + i++; + } + return String.join("", parts); + } + + /** Represent an error during the deserialization or the verification. */ + public static class Error { + private final Deque pathSegments = new LinkedList<>(); + private final String cause; + + public Error(String cause) { + this.cause = cause; + } + + public void prependSegment(Segment segment) { + pathSegments.addFirst(segment); + } + + public String getCause() { + return cause; + } + + public Collection getPathSegments() { + return pathSegments; + } + } + + /** + * Represent the outcome of a de/serialization or a verification step. + * + *

This is shared by JSON de/serialization, XML de/serialization and verification, all of which + * propagate an {@link Error} instead of relying on exceptions for the common (successful) case. + */ + public static class Result { + private final T result; + private final Error error; + private final boolean success; + + private Result(T result, Error error, boolean success) { + this.result = result; + this.error = error; + this.success = success; + } + + public static Result success(T result) { + if (result == null) throw new IllegalArgumentException("Result must not be null."); + return new Result<>(result, null, true); + } + + public static Result failure(Error error) { + if (error == null) throw new IllegalArgumentException("Error must not be null."); + return new Result<>(null, error, false); + } + + @SuppressWarnings("unchecked") + public Result castTo(Class type) { + if (isError() || type.isInstance(result)) return (Result) this; + throw new IllegalStateException( + "Result of type " + + result.getClass().getName() + + " is not an instance of " + + type.getName()); + } + + public T getResult() { + if (!isSuccess()) throw new IllegalStateException("Result is not present."); + return result; + } + + public boolean isSuccess() { + return success; + } + + public boolean isError() { + return !success; + } + + public Error getError() { + if (isSuccess()) throw new IllegalStateException("Result is present."); + return error; + } + + public R map(Function successFunction, Function errorFunction) { + return isSuccess() ? successFunction.apply(result) : errorFunction.apply(error); + } + + public T onError(Function errorFunction) { + return map(Function.identity(), errorFunction); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/stringification/Stringification.java b/src/main/java/aas_core/aas3_1/stringification/Stringification.java new file mode 100644 index 00000000..4dd73287 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/stringification/Stringification.java @@ -0,0 +1,670 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.stringification; + +import aas_core.aas3_1.types.enums.*; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; +import java.util.Optional; + +public class Stringification { + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(ModellingKind that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(ModellingKind that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of ModellingKind: " + that); + } + return that.literalText(); + } + + private static final Map modellingKindFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("Template", ModellingKind.TEMPLATE); + temp.put("Instance", ModellingKind.INSTANCE); + + if (!temp.values().containsAll(Arrays.asList(ModellingKind.values()))) { + throw new IllegalStateException("Unmapped ModellingKind"); + } + + modellingKindFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link ModellingKind}. + * + *

If {@code text} is not a valid string representation of a literal of {@link ModellingKind}, + * return {@code Optional#empty()}. + */ + public static Optional modellingKindFromString(String text) { + ModellingKind value = modellingKindFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(QualifierKind that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(QualifierKind that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of QualifierKind: " + that); + } + return that.literalText(); + } + + private static final Map qualifierKindFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("ValueQualifier", QualifierKind.VALUE_QUALIFIER); + temp.put("ConceptQualifier", QualifierKind.CONCEPT_QUALIFIER); + temp.put("TemplateQualifier", QualifierKind.TEMPLATE_QUALIFIER); + + if (!temp.values().containsAll(Arrays.asList(QualifierKind.values()))) { + throw new IllegalStateException("Unmapped QualifierKind"); + } + + qualifierKindFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link QualifierKind}. + * + *

If {@code text} is not a valid string representation of a literal of {@link QualifierKind}, + * return {@code Optional#empty()}. + */ + public static Optional qualifierKindFromString(String text) { + QualifierKind value = qualifierKindFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(AssetKind that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(AssetKind that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of AssetKind: " + that); + } + return that.literalText(); + } + + private static final Map assetKindFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("Type", AssetKind.TYPE); + temp.put("Instance", AssetKind.INSTANCE); + temp.put("Role", AssetKind.ROLE); + temp.put("NotApplicable", AssetKind.NOT_APPLICABLE); + + if (!temp.values().containsAll(Arrays.asList(AssetKind.values()))) { + throw new IllegalStateException("Unmapped AssetKind"); + } + + assetKindFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link AssetKind}. + * + *

If {@code text} is not a valid string representation of a literal of {@link AssetKind}, + * return {@code Optional#empty()}. + */ + public static Optional assetKindFromString(String text) { + AssetKind value = assetKindFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(AasSubmodelElements that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(AasSubmodelElements that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of AasSubmodelElements: " + that); + } + return that.literalText(); + } + + private static final Map aasSubmodelElementsFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("AnnotatedRelationshipElement", AasSubmodelElements.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.put("BasicEventElement", AasSubmodelElements.BASIC_EVENT_ELEMENT); + temp.put("Blob", AasSubmodelElements.BLOB); + temp.put("Capability", AasSubmodelElements.CAPABILITY); + temp.put("DataElement", AasSubmodelElements.DATA_ELEMENT); + temp.put("Entity", AasSubmodelElements.ENTITY); + temp.put("EventElement", AasSubmodelElements.EVENT_ELEMENT); + temp.put("File", AasSubmodelElements.FILE); + temp.put("MultiLanguageProperty", AasSubmodelElements.MULTI_LANGUAGE_PROPERTY); + temp.put("Operation", AasSubmodelElements.OPERATION); + temp.put("Property", AasSubmodelElements.PROPERTY); + temp.put("Range", AasSubmodelElements.RANGE); + temp.put("ReferenceElement", AasSubmodelElements.REFERENCE_ELEMENT); + temp.put("RelationshipElement", AasSubmodelElements.RELATIONSHIP_ELEMENT); + temp.put("SubmodelElement", AasSubmodelElements.SUBMODEL_ELEMENT); + temp.put("SubmodelElementList", AasSubmodelElements.SUBMODEL_ELEMENT_LIST); + temp.put("SubmodelElementCollection", AasSubmodelElements.SUBMODEL_ELEMENT_COLLECTION); + + if (!temp.values().containsAll(Arrays.asList(AasSubmodelElements.values()))) { + throw new IllegalStateException("Unmapped AasSubmodelElements"); + } + + aasSubmodelElementsFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link AasSubmodelElements}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * AasSubmodelElements}, return {@code Optional#empty()}. + */ + public static Optional aasSubmodelElementsFromString(String text) { + AasSubmodelElements value = aasSubmodelElementsFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(EntityType that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(EntityType that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of EntityType: " + that); + } + return that.literalText(); + } + + private static final Map entityTypeFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("CoManagedEntity", EntityType.CO_MANAGED_ENTITY); + temp.put("SelfManagedEntity", EntityType.SELF_MANAGED_ENTITY); + + if (!temp.values().containsAll(Arrays.asList(EntityType.values()))) { + throw new IllegalStateException("Unmapped EntityType"); + } + + entityTypeFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link EntityType}. + * + *

If {@code text} is not a valid string representation of a literal of {@link EntityType}, + * return {@code Optional#empty()}. + */ + public static Optional entityTypeFromString(String text) { + EntityType value = entityTypeFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(Direction that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(Direction that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of Direction: " + that); + } + return that.literalText(); + } + + private static final Map directionFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("input", Direction.INPUT); + temp.put("output", Direction.OUTPUT); + + if (!temp.values().containsAll(Arrays.asList(Direction.values()))) { + throw new IllegalStateException("Unmapped Direction"); + } + + directionFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link Direction}. + * + *

If {@code text} is not a valid string representation of a literal of {@link Direction}, + * return {@code Optional#empty()}. + */ + public static Optional directionFromString(String text) { + Direction value = directionFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(StateOfEvent that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(StateOfEvent that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of StateOfEvent: " + that); + } + return that.literalText(); + } + + private static final Map stateOfEventFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("on", StateOfEvent.ON); + temp.put("off", StateOfEvent.OFF); + + if (!temp.values().containsAll(Arrays.asList(StateOfEvent.values()))) { + throw new IllegalStateException("Unmapped StateOfEvent"); + } + + stateOfEventFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link StateOfEvent}. + * + *

If {@code text} is not a valid string representation of a literal of {@link StateOfEvent}, + * return {@code Optional#empty()}. + */ + public static Optional stateOfEventFromString(String text) { + StateOfEvent value = stateOfEventFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(ReferenceTypes that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(ReferenceTypes that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of ReferenceTypes: " + that); + } + return that.literalText(); + } + + private static final Map referenceTypesFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("ExternalReference", ReferenceTypes.EXTERNAL_REFERENCE); + temp.put("ModelReference", ReferenceTypes.MODEL_REFERENCE); + + if (!temp.values().containsAll(Arrays.asList(ReferenceTypes.values()))) { + throw new IllegalStateException("Unmapped ReferenceTypes"); + } + + referenceTypesFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link ReferenceTypes}. + * + *

If {@code text} is not a valid string representation of a literal of {@link ReferenceTypes}, + * return {@code Optional#empty()}. + */ + public static Optional referenceTypesFromString(String text) { + ReferenceTypes value = referenceTypesFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(KeyTypes that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(KeyTypes that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of KeyTypes: " + that); + } + return that.literalText(); + } + + private static final Map keyTypesFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("AnnotatedRelationshipElement", KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.put("AssetAdministrationShell", KeyTypes.ASSET_ADMINISTRATION_SHELL); + temp.put("BasicEventElement", KeyTypes.BASIC_EVENT_ELEMENT); + temp.put("Blob", KeyTypes.BLOB); + temp.put("Capability", KeyTypes.CAPABILITY); + temp.put("ConceptDescription", KeyTypes.CONCEPT_DESCRIPTION); + temp.put("DataElement", KeyTypes.DATA_ELEMENT); + temp.put("Entity", KeyTypes.ENTITY); + temp.put("EventElement", KeyTypes.EVENT_ELEMENT); + temp.put("File", KeyTypes.FILE); + temp.put("FragmentReference", KeyTypes.FRAGMENT_REFERENCE); + temp.put("GlobalReference", KeyTypes.GLOBAL_REFERENCE); + temp.put("Identifiable", KeyTypes.IDENTIFIABLE); + temp.put("MultiLanguageProperty", KeyTypes.MULTI_LANGUAGE_PROPERTY); + temp.put("Operation", KeyTypes.OPERATION); + temp.put("Property", KeyTypes.PROPERTY); + temp.put("Range", KeyTypes.RANGE); + temp.put("Referable", KeyTypes.REFERABLE); + temp.put("ReferenceElement", KeyTypes.REFERENCE_ELEMENT); + temp.put("RelationshipElement", KeyTypes.RELATIONSHIP_ELEMENT); + temp.put("Submodel", KeyTypes.SUBMODEL); + temp.put("SubmodelElement", KeyTypes.SUBMODEL_ELEMENT); + temp.put("SubmodelElementCollection", KeyTypes.SUBMODEL_ELEMENT_COLLECTION); + temp.put("SubmodelElementList", KeyTypes.SUBMODEL_ELEMENT_LIST); + + if (!temp.values().containsAll(Arrays.asList(KeyTypes.values()))) { + throw new IllegalStateException("Unmapped KeyTypes"); + } + + keyTypesFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link KeyTypes}. + * + *

If {@code text} is not a valid string representation of a literal of {@link KeyTypes}, + * return {@code Optional#empty()}. + */ + public static Optional keyTypesFromString(String text) { + KeyTypes value = keyTypesFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(DataTypeDefXsd that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(DataTypeDefXsd that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of DataTypeDefXsd: " + that); + } + return that.literalText(); + } + + private static final Map dataTypeDefXsdFromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("xs:anyURI", DataTypeDefXsd.ANY_URI); + temp.put("xs:base64Binary", DataTypeDefXsd.BASE_64_BINARY); + temp.put("xs:boolean", DataTypeDefXsd.BOOLEAN); + temp.put("xs:byte", DataTypeDefXsd.BYTE); + temp.put("xs:date", DataTypeDefXsd.DATE); + temp.put("xs:dateTime", DataTypeDefXsd.DATE_TIME); + temp.put("xs:decimal", DataTypeDefXsd.DECIMAL); + temp.put("xs:double", DataTypeDefXsd.DOUBLE); + temp.put("xs:duration", DataTypeDefXsd.DURATION); + temp.put("xs:float", DataTypeDefXsd.FLOAT); + temp.put("xs:gDay", DataTypeDefXsd.G_DAY); + temp.put("xs:gMonth", DataTypeDefXsd.G_MONTH); + temp.put("xs:gMonthDay", DataTypeDefXsd.G_MONTH_DAY); + temp.put("xs:gYear", DataTypeDefXsd.G_YEAR); + temp.put("xs:gYearMonth", DataTypeDefXsd.G_YEAR_MONTH); + temp.put("xs:hexBinary", DataTypeDefXsd.HEX_BINARY); + temp.put("xs:int", DataTypeDefXsd.INT); + temp.put("xs:integer", DataTypeDefXsd.INTEGER); + temp.put("xs:long", DataTypeDefXsd.LONG); + temp.put("xs:negativeInteger", DataTypeDefXsd.NEGATIVE_INTEGER); + temp.put("xs:nonNegativeInteger", DataTypeDefXsd.NON_NEGATIVE_INTEGER); + temp.put("xs:nonPositiveInteger", DataTypeDefXsd.NON_POSITIVE_INTEGER); + temp.put("xs:positiveInteger", DataTypeDefXsd.POSITIVE_INTEGER); + temp.put("xs:short", DataTypeDefXsd.SHORT); + temp.put("xs:string", DataTypeDefXsd.STRING); + temp.put("xs:time", DataTypeDefXsd.TIME); + temp.put("xs:unsignedByte", DataTypeDefXsd.UNSIGNED_BYTE); + temp.put("xs:unsignedInt", DataTypeDefXsd.UNSIGNED_INT); + temp.put("xs:unsignedLong", DataTypeDefXsd.UNSIGNED_LONG); + temp.put("xs:unsignedShort", DataTypeDefXsd.UNSIGNED_SHORT); + + if (!temp.values().containsAll(Arrays.asList(DataTypeDefXsd.values()))) { + throw new IllegalStateException("Unmapped DataTypeDefXsd"); + } + + dataTypeDefXsdFromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link DataTypeDefXsd}. + * + *

If {@code text} is not a valid string representation of a literal of {@link DataTypeDefXsd}, + * return {@code Optional#empty()}. + */ + public static Optional dataTypeDefXsdFromString(String text) { + DataTypeDefXsd value = dataTypeDefXsdFromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } + + /** + * Retrieve the string representation of {@code that}. + * + *

If {@code that} is not a valid literal, return {@code Optional#empty()}. + */ + public static Optional toString(DataTypeIec61360 that) { + return (that == null) ? Optional.empty() : Optional.of(that.literalText()); + } + + /** + * Retrieve the string representation of {@code that}. + * + * @throws IllegalArgumentException if {@code that} is not a valid literal + */ + public static String mustToString(DataTypeIec61360 that) { + if (that == null) { + throw new IllegalArgumentException("Invalid literal of DataTypeIec61360: " + that); + } + return that.literalText(); + } + + private static final Map dataTypeIec61360FromString; + + static { + final Map temp = new HashMap<>(); + + temp.put("DATE", DataTypeIec61360.DATE); + temp.put("STRING", DataTypeIec61360.STRING); + temp.put("STRING_TRANSLATABLE", DataTypeIec61360.STRING_TRANSLATABLE); + temp.put("INTEGER_MEASURE", DataTypeIec61360.INTEGER_MEASURE); + temp.put("INTEGER_COUNT", DataTypeIec61360.INTEGER_COUNT); + temp.put("INTEGER_CURRENCY", DataTypeIec61360.INTEGER_CURRENCY); + temp.put("REAL_MEASURE", DataTypeIec61360.REAL_MEASURE); + temp.put("REAL_COUNT", DataTypeIec61360.REAL_COUNT); + temp.put("REAL_CURRENCY", DataTypeIec61360.REAL_CURRENCY); + temp.put("BOOLEAN", DataTypeIec61360.BOOLEAN); + temp.put("IRI", DataTypeIec61360.IRI); + temp.put("IRDI", DataTypeIec61360.IRDI); + temp.put("RATIONAL", DataTypeIec61360.RATIONAL); + temp.put("RATIONAL_MEASURE", DataTypeIec61360.RATIONAL_MEASURE); + temp.put("TIME", DataTypeIec61360.TIME); + temp.put("TIMESTAMP", DataTypeIec61360.TIMESTAMP); + temp.put("FILE", DataTypeIec61360.FILE); + temp.put("HTML", DataTypeIec61360.HTML); + temp.put("BLOB", DataTypeIec61360.BLOB); + + if (!temp.values().containsAll(Arrays.asList(DataTypeIec61360.values()))) { + throw new IllegalStateException("Unmapped DataTypeIec61360"); + } + + dataTypeIec61360FromString = Collections.unmodifiableMap(temp); + } + + /** + * Parse the string representation of {@link DataTypeIec61360}. + * + *

If {@code text} is not a valid string representation of a literal of {@link + * DataTypeIec61360}, return {@code Optional#empty()}. + */ + public static Optional dataTypeIec61360FromString(String text) { + DataTypeIec61360 value = dataTypeIec61360FromString.get(text); + if (value == null) { + return Optional.empty(); + } else { + return Optional.of(value); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/AasSubmodelElements.java b/src/main/java/aas_core/aas3_1/types/enums/AasSubmodelElements.java new file mode 100644 index 00000000..78762157 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/AasSubmodelElements.java @@ -0,0 +1,49 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** + * Enumeration of all possible elements of a {@link aas_core.aas3_1.types.impl.SubmodelElementList}. + */ +public enum AasSubmodelElements implements IEnum { + ANNOTATED_RELATIONSHIP_ELEMENT("AnnotatedRelationshipElement"), + BASIC_EVENT_ELEMENT("BasicEventElement"), + BLOB("Blob"), + CAPABILITY("Capability"), + DATA_ELEMENT("DataElement"), + ENTITY("Entity"), + EVENT_ELEMENT("EventElement"), + FILE("File"), + MULTI_LANGUAGE_PROPERTY("MultiLanguageProperty"), + OPERATION("Operation"), + PROPERTY("Property"), + RANGE("Range"), + REFERENCE_ELEMENT("ReferenceElement"), + RELATIONSHIP_ELEMENT("RelationshipElement"), + SUBMODEL_ELEMENT("SubmodelElement"), + SUBMODEL_ELEMENT_LIST("SubmodelElementList"), + SUBMODEL_ELEMENT_COLLECTION("SubmodelElementCollection"); + + private final String literalText; + + AasSubmodelElements(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/AssetKind.java b/src/main/java/aas_core/aas3_1/types/enums/AssetKind.java new file mode 100644 index 00000000..78978848 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/AssetKind.java @@ -0,0 +1,41 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** + * Enumeration for denoting whether an asset is a type asset or an instance asset or is a role or + * whether this kind of classification is not applicable. + */ +public enum AssetKind implements IEnum { + /** Type asset */ + TYPE("Type"), + /** Instance asset */ + INSTANCE("Instance"), + /** Role asset */ + ROLE("Role"), + /** Neither a type asset nor an instance asset nor a role asset */ + NOT_APPLICABLE("NotApplicable"); + + private final String literalText; + + AssetKind(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/DataTypeDefXsd.java b/src/main/java/aas_core/aas3_1/types/enums/DataTypeDefXsd.java new file mode 100644 index 00000000..89503b45 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/DataTypeDefXsd.java @@ -0,0 +1,60 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** Enumeration listing all XSD anySimpleTypes */ +public enum DataTypeDefXsd implements IEnum { + ANY_URI("xs:anyURI"), + BASE_64_BINARY("xs:base64Binary"), + BOOLEAN("xs:boolean"), + BYTE("xs:byte"), + DATE("xs:date"), + DATE_TIME("xs:dateTime"), + DECIMAL("xs:decimal"), + DOUBLE("xs:double"), + DURATION("xs:duration"), + FLOAT("xs:float"), + G_DAY("xs:gDay"), + G_MONTH("xs:gMonth"), + G_MONTH_DAY("xs:gMonthDay"), + G_YEAR("xs:gYear"), + G_YEAR_MONTH("xs:gYearMonth"), + HEX_BINARY("xs:hexBinary"), + INT("xs:int"), + INTEGER("xs:integer"), + LONG("xs:long"), + NEGATIVE_INTEGER("xs:negativeInteger"), + NON_NEGATIVE_INTEGER("xs:nonNegativeInteger"), + NON_POSITIVE_INTEGER("xs:nonPositiveInteger"), + POSITIVE_INTEGER("xs:positiveInteger"), + SHORT("xs:short"), + STRING("xs:string"), + TIME("xs:time"), + UNSIGNED_BYTE("xs:unsignedByte"), + UNSIGNED_INT("xs:unsignedInt"), + UNSIGNED_LONG("xs:unsignedLong"), + UNSIGNED_SHORT("xs:unsignedShort"); + + private final String literalText; + + DataTypeDefXsd(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/DataTypeIec61360.java b/src/main/java/aas_core/aas3_1/types/enums/DataTypeIec61360.java new file mode 100644 index 00000000..68a3e3d7 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/DataTypeIec61360.java @@ -0,0 +1,128 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +public enum DataTypeIec61360 implements IEnum { + /** + * values containing a calendar date, conformant to ISO 8601:2004 Format yyyy-mm-dd Example from + * IEC 61360-1:2017: "1999-05-31" is the [DATE] representation of: "31 May 1999". + */ + DATE("DATE"), + /** values consisting of sequence of characters but cannot be translated into other languages */ + STRING("STRING"), + /** + * values containing string but shall be represented as different string in different languages + */ + STRING_TRANSLATABLE("STRING_TRANSLATABLE"), + /** + * values containing values that are measure of type INTEGER. In addition such a value comes with + * a physical unit. + */ + INTEGER_MEASURE("INTEGER_MEASURE"), + /** values containing values of type INTEGER but are no currencies or measures */ + INTEGER_COUNT("INTEGER_COUNT"), + /** values containing values of type INTEGER that are currencies */ + INTEGER_CURRENCY("INTEGER_CURRENCY"), + /** + * values containing values that are measures of type REAL. In addition such a value comes with a + * physical unit. + */ + REAL_MEASURE("REAL_MEASURE"), + /** + * values containing numbers that can be written as a terminating or non-terminating decimal; a + * rational or irrational number but are no currencies or measures + */ + REAL_COUNT("REAL_COUNT"), + /** values containing values of type REAL that are currencies */ + REAL_CURRENCY("REAL_CURRENCY"), + /** values representing truth of logic or Boolean algebra (TRUE, FALSE) */ + BOOLEAN("BOOLEAN"), + /** + * values containing values of type STRING conformant to Rfc 3987 + * + *

In IEC61360-1 (2017) only URI is supported. An IRI type allows in particular to express an + * URL or an URI. + */ + IRI("IRI"), + /** + * values conforming to ISO/IEC 11179 series global identifier sequences + * + *

IRDI can be used instead of the more specific data types ICID or ISO29002_IRDI. + * + *

ICID values are value conformant to an IRDI, where the delimiter between RAI and ID is “#” + * while the delimiter between DI and VI is confined to “##” + * + *

ISO29002_IRDI values are values containing a global identifier that identifies an + * administrated item in a registry. The structure of this identifier complies with identifier + * syntax defined in ISO/TS 29002-5. The identifier shall fulfil the requirements specified in + * ISO/TS 29002-5 for an "international registration data identifier" (IRDI). + */ + IRDI("IRDI"), + /** values containing values of type rational */ + RATIONAL("RATIONAL"), + /** + * values containing values of type rational. In addition such a value comes with a physical unit. + */ + RATIONAL_MEASURE("RATIONAL_MEASURE"), + /** + * values containing a time, conformant to ISO 8601:2004 but restricted to what is allowed in the + * corresponding type in xml. + * + *

Format hh:mm (ECLASS) + * + *

Example from IEC 61360-1:2017: "13:20:00-05:00" is the [TIME] representation of: 1.20 p.m. + * for Eastern Standard Time, which is 5 hours behind Coordinated Universal Time (UTC). + */ + TIME("TIME"), + /** + * values containing a time, conformant to ISO 8601:2004 but restricted to what is allowed in the + * corresponding type in xml. + * + *

Format yyyy-mm-dd hh:mm (ECLASS) + */ + TIMESTAMP("TIMESTAMP"), + /** + * values containing an address to a file. The values are of type URI and can represent an + * absolute or relative path. + * + *

IEC61360 does not support the file type. + */ + FILE("FILE"), + /** + * Values containing string with any sequence of characters, using the syntax of HTML5 (see W3C + * Recommendation 28:2014) + */ + HTML("HTML"), + /** + * values containing the content of a file. Values may be binaries. + * + *

HTML conformant to HTML5 is a special blob. + * + *

In IEC61360 binary is for a sequence of bits, each bit being represented by “0” and “1” + * only. A binary is a blob but a blob may also contain other source code. + */ + BLOB("BLOB"); + + private final String literalText; + + DataTypeIec61360(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/Direction.java b/src/main/java/aas_core/aas3_1/types/enums/Direction.java new file mode 100644 index 00000000..599b737f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/Direction.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** + * Direction + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public enum Direction implements IEnum { + /** Input direction. */ + INPUT("input"), + /** Output direction */ + OUTPUT("output"); + + private final String literalText; + + Direction(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/EntityType.java b/src/main/java/aas_core/aas3_1/types/enums/EntityType.java new file mode 100644 index 00000000..669ccef2 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/EntityType.java @@ -0,0 +1,42 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** Enumeration for denoting whether an entity is a self-managed entity or a co-managed entity. */ +public enum EntityType implements IEnum { + /** + * For co-managed entities there is no separate AAS. Co-managed entities need to be part of a + * self-managed entity. + */ + CO_MANAGED_ENTITY("CoManagedEntity"), + /** + * Self-Managed Entities have their own AAS but can be part of the bill of material of a composite + * self-managed entity. + * + *

The asset of an I4.0 Component is a self-managed entity per definition. + */ + SELF_MANAGED_ENTITY("SelfManagedEntity"); + + private final String literalText; + + EntityType(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/IEnum.java b/src/main/java/aas_core/aas3_1/types/enums/IEnum.java new file mode 100644 index 00000000..969c4b6b --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/IEnum.java @@ -0,0 +1,26 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** Represent a literal of an enumeration of the meta-model. */ +public interface IEnum { + /** + * Get the string representation of this literal. + * + *

This is the text the literal is de/serialized as, which is in general not its {@link + * Enum#name()}. + */ + String literalText(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/KeyTypes.java b/src/main/java/aas_core/aas3_1/types/enums/KeyTypes.java new file mode 100644 index 00000000..6911b2c2 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/KeyTypes.java @@ -0,0 +1,85 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** Enumeration of different key value types within a key. */ +public enum KeyTypes implements IEnum { + ANNOTATED_RELATIONSHIP_ELEMENT("AnnotatedRelationshipElement"), + ASSET_ADMINISTRATION_SHELL("AssetAdministrationShell"), + BASIC_EVENT_ELEMENT("BasicEventElement"), + BLOB("Blob"), + CAPABILITY("Capability"), + CONCEPT_DESCRIPTION("ConceptDescription"), + /** + * Data element. + * + *

Data Element is abstract, i.e. if a key uses {@link #DATA_ELEMENT} the reference + * may be a Property, a File etc. + */ + DATA_ELEMENT("DataElement"), + ENTITY("Entity"), + /** + * Event. + * + *

{@link aas_core.aas3_1.types.model.IEventElement} is abstract. + */ + EVENT_ELEMENT("EventElement"), + FILE("File"), + /** Bookmark or a similar local identifier of a subordinate part of a primary resource */ + FRAGMENT_REFERENCE("FragmentReference"), + GLOBAL_REFERENCE("GlobalReference"), + /** + * Identifiable. + * + *

Identifiable is abstract, i.e. if a key uses “Identifiable” the reference may be an Asset + * Administration Shell, a Submodel or a Concept Description. + */ + IDENTIFIABLE("Identifiable"), + /** Property with a value that can be provided in multiple languages */ + MULTI_LANGUAGE_PROPERTY("MultiLanguageProperty"), + OPERATION("Operation"), + PROPERTY("Property"), + /** Range with min and max */ + RANGE("Range"), + REFERABLE("Referable"), + /** Reference */ + REFERENCE_ELEMENT("ReferenceElement"), + /** Relationship */ + RELATIONSHIP_ELEMENT("RelationshipElement"), + SUBMODEL("Submodel"), + /** + * Submodel Element + * + *

Submodel Element is abstract, i.e. if a key uses {@link #SUBMODEL_ELEMENT} the + * reference may be a {@link aas_core.aas3_1.types.impl.Property}, an {@link + * aas_core.aas3_1.types.impl.Operation} etc. + */ + SUBMODEL_ELEMENT("SubmodelElement"), + /** Struct of Submodel Elements */ + SUBMODEL_ELEMENT_COLLECTION("SubmodelElementCollection"), + /** List of Submodel Elements */ + SUBMODEL_ELEMENT_LIST("SubmodelElementList"); + + private final String literalText; + + KeyTypes(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/ModellingKind.java b/src/main/java/aas_core/aas3_1/types/enums/ModellingKind.java new file mode 100644 index 00000000..39559cb7 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/ModellingKind.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** Enumeration for denoting whether an element is a template or an instance. */ +public enum ModellingKind implements IEnum { + /** + * Specification of the common features of a structured element in sufficient detail that such a + * instance can be instantiated using it + */ + TEMPLATE("Template"), + /** + * Concrete, clearly identifiable element instance. Its creation and validation may be guided by a + * corresponding element template. + */ + INSTANCE("Instance"); + + private final String literalText; + + ModellingKind(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/QualifierKind.java b/src/main/java/aas_core/aas3_1/types/enums/QualifierKind.java new file mode 100644 index 00000000..ad081a64 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/QualifierKind.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** + * Enumeration for kinds of qualifiers. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public enum QualifierKind implements IEnum { + /** + * qualifies the value of the element and can change during run-time. + * + *

Value qualifiers are only applicable to elements with kind {@link + * aas_core.aas3_1.types.enums.ModellingKind#INSTANCE}. + */ + VALUE_QUALIFIER("ValueQualifier"), + /** + * qualifies the semantic definition the element is referring to ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) + */ + CONCEPT_QUALIFIER("ConceptQualifier"), + /** + * qualifies the elements within a specific submodel on concept level. + * + *

Template qualifiers are only applicable to elements with kind {@link + * aas_core.aas3_1.types.enums.ModellingKind#TEMPLATE}. + */ + TEMPLATE_QUALIFIER("TemplateQualifier"); + + private final String literalText; + + QualifierKind(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/ReferenceTypes.java b/src/main/java/aas_core/aas3_1/types/enums/ReferenceTypes.java new file mode 100644 index 00000000..a3a07775 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/ReferenceTypes.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** Reference types */ +public enum ReferenceTypes implements IEnum { + /** External reference. */ + EXTERNAL_REFERENCE("ExternalReference"), + /** Model reference. */ + MODEL_REFERENCE("ModelReference"); + + private final String literalText; + + ReferenceTypes(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/enums/StateOfEvent.java b/src/main/java/aas_core/aas3_1/types/enums/StateOfEvent.java new file mode 100644 index 00000000..c0598949 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/enums/StateOfEvent.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.enums; + +/** + * State of an event + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public enum StateOfEvent implements IEnum { + /** Event is on */ + ON("on"), + /** Event is off. */ + OFF("off"); + + private final String literalText; + + StateOfEvent(String literalText) { + this.literalText = literalText; + } + + @Override + public String literalText() { + return literalText; + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/AdministrativeInformation.java b/src/main/java/aas_core/aas3_1/types/impl/AdministrativeInformation.java new file mode 100644 index 00000000..47af5596 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/AdministrativeInformation.java @@ -0,0 +1,274 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IAdministrativeInformation; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Administrative meta-information for an element like version information. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-005: If {@link #getVersion()} is not specified then also {@link + * #getRevision()} shall be unspecified. This means, a revision requires a version. If there + * is no version there is no revision neither. Revision is optional. + *
+ */ +public class AdministrativeInformation implements IAdministrativeInformation { + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Version of the element. */ + private String version; + + /** Revision of the element. */ + private String revision; + + /** The subject ID of the subject responsible for making the element. */ + private IReference creator; + + /** + * Identifier of the template that guided the creation of the element. + * + *

In case of a submodel the {@link #getTemplateId()} is the identifier of the submodel + * template ID that guided the creation of the submodel + * + *

The {@link #getTemplateId()} is not relevant for validation in Submodels. For validation the + * {@link aas_core.aas3_1.types.impl.Submodel#getSemanticId()} shall be used. + * + *

Usage of {@link #getTemplateId()} is not restricted to submodel instances. So also the + * creation of submodel templates can be guided by another submodel template. + */ + private String templateId; + + public AdministrativeInformation() {} + + public AdministrativeInformation( + List embeddedDataSpecifications, + String version, + String revision, + IReference creator, + String templateId) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.version = version; + this.revision = revision; + this.creator = creator; + this.templateId = templateId; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getVersion() { + return Optional.ofNullable(version); + } + + @Override + public void setVersion(String version) { + this.version = version; + } + + @Override + public Optional getRevision() { + return Optional.ofNullable(revision); + } + + @Override + public void setRevision(String revision) { + this.revision = revision; + } + + @Override + public Optional getCreator() { + return Optional.ofNullable(creator); + } + + @Override + public void setCreator(IReference creator) { + this.creator = creator; + } + + @Override + public Optional getTemplateId() { + return Optional.ofNullable(templateId); + } + + @Override + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + /** + * Iterate over {@link AdministrativeInformation#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AdministrativeInformationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AdministrativeInformationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAdministrativeInformation(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAdministrativeInformation(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAdministrativeInformation(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAdministrativeInformation(this, context); + } + + private class _AdministrativeInformationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AdministrativeInformation.this.embeddedDataSpecifications, false)); + } + + if (creator != null) { + memberStream = + Stream.concat(memberStream, Stream.of(AdministrativeInformation.this.creator)); + } + + return memberStream; + } + } + + private class _AdministrativeInformationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AdministrativeInformation.this.embeddedDataSpecifications, true)); + } + + if (creator != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AdministrativeInformation.this.creator), + StreamSupport.stream( + AdministrativeInformation.this.creator.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/AnnotatedRelationshipElement.java b/src/main/java/aas_core/aas3_1/types/impl/AnnotatedRelationshipElement.java new file mode 100644 index 00000000..c8cca6dd --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/AnnotatedRelationshipElement.java @@ -0,0 +1,587 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IAnnotatedRelationshipElement; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * An annotated relationship element is a relationship element that can be annotated with additional + * data elements. + */ +public class AnnotatedRelationshipElement implements IAnnotatedRelationshipElement { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to the first element in the relationship taking the role of the subject. */ + private IReference first; + + /** Reference to the second element in the relationship taking the role of the object. */ + private IReference second; + + /** + * A data element that represents an annotation that holds for the relationship between the two + * elements + */ + private List annotations; + + public AnnotatedRelationshipElement() {} + + public AnnotatedRelationshipElement( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + IReference first, + IReference second, + List annotations) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.first = first; + this.second = second; + this.annotations = annotations; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getFirst() { + return Optional.ofNullable(first); + } + + @Override + public void setFirst(IReference first) { + this.first = first; + } + + @Override + public Optional getSecond() { + return Optional.ofNullable(second); + } + + @Override + public void setSecond(IReference second) { + this.second = second; + } + + @Override + public Optional> getAnnotations() { + return Optional.ofNullable(annotations); + } + + @Override + public void setAnnotations(List annotations) { + this.annotations = annotations; + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#extensions}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#supplementalSemanticIds}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#qualifiers}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AnnotatedRelationshipElement#annotations}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overAnnotationsOrEmpty() { + return getAnnotations().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AnnotatedRelationshipElementRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AnnotatedRelationshipElementIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAnnotatedRelationshipElement(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAnnotatedRelationshipElement(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAnnotatedRelationshipElement(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAnnotatedRelationshipElement(this, context); + } + + private class _AnnotatedRelationshipElementIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AnnotatedRelationshipElement.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AnnotatedRelationshipElement.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AnnotatedRelationshipElement.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AnnotatedRelationshipElement.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + AnnotatedRelationshipElement.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + AnnotatedRelationshipElement.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AnnotatedRelationshipElement.this.embeddedDataSpecifications, false)); + } + + if (first != null) { + memberStream = + Stream.concat(memberStream, Stream.of(AnnotatedRelationshipElement.this.first)); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AnnotatedRelationshipElement.this.second)); + } + + if (annotations != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IDataElement( + AnnotatedRelationshipElement.this.annotations, false)); + } + + return memberStream; + } + } + + private class _AnnotatedRelationshipElementRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension( + AnnotatedRelationshipElement.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AnnotatedRelationshipElement.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AnnotatedRelationshipElement.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElement.this.semanticId), + StreamSupport.stream( + AnnotatedRelationshipElement.this.semanticId.descend().spliterator(), + false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + AnnotatedRelationshipElement.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier( + AnnotatedRelationshipElement.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AnnotatedRelationshipElement.this.embeddedDataSpecifications, true)); + } + + if (first != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElement.this.first), + StreamSupport.stream( + AnnotatedRelationshipElement.this.first.descend().spliterator(), false))); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AnnotatedRelationshipElement.this.second), + StreamSupport.stream( + AnnotatedRelationshipElement.this.second.descend().spliterator(), false))); + } + + if (annotations != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IDataElement( + AnnotatedRelationshipElement.this.annotations, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/AssetAdministrationShell.java b/src/main/java/aas_core/aas3_1/types/impl/AssetAdministrationShell.java new file mode 100644 index 00000000..2a707e62 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/AssetAdministrationShell.java @@ -0,0 +1,517 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IAssetAdministrationShell; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** An asset administration shell. */ +public class AssetAdministrationShell implements IAssetAdministrationShell { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The reference to the AAS the AAS was derived from. */ + private IReference derivedFrom; + + /** Meta-information about the asset the AAS is representing. */ + private IAssetInformation assetInformation; + + /** + * References to submodels of the AAS. + * + *

A submodel is a description of an aspect of the asset the AAS is representing. + * + *

The asset of an AAS is typically described by one or more submodels. + * + *

Temporarily no submodel might be assigned to the AAS. + */ + private List submodels; + + public AssetAdministrationShell(String id, IAssetInformation assetInformation) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.assetInformation = + Objects.requireNonNull(assetInformation, "Argument \"assetInformation\" must be non-null."); + } + + public AssetAdministrationShell( + String id, + IAssetInformation assetInformation, + List extensions, + String category, + String idShort, + List displayName, + List description, + IAdministrativeInformation administration, + List embeddedDataSpecifications, + IReference derivedFrom, + List submodels) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.derivedFrom = derivedFrom; + this.assetInformation = + Objects.requireNonNull(assetInformation, "Argument \"assetInformation\" must be non-null."); + this.submodels = submodels; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getDerivedFrom() { + return Optional.ofNullable(derivedFrom); + } + + @Override + public void setDerivedFrom(IReference derivedFrom) { + this.derivedFrom = derivedFrom; + } + + @Override + public IAssetInformation getAssetInformation() { + return assetInformation; + } + + @Override + public void setAssetInformation(IAssetInformation assetInformation) { + this.assetInformation = + Objects.requireNonNull(assetInformation, "Argument \"assetInformation\" must be non-null."); + } + + @Override + public Optional> getSubmodels() { + return Optional.ofNullable(submodels); + } + + @Override + public void setSubmodels(List submodels) { + this.submodels = submodels; + } + + /** + * Iterate over {@link AssetAdministrationShell#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShell#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShell#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShell#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link AssetAdministrationShell#submodels}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSubmodelsOrEmpty() { + return getSubmodels().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AssetAdministrationShellRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AssetAdministrationShellIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAssetAdministrationShell(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetAdministrationShell(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAssetAdministrationShell(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetAdministrationShell(this, context); + } + + private class _AssetAdministrationShellIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(AssetAdministrationShell.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AssetAdministrationShell.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AssetAdministrationShell.this.description, false)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AssetAdministrationShell.this.administration)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AssetAdministrationShell.this.embeddedDataSpecifications, false)); + } + + if (derivedFrom != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AssetAdministrationShell.this.derivedFrom)); + } + + if (assetInformation != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(AssetAdministrationShell.this.assetInformation)); + } + + if (submodels != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(AssetAdministrationShell.this.submodels, false)); + } + + return memberStream; + } + } + + private class _AssetAdministrationShellRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(AssetAdministrationShell.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + AssetAdministrationShell.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + AssetAdministrationShell.this.description, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShell.this.administration), + StreamSupport.stream( + AssetAdministrationShell.this.administration.descend().spliterator(), + false))); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + AssetAdministrationShell.this.embeddedDataSpecifications, true)); + } + + if (derivedFrom != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShell.this.derivedFrom), + StreamSupport.stream( + AssetAdministrationShell.this.derivedFrom.descend().spliterator(), false))); + } + + if (assetInformation != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetAdministrationShell.this.assetInformation), + StreamSupport.stream( + AssetAdministrationShell.this.assetInformation.descend().spliterator(), + false))); + } + + if (submodels != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(AssetAdministrationShell.this.submodels, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/AssetInformation.java b/src/main/java/aas_core/aas3_1/types/impl/AssetInformation.java new file mode 100644 index 00000000..09edadea --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/AssetInformation.java @@ -0,0 +1,312 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IAssetInformation; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * In {@link aas_core.aas3_1.types.impl.AssetInformation} identifying meta data of the asset that is + * represented by an AAS is defined. + * + *

The asset may either represent an asset type or an asset instance. + * + *

The asset has a globally unique identifier plus – if needed – additional domain specific + * (proprietary) identifiers. However, to support the corner case of very first phase of lifecycle + * where a stabilised/constant_set global asset identifier does not already exist, the corresponding + * attribute {@link #getGlobalAssetId()} is optional. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-116: {@code globalAssetId} is a reserved key for {@link + * aas_core.aas3_1.types.impl.SpecificAssetId#getName()} with the semantics as defined in + * {@link #getGlobalAssetId()}. + *

    Constraint AASd-116 is important to enable a generic search across global and specific + * asset IDs. + *

    In the book, Constraint AASd-116 imposes a case-insensitive equality against {@code + * globalAssetId}. This is culturally-dependent, and depends on the system settings. For + * example, the case-folding for the letters "i" and "I" is different in Turkish from English. + *

    We implement the constraint as case-sensitive instead to allow for interoperability + * across different culture settings. + *

  • Constraint AASd-131: For {@link aas_core.aas3_1.types.impl.AssetInformation} either the + * {@link #getGlobalAssetId()} shall be defined or at least one item in {@link + * #getSpecificAssetIds()}. + *
+ */ +public class AssetInformation implements IAssetInformation { + /** + * Denotes whether the Asset is of kind {@link aas_core.aas3_1.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_1.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_1.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_1.types.enums.AssetKind#NOT_APPLICABLE}. + */ + private AssetKind assetKind; + + /** + * Global identifier of the asset the AAS is representing. + * + *

This attribute is required as soon as the AAS is exchanged via partners in the life cycle of + * the asset. In a first phase of the life cycle the asset might not yet have a global ID but + * already an internal identifier. The internal identifier would be modelled via {@link + * #getSpecificAssetIds()}. + * + *

This is a global reference. + */ + private String globalAssetId; + + /** + * Additional domain-specific, typically proprietary identifier for the asset like e.g., serial + * number etc. + */ + private List specificAssetIds; + + /** + * In case {@link #getAssetKind()} is {@link aas_core.aas3_1.types.enums.AssetKind#NOT_APPLICABLE} + * the {@link #getAssetType()} is the asset ID of the type asset of the asset under consideration + * as identified by {@link #getGlobalAssetId()}. + * + *

In case {@link #getAssetKind()} is "Instance" then the {@link #getAssetType()} denotes which + * "Type" the asset is of. But it is also possible to have an {@link #getAssetType()} of an asset + * of kind "Type". + */ + private String assetType; + + /** + * Thumbnail of the asset represented by the Asset Administration Shell. + * + *

Used as default. + */ + private IResource defaultThumbnail; + + public AssetInformation(AssetKind assetKind) { + this.assetKind = Objects.requireNonNull(assetKind, "Argument \"assetKind\" must be non-null."); + } + + public AssetInformation( + AssetKind assetKind, + String globalAssetId, + List specificAssetIds, + String assetType, + IResource defaultThumbnail) { + this.assetKind = Objects.requireNonNull(assetKind, "Argument \"assetKind\" must be non-null."); + this.globalAssetId = globalAssetId; + this.specificAssetIds = specificAssetIds; + this.assetType = assetType; + this.defaultThumbnail = defaultThumbnail; + } + + @Override + public AssetKind getAssetKind() { + return assetKind; + } + + @Override + public void setAssetKind(AssetKind assetKind) { + this.assetKind = Objects.requireNonNull(assetKind, "Argument \"assetKind\" must be non-null."); + } + + @Override + public Optional getGlobalAssetId() { + return Optional.ofNullable(globalAssetId); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + } + + @Override + public Optional> getSpecificAssetIds() { + return Optional.ofNullable(specificAssetIds); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + } + + @Override + public Optional getAssetType() { + return Optional.ofNullable(assetType); + } + + @Override + public void setAssetType(String assetType) { + this.assetType = assetType; + } + + @Override + public Optional getDefaultThumbnail() { + return Optional.ofNullable(defaultThumbnail); + } + + @Override + public void setDefaultThumbnail(IResource defaultThumbnail) { + this.defaultThumbnail = defaultThumbnail; + } + + /** + * Iterate over {@link AssetInformation#specificAssetIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSpecificAssetIdsOrEmpty() { + return getSpecificAssetIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _AssetInformationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _AssetInformationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitAssetInformation(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitAssetInformation(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformAssetInformation(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformAssetInformation(this, context); + } + + private class _AssetInformationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId( + AssetInformation.this.specificAssetIds, false)); + } + + if (defaultThumbnail != null) { + memberStream = + Stream.concat(memberStream, Stream.of(AssetInformation.this.defaultThumbnail)); + } + + return memberStream; + } + } + + private class _AssetInformationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId( + AssetInformation.this.specificAssetIds, true)); + } + + if (defaultThumbnail != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(AssetInformation.this.defaultThumbnail), + StreamSupport.stream( + AssetInformation.this.defaultThumbnail.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/BasicEventElement.java b/src/main/java/aas_core/aas3_1/types/impl/BasicEventElement.java new file mode 100644 index 00000000..455082f8 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/BasicEventElement.java @@ -0,0 +1,682 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IBasicEventElement; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A basic event element. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public class BasicEventElement implements IBasicEventElement { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Reference to the {@link aas_core.aas3_1.types.model.IReferable}, which defines the scope of the + * event. Can be {@link aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel}, or {@link aas_core.aas3_1.types.model.ISubmodelElement}. + * + *

Reference to a referable, e.g., a data element or a submodel, that is being observed. + */ + private IReference observed; + + /** + * Direction of event. + * + *

Can be {@code { Input, Output }}. + */ + private Direction direction; + + /** + * State of event. + * + *

Can be {@code { On, Off }}. + */ + private StateOfEvent state; + + /** + * Information for the outer message infrastructure for scheduling the event to the respective + * communication channel. + */ + private String messageTopic; + + /** + * Information, which outer message infrastructure shall handle messages for the {@link + * aas_core.aas3_1.types.model.IEventElement}. Refers to a {@link + * aas_core.aas3_1.types.impl.Submodel}, {@link aas_core.aas3_1.types.impl.SubmodelElementList}, + * {@link aas_core.aas3_1.types.impl.SubmodelElementCollection} or {@link + * aas_core.aas3_1.types.impl.Entity}, which contains {@link + * aas_core.aas3_1.types.model.IDataElement}'s describing the proprietary specification for the + * message broker. + * + *

For different message infrastructure, e.g., OPC UA or MQTT or AMQP, this proprietary + * specification could be standardized by having respective Submodels. + */ + private IReference messageBroker; + + /** + * Timestamp in UTC, when the last event was received (input direction) or sent (output + * direction). + */ + private String lastUpdate; + + /** + * For input direction, reports on the maximum frequency, the software entity behind the + * respective Referable can handle input events. + * + *

For output events, specifies the maximum frequency of outputting this event to an outer + * infrastructure. + * + *

Might be not specified, that is, there is no minimum interval. + */ + private String minInterval; + + /** + * For input direction: not applicable. + * + *

For output direction: maximum interval in time, the respective Referable shall send an + * update of the status of the event, even if no other trigger condition for the event was not + * met. + * + *

Might be not specified, that is, there is no maximum interval + */ + private String maxInterval; + + public BasicEventElement(IReference observed, Direction direction, StateOfEvent state) { + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + public BasicEventElement( + IReference observed, + Direction direction, + StateOfEvent state, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String messageTopic, + IReference messageBroker, + String lastUpdate, + String minInterval, + String maxInterval) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + this.messageTopic = messageTopic; + this.messageBroker = messageBroker; + this.lastUpdate = lastUpdate; + this.minInterval = minInterval; + this.maxInterval = maxInterval; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public IReference getObserved() { + return observed; + } + + @Override + public void setObserved(IReference observed) { + this.observed = Objects.requireNonNull(observed, "Argument \"observed\" must be non-null."); + } + + @Override + public Direction getDirection() { + return direction; + } + + @Override + public void setDirection(Direction direction) { + this.direction = Objects.requireNonNull(direction, "Argument \"direction\" must be non-null."); + } + + @Override + public StateOfEvent getState() { + return state; + } + + @Override + public void setState(StateOfEvent state) { + this.state = Objects.requireNonNull(state, "Argument \"state\" must be non-null."); + } + + @Override + public Optional getMessageTopic() { + return Optional.ofNullable(messageTopic); + } + + @Override + public void setMessageTopic(String messageTopic) { + this.messageTopic = messageTopic; + } + + @Override + public Optional getMessageBroker() { + return Optional.ofNullable(messageBroker); + } + + @Override + public void setMessageBroker(IReference messageBroker) { + this.messageBroker = messageBroker; + } + + @Override + public Optional getLastUpdate() { + return Optional.ofNullable(lastUpdate); + } + + @Override + public void setLastUpdate(String lastUpdate) { + this.lastUpdate = lastUpdate; + } + + @Override + public Optional getMinInterval() { + return Optional.ofNullable(minInterval); + } + + @Override + public void setMinInterval(String minInterval) { + this.minInterval = minInterval; + } + + @Override + public Optional getMaxInterval() { + return Optional.ofNullable(maxInterval); + } + + @Override + public void setMaxInterval(String maxInterval) { + this.maxInterval = maxInterval; + } + + /** + * Iterate over {@link BasicEventElement#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link BasicEventElement#embeddedDataSpecifications}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BasicEventElementRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BasicEventElementIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBasicEventElement(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBasicEventElement(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBasicEventElement(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBasicEventElement(this, context); + } + + private class _BasicEventElementIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(BasicEventElement.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + BasicEventElement.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + BasicEventElement.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(BasicEventElement.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + BasicEventElement.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(BasicEventElement.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + BasicEventElement.this.embeddedDataSpecifications, false)); + } + + if (observed != null) { + memberStream = + Stream.concat(memberStream, Stream.of(BasicEventElement.this.observed)); + } + + if (messageBroker != null) { + memberStream = + Stream.concat(memberStream, Stream.of(BasicEventElement.this.messageBroker)); + } + + return memberStream; + } + } + + private class _BasicEventElementRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(BasicEventElement.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + BasicEventElement.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + BasicEventElement.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElement.this.semanticId), + StreamSupport.stream( + BasicEventElement.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + BasicEventElement.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(BasicEventElement.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + BasicEventElement.this.embeddedDataSpecifications, true)); + } + + if (observed != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElement.this.observed), + StreamSupport.stream( + BasicEventElement.this.observed.descend().spliterator(), false))); + } + + if (messageBroker != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(BasicEventElement.this.messageBroker), + StreamSupport.stream( + BasicEventElement.this.messageBroker.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Blob.java b/src/main/java/aas_core/aas3_1/types/impl/Blob.java new file mode 100644 index 00000000..e0573978 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Blob.java @@ -0,0 +1,498 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IBlob; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A {@link aas_core.aas3_1.types.impl.Blob} is a data element that represents a file that is + * contained with its source code in the value attribute. + */ +public class Blob implements IBlob { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * The value of the {@link aas_core.aas3_1.types.impl.Blob} instance of a blob data element. + * + *

In contrast to the file property the file content is stored directly as value in the {@link + * aas_core.aas3_1.types.impl.Blob} data element. + */ + private byte[] value; + + /** + * Content type of the content of the {@link aas_core.aas3_1.types.impl.Blob}. + * + *

The content type (MIME type) states which file extensions the file can have. + * + *

Valid values are content types like e.g. {@code application/json}, {@code application/xls}, + * {@code image/jpg}. + * + *

The allowed values are defined as in RFC2046. + */ + private String contentType; + + public Blob() {} + + public Blob( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + byte[] value, + String contentType) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.contentType = contentType; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(byte[] value) { + this.value = value; + } + + @Override + public Optional getContentType() { + return Optional.ofNullable(contentType); + } + + @Override + public void setContentType(String contentType) { + this.contentType = contentType; + } + + /** Iterate over {@link Blob#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Blob#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Blob#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Blob#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Blob#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Blob#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _BlobRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _BlobIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitBlob(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitBlob(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformBlob(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformBlob(this, context); + } + + private class _BlobIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Blob.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Blob.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Blob.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Blob.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Blob.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Blob.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Blob.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _BlobRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Blob.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Blob.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Blob.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Blob.this.semanticId), + StreamSupport.stream(Blob.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Blob.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Blob.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Blob.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Capability.java b/src/main/java/aas_core/aas3_1/types/impl/Capability.java new file mode 100644 index 00000000..9c23b133 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Capability.java @@ -0,0 +1,462 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ICapability; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A capability is the implementation-independent description of the potential of an asset to + * achieve a certain effect in the physical or virtual world. + * + *

The {@link #getSemanticId()} of a capability is typically an ontology. Thus, reasoning on + * capabilities is enabled. + */ +public class Capability implements ICapability { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + public Capability() {} + + public Capability( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + /** Iterate over {@link Capability#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Capability#displayName}, if set, and otherwise return an empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Capability#description}, if set, and otherwise return an empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Capability#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Capability#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Capability#embeddedDataSpecifications}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _CapabilityRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _CapabilityIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitCapability(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitCapability(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformCapability(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformCapability(this, context); + } + + private class _CapabilityIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Capability.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Capability.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Capability.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Capability.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Capability.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Capability.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Capability.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _CapabilityRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Capability.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Capability.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Capability.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Capability.this.semanticId), + StreamSupport.stream( + Capability.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Capability.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Capability.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Capability.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/ConceptDescription.java b/src/main/java/aas_core/aas3_1/types/impl/ConceptDescription.java new file mode 100644 index 00000000..b917121b --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/ConceptDescription.java @@ -0,0 +1,495 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IConceptDescription; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The semantics of a property or other elements that may have a semantic description is defined by + * a concept description. + * + *

The description of the concept should follow a standardized schema (realized as data + * specification template). + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-004: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code PROPERTY} or {@code VALUE} using data specification IEC61360, + * the {@link aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDataType()} is mandatory + * and shall be one of: {@code DATE}, {@code STRING}, {@code STRING_TRANSLATABLE}, {@code + * INTEGER_MEASURE}, {@code INTEGER_COUNT}, {@code INTEGER_CURRENCY}, {@code REAL_MEASURE}, + * {@code REAL_COUNT}, {@code REAL_CURRENCY}, {@code BOOLEAN}, {@code RATIONAL}, {@code + * RATIONAL_MEASURE}, {@code TIME}, {@code TIMESTAMP}. + *

    Note: categories are deprecated since V3.0 of Part 1a of the document series "Details of + * the Asset Administration Shell". + *

  • Constraint AASc-3a-005: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code REFERENCE} using data specification template IEC61360, the + * {@link aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDataType()} shall be one of: + * {@code STRING}, {@code IRI}, {@code IRDI}. + *

    Note: categories are deprecated since V3.0 of Part 1a of the document series "Details of + * the Asset Administration Shell". + *

  • Constraint AASc-3a-006: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code DOCUMENT} using data specification IEC61360, the {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDataType()} shall be one of {@code + * FILE}, {@code BLOB}, {@code HTML} + *

    Categories are deprecated since V3.0 of Part 1a of the document series "Details of the + * Asset Administration Shell". + *

  • Constraint AASc-3a-007: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code QUALIFIER_TYPE} using data specification IEC61360, the {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDataType()} is mandatory and shall + * be defined. + *

    Categories are deprecated since V3.0 of Part 1a of the document series "Details of the + * Asset Administration Shell". + *

  • Constraint AASc-3a-008: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} using + * data specification template IEC61360, {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDefinition()} is mandatory and + * shall be defined at least in English. + *

    Exception: The concept description describes a value, i.e. {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getValue()} is defined. + *

  • Constraint AASc-3a-003: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} using + * data specification template IEC61360, referenced via {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getValueList()} {@link + * aas_core.aas3_1.types.impl.ValueReferencePair#getValueId()} the {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getValue()} shall be set. + *
+ */ +public class ConceptDescription implements IConceptDescription { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Reference to an external definition the concept is compatible to or was derived from. + * + *

It is recommended to use a global reference. + * + *

Compare to is-case-of relationship in ISO 13584-32 & IEC EN 61360 + */ + private List isCaseOf; + + public ConceptDescription(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public ConceptDescription( + String id, + List extensions, + String category, + String idShort, + List displayName, + List description, + IAdministrativeInformation administration, + List embeddedDataSpecifications, + List isCaseOf) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.isCaseOf = isCaseOf; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getIsCaseOf() { + return Optional.ofNullable(isCaseOf); + } + + @Override + public void setIsCaseOf(List isCaseOf) { + this.isCaseOf = isCaseOf; + } + + /** + * Iterate over {@link ConceptDescription#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ConceptDescription#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ConceptDescription#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ConceptDescription#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ConceptDescription#isCaseOf}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overIsCaseOfOrEmpty() { + return getIsCaseOf().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ConceptDescriptionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ConceptDescriptionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitConceptDescription(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitConceptDescription(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformConceptDescription(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformConceptDescription(this, context); + } + + private class _ConceptDescriptionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ConceptDescription.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + ConceptDescription.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + ConceptDescription.this.description, false)); + } + + if (administration != null) { + memberStream = + Stream.concat(memberStream, Stream.of(ConceptDescription.this.administration)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ConceptDescription.this.embeddedDataSpecifications, false)); + } + + if (isCaseOf != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(ConceptDescription.this.isCaseOf, false)); + } + + return memberStream; + } + } + + private class _ConceptDescriptionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ConceptDescription.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + ConceptDescription.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + ConceptDescription.this.description, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ConceptDescription.this.administration), + StreamSupport.stream( + ConceptDescription.this.administration.descend().spliterator(), false))); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ConceptDescription.this.embeddedDataSpecifications, true)); + } + + if (isCaseOf != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(ConceptDescription.this.isCaseOf, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/DataSpecificationIec61360.java b/src/main/java/aas_core/aas3_1/types/impl/DataSpecificationIec61360.java new file mode 100644 index 00000000..ba63e8f9 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/DataSpecificationIec61360.java @@ -0,0 +1,493 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IDataSpecificationIec61360; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Content of data specification template for concept descriptions for properties, values and value + * lists conformant to IEC 61360. + * + *

IEC61360 requires also a globally unique identifier for a concept description. This ID is not + * part of the data specification template. Instead the {@link + * aas_core.aas3_1.types.impl.ConceptDescription#getId()} as inherited via {@link + * aas_core.aas3_1.types.model.IIdentifiable} is used. Same holds for administrative information + * like the version and revision. + * + *

{@link aas_core.aas3_1.types.impl.ConceptDescription#getIdShort()} and {@link #getShortName()} + * are very similar. However, in this case the decision was to add {@link #getShortName()} + * explicitly to the data specification. Same holds for {@link + * aas_core.aas3_1.types.impl.ConceptDescription#getDisplayName()} and {@link #getPreferredName()}. + * Same holds for {@link aas_core.aas3_1.types.impl.ConceptDescription#getDescription()} and {@link + * #getDefinition()}. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-010: If {@link #getValue()} is not empty then {@link #getValueList()} + * shall be empty and vice versa. + *

    It is also possible that both {@link #getValue()} and {@link #getValueList()} are empty. + * This is the case for concept descriptions that define the semantics of a property but do + * not have an enumeration ({@link #getValueList()}) as data type. + *

    Although it is possible to define a {@link + * aas_core.aas3_1.types.impl.ConceptDescription} for a :attr:´value_list`, it is not possible + * to reuse this {@link #getValueList()}. It is only possible to directly add a {@link + * #getValueList()} as data type to a specific semantic definition of a property. + *

  • Constraint AASc-3a-009: If {@link #getDataType()} one of: {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#INTEGER_MEASURE}, {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#REAL_MEASURE}, {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#RATIONAL_MEASURE}, {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#INTEGER_CURRENCY}, {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#REAL_CURRENCY}, then {@link #getUnit()} or + * {@link #getUnitId()} shall be defined. + *
+ */ +public class DataSpecificationIec61360 implements IDataSpecificationIec61360 { + /** + * Preferred name + * + *

It is advised to keep the length of the name limited to 35 characters. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-002: {@link #getPreferredName()} shall be provided at least in + * English. + *
+ */ + private List preferredName; + + /** Short name */ + private List shortName; + + /** Unit */ + private String unit; + + /** + * Unique unit id + * + *

{@link #getUnit()} and {@link #getUnitId()} need to be consistent if both attributes are set + * + *

It is recommended to use an external reference ID. + */ + private IReference unitId; + + /** Source of definition */ + private String sourceOfDefinition; + + /** Symbol */ + private String symbol; + + /** Data Type */ + private DataTypeIec61360 dataType; + + /** Definition in different languages */ + private List definition; + + /** + * Value Format + * + *

The value format is based on ISO 13584-42 and IEC 61360-2. + */ + private String valueFormat; + + /** List of allowed values */ + private IValueList valueList; + + /** Value */ + private String value; + + /** Set of levels. */ + private ILevelType levelType; + + public DataSpecificationIec61360(List preferredName) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + } + + public DataSpecificationIec61360( + List preferredName, + List shortName, + String unit, + IReference unitId, + String sourceOfDefinition, + String symbol, + DataTypeIec61360 dataType, + List definition, + String valueFormat, + IValueList valueList, + String value, + ILevelType levelType) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + this.shortName = shortName; + this.unit = unit; + this.unitId = unitId; + this.sourceOfDefinition = sourceOfDefinition; + this.symbol = symbol; + this.dataType = dataType; + this.definition = definition; + this.valueFormat = valueFormat; + this.valueList = valueList; + this.value = value; + this.levelType = levelType; + } + + @Override + public List getPreferredName() { + return preferredName; + } + + @Override + public void setPreferredName(List preferredName) { + this.preferredName = + Objects.requireNonNull(preferredName, "Argument \"preferredName\" must be non-null."); + } + + @Override + public Optional> getShortName() { + return Optional.ofNullable(shortName); + } + + @Override + public void setShortName(List shortName) { + this.shortName = shortName; + } + + @Override + public Optional getUnit() { + return Optional.ofNullable(unit); + } + + @Override + public void setUnit(String unit) { + this.unit = unit; + } + + @Override + public Optional getUnitId() { + return Optional.ofNullable(unitId); + } + + @Override + public void setUnitId(IReference unitId) { + this.unitId = unitId; + } + + @Override + public Optional getSourceOfDefinition() { + return Optional.ofNullable(sourceOfDefinition); + } + + @Override + public void setSourceOfDefinition(String sourceOfDefinition) { + this.sourceOfDefinition = sourceOfDefinition; + } + + @Override + public Optional getSymbol() { + return Optional.ofNullable(symbol); + } + + @Override + public void setSymbol(String symbol) { + this.symbol = symbol; + } + + @Override + public Optional getDataType() { + return Optional.ofNullable(dataType); + } + + @Override + public void setDataType(DataTypeIec61360 dataType) { + this.dataType = dataType; + } + + @Override + public Optional> getDefinition() { + return Optional.ofNullable(definition); + } + + @Override + public void setDefinition(List definition) { + this.definition = definition; + } + + @Override + public Optional getValueFormat() { + return Optional.ofNullable(valueFormat); + } + + @Override + public void setValueFormat(String valueFormat) { + this.valueFormat = valueFormat; + } + + @Override + public Optional getValueList() { + return Optional.ofNullable(valueList); + } + + @Override + public void setValueList(IValueList valueList) { + this.valueList = valueList; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional getLevelType() { + return Optional.ofNullable(levelType); + } + + @Override + public void setLevelType(ILevelType levelType) { + this.levelType = levelType; + } + + /** + * Iterate over {@link DataSpecificationIec61360#shortName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overShortNameOrEmpty() { + return getShortName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link DataSpecificationIec61360#definition}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDefinitionOrEmpty() { + return getDefinition().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _DataSpecificationIec61360RecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _DataSpecificationIec61360Iterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitDataSpecificationIec61360(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitDataSpecificationIec61360(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformDataSpecificationIec61360(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformDataSpecificationIec61360(this, context); + } + + private class _DataSpecificationIec61360Iterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (preferredName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringPreferredNameTypeIec61360( + DataSpecificationIec61360.this.preferredName, false)); + } + + if (shortName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringShortNameTypeIec61360( + DataSpecificationIec61360.this.shortName, false)); + } + + if (unitId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(DataSpecificationIec61360.this.unitId)); + } + + if (definition != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringDefinitionTypeIec61360( + DataSpecificationIec61360.this.definition, false)); + } + + if (valueList != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(DataSpecificationIec61360.this.valueList)); + } + + if (levelType != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(DataSpecificationIec61360.this.levelType)); + } + + return memberStream; + } + } + + private class _DataSpecificationIec61360RecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (preferredName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringPreferredNameTypeIec61360( + DataSpecificationIec61360.this.preferredName, true)); + } + + if (shortName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringShortNameTypeIec61360( + DataSpecificationIec61360.this.shortName, true)); + } + + if (unitId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DataSpecificationIec61360.this.unitId), + StreamSupport.stream( + DataSpecificationIec61360.this.unitId.descend().spliterator(), false))); + } + + if (definition != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringDefinitionTypeIec61360( + DataSpecificationIec61360.this.definition, true)); + } + + if (valueList != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DataSpecificationIec61360.this.valueList), + StreamSupport.stream( + DataSpecificationIec61360.this.valueList.descend().spliterator(), false))); + } + + if (levelType != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(DataSpecificationIec61360.this.levelType), + StreamSupport.stream( + DataSpecificationIec61360.this.levelType.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Descent.java b/src/main/java/aas_core/aas3_1/types/impl/Descent.java new file mode 100644 index 00000000..cf114623 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Descent.java @@ -0,0 +1,370 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import java.util.List; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Descend into the containers which hold class instances. + * + *

Each method descends only one level, and calls the method of the items by name, so that the + * descent is composed of plain functions to any depth. + */ +final class Descent { + private Descent() { + // Prevent instantiation + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IReference(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IEmbeddedDataSpecification( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IExtension(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringNameType( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringTextType( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISpecificAssetId( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IQualifier(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISubmodelElement( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IDataElement(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IOperationVariable( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IKey(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IAssetAdministrationShell( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ISubmodel(List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IConceptDescription( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_IValueReferencePair( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringPreferredNameTypeIec61360( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringShortNameTypeIec61360( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } + + /** + * Iterate over the class instances held by {@code that}. + * + *

If {@code recurse} is set, descend recursively into the instances as well. + */ + static Stream descendListOf_ILangStringDefinitionTypeIec61360( + List that, boolean recurse) { + if (!recurse) { + return that.stream().map(item -> item); + } + + return that.stream() + .flatMap( + item -> + Stream.concat( + Stream.of(item), + StreamSupport.stream(item.descend().spliterator(), false))); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/EmbeddedDataSpecification.java b/src/main/java/aas_core/aas3_1/types/impl/EmbeddedDataSpecification.java new file mode 100644 index 00000000..d2f8eaf3 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/EmbeddedDataSpecification.java @@ -0,0 +1,209 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IEmbeddedDataSpecification; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** Embed the content of a data specification. */ +public class EmbeddedDataSpecification implements IEmbeddedDataSpecification { + /** Reference to the data specification */ + private IReference dataSpecification; + + /** Actual content of the data specification */ + private IDataSpecificationContent dataSpecificationContent; + + public EmbeddedDataSpecification( + IReference dataSpecification, IDataSpecificationContent dataSpecificationContent) { + this.dataSpecification = + Objects.requireNonNull( + dataSpecification, "Argument \"dataSpecification\" must be non-null."); + this.dataSpecificationContent = + Objects.requireNonNull( + dataSpecificationContent, "Argument \"dataSpecificationContent\" must be non-null."); + } + + @Override + public IReference getDataSpecification() { + return dataSpecification; + } + + @Override + public void setDataSpecification(IReference dataSpecification) { + this.dataSpecification = + Objects.requireNonNull( + dataSpecification, "Argument \"dataSpecification\" must be non-null."); + } + + @Override + public IDataSpecificationContent getDataSpecificationContent() { + return dataSpecificationContent; + } + + @Override + public void setDataSpecificationContent(IDataSpecificationContent dataSpecificationContent) { + this.dataSpecificationContent = + Objects.requireNonNull( + dataSpecificationContent, "Argument \"dataSpecificationContent\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EmbeddedDataSpecificationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EmbeddedDataSpecificationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEmbeddedDataSpecification(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEmbeddedDataSpecification(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEmbeddedDataSpecification(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEmbeddedDataSpecification(this, context); + } + + private class _EmbeddedDataSpecificationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dataSpecification != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(EmbeddedDataSpecification.this.dataSpecification)); + } + + if (dataSpecificationContent != null) { + memberStream = + Stream.concat( + memberStream, + Stream.of(EmbeddedDataSpecification.this.dataSpecificationContent)); + } + + return memberStream; + } + } + + private class _EmbeddedDataSpecificationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (dataSpecification != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EmbeddedDataSpecification.this.dataSpecification), + StreamSupport.stream( + EmbeddedDataSpecification.this.dataSpecification.descend().spliterator(), + false))); + } + + if (dataSpecificationContent != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EmbeddedDataSpecification.this.dataSpecificationContent), + StreamSupport.stream( + EmbeddedDataSpecification.this + .dataSpecificationContent + .descend() + .spliterator(), + false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Entity.java b/src/main/java/aas_core/aas3_1/types/impl/Entity.java new file mode 100644 index 00000000..d0d9c8ac --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Entity.java @@ -0,0 +1,571 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IEntity; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * An entity is a submodel element that is used to model entities. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-014: Either the attribute {@link #getGlobalAssetId()} or {@link + * #getSpecificAssetIds()} of an {@link aas_core.aas3_1.types.impl.Entity} must be set if + * Entity/entityType is set to {@link + * aas_core.aas3_1.types.enums.EntityType#SELF_MANAGED_ENTITY}. + *
+ */ +public class Entity implements IEntity { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Describes statements applicable to the entity by a set of submodel elements, typically with a + * qualified value. + */ + private List statements; + + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + private EntityType entityType; + + /** + * Global identifier of the asset the entity is representing. + * + *

This is a global reference. + */ + private String globalAssetId; + + /** + * Reference to a specific asset ID representing a supplementary identifier of the asset + * represented by the Asset Administration Shell. + */ + private List specificAssetIds; + + public Entity() {} + + public Entity( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List statements, + EntityType entityType, + String globalAssetId, + List specificAssetIds) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.statements = statements; + this.entityType = entityType; + this.globalAssetId = globalAssetId; + this.specificAssetIds = specificAssetIds; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getStatements() { + return Optional.ofNullable(statements); + } + + @Override + public void setStatements(List statements) { + this.statements = statements; + } + + @Override + public Optional getEntityType() { + return Optional.ofNullable(entityType); + } + + @Override + public void setEntityType(EntityType entityType) { + this.entityType = entityType; + } + + @Override + public Optional getGlobalAssetId() { + return Optional.ofNullable(globalAssetId); + } + + @Override + public void setGlobalAssetId(String globalAssetId) { + this.globalAssetId = globalAssetId; + } + + @Override + public Optional> getSpecificAssetIds() { + return Optional.ofNullable(specificAssetIds); + } + + @Override + public void setSpecificAssetIds(List specificAssetIds) { + this.specificAssetIds = specificAssetIds; + } + + /** Iterate over {@link Entity#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Entity#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Entity#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Entity#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Entity#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Entity#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Entity#statements}, if set, and otherwise return an empty iterator. */ + public Iterable overStatementsOrEmpty() { + return getStatements().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Entity#specificAssetIds}, if set, and otherwise return an empty iterator. + */ + public Iterable overSpecificAssetIdsOrEmpty() { + return getSpecificAssetIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EntityRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EntityIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEntity(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEntity(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEntity(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEntity(this, context); + } + + private class _EntityIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Entity.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Entity.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Entity.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Entity.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Entity.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Entity.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Entity.this.embeddedDataSpecifications, false)); + } + + if (statements != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(Entity.this.statements, false)); + } + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId(Entity.this.specificAssetIds, false)); + } + + return memberStream; + } + } + + private class _EntityRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Entity.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Entity.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Entity.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Entity.this.semanticId), + StreamSupport.stream(Entity.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Entity.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Entity.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Entity.this.embeddedDataSpecifications, true)); + } + + if (statements != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_ISubmodelElement(Entity.this.statements, true)); + } + + if (specificAssetIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISpecificAssetId(Entity.this.specificAssetIds, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Environment.java b/src/main/java/aas_core/aas3_1/types/impl/Environment.java new file mode 100644 index 00000000..6caeb176 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Environment.java @@ -0,0 +1,254 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IEnvironment; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** + * Container for the sets of different identifiables. + * + *

w.r.t. file exchange: There is exactly one environment independent on how many files the + * contained elements are split. If the file is split then there shall be no element with the same + * identifier in two different files. + */ +public class Environment implements IEnvironment { + /** Asset administration shell */ + private List assetAdministrationShells; + + /** Submodel */ + private List submodels; + + /** Concept description */ + private List conceptDescriptions; + + public Environment() {} + + public Environment( + List assetAdministrationShells, + List submodels, + List conceptDescriptions) { + this.assetAdministrationShells = assetAdministrationShells; + this.submodels = submodels; + this.conceptDescriptions = conceptDescriptions; + } + + @Override + public Optional> getAssetAdministrationShells() { + return Optional.ofNullable(assetAdministrationShells); + } + + @Override + public void setAssetAdministrationShells( + List assetAdministrationShells) { + this.assetAdministrationShells = assetAdministrationShells; + } + + @Override + public Optional> getSubmodels() { + return Optional.ofNullable(submodels); + } + + @Override + public void setSubmodels(List submodels) { + this.submodels = submodels; + } + + @Override + public Optional> getConceptDescriptions() { + return Optional.ofNullable(conceptDescriptions); + } + + @Override + public void setConceptDescriptions(List conceptDescriptions) { + this.conceptDescriptions = conceptDescriptions; + } + + /** + * Iterate over {@link Environment#assetAdministrationShells}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overAssetAdministrationShellsOrEmpty() { + return getAssetAdministrationShells().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Environment#submodels}, if set, and otherwise return an empty iterator. */ + public Iterable overSubmodelsOrEmpty() { + return getSubmodels().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Environment#conceptDescriptions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overConceptDescriptionsOrEmpty() { + return getConceptDescriptions().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EnvironmentRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EnvironmentIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEnvironment(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEnvironment(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEnvironment(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEnvironment(this, context); + } + + private class _EnvironmentIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (assetAdministrationShells != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShell( + Environment.this.assetAdministrationShells, false)); + } + + if (submodels != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_ISubmodel(Environment.this.submodels, false)); + } + + if (conceptDescriptions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IConceptDescription( + Environment.this.conceptDescriptions, false)); + } + + return memberStream; + } + } + + private class _EnvironmentRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (assetAdministrationShells != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IAssetAdministrationShell( + Environment.this.assetAdministrationShells, true)); + } + + if (submodels != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_ISubmodel(Environment.this.submodels, true)); + } + + if (conceptDescriptions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IConceptDescription( + Environment.this.conceptDescriptions, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/EventPayload.java b/src/main/java/aas_core/aas3_1/types/impl/EventPayload.java new file mode 100644 index 00000000..e47502f5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/EventPayload.java @@ -0,0 +1,370 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IEventPayload; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Defines the necessary information of an event instance sent out or received. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public class EventPayload implements IEventPayload { + /** + * Reference to the source event element, including identification of {@link + * aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel}, {@link aas_core.aas3_1.types.model.ISubmodelElement}'s. + */ + private IReference source; + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the source event element, + * if available + * + *

It is recommended to use a global reference. + */ + private IReference sourceSemanticId; + + /** + * Reference to the referable, which defines the scope of the event. + * + *

Can be {@link aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel} or {@link aas_core.aas3_1.types.model.ISubmodelElement}. + */ + private IReference observableReference; + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the referable which + * defines the scope of the event, if available. + * + *

It is recommended to use a global reference. + */ + private IReference observableSemanticId; + + /** + * Information for the outer message infrastructure for scheduling the event to the respective + * communication channel. + */ + private String topic; + + /** + * Subject, who/which initiated the creation. + * + *

This is an external reference. + */ + private IReference subjectId; + + /** Timestamp in UTC, when this event was triggered. */ + private String timeStamp; + + /** Event specific payload. */ + private byte[] payload; + + public EventPayload(IReference source, IReference observableReference, String timeStamp) { + this.source = Objects.requireNonNull(source, "Argument \"source\" must be non-null."); + this.observableReference = + Objects.requireNonNull( + observableReference, "Argument \"observableReference\" must be non-null."); + this.timeStamp = Objects.requireNonNull(timeStamp, "Argument \"timeStamp\" must be non-null."); + } + + public EventPayload( + IReference source, + IReference observableReference, + String timeStamp, + IReference sourceSemanticId, + IReference observableSemanticId, + String topic, + IReference subjectId, + byte[] payload) { + this.source = Objects.requireNonNull(source, "Argument \"source\" must be non-null."); + this.observableReference = + Objects.requireNonNull( + observableReference, "Argument \"observableReference\" must be non-null."); + this.timeStamp = Objects.requireNonNull(timeStamp, "Argument \"timeStamp\" must be non-null."); + this.sourceSemanticId = sourceSemanticId; + this.observableSemanticId = observableSemanticId; + this.topic = topic; + this.subjectId = subjectId; + this.payload = payload; + } + + @Override + public IReference getSource() { + return source; + } + + @Override + public void setSource(IReference source) { + this.source = Objects.requireNonNull(source, "Argument \"source\" must be non-null."); + } + + @Override + public Optional getSourceSemanticId() { + return Optional.ofNullable(sourceSemanticId); + } + + @Override + public void setSourceSemanticId(IReference sourceSemanticId) { + this.sourceSemanticId = sourceSemanticId; + } + + @Override + public IReference getObservableReference() { + return observableReference; + } + + @Override + public void setObservableReference(IReference observableReference) { + this.observableReference = + Objects.requireNonNull( + observableReference, "Argument \"observableReference\" must be non-null."); + } + + @Override + public Optional getObservableSemanticId() { + return Optional.ofNullable(observableSemanticId); + } + + @Override + public void setObservableSemanticId(IReference observableSemanticId) { + this.observableSemanticId = observableSemanticId; + } + + @Override + public Optional getTopic() { + return Optional.ofNullable(topic); + } + + @Override + public void setTopic(String topic) { + this.topic = topic; + } + + @Override + public Optional getSubjectId() { + return Optional.ofNullable(subjectId); + } + + @Override + public void setSubjectId(IReference subjectId) { + this.subjectId = subjectId; + } + + @Override + public String getTimeStamp() { + return timeStamp; + } + + @Override + public void setTimeStamp(String timeStamp) { + this.timeStamp = Objects.requireNonNull(timeStamp, "Argument \"timeStamp\" must be non-null."); + } + + @Override + public Optional getPayload() { + return Optional.ofNullable(payload); + } + + @Override + public void setPayload(byte[] payload) { + this.payload = payload; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _EventPayloadRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _EventPayloadIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitEventPayload(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitEventPayload(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformEventPayload(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformEventPayload(this, context); + } + + private class _EventPayloadIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (source != null) { + memberStream = Stream.concat(memberStream, Stream.of(EventPayload.this.source)); + } + + if (sourceSemanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(EventPayload.this.sourceSemanticId)); + } + + if (observableReference != null) { + memberStream = + Stream.concat(memberStream, Stream.of(EventPayload.this.observableReference)); + } + + if (observableSemanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(EventPayload.this.observableSemanticId)); + } + + if (subjectId != null) { + memberStream = Stream.concat(memberStream, Stream.of(EventPayload.this.subjectId)); + } + + return memberStream; + } + } + + private class _EventPayloadRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (source != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.source), + StreamSupport.stream(EventPayload.this.source.descend().spliterator(), false))); + } + + if (sourceSemanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.sourceSemanticId), + StreamSupport.stream( + EventPayload.this.sourceSemanticId.descend().spliterator(), false))); + } + + if (observableReference != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.observableReference), + StreamSupport.stream( + EventPayload.this.observableReference.descend().spliterator(), false))); + } + + if (observableSemanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.observableSemanticId), + StreamSupport.stream( + EventPayload.this.observableSemanticId.descend().spliterator(), false))); + } + + if (subjectId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(EventPayload.this.subjectId), + StreamSupport.stream( + EventPayload.this.subjectId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Extension.java b/src/main/java/aas_core/aas3_1/types/impl/Extension.java new file mode 100644 index 00000000..9879ffd2 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Extension.java @@ -0,0 +1,314 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IExtension; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** Single extension of an element. */ +public class Extension implements IExtension { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Name of the extension. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-077: The name of an extension (Extension/name) within {@link + * aas_core.aas3_1.types.model.IHasExtensions} needs to be unique. + *
+ */ + private String name; + + /** + * Type of the value of the extension. + * + *

Default: {@link aas_core.aas3_1.types.enums.DataTypeDefXsd#STRING} + */ + private DataTypeDefXsd valueType; + + /** Value of the extension */ + private String value; + + /** Reference to an element the extension refers to. */ + private List refersTo; + + public Extension(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + public Extension( + String name, + IReference semanticId, + List supplementalSemanticIds, + DataTypeDefXsd valueType, + String value, + List refersTo) { + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.valueType = valueType; + this.value = value; + this.refersTo = refersTo; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public String getName() { + return name; + } + + @Override + public void setName(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + @Override + public Optional getValueType() { + return Optional.ofNullable(valueType); + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = valueType; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional> getRefersTo() { + return Optional.ofNullable(refersTo); + } + + @Override + public void setRefersTo(List refersTo) { + this.refersTo = refersTo; + } + + /** + * Iterate over {@link Extension#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Extension#refersTo}, if set, and otherwise return an empty iterator. */ + public Iterable overRefersToOrEmpty() { + return getRefersTo().orElseGet(Collections::emptyList); + } + + /** + * @return the value type {@link DataTypeDefXsd} or the default value if it has not been set. + */ + public DataTypeDefXsd valueTypeOrDefault() { + return valueType != null ? valueType : DataTypeDefXsd.STRING; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ExtensionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ExtensionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitExtension(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitExtension(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformExtension(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformExtension(this, context); + } + + private class _ExtensionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Extension.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Extension.this.supplementalSemanticIds, false)); + } + + if (refersTo != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IReference(Extension.this.refersTo, false)); + } + + return memberStream; + } + } + + private class _ExtensionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Extension.this.semanticId), + StreamSupport.stream( + Extension.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Extension.this.supplementalSemanticIds, true)); + } + + if (refersTo != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IReference(Extension.this.refersTo, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/File.java b/src/main/java/aas_core/aas3_1/types/impl/File.java new file mode 100644 index 00000000..4c7e4275 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/File.java @@ -0,0 +1,493 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IFile; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A File is a data element that represents an address to a file (a locator). + * + *

The value is an URI that can represent an absolute or relative path. + */ +public class File implements IFile { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Path and name of the referenced file (with file extension). + * + *

The path can be absolute or relative. + */ + private String value; + + /** + * Content type of the content of the file. + * + *

The content type states which file extensions the file can have. + */ + private String contentType; + + public File() {} + + public File( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String value, + String contentType) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.contentType = contentType; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional getContentType() { + return Optional.ofNullable(contentType); + } + + @Override + public void setContentType(String contentType) { + this.contentType = contentType; + } + + /** Iterate over {@link File#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link File#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link File#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link File#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link File#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link File#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _FileRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _FileIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitFile(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitFile(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformFile(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformFile(this, context); + } + + private class _FileIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(File.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(File.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(File.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(File.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(File.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(File.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + File.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _FileRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(File.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(File.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(File.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(File.this.semanticId), + StreamSupport.stream(File.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(File.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(File.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + File.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Key.java b/src/main/java/aas_core/aas3_1/types/impl/Key.java new file mode 100644 index 00000000..e0c49226 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Key.java @@ -0,0 +1,112 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IKey; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** A key is a reference to an element by its ID. */ +public class Key implements IKey { + /** + * Denotes which kind of entity is referenced. + * + *

In case {@link #getType()} = {@link aas_core.aas3_1.types.enums.KeyTypes#GLOBAL_REFERENCE}, + * the key represents a reference to a source that can be globally identified. + * + *

In case {@link #getType()} = {@link aas_core.aas3_1.types.enums.KeyTypes#FRAGMENT_REFERENCE} + * the key represents a bookmark or a similar local identifier within its parent element as + * specified by the key that precedes this key. + * + *

In all other cases the key references a model element of the same or of another AAS. The + * name of the model element is explicitly listed. + */ + private KeyTypes type; + + /** The key value, for example an IRDI or an URI */ + private String value; + + public Key(KeyTypes type, String value) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public KeyTypes getType() { + return type; + } + + @Override + public void setType(KeyTypes type) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + } + + @Override + public String getValue() { + return value; + } + + @Override + public void setValue(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitKey(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitKey(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformKey(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformKey(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/LangStringDefinitionTypeIec61360.java b/src/main/java/aas_core/aas3_1/types/impl/LangStringDefinitionTypeIec61360.java new file mode 100644 index 00000000..eed26524 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/LangStringDefinitionTypeIec61360.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ILangStringDefinitionTypeIec61360; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 1023 maximum and minimum 1 characters and with language tags */ +public class LangStringDefinitionTypeIec61360 implements ILangStringDefinitionTypeIec61360 { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_1.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringDefinitionTypeIec61360(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringDefinitionTypeIec61360(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringDefinitionTypeIec61360(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringDefinitionTypeIec61360(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringDefinitionTypeIec61360(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/LangStringNameType.java b/src/main/java/aas_core/aas3_1/types/impl/LangStringNameType.java new file mode 100644 index 00000000..6d6670bf --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/LangStringNameType.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ILangStringNameType; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 128 maximum and minimum 1 characters and with language tags */ +public class LangStringNameType implements ILangStringNameType { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_1.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringNameType(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringNameType(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringNameType(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringNameType(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringNameType(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/LangStringPreferredNameTypeIec61360.java b/src/main/java/aas_core/aas3_1/types/impl/LangStringPreferredNameTypeIec61360.java new file mode 100644 index 00000000..334c4b8d --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/LangStringPreferredNameTypeIec61360.java @@ -0,0 +1,104 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ILangStringPreferredNameTypeIec61360; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * String with length 255 maximum and minimum 1 characters and with language tags + * + *

It is advised to keep the length of the name limited to 35 characters. + */ +public class LangStringPreferredNameTypeIec61360 implements ILangStringPreferredNameTypeIec61360 { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_1.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringPreferredNameTypeIec61360(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringPreferredNameTypeIec61360(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringPreferredNameTypeIec61360(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringPreferredNameTypeIec61360(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringPreferredNameTypeIec61360(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/LangStringShortNameTypeIec61360.java b/src/main/java/aas_core/aas3_1/types/impl/LangStringShortNameTypeIec61360.java new file mode 100644 index 00000000..f9841b0f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/LangStringShortNameTypeIec61360.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ILangStringShortNameTypeIec61360; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 18 maximum and minimum 1 characters and with language tags */ +public class LangStringShortNameTypeIec61360 implements ILangStringShortNameTypeIec61360 { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_1.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringShortNameTypeIec61360(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringShortNameTypeIec61360(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringShortNameTypeIec61360(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringShortNameTypeIec61360(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringShortNameTypeIec61360(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/LangStringTextType.java b/src/main/java/aas_core/aas3_1/types/impl/LangStringTextType.java new file mode 100644 index 00000000..08518f52 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/LangStringTextType.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ILangStringTextType; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** String with length 1023 maximum and minimum 1 characters and with language tags */ +public class LangStringTextType implements ILangStringTextType { + /** Language tag conforming to BCP 47 */ + private String language; + + /** Text in the {@link aas_core.aas3_1.types.model.IAbstractLangString#getLanguage()} */ + private String text; + + public LangStringTextType(String language, String text) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + @Override + public String getLanguage() { + return language; + } + + @Override + public void setLanguage(String language) { + this.language = Objects.requireNonNull(language, "Argument \"language\" must be non-null."); + } + + @Override + public String getText() { + return text; + } + + @Override + public void setText(String text) { + this.text = Objects.requireNonNull(text, "Argument \"text\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLangStringTextType(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLangStringTextType(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLangStringTextType(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLangStringTextType(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/LevelType.java b/src/main/java/aas_core/aas3_1/types/impl/LevelType.java new file mode 100644 index 00000000..4450fd3b --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/LevelType.java @@ -0,0 +1,162 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ILevelType; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; + +/** + * Value represented by up to four variants of a numeric value in a specific role: {@code MIN}, + * {@code NOM}, {@code TYP} and {@code MAX}. True means that the value is available, false means the + * value is not available. + * + *

EXAMPLE from [IEC61360-1]: In the case of having a property which is of the LEVEL_TYPE min/max + * − expressing a range − only those two values need to be provided. + * + *

This is how AAS deals with the following combinations of level types: + * + *

    + *
  • + *

    Either all attributes are false. In this case the concept is mapped to a {@link + * aas_core.aas3_1.types.impl.Property} and level type is ignored. + *

  • + *

    At most one of the attributes is set to true. In this case the concept is mapped to a + * {@link aas_core.aas3_1.types.impl.Property}. + *

  • + *

    Min and max are set to true. In this case the concept is mapped to a {@link + * aas_core.aas3_1.types.impl.Range}. + *

  • + *

    More than one attribute is set to true but not min and max only (see second case). In + * this case the concept is mapped to a {@link + * aas_core.aas3_1.types.impl.SubmodelElementCollection} with the corresponding number of + * Properties. Example: If attribute {@link #getMin()} and {@link #getNom()} are set to true + * then the concept is mapped to a {@link + * aas_core.aas3_1.types.impl.SubmodelElementCollection} with two Properties within: min and + * nom. The data type of both Properties is the same. + *

+ * + *

In the cases 2. and 4. the {@link aas_core.aas3_1.types.impl.Property#getSemanticId()} of the + * Property or Properties within the {@link aas_core.aas3_1.types.impl.SubmodelElementCollection} + * needs to include information about the level type. Otherwise, the semantics is not described in a + * unique way. Please refer to the specification. + */ +public class LevelType implements ILevelType { + /** Minimum of the value */ + private Boolean min; + + /** Nominal value (value as designated) */ + private Boolean nom; + + /** Value as typically present */ + private Boolean typ; + + /** Maximum of the value */ + private Boolean max; + + public LevelType(Boolean min, Boolean nom, Boolean typ, Boolean max) { + this.min = Objects.requireNonNull(min, "Argument \"min\" must be non-null."); + this.nom = Objects.requireNonNull(nom, "Argument \"nom\" must be non-null."); + this.typ = Objects.requireNonNull(typ, "Argument \"typ\" must be non-null."); + this.max = Objects.requireNonNull(max, "Argument \"max\" must be non-null."); + } + + @Override + public Boolean getMin() { + return min; + } + + @Override + public void setMin(Boolean min) { + this.min = Objects.requireNonNull(min, "Argument \"min\" must be non-null."); + } + + @Override + public Boolean getNom() { + return nom; + } + + @Override + public void setNom(Boolean nom) { + this.nom = Objects.requireNonNull(nom, "Argument \"nom\" must be non-null."); + } + + @Override + public Boolean getTyp() { + return typ; + } + + @Override + public void setTyp(Boolean typ) { + this.typ = Objects.requireNonNull(typ, "Argument \"typ\" must be non-null."); + } + + @Override + public Boolean getMax() { + return max; + } + + @Override + public void setMax(Boolean max) { + this.max = Objects.requireNonNull(max, "Argument \"max\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitLevelType(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitLevelType(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformLevelType(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformLevelType(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/MultiLanguageProperty.java b/src/main/java/aas_core/aas3_1/types/impl/MultiLanguageProperty.java new file mode 100644 index 00000000..dca79968 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/MultiLanguageProperty.java @@ -0,0 +1,556 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IMultiLanguageProperty; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A property is a data element that has a multi-language value. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-012: If both the {@link #getValue()} and the {@link #getValueId()} are + * present then for each string in a specific language the meaning must be the same as + * specified in {@link #getValueId()}. + *
+ */ +public class MultiLanguageProperty implements IMultiLanguageProperty { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** The value of the property instance. */ + private List value; + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public MultiLanguageProperty() {} + + public MultiLanguageProperty( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List value, + IReference valueId) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.value = value; + this.valueId = valueId; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(List value) { + this.value = value; + } + + @Override + public Optional getValueId() { + return Optional.ofNullable(valueId); + } + + @Override + public void setValueId(IReference valueId) { + this.valueId = valueId; + } + + /** + * Iterate over {@link MultiLanguageProperty#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#supplementalSemanticIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link MultiLanguageProperty#value}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overValueOrEmpty() { + return getValue().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _MultiLanguagePropertyRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _MultiLanguagePropertyIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitMultiLanguageProperty(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitMultiLanguageProperty(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformMultiLanguageProperty(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformMultiLanguageProperty(this, context); + } + + private class _MultiLanguagePropertyIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(MultiLanguageProperty.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + MultiLanguageProperty.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + MultiLanguageProperty.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(MultiLanguageProperty.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + MultiLanguageProperty.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(MultiLanguageProperty.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + MultiLanguageProperty.this.embeddedDataSpecifications, false)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(MultiLanguageProperty.this.value, false)); + } + + if (valueId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(MultiLanguageProperty.this.valueId)); + } + + return memberStream; + } + } + + private class _MultiLanguagePropertyRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(MultiLanguageProperty.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + MultiLanguageProperty.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + MultiLanguageProperty.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(MultiLanguageProperty.this.semanticId), + StreamSupport.stream( + MultiLanguageProperty.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + MultiLanguageProperty.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(MultiLanguageProperty.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + MultiLanguageProperty.this.embeddedDataSpecifications, true)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(MultiLanguageProperty.this.value, true)); + } + + if (valueId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(MultiLanguageProperty.this.valueId), + StreamSupport.stream( + MultiLanguageProperty.this.valueId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Operation.java b/src/main/java/aas_core/aas3_1/types/impl/Operation.java new file mode 100644 index 00000000..a3259f6e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Operation.java @@ -0,0 +1,572 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IOperation; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * An operation is a submodel element with input and output variables. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-134: For an {@link aas_core.aas3_1.types.impl.Operation} the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} of all {@link + * aas_core.aas3_1.types.impl.OperationVariable#getValue()}'s in {@link #getInputVariables()}, + * {@link #getOutputVariables()} and {@link #getInoutputVariables()} shall be unique. + *
+ */ +public class Operation implements IOperation { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Input parameter of the operation. */ + private List inputVariables; + + /** Output parameter of the operation. */ + private List outputVariables; + + /** Parameter that is input and output of the operation. */ + private List inoutputVariables; + + public Operation() {} + + public Operation( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List inputVariables, + List outputVariables, + List inoutputVariables) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.inputVariables = inputVariables; + this.outputVariables = outputVariables; + this.inoutputVariables = inoutputVariables; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getInputVariables() { + return Optional.ofNullable(inputVariables); + } + + @Override + public void setInputVariables(List inputVariables) { + this.inputVariables = inputVariables; + } + + @Override + public Optional> getOutputVariables() { + return Optional.ofNullable(outputVariables); + } + + @Override + public void setOutputVariables(List outputVariables) { + this.outputVariables = outputVariables; + } + + @Override + public Optional> getInoutputVariables() { + return Optional.ofNullable(inoutputVariables); + } + + @Override + public void setInoutputVariables(List inoutputVariables) { + this.inoutputVariables = inoutputVariables; + } + + /** Iterate over {@link Operation#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Operation#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Operation#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Operation#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#embeddedDataSpecifications}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#inputVariables}, if set, and otherwise return an empty iterator. + */ + public Iterable overInputVariablesOrEmpty() { + return getInputVariables().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#outputVariables}, if set, and otherwise return an empty iterator. + */ + public Iterable overOutputVariablesOrEmpty() { + return getOutputVariables().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Operation#inoutputVariables}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overInoutputVariablesOrEmpty() { + return getInoutputVariables().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperation(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperation(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperation(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperation(this, context); + } + + private class _OperationIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Operation.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Operation.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Operation.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Operation.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Operation.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Operation.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Operation.this.embeddedDataSpecifications, false)); + } + + if (inputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.inputVariables, false)); + } + + if (outputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.outputVariables, false)); + } + + if (inoutputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.inoutputVariables, false)); + } + + return memberStream; + } + } + + private class _OperationRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Operation.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Operation.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Operation.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Operation.this.semanticId), + StreamSupport.stream( + Operation.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Operation.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Operation.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Operation.this.embeddedDataSpecifications, true)); + } + + if (inputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.inputVariables, true)); + } + + if (outputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.outputVariables, true)); + } + + if (inoutputVariables != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IOperationVariable(Operation.this.inoutputVariables, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/OperationVariable.java b/src/main/java/aas_core/aas3_1/types/impl/OperationVariable.java new file mode 100644 index 00000000..3dc517a2 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/OperationVariable.java @@ -0,0 +1,165 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IOperationVariable; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * The value of an operation variable is a submodel element that is used as input and/or output + * variable of an operation. + */ +public class OperationVariable implements IOperationVariable { + /** Describes an argument or result of an operation via a submodel element */ + private ISubmodelElement value; + + public OperationVariable(ISubmodelElement value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public ISubmodelElement getValue() { + return value; + } + + @Override + public void setValue(ISubmodelElement value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _OperationVariableRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _OperationVariableIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitOperationVariable(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitOperationVariable(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformOperationVariable(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformOperationVariable(this, context); + } + + private class _OperationVariableIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (value != null) { + memberStream = Stream.concat(memberStream, Stream.of(OperationVariable.this.value)); + } + + return memberStream; + } + } + + private class _OperationVariableRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(OperationVariable.this.value), + StreamSupport.stream( + OperationVariable.this.value.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Property.java b/src/main/java/aas_core/aas3_1/types/impl/Property.java new file mode 100644 index 00000000..e43c2bfa --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Property.java @@ -0,0 +1,526 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IProperty; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A property is a data element that has a single value. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-007: If both, the {@link #getValue()} and the {@link #getValueId()} are + * present then the value of {@link #getValue()} needs to be identical to the value of the + * referenced coded value in {@link #getValueId()}. + *
+ */ +public class Property implements IProperty { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Data type of the value */ + private DataTypeDefXsd valueType; + + /** The value of the property instance. */ + private String value; + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public Property(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public Property( + DataTypeDefXsd valueType, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String value, + IReference valueId) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + this.value = value; + this.valueId = valueId; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public DataTypeDefXsd getValueType() { + return valueType; + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional getValueId() { + return Optional.ofNullable(valueId); + } + + @Override + public void setValueId(IReference valueId) { + this.valueId = valueId; + } + + /** Iterate over {@link Property#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Property#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Property#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Property#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Property#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Property#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _PropertyRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _PropertyIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitProperty(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitProperty(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformProperty(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformProperty(this, context); + } + + private class _PropertyIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Property.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Property.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Property.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Property.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Property.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Property.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Property.this.embeddedDataSpecifications, false)); + } + + if (valueId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Property.this.valueId)); + } + + return memberStream; + } + } + + private class _PropertyRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Property.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Property.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Property.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Property.this.semanticId), + StreamSupport.stream(Property.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Property.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Property.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Property.this.embeddedDataSpecifications, true)); + } + + if (valueId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Property.this.valueId), + StreamSupport.stream(Property.this.valueId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Qualifier.java b/src/main/java/aas_core/aas3_1/types/impl/Qualifier.java new file mode 100644 index 00000000..fde61d2c --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Qualifier.java @@ -0,0 +1,336 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IQualifier; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A qualifier is a type-value-pair that makes additional statements w.r.t. the value of the + * element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-006: If both the {@link #getValue()} and the {@link #getValueId()} of a + * {@link aas_core.aas3_1.types.impl.Qualifier} are present then the {@link #getValue()} needs + * to be identical to the value of the referenced coded value in {@link #getValueId()}. + *
  • Constraint AASd-020: The value of {@link #getValue()} shall be consistent to the data type + * as defined in {@link #getValueType()}. + *
+ */ +public class Qualifier implements IQualifier { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * The qualifier kind describes the kind of the qualifier that is applied to the element. + * + *

Default: {@link aas_core.aas3_1.types.enums.QualifierKind#CONCEPT_QUALIFIER} + */ + private QualifierKind kind; + + /** + * The qualifier type describes the type of the qualifier that is applied to the element. + */ + private String type; + + /** Data type of the qualifier value. */ + private DataTypeDefXsd valueType; + + /** The qualifier value is the value of the qualifier. */ + private String value; + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public Qualifier(String type, DataTypeDefXsd valueType) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public Qualifier( + String type, + DataTypeDefXsd valueType, + IReference semanticId, + List supplementalSemanticIds, + QualifierKind kind, + String value, + IReference valueId) { + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + this.kind = kind; + this.value = value; + this.valueId = valueId; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional getKind() { + return Optional.ofNullable(kind); + } + + @Override + public void setKind(QualifierKind kind) { + this.kind = kind; + } + + @Override + public String getType() { + return type; + } + + @Override + public void setType(String type) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + } + + @Override + public DataTypeDefXsd getValueType() { + return valueType; + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(String value) { + this.value = value; + } + + @Override + public Optional getValueId() { + return Optional.ofNullable(valueId); + } + + @Override + public void setValueId(IReference valueId) { + this.valueId = valueId; + } + + /** + * Iterate over {@link Qualifier#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * @return the {@link QualifierKind} or the default value if it has not been set. + */ + public QualifierKind kindOrDefault() { + return kind != null ? kind : QualifierKind.CONCEPT_QUALIFIER; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _QualifierRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _QualifierIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitQualifier(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitQualifier(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformQualifier(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformQualifier(this, context); + } + + private class _QualifierIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Qualifier.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Qualifier.this.supplementalSemanticIds, false)); + } + + if (valueId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Qualifier.this.valueId)); + } + + return memberStream; + } + } + + private class _QualifierRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Qualifier.this.semanticId), + StreamSupport.stream( + Qualifier.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Qualifier.this.supplementalSemanticIds, true)); + } + + if (valueId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Qualifier.this.valueId), + StreamSupport.stream(Qualifier.this.valueId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Range.java b/src/main/java/aas_core/aas3_1/types/impl/Range.java new file mode 100644 index 00000000..8a369500 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Range.java @@ -0,0 +1,507 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IRange; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** A range data element is a data element that defines a range with min and max. */ +public class Range implements IRange { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Data type of the min und max */ + private DataTypeDefXsd valueType; + + /** + * The minimum value of the range. + * + *

If the min value is missing, then the value is assumed to be negative infinite. + */ + private String min; + + /** + * The maximum value of the range. + * + *

If the max value is missing, then the value is assumed to be positive infinite. + */ + private String max; + + public Range(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + public Range( + DataTypeDefXsd valueType, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + String min, + String max) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + this.min = min; + this.max = max; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public DataTypeDefXsd getValueType() { + return valueType; + } + + @Override + public void setValueType(DataTypeDefXsd valueType) { + this.valueType = Objects.requireNonNull(valueType, "Argument \"valueType\" must be non-null."); + } + + @Override + public Optional getMin() { + return Optional.ofNullable(min); + } + + @Override + public void setMin(String min) { + this.min = min; + } + + @Override + public Optional getMax() { + return Optional.ofNullable(max); + } + + @Override + public void setMax(String max) { + this.max = max; + } + + /** Iterate over {@link Range#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Range#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Range#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Range#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Range#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Range#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _RangeRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _RangeIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRange(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRange(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRange(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRange(this, context); + } + + private class _RangeIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Range.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Range.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Range.this.description, false)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Range.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Range.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Range.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Range.this.embeddedDataSpecifications, false)); + } + + return memberStream; + } + } + + private class _RangeRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Range.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Range.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Range.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Range.this.semanticId), + StreamSupport.stream(Range.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Range.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Range.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Range.this.embeddedDataSpecifications, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Reference.java b/src/main/java/aas_core/aas3_1/types/impl/Reference.java new file mode 100644 index 00000000..0349d262 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Reference.java @@ -0,0 +1,289 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IReference; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Reference to either a model element of the same or another AAS or to an external entity. + * + *

A reference is an ordered list of keys. + * + *

A model reference is an ordered list of keys, each key referencing an element. The complete + * list of keys may for example be concatenated to a path that then gives unique access to an + * element. + * + *

An external reference is a reference to an external entity. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-121: For {@link aas_core.aas3_1.types.impl.Reference}'s the value of {@link + * aas_core.aas3_1.types.impl.Key#getType()} of the first key of " {@link #getKeys()} shall be + * one of {@link aas_core.aas3_1.constants.Constants#globallyIdentifiables}. + *
  • Constraint AASd-122: For external references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the value of {@link + * aas_core.aas3_1.types.impl.Key#getType()} of the first key of {@link #getKeys()} shall be + * one of {@link aas_core.aas3_1.constants.Constants#genericGloballyIdentifiables}. + *
  • Constraint AASd-123: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, the value of {@link + * aas_core.aas3_1.types.impl.Key#getType()} of the first key of {@link #getKeys()} shall be + * one of {@link aas_core.aas3_1.constants.Constants#aasIdentifiables}. + *
  • Constraint AASd-124: For external references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the last key of {@link + * #getKeys()} shall be either one of {@link + * aas_core.aas3_1.constants.Constants#genericGloballyIdentifiables} or one of {@link + * aas_core.aas3_1.constants.Constants#genericFragmentKeys}. + *
  • Constraint AASd-125: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} the value of {@link aas_core.aas3_1.types.impl.Key#getType()} of each of + * the keys following the first key of {@link #getKeys()} shall be one of {@link + * aas_core.aas3_1.constants.Constants#fragmentKeys}. + *

    Constraint AASd-125 ensures that the shortest path is used. + *

  • Constraint AASd-126: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} the value of {@link aas_core.aas3_1.types.impl.Key#getType()} of the + * last key in the reference key chain may be one of {@link + * aas_core.aas3_1.constants.Constants#genericFragmentKeys} or no key at all shall have a + * value out of {@link aas_core.aas3_1.constants.Constants#genericFragmentKeys}. + *
  • Constraint AASd-127: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} a key with {@link aas_core.aas3_1.types.impl.Key#getType()} {@link + * aas_core.aas3_1.types.enums.KeyTypes#FRAGMENT_REFERENCE} shall be preceded by a key with + * {@link aas_core.aas3_1.types.impl.Key#getType()} {@link + * aas_core.aas3_1.types.enums.KeyTypes#FILE} or {@link + * aas_core.aas3_1.types.enums.KeyTypes#BLOB}. All other AAS fragments, i.e. {@link + * aas_core.aas3_1.types.impl.Key#getType()} values out of {@link + * aas_core.aas3_1.constants.Constants#aasSubmodelElementsAsKeys}, do not support fragments. + *

    Which kind of fragments are supported depends on the content type and the specification + * of allowed fragment identifiers for the corresponding resource being referenced via the + * reference. + *

  • Constraint AASd-128: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, the {@link + * aas_core.aas3_1.types.impl.Key#getValue()} of a {@link aas_core.aas3_1.types.impl.Key} + * preceded by a {@link aas_core.aas3_1.types.impl.Key} with {@link + * aas_core.aas3_1.types.impl.Key#getType()} = {@link + * aas_core.aas3_1.types.enums.KeyTypes#SUBMODEL_ELEMENT_LIST} is an integer number denoting + * the position in the array of the submodel element list. + *
+ */ +public class Reference implements IReference { + /** + * Type of the reference. + * + *

Denotes, whether reference is an external reference or a model reference. + */ + private ReferenceTypes type; + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the referenced model + * element ({@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}). + * + *

For external references there typically is no semantic ID. + * + *

It is recommended to use a external reference. + */ + private IReference referredSemanticId; + + /** Unique references in their name space. */ + private List keys; + + public Reference(ReferenceTypes type, List keys) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + public Reference(ReferenceTypes type, List keys, IReference referredSemanticId) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + this.referredSemanticId = referredSemanticId; + } + + @Override + public ReferenceTypes getType() { + return type; + } + + @Override + public void setType(ReferenceTypes type) { + this.type = Objects.requireNonNull(type, "Argument \"type\" must be non-null."); + } + + @Override + public Optional getReferredSemanticId() { + return Optional.ofNullable(referredSemanticId); + } + + @Override + public void setReferredSemanticId(IReference referredSemanticId) { + this.referredSemanticId = referredSemanticId; + } + + @Override + public List getKeys() { + return keys; + } + + @Override + public void setKeys(List keys) { + this.keys = Objects.requireNonNull(keys, "Argument \"keys\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ReferenceRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ReferenceIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitReference(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReference(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformReference(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReference(this, context); + } + + private class _ReferenceIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (referredSemanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(Reference.this.referredSemanticId)); + } + + if (keys != null) { + memberStream = + Stream.concat(memberStream, Descent.descendListOf_IKey(Reference.this.keys, false)); + } + + return memberStream; + } + } + + private class _ReferenceRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (referredSemanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Reference.this.referredSemanticId), + StreamSupport.stream( + Reference.this.referredSemanticId.descend().spliterator(), false))); + } + + if (keys != null) { + memberStream = + Stream.concat(memberStream, Descent.descendListOf_IKey(Reference.this.keys, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/ReferenceElement.java b/src/main/java/aas_core/aas3_1/types/impl/ReferenceElement.java new file mode 100644 index 00000000..f0d180b2 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/ReferenceElement.java @@ -0,0 +1,508 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IReferenceElement; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A reference element is a data element that defines a logical reference to another element within + * the same or another AAS or a reference to an external object or entity. + */ +public class ReferenceElement implements IReferenceElement { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Global reference to an external object or entity or a logical reference to another element + * within the same or another AAS (i.e. a model reference to a Referable). + */ + private IReference value; + + public ReferenceElement() {} + + public ReferenceElement( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + IReference value) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(IReference value) { + this.value = value; + } + + /** + * Iterate over {@link ReferenceElement#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link ReferenceElement#embeddedDataSpecifications}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ReferenceElementRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ReferenceElementIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitReferenceElement(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitReferenceElement(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformReferenceElement(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformReferenceElement(this, context); + } + + private class _ReferenceElementIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ReferenceElement.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + ReferenceElement.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + ReferenceElement.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(ReferenceElement.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + ReferenceElement.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(ReferenceElement.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ReferenceElement.this.embeddedDataSpecifications, false)); + } + + if (value != null) { + memberStream = Stream.concat(memberStream, Stream.of(ReferenceElement.this.value)); + } + + return memberStream; + } + } + + private class _ReferenceElementRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(ReferenceElement.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(ReferenceElement.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(ReferenceElement.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ReferenceElement.this.semanticId), + StreamSupport.stream( + ReferenceElement.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + ReferenceElement.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(ReferenceElement.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + ReferenceElement.this.embeddedDataSpecifications, true)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ReferenceElement.this.value), + StreamSupport.stream( + ReferenceElement.this.value.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/RelationshipElement.java b/src/main/java/aas_core/aas3_1/types/impl/RelationshipElement.java new file mode 100644 index 00000000..701facb8 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/RelationshipElement.java @@ -0,0 +1,538 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IRelationshipElement; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A relationship element is used to define a relationship between two elements being either + * referable (model reference) or external (global reference). + */ +public class RelationshipElement implements IRelationshipElement { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Reference to the first element in the relationship taking the role of the subject. */ + private IReference first; + + /** Reference to the second element in the relationship taking the role of the object. */ + private IReference second; + + public RelationshipElement() {} + + public RelationshipElement( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + IReference first, + IReference second) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.first = first; + this.second = second; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getFirst() { + return Optional.ofNullable(first); + } + + @Override + public void setFirst(IReference first) { + this.first = first; + } + + @Override + public Optional getSecond() { + return Optional.ofNullable(second); + } + + @Override + public void setSecond(IReference second) { + this.second = second; + } + + /** + * Iterate over {@link RelationshipElement#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#supplementalSemanticIds}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link RelationshipElement#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _RelationshipElementRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _RelationshipElementIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitRelationshipElement(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitRelationshipElement(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformRelationshipElement(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformRelationshipElement(this, context); + } + + private class _RelationshipElementIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(RelationshipElement.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + RelationshipElement.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + RelationshipElement.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RelationshipElement.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + RelationshipElement.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(RelationshipElement.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + RelationshipElement.this.embeddedDataSpecifications, false)); + } + + if (first != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RelationshipElement.this.first)); + } + + if (second != null) { + memberStream = + Stream.concat(memberStream, Stream.of(RelationshipElement.this.second)); + } + + return memberStream; + } + } + + private class _RelationshipElementRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(RelationshipElement.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + RelationshipElement.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + RelationshipElement.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElement.this.semanticId), + StreamSupport.stream( + RelationshipElement.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + RelationshipElement.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(RelationshipElement.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + RelationshipElement.this.embeddedDataSpecifications, true)); + } + + if (first != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElement.this.first), + StreamSupport.stream( + RelationshipElement.this.first.descend().spliterator(), false))); + } + + if (second != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(RelationshipElement.this.second), + StreamSupport.stream( + RelationshipElement.this.second.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Resource.java b/src/main/java/aas_core/aas3_1/types/impl/Resource.java new file mode 100644 index 00000000..04e961b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Resource.java @@ -0,0 +1,116 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IResource; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Objects; +import java.util.Optional; + +/** + * Resource represents an address to a file (a locator). The value is an URI that can represent an + * absolute or relative path + */ +public class Resource implements IResource { + /** + * Path and name of the resource (with file extension). + * + *

The path can be absolute or relative. + */ + private String path; + + /** + * Content type of the content of the file. + * + *

The content type states which file extensions the file can have. + */ + private String contentType; + + public Resource(String path) { + this.path = Objects.requireNonNull(path, "Argument \"path\" must be non-null."); + } + + public Resource(String path, String contentType) { + this.path = Objects.requireNonNull(path, "Argument \"path\" must be non-null."); + this.contentType = contentType; + } + + @Override + public String getPath() { + return path; + } + + @Override + public void setPath(String path) { + this.path = Objects.requireNonNull(path, "Argument \"path\" must be non-null."); + } + + @Override + public Optional getContentType() { + return Optional.ofNullable(contentType); + } + + @Override + public void setContentType(String contentType) { + this.contentType = contentType; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return Collections.emptyList(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return Collections.emptyList(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitResource(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitResource(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformResource(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformResource(this, context); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/SpecificAssetId.java b/src/main/java/aas_core/aas3_1/types/impl/SpecificAssetId.java new file mode 100644 index 00000000..fc5bcbb9 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/SpecificAssetId.java @@ -0,0 +1,297 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ISpecificAssetId; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A specific asset ID describes a generic supplementary identifying attribute of the asset. + * + *

The specific asset ID is not necessarily globally unique. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-133: {@link #getExternalSubjectId()} shall be an external reference, i.e. + * {@link aas_core.aas3_1.types.impl.Reference#getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}. + *
+ */ +public class SpecificAssetId implements ISpecificAssetId { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** Name of the identifier */ + private String name; + + /** The value of the specific asset identifier with the corresponding name. */ + private String value; + + /** + * The (external) subject the key belongs to or has meaning to. + * + *

This is a global reference. + */ + private IReference externalSubjectId; + + public SpecificAssetId(String name, String value) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + public SpecificAssetId( + String name, + String value, + IReference semanticId, + List supplementalSemanticIds, + IReference externalSubjectId) { + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + this.externalSubjectId = externalSubjectId; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public String getName() { + return name; + } + + @Override + public void setName(String name) { + this.name = Objects.requireNonNull(name, "Argument \"name\" must be non-null."); + } + + @Override + public String getValue() { + return value; + } + + @Override + public void setValue(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public Optional getExternalSubjectId() { + return Optional.ofNullable(externalSubjectId); + } + + @Override + public void setExternalSubjectId(IReference externalSubjectId) { + this.externalSubjectId = externalSubjectId; + } + + /** + * Iterate over {@link SpecificAssetId#supplementalSemanticIds}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SpecificAssetIdRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SpecificAssetIdIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSpecificAssetId(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSpecificAssetId(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSpecificAssetId(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSpecificAssetId(this, context); + } + + private class _SpecificAssetIdIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SpecificAssetId.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SpecificAssetId.this.supplementalSemanticIds, false)); + } + + if (externalSubjectId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SpecificAssetId.this.externalSubjectId)); + } + + return memberStream; + } + } + + private class _SpecificAssetIdRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SpecificAssetId.this.semanticId), + StreamSupport.stream( + SpecificAssetId.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SpecificAssetId.this.supplementalSemanticIds, true)); + } + + if (externalSubjectId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SpecificAssetId.this.externalSubjectId), + StreamSupport.stream( + SpecificAssetId.this.externalSubjectId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/Submodel.java b/src/main/java/aas_core/aas3_1/types/impl/Submodel.java new file mode 100644 index 00000000..3355d3ee --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/Submodel.java @@ -0,0 +1,571 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ISubmodel; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A submodel defines a specific aspect of the asset represented by the AAS. + * + *

A submodel is used to structure the digital representation and technical functionality of an + * Administration Shell into distinguishable parts. Each submodel refers to a well-defined domain or + * subject matter. Submodels can become standardized and, thus, become submodels templates. + */ +public class Submodel implements ISubmodel { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + private IAdministrativeInformation administration; + + /** The globally unique identification of the element. */ + private String id; + + /** + * Kind of the element: either template or instance. + * + *

Default: {@link aas_core.aas3_1.types.enums.ModellingKind#INSTANCE} + */ + private ModellingKind kind; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** A submodel consists of zero or more submodel elements. */ + private List submodelElements; + + public Submodel(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + public Submodel( + String id, + List extensions, + String category, + String idShort, + List displayName, + List description, + IAdministrativeInformation administration, + ModellingKind kind, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List submodelElements) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + this.administration = administration; + this.kind = kind; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.submodelElements = submodelElements; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getAdministration() { + return Optional.ofNullable(administration); + } + + @Override + public void setAdministration(IAdministrativeInformation administration) { + this.administration = administration; + } + + @Override + public String getId() { + return id; + } + + @Override + public void setId(String id) { + this.id = Objects.requireNonNull(id, "Argument \"id\" must be non-null."); + } + + @Override + public Optional getKind() { + return Optional.ofNullable(kind); + } + + @Override + public void setKind(ModellingKind kind) { + this.kind = kind; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getSubmodelElements() { + return Optional.ofNullable(submodelElements); + } + + @Override + public void setSubmodelElements(List submodelElements) { + this.submodelElements = submodelElements; + } + + /** Iterate over {@link Submodel#extensions}, if set, and otherwise return an empty iterator. */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Submodel#displayName}, if set, and otherwise return an empty iterator. */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Submodel#description}, if set, and otherwise return an empty iterator. */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Submodel#supplementalSemanticIds}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** Iterate over {@link Submodel#qualifiers}, if set, and otherwise return an empty iterator. */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Submodel#embeddedDataSpecifications}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link Submodel#submodelElements}, if set, and otherwise return an empty iterator. + */ + public Iterable overSubmodelElementsOrEmpty() { + return getSubmodelElements().orElseGet(Collections::emptyList); + } + + /** + * @return the {@link ModellingKind} or the default value if it has not been set. + */ + public ModellingKind kindOrDefault() { + return kind != null ? kind : ModellingKind.INSTANCE; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodel(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodel(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodel(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodel(this, context); + } + + private class _SubmodelIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Submodel.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Submodel.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Submodel.this.description, false)); + } + + if (administration != null) { + memberStream = Stream.concat(memberStream, Stream.of(Submodel.this.administration)); + } + + if (semanticId != null) { + memberStream = Stream.concat(memberStream, Stream.of(Submodel.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Submodel.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Submodel.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Submodel.this.embeddedDataSpecifications, false)); + } + + if (submodelElements != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(Submodel.this.submodelElements, false)); + } + + return memberStream; + } + } + + private class _SubmodelRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IExtension(Submodel.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType(Submodel.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType(Submodel.this.description, true)); + } + + if (administration != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Submodel.this.administration), + StreamSupport.stream( + Submodel.this.administration.descend().spliterator(), false))); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(Submodel.this.semanticId), + StreamSupport.stream(Submodel.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference(Submodel.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, Descent.descendListOf_IQualifier(Submodel.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + Submodel.this.embeddedDataSpecifications, true)); + } + + if (submodelElements != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(Submodel.this.submodelElements, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/SubmodelElementCollection.java b/src/main/java/aas_core/aas3_1/types/impl/SubmodelElementCollection.java new file mode 100644 index 00000000..805844b7 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/SubmodelElementCollection.java @@ -0,0 +1,517 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ISubmodelElementCollection; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A submodel element collection is a kind of struct, i.e. a a logical encapsulation of multiple + * named values. It has a fixed number of submodel elements. + */ +public class SubmodelElementCollection implements ISubmodelElementCollection { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** Submodel element contained in the collection. */ + private List value; + + public SubmodelElementCollection() {} + + public SubmodelElementCollection( + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + List value) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional> getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(List value) { + this.value = value; + } + + /** + * Iterate over {@link SubmodelElementCollection#extensions}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#displayName}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#description}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#supplementalSemanticIds}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#qualifiers}, if set, and otherwise return an + * empty iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#embeddedDataSpecifications}, if set, and + * otherwise return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementCollection#value}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overValueOrEmpty() { + return getValue().orElseGet(Collections::emptyList); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelElementCollectionRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelElementCollectionIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementCollection(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementCollection(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementCollection(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementCollection(this, context); + } + + private class _SubmodelElementCollectionIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelElementCollection.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementCollection.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementCollection.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(SubmodelElementCollection.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementCollection.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelElementCollection.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementCollection.this.embeddedDataSpecifications, false)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement( + SubmodelElementCollection.this.value, false)); + } + + return memberStream; + } + } + + private class _SubmodelElementCollectionRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelElementCollection.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementCollection.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementCollection.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementCollection.this.semanticId), + StreamSupport.stream( + SubmodelElementCollection.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementCollection.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelElementCollection.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementCollection.this.embeddedDataSpecifications, true)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(SubmodelElementCollection.this.value, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/SubmodelElementList.java b/src/main/java/aas_core/aas3_1/types/impl/SubmodelElementList.java new file mode 100644 index 00000000..8994c1d1 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/SubmodelElementList.java @@ -0,0 +1,647 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.ISubmodelElementList; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Collections; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A submodel element list is an ordered list of submodel elements. + * + *

The numbering starts with zero (0). + * + *

Constraints: + * + *

    + *
  • Constraint AASd-107: If a first level child element in a {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} has a {@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} it shall be identical to {@link + * #getSemanticIdListElement()}. + *
  • Constraint AASd-114: If two first level child elements in a {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} have a {@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} then they shall be identical. + *
  • Constraint AASd-115: If a first level child element in a {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} does not specify a {@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} then the value is assumed to be + * identical to {@link #getSemanticIdListElement()}. + *
  • Constraint AASd-108: All first level child elements in a {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} shall have the same submodel element type + * as specified in {@link #getTypeValueListElement()}. + *
  • Constraint AASd-109: If {@link #getTypeValueListElement()} is equal to {@link + * aas_core.aas3_1.types.enums.AasSubmodelElements#PROPERTY} or {@link + * aas_core.aas3_1.types.enums.AasSubmodelElements#RANGE} {@link #getValueTypeListElement()} + * shall be set and all first level child elements in the {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} shall have the value type as specified in + * {@link #getValueTypeListElement()}. + *
+ */ +public class SubmodelElementList implements ISubmodelElementList { + /** An extension of the element. */ + private List extensions; + + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + private String category; + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} is typically identical to the short name + * in English. + */ + private String idShort; + + /** Display name. Can be provided in several languages. */ + private List displayName; + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + private List description; + + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private IReference semanticId; + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + private List supplementalSemanticIds; + + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + private List qualifiers; + + /** Embedded data specification. */ + private List embeddedDataSpecifications; + + /** + * Defines whether order in list is relevant. If {@link #getOrderRelevant()} = {@code False} then + * the list is representing a set or a bag. + * + *

Default: {@code True} + */ + private Boolean orderRelevant; + + /** + * Semantic ID the submodel elements contained in the list match to. + * + *

It is recommended to use a global reference. + */ + private IReference semanticIdListElement; + + /** The submodel element type of the submodel elements contained in the list. */ + private AasSubmodelElements typeValueListElement; + + /** The value type of the submodel element contained in the list. */ + private DataTypeDefXsd valueTypeListElement; + + /** + * Submodel element contained in the list. + * + *

The list is ordered. + */ + private List value; + + public SubmodelElementList(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + public SubmodelElementList( + AasSubmodelElements typeValueListElement, + List extensions, + String category, + String idShort, + List displayName, + List description, + IReference semanticId, + List supplementalSemanticIds, + List qualifiers, + List embeddedDataSpecifications, + Boolean orderRelevant, + IReference semanticIdListElement, + DataTypeDefXsd valueTypeListElement, + List value) { + this.extensions = extensions; + this.idShort = idShort; + this.displayName = displayName; + this.category = category; + this.description = description; + this.semanticId = semanticId; + this.supplementalSemanticIds = supplementalSemanticIds; + this.qualifiers = qualifiers; + this.embeddedDataSpecifications = embeddedDataSpecifications; + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + this.orderRelevant = orderRelevant; + this.semanticIdListElement = semanticIdListElement; + this.valueTypeListElement = valueTypeListElement; + this.value = value; + } + + @Override + public Optional> getExtensions() { + return Optional.ofNullable(extensions); + } + + @Override + public void setExtensions(List extensions) { + this.extensions = extensions; + } + + @Override + public Optional getCategory() { + return Optional.ofNullable(category); + } + + @Override + public void setCategory(String category) { + this.category = category; + } + + @Override + public Optional getIdShort() { + return Optional.ofNullable(idShort); + } + + @Override + public void setIdShort(String idShort) { + this.idShort = idShort; + } + + @Override + public Optional> getDisplayName() { + return Optional.ofNullable(displayName); + } + + @Override + public void setDisplayName(List displayName) { + this.displayName = displayName; + } + + @Override + public Optional> getDescription() { + return Optional.ofNullable(description); + } + + @Override + public void setDescription(List description) { + this.description = description; + } + + @Override + public Optional getSemanticId() { + return Optional.ofNullable(semanticId); + } + + @Override + public void setSemanticId(IReference semanticId) { + this.semanticId = semanticId; + } + + @Override + public Optional> getSupplementalSemanticIds() { + return Optional.ofNullable(supplementalSemanticIds); + } + + @Override + public void setSupplementalSemanticIds(List supplementalSemanticIds) { + this.supplementalSemanticIds = supplementalSemanticIds; + } + + @Override + public Optional> getQualifiers() { + return Optional.ofNullable(qualifiers); + } + + @Override + public void setQualifiers(List qualifiers) { + this.qualifiers = qualifiers; + } + + @Override + public Optional> getEmbeddedDataSpecifications() { + return Optional.ofNullable(embeddedDataSpecifications); + } + + @Override + public void setEmbeddedDataSpecifications( + List embeddedDataSpecifications) { + this.embeddedDataSpecifications = embeddedDataSpecifications; + } + + @Override + public Optional getOrderRelevant() { + return Optional.ofNullable(orderRelevant); + } + + @Override + public void setOrderRelevant(Boolean orderRelevant) { + this.orderRelevant = orderRelevant; + } + + @Override + public Optional getSemanticIdListElement() { + return Optional.ofNullable(semanticIdListElement); + } + + @Override + public void setSemanticIdListElement(IReference semanticIdListElement) { + this.semanticIdListElement = semanticIdListElement; + } + + @Override + public AasSubmodelElements getTypeValueListElement() { + return typeValueListElement; + } + + @Override + public void setTypeValueListElement(AasSubmodelElements typeValueListElement) { + this.typeValueListElement = + Objects.requireNonNull( + typeValueListElement, "Argument \"typeValueListElement\" must be non-null."); + } + + @Override + public Optional getValueTypeListElement() { + return Optional.ofNullable(valueTypeListElement); + } + + @Override + public void setValueTypeListElement(DataTypeDefXsd valueTypeListElement) { + this.valueTypeListElement = valueTypeListElement; + } + + @Override + public Optional> getValue() { + return Optional.ofNullable(value); + } + + @Override + public void setValue(List value) { + this.value = value; + } + + /** + * Iterate over {@link SubmodelElementList#extensions}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overExtensionsOrEmpty() { + return getExtensions().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#displayName}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDisplayNameOrEmpty() { + return getDisplayName().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#description}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overDescriptionOrEmpty() { + return getDescription().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#supplementalSemanticIds}, if set, and otherwise return + * an empty iterator. + */ + public Iterable overSupplementalSemanticIdsOrEmpty() { + return getSupplementalSemanticIds().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#qualifiers}, if set, and otherwise return an empty + * iterator. + */ + public Iterable overQualifiersOrEmpty() { + return getQualifiers().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#embeddedDataSpecifications}, if set, and otherwise + * return an empty iterator. + */ + public Iterable overEmbeddedDataSpecificationsOrEmpty() { + return getEmbeddedDataSpecifications().orElseGet(Collections::emptyList); + } + + /** + * Iterate over {@link SubmodelElementList#value}, if set, and otherwise return an empty iterator. + */ + public Iterable overValueOrEmpty() { + return getValue().orElseGet(Collections::emptyList); + } + + /** + * @return if the order of the {@link SubmodelElementList} or the default value if it has not been + * set. + */ + public Boolean orderRelevantOrDefault() { + return orderRelevant != null ? orderRelevant : true; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _SubmodelElementListRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _SubmodelElementListIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitSubmodelElementList(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitSubmodelElementList(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformSubmodelElementList(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformSubmodelElementList(this, context); + } + + private class _SubmodelElementListIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelElementList.this.extensions, false)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementList.this.displayName, false)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementList.this.description, false)); + } + + if (semanticId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(SubmodelElementList.this.semanticId)); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementList.this.supplementalSemanticIds, false)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelElementList.this.qualifiers, false)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementList.this.embeddedDataSpecifications, false)); + } + + if (semanticIdListElement != null) { + memberStream = + Stream.concat( + memberStream, Stream.of(SubmodelElementList.this.semanticIdListElement)); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(SubmodelElementList.this.value, false)); + } + + return memberStream; + } + } + + private class _SubmodelElementListRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (extensions != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IExtension(SubmodelElementList.this.extensions, true)); + } + + if (displayName != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringNameType( + SubmodelElementList.this.displayName, true)); + } + + if (description != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ILangStringTextType( + SubmodelElementList.this.description, true)); + } + + if (semanticId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementList.this.semanticId), + StreamSupport.stream( + SubmodelElementList.this.semanticId.descend().spliterator(), false))); + } + + if (supplementalSemanticIds != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IReference( + SubmodelElementList.this.supplementalSemanticIds, true)); + } + + if (qualifiers != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IQualifier(SubmodelElementList.this.qualifiers, true)); + } + + if (embeddedDataSpecifications != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IEmbeddedDataSpecification( + SubmodelElementList.this.embeddedDataSpecifications, true)); + } + + if (semanticIdListElement != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(SubmodelElementList.this.semanticIdListElement), + StreamSupport.stream( + SubmodelElementList.this.semanticIdListElement.descend().spliterator(), + false))); + } + + if (value != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_ISubmodelElement(SubmodelElementList.this.value, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/ValueList.java b/src/main/java/aas_core/aas3_1/types/impl/ValueList.java new file mode 100644 index 00000000..354e3b97 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/ValueList.java @@ -0,0 +1,168 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IValueList; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; + +/** A set of value reference pairs. */ +public class ValueList implements IValueList { + /** A pair of a value together with its global unique id. */ + private List valueReferencePairs; + + public ValueList(List valueReferencePairs) { + this.valueReferencePairs = + Objects.requireNonNull( + valueReferencePairs, "Argument \"valueReferencePairs\" must be non-null."); + } + + @Override + public List getValueReferencePairs() { + return valueReferencePairs; + } + + @Override + public void setValueReferencePairs(List valueReferencePairs) { + this.valueReferencePairs = + Objects.requireNonNull( + valueReferencePairs, "Argument \"valueReferencePairs\" must be non-null."); + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ValueListRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ValueListIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitValueList(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitValueList(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformValueList(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformValueList(this, context); + } + + private class _ValueListIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (valueReferencePairs != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IValueReferencePair( + ValueList.this.valueReferencePairs, false)); + } + + return memberStream; + } + } + + private class _ValueListRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (valueReferencePairs != null) { + memberStream = + Stream.concat( + memberStream, + Descent.descendListOf_IValueReferencePair( + ValueList.this.valueReferencePairs, true)); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/impl/ValueReferencePair.java b/src/main/java/aas_core/aas3_1/types/impl/ValueReferencePair.java new file mode 100644 index 00000000..5c0b8142 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/impl/ValueReferencePair.java @@ -0,0 +1,189 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.impl; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IValueReferencePair; +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; +import java.util.Iterator; +import java.util.Objects; +import java.util.Optional; +import java.util.Spliterator; +import java.util.function.Consumer; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * A value reference pair within a value list. Each value has a global unique id defining its + * semantic. + */ +public class ValueReferencePair implements IValueReferencePair { + /** The value of the referenced concept definition of the value in {@link #getValueId()}. */ + private String value; + + /** + * Global unique id of the value. + * + *

It is recommended to use a global reference. + */ + private IReference valueId; + + public ValueReferencePair(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + public ValueReferencePair(String value, IReference valueId) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + this.valueId = valueId; + } + + @Override + public String getValue() { + return value; + } + + @Override + public void setValue(String value) { + this.value = Objects.requireNonNull(value, "Argument \"value\" must be non-null."); + } + + @Override + public Optional getValueId() { + return Optional.ofNullable(valueId); + } + + @Override + public void setValueId(IReference valueId) { + this.valueId = valueId; + } + + /** Iterate recursively over all the class instances referenced from this instance. */ + public Iterable descend() { + return new _ValueReferencePairRecursiveIterable(); + } + + /** Iterate over all the class instances referenced from this instance. */ + public Iterable descendOnce() { + return new _ValueReferencePairIterable(); + } + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + @Override + public void accept(IVisitor visitor) { + visitor.visitValueReferencePair(this); + } + + /** + * Accept the {@code visitor} to visit this instance for double dispatch with the {@code context}. + */ + @Override + public void accept(IVisitorWithContext visitor, ContextT context) { + visitor.visitValueReferencePair(this, context); + } + + /** Accept the {@code transformer} to visit this instance for double dispatch. */ + @Override + public T transform(ITransformer transformer) { + return transformer.transformValueReferencePair(this); + } + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + @Override + public T transform( + ITransformerWithContext transformer, ContextT context) { + return transformer.transformValueReferencePair(this, context); + } + + private class _ValueReferencePairIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (valueId != null) { + memberStream = + Stream.concat(memberStream, Stream.of(ValueReferencePair.this.valueId)); + } + + return memberStream; + } + } + + private class _ValueReferencePairRecursiveIterable implements Iterable { + @Override + public Iterator iterator() { + Stream stream = stream(); + + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + + return stream.spliterator(); + } + + private Stream stream() { + Stream memberStream = Stream.empty(); + + if (valueId != null) { + memberStream = + Stream.concat( + memberStream, + Stream.concat( + Stream.of(ValueReferencePair.this.valueId), + StreamSupport.stream( + ValueReferencePair.this.valueId.descend().spliterator(), false))); + } + + return memberStream; + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IAbstractLangString.java b/src/main/java/aas_core/aas3_1/types/model/IAbstractLangString.java new file mode 100644 index 00000000..164b6f84 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IAbstractLangString.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** Strings with language tags */ +public interface IAbstractLangString extends IClass { + /** Language tag conforming to BCP 47 */ + String getLanguage(); + + void setLanguage(String language); + + /** Text in the {@link #getLanguage()} */ + String getText(); + + void setText(String text); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IAdministrativeInformation.java b/src/main/java/aas_core/aas3_1/types/model/IAdministrativeInformation.java new file mode 100644 index 00000000..89ca077e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IAdministrativeInformation.java @@ -0,0 +1,64 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * Administrative meta-information for an element like version information. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-005: If {@link #getVersion()} is not specified then also {@link + * #getRevision()} shall be unspecified. This means, a revision requires a version. If there + * is no version there is no revision neither. Revision is optional. + *
+ */ +public interface IAdministrativeInformation extends IHasDataSpecification { + /** Version of the element. */ + Optional getVersion(); + + void setVersion(String version); + + /** Revision of the element. */ + Optional getRevision(); + + void setRevision(String revision); + + /** The subject ID of the subject responsible for making the element. */ + Optional getCreator(); + + void setCreator(IReference creator); + + /** + * Identifier of the template that guided the creation of the element. + * + *

In case of a submodel the {@link #getTemplateId()} is the identifier of the submodel + * template ID that guided the creation of the submodel + * + *

The {@link #getTemplateId()} is not relevant for validation in Submodels. For validation the + * {@link aas_core.aas3_1.types.impl.Submodel#getSemanticId()} shall be used. + * + *

Usage of {@link #getTemplateId()} is not restricted to submodel instances. So also the + * creation of submodel templates can be guided by another submodel template. + */ + Optional getTemplateId(); + + void setTemplateId(String templateId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IAnnotatedRelationshipElement.java b/src/main/java/aas_core/aas3_1/types/model/IAnnotatedRelationshipElement.java new file mode 100644 index 00000000..ee0b0009 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IAnnotatedRelationshipElement.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * An annotated relationship element is a relationship element that can be annotated with additional + * data elements. + */ +public interface IAnnotatedRelationshipElement extends IRelationshipElement { + /** + * A data element that represents an annotation that holds for the relationship between the two + * elements + */ + Optional> getAnnotations(); + + void setAnnotations(List annotations); + + /** Iterate over annotations, if set, and otherwise return an empty enumerable. */ + Iterable overAnnotationsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IAssetAdministrationShell.java b/src/main/java/aas_core/aas3_1/types/model/IAssetAdministrationShell.java new file mode 100644 index 00000000..5ba12c1a --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IAssetAdministrationShell.java @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** An asset administration shell. */ +public interface IAssetAdministrationShell extends IIdentifiable, IHasDataSpecification { + /** The reference to the AAS the AAS was derived from. */ + Optional getDerivedFrom(); + + void setDerivedFrom(IReference derivedFrom); + + /** Meta-information about the asset the AAS is representing. */ + IAssetInformation getAssetInformation(); + + void setAssetInformation(IAssetInformation assetInformation); + + /** + * References to submodels of the AAS. + * + *

A submodel is a description of an aspect of the asset the AAS is representing. + * + *

The asset of an AAS is typically described by one or more submodels. + * + *

Temporarily no submodel might be assigned to the AAS. + */ + Optional> getSubmodels(); + + void setSubmodels(List submodels); + + /** Iterate over submodels, if set, and otherwise return an empty enumerable. */ + Iterable overSubmodelsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IAssetInformation.java b/src/main/java/aas_core/aas3_1/types/model/IAssetInformation.java new file mode 100644 index 00000000..cc30e16f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IAssetInformation.java @@ -0,0 +1,109 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * In {@link aas_core.aas3_1.types.impl.AssetInformation} identifying meta data of the asset that is + * represented by an AAS is defined. + * + *

The asset may either represent an asset type or an asset instance. + * + *

The asset has a globally unique identifier plus – if needed – additional domain specific + * (proprietary) identifiers. However, to support the corner case of very first phase of lifecycle + * where a stabilised/constant_set global asset identifier does not already exist, the corresponding + * attribute {@link #getGlobalAssetId()} is optional. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-116: {@code globalAssetId} is a reserved key for {@link + * aas_core.aas3_1.types.impl.SpecificAssetId#getName()} with the semantics as defined in + * {@link #getGlobalAssetId()}. + *

    Constraint AASd-116 is important to enable a generic search across global and specific + * asset IDs. + *

    In the book, Constraint AASd-116 imposes a case-insensitive equality against {@code + * globalAssetId}. This is culturally-dependent, and depends on the system settings. For + * example, the case-folding for the letters "i" and "I" is different in Turkish from English. + *

    We implement the constraint as case-sensitive instead to allow for interoperability + * across different culture settings. + *

  • Constraint AASd-131: For {@link aas_core.aas3_1.types.impl.AssetInformation} either the + * {@link #getGlobalAssetId()} shall be defined or at least one item in {@link + * #getSpecificAssetIds()}. + *
+ */ +public interface IAssetInformation extends IClass { + /** + * Denotes whether the Asset is of kind {@link aas_core.aas3_1.types.enums.AssetKind#TYPE}, {@link + * aas_core.aas3_1.types.enums.AssetKind#INSTANCE}, {@link + * aas_core.aas3_1.types.enums.AssetKind#ROLE}, or {@link + * aas_core.aas3_1.types.enums.AssetKind#NOT_APPLICABLE}. + */ + AssetKind getAssetKind(); + + void setAssetKind(AssetKind assetKind); + + /** + * Global identifier of the asset the AAS is representing. + * + *

This attribute is required as soon as the AAS is exchanged via partners in the life cycle of + * the asset. In a first phase of the life cycle the asset might not yet have a global ID but + * already an internal identifier. The internal identifier would be modelled via {@link + * #getSpecificAssetIds()}. + * + *

This is a global reference. + */ + Optional getGlobalAssetId(); + + void setGlobalAssetId(String globalAssetId); + + /** + * Additional domain-specific, typically proprietary identifier for the asset like e.g., serial + * number etc. + */ + Optional> getSpecificAssetIds(); + + void setSpecificAssetIds(List specificAssetIds); + + /** + * In case {@link #getAssetKind()} is {@link aas_core.aas3_1.types.enums.AssetKind#NOT_APPLICABLE} + * the {@link #getAssetType()} is the asset ID of the type asset of the asset under consideration + * as identified by {@link #getGlobalAssetId()}. + * + *

In case {@link #getAssetKind()} is "Instance" then the {@link #getAssetType()} denotes which + * "Type" the asset is of. But it is also possible to have an {@link #getAssetType()} of an asset + * of kind "Type". + */ + Optional getAssetType(); + + void setAssetType(String assetType); + + /** + * Thumbnail of the asset represented by the Asset Administration Shell. + * + *

Used as default. + */ + Optional getDefaultThumbnail(); + + void setDefaultThumbnail(IResource defaultThumbnail); + + /** Iterate over specificAssetIds, if set, and otherwise return an empty enumerable. */ + Iterable overSpecificAssetIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IBasicEventElement.java b/src/main/java/aas_core/aas3_1/types/model/IBasicEventElement.java new file mode 100644 index 00000000..480e55a2 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IBasicEventElement.java @@ -0,0 +1,115 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A basic event element. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public interface IBasicEventElement extends IEventElement { + /** + * Reference to the {@link aas_core.aas3_1.types.model.IReferable}, which defines the scope of the + * event. Can be {@link aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel}, or {@link aas_core.aas3_1.types.model.ISubmodelElement}. + * + *

Reference to a referable, e.g., a data element or a submodel, that is being observed. + */ + IReference getObserved(); + + void setObserved(IReference observed); + + /** + * Direction of event. + * + *

Can be {@code { Input, Output }}. + */ + Direction getDirection(); + + void setDirection(Direction direction); + + /** + * State of event. + * + *

Can be {@code { On, Off }}. + */ + StateOfEvent getState(); + + void setState(StateOfEvent state); + + /** + * Information for the outer message infrastructure for scheduling the event to the respective + * communication channel. + */ + Optional getMessageTopic(); + + void setMessageTopic(String messageTopic); + + /** + * Information, which outer message infrastructure shall handle messages for the {@link + * aas_core.aas3_1.types.model.IEventElement}. Refers to a {@link + * aas_core.aas3_1.types.impl.Submodel}, {@link aas_core.aas3_1.types.impl.SubmodelElementList}, + * {@link aas_core.aas3_1.types.impl.SubmodelElementCollection} or {@link + * aas_core.aas3_1.types.impl.Entity}, which contains {@link + * aas_core.aas3_1.types.model.IDataElement}'s describing the proprietary specification for the + * message broker. + * + *

For different message infrastructure, e.g., OPC UA or MQTT or AMQP, this proprietary + * specification could be standardized by having respective Submodels. + */ + Optional getMessageBroker(); + + void setMessageBroker(IReference messageBroker); + + /** + * Timestamp in UTC, when the last event was received (input direction) or sent (output + * direction). + */ + Optional getLastUpdate(); + + void setLastUpdate(String lastUpdate); + + /** + * For input direction, reports on the maximum frequency, the software entity behind the + * respective Referable can handle input events. + * + *

For output events, specifies the maximum frequency of outputting this event to an outer + * infrastructure. + * + *

Might be not specified, that is, there is no minimum interval. + */ + Optional getMinInterval(); + + void setMinInterval(String minInterval); + + /** + * For input direction: not applicable. + * + *

For output direction: maximum interval in time, the respective Referable shall send an + * update of the status of the event, even if no other trigger condition for the event was not + * met. + * + *

Might be not specified, that is, there is no maximum interval + */ + Optional getMaxInterval(); + + void setMaxInterval(String maxInterval); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IBlob.java b/src/main/java/aas_core/aas3_1/types/model/IBlob.java new file mode 100644 index 00000000..b321a4e6 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IBlob.java @@ -0,0 +1,50 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A {@link aas_core.aas3_1.types.impl.Blob} is a data element that represents a file that is + * contained with its source code in the value attribute. + */ +public interface IBlob extends IDataElement { + /** + * The value of the {@link aas_core.aas3_1.types.impl.Blob} instance of a blob data element. + * + *

In contrast to the file property the file content is stored directly as value in the {@link + * aas_core.aas3_1.types.impl.Blob} data element. + */ + Optional getValue(); + + void setValue(byte[] value); + + /** + * Content type of the content of the {@link aas_core.aas3_1.types.impl.Blob}. + * + *

The content type (MIME type) states which file extensions the file can have. + * + *

Valid values are content types like e.g. {@code application/json}, {@code application/xls}, + * {@code image/jpg}. + * + *

The allowed values are defined as in RFC2046. + */ + Optional getContentType(); + + void setContentType(String contentType); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ICapability.java b/src/main/java/aas_core/aas3_1/types/model/ICapability.java new file mode 100644 index 00000000..c65cfd9a --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ICapability.java @@ -0,0 +1,30 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** + * A capability is the implementation-independent description of the potential of an asset to + * achieve a certain effect in the physical or virtual world. + * + *

The {@link #getSemanticId()} of a capability is typically an ontology. Thus, reasoning on + * capabilities is enabled. + */ +public interface ICapability extends ISubmodelElement { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IClass.java b/src/main/java/aas_core/aas3_1/types/model/IClass.java new file mode 100644 index 00000000..d4c88cfd --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IClass.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.visitation.ITransformer; +import aas_core.aas3_1.visitation.ITransformerWithContext; +import aas_core.aas3_1.visitation.IVisitor; +import aas_core.aas3_1.visitation.IVisitorWithContext; + +/** Represent a general class of the meta-model. */ +public interface IClass { + /** + * Iterate over all the class instances referenced from this instance without further recursion. + */ + Iterable descendOnce(); + + /** Iterate recursively over all the class instances referenced from this instance. */ + Iterable descend(); + + /** Accept the {@code visitor} to visit this instance for double dispatch. */ + void accept(IVisitor visitor); + + /** Accept the visitor to visit this instance for double dispatch with the {@code context}. */ + void accept(IVisitorWithContext visitor, ContextT context); + + /** Accept the {@code transformer} to transform this instance for double dispatch. */ + T transform(ITransformer transformer); + + /** + * Accept the {@code transformer} to visit this instance for double dispatch with the {@code + * context}. + */ + T transform(ITransformerWithContext transformer, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IConceptDescription.java b/src/main/java/aas_core/aas3_1/types/model/IConceptDescription.java new file mode 100644 index 00000000..55d16598 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IConceptDescription.java @@ -0,0 +1,87 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The semantics of a property or other elements that may have a semantic description is defined by + * a concept description. + * + *

The description of the concept should follow a standardized schema (realized as data + * specification template). + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-004: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code PROPERTY} or {@code VALUE} using data specification IEC61360, + * the {@link aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDataType()} is mandatory + * and shall be one of: {@code DATE}, {@code STRING}, {@code STRING_TRANSLATABLE}, {@code + * INTEGER_MEASURE}, {@code INTEGER_COUNT}, {@code INTEGER_CURRENCY}, {@code REAL_MEASURE}, + * {@code REAL_COUNT}, {@code REAL_CURRENCY}, {@code BOOLEAN}, {@code RATIONAL}, {@code + * RATIONAL_MEASURE}, {@code TIME}, {@code TIMESTAMP}. + *

    Note: categories are deprecated since V3.0 of Part 1a of the document series "Details of + * the Asset Administration Shell". + *

  • Constraint AASc-3a-005: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code REFERENCE} using data specification template IEC61360, the + * {@link aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDataType()} shall be one of: + * {@code STRING}, {@code IRI}, {@code IRDI}. + *

    Note: categories are deprecated since V3.0 of Part 1a of the document series "Details of + * the Asset Administration Shell". + *

  • Constraint AASc-3a-006: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code DOCUMENT} using data specification IEC61360, the {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDataType()} shall be one of {@code + * FILE}, {@code BLOB}, {@code HTML} + *

    Categories are deprecated since V3.0 of Part 1a of the document series "Details of the + * Asset Administration Shell". + *

  • Constraint AASc-3a-007: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} with + * {@link #getCategory()} {@code QUALIFIER_TYPE} using data specification IEC61360, the {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDataType()} is mandatory and shall + * be defined. + *

    Categories are deprecated since V3.0 of Part 1a of the document series "Details of the + * Asset Administration Shell". + *

  • Constraint AASc-3a-008: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} using + * data specification template IEC61360, {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getDefinition()} is mandatory and + * shall be defined at least in English. + *

    Exception: The concept description describes a value, i.e. {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getValue()} is defined. + *

  • Constraint AASc-3a-003: For a {@link aas_core.aas3_1.types.impl.ConceptDescription} using + * data specification template IEC61360, referenced via {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getValueList()} {@link + * aas_core.aas3_1.types.impl.ValueReferencePair#getValueId()} the {@link + * aas_core.aas3_1.types.impl.DataSpecificationIec61360#getValue()} shall be set. + *
+ */ +public interface IConceptDescription extends IIdentifiable, IHasDataSpecification { + /** + * Reference to an external definition the concept is compatible to or was derived from. + * + *

It is recommended to use a global reference. + * + *

Compare to is-case-of relationship in ISO 13584-32 & IEC EN 61360 + */ + Optional> getIsCaseOf(); + + void setIsCaseOf(List isCaseOf); + + /** Iterate over isCaseOf, if set, and otherwise return an empty enumerable. */ + Iterable overIsCaseOfOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IDataElement.java b/src/main/java/aas_core/aas3_1/types/model/IDataElement.java new file mode 100644 index 00000000..34b410ab --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IDataElement.java @@ -0,0 +1,29 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** + * A data element is a submodel element that is not further composed out of other submodel elements. + * + *

A data element is a submodel element that has a value. The type of value differs for different + * subtypes of data elements. + */ +public interface IDataElement extends ISubmodelElement { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IDataSpecificationContent.java b/src/main/java/aas_core/aas3_1/types/model/IDataSpecificationContent.java new file mode 100644 index 00000000..7e01c1ad --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IDataSpecificationContent.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** + * Data specification content is part of a data specification template and defines which additional + * attributes shall be added to the element instance that references the data specification template + * and meta information about the template itself. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-050: If the {@link aas_core.aas3_1.types.impl.DataSpecificationIec61360} + * is used for an element, the value of {@link + * aas_core.aas3_1.types.model.IHasDataSpecification#getEmbeddedDataSpecifications()} shall + * contain the global reference to the IRI of the corresponding data specification template https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0 + *
+ */ +public interface IDataSpecificationContent extends IClass { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IDataSpecificationIec61360.java b/src/main/java/aas_core/aas3_1/types/model/IDataSpecificationIec61360.java new file mode 100644 index 00000000..7d623a05 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IDataSpecificationIec61360.java @@ -0,0 +1,148 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Content of data specification template for concept descriptions for properties, values and value + * lists conformant to IEC 61360. + * + *

IEC61360 requires also a globally unique identifier for a concept description. This ID is not + * part of the data specification template. Instead the {@link + * aas_core.aas3_1.types.impl.ConceptDescription#getId()} as inherited via {@link + * aas_core.aas3_1.types.model.IIdentifiable} is used. Same holds for administrative information + * like the version and revision. + * + *

{@link aas_core.aas3_1.types.impl.ConceptDescription#getIdShort()} and {@link #getShortName()} + * are very similar. However, in this case the decision was to add {@link #getShortName()} + * explicitly to the data specification. Same holds for {@link + * aas_core.aas3_1.types.impl.ConceptDescription#getDisplayName()} and {@link #getPreferredName()}. + * Same holds for {@link aas_core.aas3_1.types.impl.ConceptDescription#getDescription()} and {@link + * #getDefinition()}. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-010: If {@link #getValue()} is not empty then {@link #getValueList()} + * shall be empty and vice versa. + *

    It is also possible that both {@link #getValue()} and {@link #getValueList()} are empty. + * This is the case for concept descriptions that define the semantics of a property but do + * not have an enumeration ({@link #getValueList()}) as data type. + *

    Although it is possible to define a {@link + * aas_core.aas3_1.types.impl.ConceptDescription} for a :attr:´value_list`, it is not possible + * to reuse this {@link #getValueList()}. It is only possible to directly add a {@link + * #getValueList()} as data type to a specific semantic definition of a property. + *

  • Constraint AASc-3a-009: If {@link #getDataType()} one of: {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#INTEGER_MEASURE}, {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#REAL_MEASURE}, {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#RATIONAL_MEASURE}, {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#INTEGER_CURRENCY}, {@link + * aas_core.aas3_1.types.enums.DataTypeIec61360#REAL_CURRENCY}, then {@link #getUnit()} or + * {@link #getUnitId()} shall be defined. + *
+ */ +public interface IDataSpecificationIec61360 extends IDataSpecificationContent { + /** + * Preferred name + * + *

It is advised to keep the length of the name limited to 35 characters. + * + *

Constraints: + * + *

    + *
  • Constraint AASc-3a-002: {@link #getPreferredName()} shall be provided at least in + * English. + *
+ */ + List getPreferredName(); + + void setPreferredName(List preferredName); + + /** Short name */ + Optional> getShortName(); + + void setShortName(List shortName); + + /** Unit */ + Optional getUnit(); + + void setUnit(String unit); + + /** + * Unique unit id + * + *

{@link #getUnit()} and {@link #getUnitId()} need to be consistent if both attributes are set + * + *

It is recommended to use an external reference ID. + */ + Optional getUnitId(); + + void setUnitId(IReference unitId); + + /** Source of definition */ + Optional getSourceOfDefinition(); + + void setSourceOfDefinition(String sourceOfDefinition); + + /** Symbol */ + Optional getSymbol(); + + void setSymbol(String symbol); + + /** Data Type */ + Optional getDataType(); + + void setDataType(DataTypeIec61360 dataType); + + /** Definition in different languages */ + Optional> getDefinition(); + + void setDefinition(List definition); + + /** + * Value Format + * + *

The value format is based on ISO 13584-42 and IEC 61360-2. + */ + Optional getValueFormat(); + + void setValueFormat(String valueFormat); + + /** List of allowed values */ + Optional getValueList(); + + void setValueList(IValueList valueList); + + /** Value */ + Optional getValue(); + + void setValue(String value); + + /** Set of levels. */ + Optional getLevelType(); + + void setLevelType(ILevelType levelType); + + /** Iterate over shortName, if set, and otherwise return an empty enumerable. */ + Iterable overShortNameOrEmpty(); + + /** Iterate over definition, if set, and otherwise return an empty enumerable. */ + Iterable overDefinitionOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IEmbeddedDataSpecification.java b/src/main/java/aas_core/aas3_1/types/model/IEmbeddedDataSpecification.java new file mode 100644 index 00000000..156d2826 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IEmbeddedDataSpecification.java @@ -0,0 +1,32 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** Embed the content of a data specification. */ +public interface IEmbeddedDataSpecification extends IClass { + /** Reference to the data specification */ + IReference getDataSpecification(); + + void setDataSpecification(IReference dataSpecification); + + /** Actual content of the data specification */ + IDataSpecificationContent getDataSpecificationContent(); + + void setDataSpecificationContent(IDataSpecificationContent dataSpecificationContent); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IEntity.java b/src/main/java/aas_core/aas3_1/types/model/IEntity.java new file mode 100644 index 00000000..a7d4e5b5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IEntity.java @@ -0,0 +1,71 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * An entity is a submodel element that is used to model entities. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-014: Either the attribute {@link #getGlobalAssetId()} or {@link + * #getSpecificAssetIds()} of an {@link aas_core.aas3_1.types.impl.Entity} must be set if + * Entity/entityType is set to {@link + * aas_core.aas3_1.types.enums.EntityType#SELF_MANAGED_ENTITY}. + *
+ */ +public interface IEntity extends ISubmodelElement { + /** + * Describes statements applicable to the entity by a set of submodel elements, typically with a + * qualified value. + */ + Optional> getStatements(); + + void setStatements(List statements); + + /** Describes whether the entity is a co-managed entity or a self-managed entity. */ + Optional getEntityType(); + + void setEntityType(EntityType entityType); + + /** + * Global identifier of the asset the entity is representing. + * + *

This is a global reference. + */ + Optional getGlobalAssetId(); + + void setGlobalAssetId(String globalAssetId); + + /** + * Reference to a specific asset ID representing a supplementary identifier of the asset + * represented by the Asset Administration Shell. + */ + Optional> getSpecificAssetIds(); + + void setSpecificAssetIds(List specificAssetIds); + + /** Iterate over statements, if set, and otherwise return an empty enumerable. */ + Iterable overStatementsOrEmpty(); + + /** Iterate over specificAssetIds, if set, and otherwise return an empty enumerable. */ + Iterable overSpecificAssetIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IEnvironment.java b/src/main/java/aas_core/aas3_1/types/model/IEnvironment.java new file mode 100644 index 00000000..5459a007 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IEnvironment.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Container for the sets of different identifiables. + * + *

w.r.t. file exchange: There is exactly one environment independent on how many files the + * contained elements are split. If the file is split then there shall be no element with the same + * identifier in two different files. + */ +public interface IEnvironment extends IClass { + /** Asset administration shell */ + Optional> getAssetAdministrationShells(); + + void setAssetAdministrationShells(List assetAdministrationShells); + + /** Submodel */ + Optional> getSubmodels(); + + void setSubmodels(List submodels); + + /** Concept description */ + Optional> getConceptDescriptions(); + + void setConceptDescriptions(List conceptDescriptions); + + /** Iterate over assetAdministrationShells, if set, and otherwise return an empty enumerable. */ + Iterable overAssetAdministrationShellsOrEmpty(); + + /** Iterate over submodels, if set, and otherwise return an empty enumerable. */ + Iterable overSubmodelsOrEmpty(); + + /** Iterate over conceptDescriptions, if set, and otherwise return an empty enumerable. */ + Iterable overConceptDescriptionsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IEventElement.java b/src/main/java/aas_core/aas3_1/types/model/IEventElement.java new file mode 100644 index 00000000..ebcb3b11 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IEventElement.java @@ -0,0 +1,29 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** + * An event element. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public interface IEventElement extends ISubmodelElement { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IEventPayload.java b/src/main/java/aas_core/aas3_1/types/model/IEventPayload.java new file mode 100644 index 00000000..36ae33ab --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IEventPayload.java @@ -0,0 +1,94 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * Defines the necessary information of an event instance sent out or received. + * + *

This element is experimental and therefore may be subject to change or may be removed + * completely in future versions of the meta-model. + */ +public interface IEventPayload extends IClass { + /** + * Reference to the source event element, including identification of {@link + * aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel}, {@link aas_core.aas3_1.types.model.ISubmodelElement}'s. + */ + IReference getSource(); + + void setSource(IReference source); + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the source event element, + * if available + * + *

It is recommended to use a global reference. + */ + Optional getSourceSemanticId(); + + void setSourceSemanticId(IReference sourceSemanticId); + + /** + * Reference to the referable, which defines the scope of the event. + * + *

Can be {@link aas_core.aas3_1.types.impl.AssetAdministrationShell}, {@link + * aas_core.aas3_1.types.impl.Submodel} or {@link aas_core.aas3_1.types.model.ISubmodelElement}. + */ + IReference getObservableReference(); + + void setObservableReference(IReference observableReference); + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the referable which + * defines the scope of the event, if available. + * + *

It is recommended to use a global reference. + */ + Optional getObservableSemanticId(); + + void setObservableSemanticId(IReference observableSemanticId); + + /** + * Information for the outer message infrastructure for scheduling the event to the respective + * communication channel. + */ + Optional getTopic(); + + void setTopic(String topic); + + /** + * Subject, who/which initiated the creation. + * + *

This is an external reference. + */ + Optional getSubjectId(); + + void setSubjectId(IReference subjectId); + + /** Timestamp in UTC, when this event was triggered. */ + String getTimeStamp(); + + void setTimeStamp(String timeStamp); + + /** Event specific payload. */ + Optional getPayload(); + + void setPayload(byte[] payload); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IExtension.java b/src/main/java/aas_core/aas3_1/types/model/IExtension.java new file mode 100644 index 00000000..66f347c7 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IExtension.java @@ -0,0 +1,62 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** Single extension of an element. */ +public interface IExtension extends IHasSemantics { + /** + * Name of the extension. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-077: The name of an extension (Extension/name) within {@link + * aas_core.aas3_1.types.model.IHasExtensions} needs to be unique. + *
+ */ + String getName(); + + void setName(String name); + + /** + * Type of the value of the extension. + * + *

Default: {@link aas_core.aas3_1.types.enums.DataTypeDefXsd#STRING} + */ + Optional getValueType(); + + void setValueType(DataTypeDefXsd valueType); + + /** Value of the extension */ + Optional getValue(); + + void setValue(String value); + + /** Reference to an element the extension refers to. */ + Optional> getRefersTo(); + + void setRefersTo(List refersTo); + + DataTypeDefXsd valueTypeOrDefault(); + + /** Iterate over refersTo, if set, and otherwise return an empty enumerable. */ + Iterable overRefersToOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IFile.java b/src/main/java/aas_core/aas3_1/types/model/IFile.java new file mode 100644 index 00000000..06c82d92 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IFile.java @@ -0,0 +1,45 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A File is a data element that represents an address to a file (a locator). + * + *

The value is an URI that can represent an absolute or relative path. + */ +public interface IFile extends IDataElement { + /** + * Path and name of the referenced file (with file extension). + * + *

The path can be absolute or relative. + */ + Optional getValue(); + + void setValue(String value); + + /** + * Content type of the content of the file. + * + *

The content type states which file extensions the file can have. + */ + Optional getContentType(); + + void setContentType(String contentType); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IHasDataSpecification.java b/src/main/java/aas_core/aas3_1/types/model/IHasDataSpecification.java new file mode 100644 index 00000000..28652f35 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IHasDataSpecification.java @@ -0,0 +1,37 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Element that can be extended by using data specification templates. + * + *

A data specification template defines a named set of additional attributes an element may or + * shall have. The data specifications used are explicitly specified with their global ID. + */ +public interface IHasDataSpecification extends IClass { + /** Embedded data specification. */ + Optional> getEmbeddedDataSpecifications(); + + void setEmbeddedDataSpecifications(List embeddedDataSpecifications); + + /** Iterate over embeddedDataSpecifications, if set, and otherwise return an empty enumerable. */ + Iterable overEmbeddedDataSpecificationsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IHasExtensions.java b/src/main/java/aas_core/aas3_1/types/model/IHasExtensions.java new file mode 100644 index 00000000..8f5e81a5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IHasExtensions.java @@ -0,0 +1,36 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Element that can be extended by proprietary extensions. + * + *

Extensions are proprietary, i.e. they do not support global interoperability. + */ +public interface IHasExtensions extends IClass { + /** An extension of the element. */ + Optional> getExtensions(); + + void setExtensions(List extensions); + + /** Iterate over extensions, if set, and otherwise return an empty enumerable. */ + Iterable overExtensionsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IHasKind.java b/src/main/java/aas_core/aas3_1/types/model/IHasKind.java new file mode 100644 index 00000000..339433b6 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IHasKind.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * An element with a kind is an element that can either represent a template or an instance. + * + *

Default for an element is that it is representing an instance. + */ +public interface IHasKind extends IClass { + /** + * Kind of the element: either template or instance. + * + *

Default: {@link aas_core.aas3_1.types.enums.ModellingKind#INSTANCE} + */ + Optional getKind(); + + void setKind(ModellingKind kind); + + ModellingKind kindOrDefault(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IHasSemantics.java b/src/main/java/aas_core/aas3_1/types/model/IHasSemantics.java new file mode 100644 index 00000000..6bd47a6c --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IHasSemantics.java @@ -0,0 +1,56 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Element that can have a semantic definition plus some supplemental semantic definitions. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-118: If there are ID {@link #getSupplementalSemanticIds()} defined then + * there shall be also a main semantic ID {@link #getSemanticId()}. + *
+ */ +public interface IHasSemantics extends IClass { + /** + * Identifier of the semantic definition of the element. It is called semantic ID of the element + * or also main semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + Optional getSemanticId(); + + void setSemanticId(IReference semanticId); + + /** + * Identifier of a supplemental semantic definition of the element. It is called supplemental + * semantic ID of the element. + * + *

It is recommended to use a global reference. + */ + Optional> getSupplementalSemanticIds(); + + void setSupplementalSemanticIds(List supplementalSemanticIds); + + /** Iterate over supplementalSemanticIds, if set, and otherwise return an empty enumerable. */ + Iterable overSupplementalSemanticIdsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IIdentifiable.java b/src/main/java/aas_core/aas3_1/types/model/IIdentifiable.java new file mode 100644 index 00000000..3255aa46 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IIdentifiable.java @@ -0,0 +1,38 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** An element that has a globally unique identifier. */ +public interface IIdentifiable extends IReferable { + /** + * Administrative information of an identifiable element. + * + *

Some of the administrative information like the version number might need to be part of the + * identification. + */ + Optional getAdministration(); + + void setAdministration(IAdministrativeInformation administration); + + /** The globally unique identification of the element. */ + String getId(); + + void setId(String id); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IKey.java b/src/main/java/aas_core/aas3_1/types/model/IKey.java new file mode 100644 index 00000000..2f54fad3 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IKey.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** A key is a reference to an element by its ID. */ +public interface IKey extends IClass { + /** + * Denotes which kind of entity is referenced. + * + *

In case {@link #getType()} = {@link aas_core.aas3_1.types.enums.KeyTypes#GLOBAL_REFERENCE}, + * the key represents a reference to a source that can be globally identified. + * + *

In case {@link #getType()} = {@link aas_core.aas3_1.types.enums.KeyTypes#FRAGMENT_REFERENCE} + * the key represents a bookmark or a similar local identifier within its parent element as + * specified by the key that precedes this key. + * + *

In all other cases the key references a model element of the same or of another AAS. The + * name of the model element is explicitly listed. + */ + KeyTypes getType(); + + void setType(KeyTypes type); + + /** The key value, for example an IRDI or an URI */ + String getValue(); + + void setValue(String value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ILangStringDefinitionTypeIec61360.java b/src/main/java/aas_core/aas3_1/types/model/ILangStringDefinitionTypeIec61360.java new file mode 100644 index 00000000..3de736ce --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ILangStringDefinitionTypeIec61360.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** String with length 1023 maximum and minimum 1 characters and with language tags */ +public interface ILangStringDefinitionTypeIec61360 extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ILangStringNameType.java b/src/main/java/aas_core/aas3_1/types/model/ILangStringNameType.java new file mode 100644 index 00000000..a9537d14 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ILangStringNameType.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** String with length 128 maximum and minimum 1 characters and with language tags */ +public interface ILangStringNameType extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ILangStringPreferredNameTypeIec61360.java b/src/main/java/aas_core/aas3_1/types/model/ILangStringPreferredNameTypeIec61360.java new file mode 100644 index 00000000..c8c52d06 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ILangStringPreferredNameTypeIec61360.java @@ -0,0 +1,28 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** + * String with length 255 maximum and minimum 1 characters and with language tags + * + *

It is advised to keep the length of the name limited to 35 characters. + */ +public interface ILangStringPreferredNameTypeIec61360 extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ILangStringShortNameTypeIec61360.java b/src/main/java/aas_core/aas3_1/types/model/ILangStringShortNameTypeIec61360.java new file mode 100644 index 00000000..4a245512 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ILangStringShortNameTypeIec61360.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** String with length 18 maximum and minimum 1 characters and with language tags */ +public interface ILangStringShortNameTypeIec61360 extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ILangStringTextType.java b/src/main/java/aas_core/aas3_1/types/model/ILangStringTextType.java new file mode 100644 index 00000000..a53ce9db --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ILangStringTextType.java @@ -0,0 +1,24 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** String with length 1023 maximum and minimum 1 characters and with language tags */ +public interface ILangStringTextType extends IAbstractLangString { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ILevelType.java b/src/main/java/aas_core/aas3_1/types/model/ILevelType.java new file mode 100644 index 00000000..05e8b596 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ILevelType.java @@ -0,0 +1,76 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** + * Value represented by up to four variants of a numeric value in a specific role: {@code MIN}, + * {@code NOM}, {@code TYP} and {@code MAX}. True means that the value is available, false means the + * value is not available. + * + *

EXAMPLE from [IEC61360-1]: In the case of having a property which is of the LEVEL_TYPE min/max + * − expressing a range − only those two values need to be provided. + * + *

This is how AAS deals with the following combinations of level types: + * + *

    + *
  • + *

    Either all attributes are false. In this case the concept is mapped to a {@link + * aas_core.aas3_1.types.impl.Property} and level type is ignored. + *

  • + *

    At most one of the attributes is set to true. In this case the concept is mapped to a + * {@link aas_core.aas3_1.types.impl.Property}. + *

  • + *

    Min and max are set to true. In this case the concept is mapped to a {@link + * aas_core.aas3_1.types.impl.Range}. + *

  • + *

    More than one attribute is set to true but not min and max only (see second case). In + * this case the concept is mapped to a {@link + * aas_core.aas3_1.types.impl.SubmodelElementCollection} with the corresponding number of + * Properties. Example: If attribute {@link #getMin()} and {@link #getNom()} are set to true + * then the concept is mapped to a {@link + * aas_core.aas3_1.types.impl.SubmodelElementCollection} with two Properties within: min and + * nom. The data type of both Properties is the same. + *

+ * + *

In the cases 2. and 4. the {@link aas_core.aas3_1.types.impl.Property#getSemanticId()} of the + * Property or Properties within the {@link aas_core.aas3_1.types.impl.SubmodelElementCollection} + * needs to include information about the level type. Otherwise, the semantics is not described in a + * unique way. Please refer to the specification. + */ +public interface ILevelType extends IClass { + /** Minimum of the value */ + Boolean getMin(); + + void setMin(Boolean min); + + /** Nominal value (value as designated) */ + Boolean getNom(); + + void setNom(Boolean nom); + + /** Value as typically present */ + Boolean getTyp(); + + void setTyp(Boolean typ); + + /** Maximum of the value */ + Boolean getMax(); + + void setMax(Boolean max); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IMultiLanguageProperty.java b/src/main/java/aas_core/aas3_1/types/model/IMultiLanguageProperty.java new file mode 100644 index 00000000..4f09b9a4 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IMultiLanguageProperty.java @@ -0,0 +1,51 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A property is a data element that has a multi-language value. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-012: If both the {@link #getValue()} and the {@link #getValueId()} are + * present then for each string in a specific language the meaning must be the same as + * specified in {@link #getValueId()}. + *
+ */ +public interface IMultiLanguageProperty extends IDataElement { + /** The value of the property instance. */ + Optional> getValue(); + + void setValue(List value); + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + Optional getValueId(); + + void setValueId(IReference valueId); + + /** Iterate over value, if set, and otherwise return an empty enumerable. */ + Iterable overValueOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IOperation.java b/src/main/java/aas_core/aas3_1/types/model/IOperation.java new file mode 100644 index 00000000..9897b4f0 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IOperation.java @@ -0,0 +1,59 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * An operation is a submodel element with input and output variables. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-134: For an {@link aas_core.aas3_1.types.impl.Operation} the {@link + * aas_core.aas3_1.types.model.IReferable#getIdShort()} of all {@link + * aas_core.aas3_1.types.impl.OperationVariable#getValue()}'s in {@link #getInputVariables()}, + * {@link #getOutputVariables()} and {@link #getInoutputVariables()} shall be unique. + *
+ */ +public interface IOperation extends ISubmodelElement { + /** Input parameter of the operation. */ + Optional> getInputVariables(); + + void setInputVariables(List inputVariables); + + /** Output parameter of the operation. */ + Optional> getOutputVariables(); + + void setOutputVariables(List outputVariables); + + /** Parameter that is input and output of the operation. */ + Optional> getInoutputVariables(); + + void setInoutputVariables(List inoutputVariables); + + /** Iterate over inputVariables, if set, and otherwise return an empty enumerable. */ + Iterable overInputVariablesOrEmpty(); + + /** Iterate over outputVariables, if set, and otherwise return an empty enumerable. */ + Iterable overOutputVariablesOrEmpty(); + + /** Iterate over inoutputVariables, if set, and otherwise return an empty enumerable. */ + Iterable overInoutputVariablesOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IOperationVariable.java b/src/main/java/aas_core/aas3_1/types/model/IOperationVariable.java new file mode 100644 index 00000000..30709304 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IOperationVariable.java @@ -0,0 +1,30 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** + * The value of an operation variable is a submodel element that is used as input and/or output + * variable of an operation. + */ +public interface IOperationVariable extends IClass { + /** Describes an argument or result of an operation via a submodel element */ + ISubmodelElement getValue(); + + void setValue(ISubmodelElement value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IProperty.java b/src/main/java/aas_core/aas3_1/types/model/IProperty.java new file mode 100644 index 00000000..bc8d5a60 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IProperty.java @@ -0,0 +1,52 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A property is a data element that has a single value. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-007: If both, the {@link #getValue()} and the {@link #getValueId()} are + * present then the value of {@link #getValue()} needs to be identical to the value of the + * referenced coded value in {@link #getValueId()}. + *
+ */ +public interface IProperty extends IDataElement { + /** Data type of the value */ + DataTypeDefXsd getValueType(); + + void setValueType(DataTypeDefXsd valueType); + + /** The value of the property instance. */ + Optional getValue(); + + void setValue(String value); + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + Optional getValueId(); + + void setValueId(IReference valueId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IQualifiable.java b/src/main/java/aas_core/aas3_1/types/model/IQualifiable.java new file mode 100644 index 00000000..ba14f388 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IQualifiable.java @@ -0,0 +1,55 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * The value of a qualifiable element may be further qualified by one or more qualifiers. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-119: If any {@link aas_core.aas3_1.types.impl.Qualifier#getKind()} value of + * {@link #getQualifiers()} is equal to {@link + * aas_core.aas3_1.types.enums.QualifierKind#TEMPLATE_QUALIFIER} and the qualified element + * inherits from {@link aas_core.aas3_1.types.model.IHasKind} then the qualified element shall + * be of kind Template ({@link aas_core.aas3_1.types.model.IHasKind#getKind()} = {@link + * aas_core.aas3_1.types.enums.ModellingKind#TEMPLATE}). + *

    This constraint is checked at {@link aas_core.aas3_1.types.impl.Submodel}. + *

+ */ +public interface IQualifiable extends IClass { + /** + * Additional qualification of a qualifiable element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-021: Every qualifiable can only have one qualifier with the same {@link + * aas_core.aas3_1.types.impl.Qualifier#getType()}. + *
+ */ + Optional> getQualifiers(); + + void setQualifiers(List qualifiers); + + /** Iterate over qualifiers, if set, and otherwise return an empty enumerable. */ + Iterable overQualifiersOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IQualifier.java b/src/main/java/aas_core/aas3_1/types/model/IQualifier.java new file mode 100644 index 00000000..e69c02fd --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IQualifier.java @@ -0,0 +1,73 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A qualifier is a type-value-pair that makes additional statements w.r.t. the value of the + * element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-006: If both the {@link #getValue()} and the {@link #getValueId()} of a + * {@link aas_core.aas3_1.types.impl.Qualifier} are present then the {@link #getValue()} needs + * to be identical to the value of the referenced coded value in {@link #getValueId()}. + *
  • Constraint AASd-020: The value of {@link #getValue()} shall be consistent to the data type + * as defined in {@link #getValueType()}. + *
+ */ +public interface IQualifier extends IHasSemantics { + /** + * The qualifier kind describes the kind of the qualifier that is applied to the element. + * + *

Default: {@link aas_core.aas3_1.types.enums.QualifierKind#CONCEPT_QUALIFIER} + */ + Optional getKind(); + + void setKind(QualifierKind kind); + + /** + * The qualifier type describes the type of the qualifier that is applied to the element. + */ + String getType(); + + void setType(String type); + + /** Data type of the qualifier value. */ + DataTypeDefXsd getValueType(); + + void setValueType(DataTypeDefXsd valueType); + + /** The qualifier value is the value of the qualifier. */ + Optional getValue(); + + void setValue(String value); + + /** + * Reference to the global unique ID of a coded value. + * + *

It is recommended to use a global reference. + */ + Optional getValueId(); + + void setValueId(IReference valueId); + + QualifierKind kindOrDefault(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IRange.java b/src/main/java/aas_core/aas3_1/types/model/IRange.java new file mode 100644 index 00000000..e09225ee --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IRange.java @@ -0,0 +1,46 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** A range data element is a data element that defines a range with min and max. */ +public interface IRange extends IDataElement { + /** Data type of the min und max */ + DataTypeDefXsd getValueType(); + + void setValueType(DataTypeDefXsd valueType); + + /** + * The minimum value of the range. + * + *

If the min value is missing, then the value is assumed to be negative infinite. + */ + Optional getMin(); + + void setMin(String min); + + /** + * The maximum value of the range. + * + *

If the max value is missing, then the value is assumed to be positive infinite. + */ + Optional getMax(); + + void setMax(String max); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IReferable.java b/src/main/java/aas_core/aas3_1/types/model/IReferable.java new file mode 100644 index 00000000..b0fa2b63 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IReferable.java @@ -0,0 +1,87 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * An element that is referable by its {@link #getIdShort()}. + * + *

This ID is not globally unique. This ID is unique within the name space of the element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-022: {@link #getIdShort()} of non-identifiable referables within the same + * name space shall be unique (case-sensitive). + *
+ */ +public interface IReferable extends IHasExtensions { + /** + * The category is a value that gives further meta information w.r.t. to the class of the element. + * It affects the expected existence of attributes and the applicability of constraints. + * + *

The category is not identical to the semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics}) of an element. The category e.g. could denote that + * the element is a measurement value whereas the semantic definition of the element would denote + * that it is the measured temperature. + */ + Optional getCategory(); + + void setCategory(String category); + + /** + * In case of identifiables this attribute is a short name of the element. In case of referable + * this ID is an identifying string of the element within its name space. + * + *

In case the element is a property and the property has a semantic definition ({@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()}) conformant to IEC61360 the {@link + * #getIdShort()} is typically identical to the short name in English. + */ + Optional getIdShort(); + + void setIdShort(String idShort); + + /** Display name. Can be provided in several languages. */ + Optional> getDisplayName(); + + void setDisplayName(List displayName); + + /** + * Description or comments on the element. + * + *

The description can be provided in several languages. + * + *

If no description is defined, then the definition of the concept description that defines + * the semantics of the element is used. + * + *

Additional information can be provided, e.g., if the element is qualified and which + * qualifier types can be expected in which context or which additional data specification + * templates are provided. + */ + Optional> getDescription(); + + void setDescription(List description); + + /** Iterate over displayName, if set, and otherwise return an empty enumerable. */ + Iterable overDisplayNameOrEmpty(); + + /** Iterate over description, if set, and otherwise return an empty enumerable. */ + Iterable overDescriptionOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IReference.java b/src/main/java/aas_core/aas3_1/types/model/IReference.java new file mode 100644 index 00000000..88e33aee --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IReference.java @@ -0,0 +1,120 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * Reference to either a model element of the same or another AAS or to an external entity. + * + *

A reference is an ordered list of keys. + * + *

A model reference is an ordered list of keys, each key referencing an element. The complete + * list of keys may for example be concatenated to a path that then gives unique access to an + * element. + * + *

An external reference is a reference to an external entity. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-121: For {@link aas_core.aas3_1.types.impl.Reference}'s the value of {@link + * aas_core.aas3_1.types.impl.Key#getType()} of the first key of " {@link #getKeys()} shall be + * one of {@link aas_core.aas3_1.constants.Constants#globallyIdentifiables}. + *
  • Constraint AASd-122: For external references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the value of {@link + * aas_core.aas3_1.types.impl.Key#getType()} of the first key of {@link #getKeys()} shall be + * one of {@link aas_core.aas3_1.constants.Constants#genericGloballyIdentifiables}. + *
  • Constraint AASd-123: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, the value of {@link + * aas_core.aas3_1.types.impl.Key#getType()} of the first key of {@link #getKeys()} shall be + * one of {@link aas_core.aas3_1.constants.Constants#aasIdentifiables}. + *
  • Constraint AASd-124: For external references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}, the last key of {@link + * #getKeys()} shall be either one of {@link + * aas_core.aas3_1.constants.Constants#genericGloballyIdentifiables} or one of {@link + * aas_core.aas3_1.constants.Constants#genericFragmentKeys}. + *
  • Constraint AASd-125: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} the value of {@link aas_core.aas3_1.types.impl.Key#getType()} of each of + * the keys following the first key of {@link #getKeys()} shall be one of {@link + * aas_core.aas3_1.constants.Constants#fragmentKeys}. + *

    Constraint AASd-125 ensures that the shortest path is used. + *

  • Constraint AASd-126: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} the value of {@link aas_core.aas3_1.types.impl.Key#getType()} of the + * last key in the reference key chain may be one of {@link + * aas_core.aas3_1.constants.Constants#genericFragmentKeys} or no key at all shall have a + * value out of {@link aas_core.aas3_1.constants.Constants#genericFragmentKeys}. + *
  • Constraint AASd-127: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, with more than one key in + * {@link #getKeys()} a key with {@link aas_core.aas3_1.types.impl.Key#getType()} {@link + * aas_core.aas3_1.types.enums.KeyTypes#FRAGMENT_REFERENCE} shall be preceded by a key with + * {@link aas_core.aas3_1.types.impl.Key#getType()} {@link + * aas_core.aas3_1.types.enums.KeyTypes#FILE} or {@link + * aas_core.aas3_1.types.enums.KeyTypes#BLOB}. All other AAS fragments, i.e. {@link + * aas_core.aas3_1.types.impl.Key#getType()} values out of {@link + * aas_core.aas3_1.constants.Constants#aasSubmodelElementsAsKeys}, do not support fragments. + *

    Which kind of fragments are supported depends on the content type and the specification + * of allowed fragment identifiers for the corresponding resource being referenced via the + * reference. + *

  • Constraint AASd-128: For model references, i.e. {@link + * aas_core.aas3_1.types.impl.Reference}'s with {@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}, the {@link + * aas_core.aas3_1.types.impl.Key#getValue()} of a {@link aas_core.aas3_1.types.impl.Key} + * preceded by a {@link aas_core.aas3_1.types.impl.Key} with {@link + * aas_core.aas3_1.types.impl.Key#getType()} = {@link + * aas_core.aas3_1.types.enums.KeyTypes#SUBMODEL_ELEMENT_LIST} is an integer number denoting + * the position in the array of the submodel element list. + *
+ */ +public interface IReference extends IClass { + /** + * Type of the reference. + * + *

Denotes, whether reference is an external reference or a model reference. + */ + ReferenceTypes getType(); + + void setType(ReferenceTypes type); + + /** + * {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} of the referenced model + * element ({@link #getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#MODEL_REFERENCE}). + * + *

For external references there typically is no semantic ID. + * + *

It is recommended to use a external reference. + */ + Optional getReferredSemanticId(); + + void setReferredSemanticId(IReference referredSemanticId); + + /** Unique references in their name space. */ + List getKeys(); + + void setKeys(List keys); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IReferenceElement.java b/src/main/java/aas_core/aas3_1/types/model/IReferenceElement.java new file mode 100644 index 00000000..15263da0 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IReferenceElement.java @@ -0,0 +1,34 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A reference element is a data element that defines a logical reference to another element within + * the same or another AAS or a reference to an external object or entity. + */ +public interface IReferenceElement extends IDataElement { + /** + * Global reference to an external object or entity or a logical reference to another element + * within the same or another AAS (i.e. a model reference to a Referable). + */ + Optional getValue(); + + void setValue(IReference value); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IRelationshipElement.java b/src/main/java/aas_core/aas3_1/types/model/IRelationshipElement.java new file mode 100644 index 00000000..5ee4d11e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IRelationshipElement.java @@ -0,0 +1,36 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A relationship element is used to define a relationship between two elements being either + * referable (model reference) or external (global reference). + */ +public interface IRelationshipElement extends ISubmodelElement { + /** Reference to the first element in the relationship taking the role of the subject. */ + Optional getFirst(); + + void setFirst(IReference first); + + /** Reference to the second element in the relationship taking the role of the object. */ + Optional getSecond(); + + void setSecond(IReference second); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IResource.java b/src/main/java/aas_core/aas3_1/types/model/IResource.java new file mode 100644 index 00000000..57929f7e --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IResource.java @@ -0,0 +1,44 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * Resource represents an address to a file (a locator). The value is an URI that can represent an + * absolute or relative path + */ +public interface IResource extends IClass { + /** + * Path and name of the resource (with file extension). + * + *

The path can be absolute or relative. + */ + String getPath(); + + void setPath(String path); + + /** + * Content type of the content of the file. + * + *

The content type states which file extensions the file can have. + */ + Optional getContentType(); + + void setContentType(String contentType); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ISpecificAssetId.java b/src/main/java/aas_core/aas3_1/types/model/ISpecificAssetId.java new file mode 100644 index 00000000..28d194ab --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ISpecificAssetId.java @@ -0,0 +1,54 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A specific asset ID describes a generic supplementary identifying attribute of the asset. + * + *

The specific asset ID is not necessarily globally unique. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-133: {@link #getExternalSubjectId()} shall be an external reference, i.e. + * {@link aas_core.aas3_1.types.impl.Reference#getType()} = {@link + * aas_core.aas3_1.types.enums.ReferenceTypes#EXTERNAL_REFERENCE}. + *
+ */ +public interface ISpecificAssetId extends IHasSemantics { + /** Name of the identifier */ + String getName(); + + void setName(String name); + + /** The value of the specific asset identifier with the corresponding name. */ + String getValue(); + + void setValue(String value); + + /** + * The (external) subject the key belongs to or has meaning to. + * + *

This is a global reference. + */ + Optional getExternalSubjectId(); + + void setExternalSubjectId(IReference externalSubjectId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ISubmodel.java b/src/main/java/aas_core/aas3_1/types/model/ISubmodel.java new file mode 100644 index 00000000..bc4d31a5 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ISubmodel.java @@ -0,0 +1,39 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A submodel defines a specific aspect of the asset represented by the AAS. + * + *

A submodel is used to structure the digital representation and technical functionality of an + * Administration Shell into distinguishable parts. Each submodel refers to a well-defined domain or + * subject matter. Submodels can become standardized and, thus, become submodels templates. + */ +public interface ISubmodel + extends IIdentifiable, IHasKind, IHasSemantics, IQualifiable, IHasDataSpecification { + /** A submodel consists of zero or more submodel elements. */ + Optional> getSubmodelElements(); + + void setSubmodelElements(List submodelElements); + + /** Iterate over submodelElements, if set, and otherwise return an empty enumerable. */ + Iterable overSubmodelElementsOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ISubmodelElement.java b/src/main/java/aas_core/aas3_1/types/model/ISubmodelElement.java new file mode 100644 index 00000000..db22ab82 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ISubmodelElement.java @@ -0,0 +1,42 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; + +/** + * A submodel element is an element suitable for the description and differentiation of assets. + * + *

It is recommended to add a {@link aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} + * to a submodel element. + * + *

Constraints: + * + *

    + *
  • Constraint AASd-129: If any {@link aas_core.aas3_1.types.impl.Qualifier#getKind()} value of + * {@link #getQualifiers()} (attribute qualifier inherited via Qualifiable) is equal to {@link + * aas_core.aas3_1.types.enums.QualifierKind#TEMPLATE_QUALIFIER} then the submodel element + * shall be part of a submodel template, i.e. a Submodel with {@link + * aas_core.aas3_1.types.impl.Submodel#getKind()} (attribute kind inherited via {@link + * aas_core.aas3_1.types.model.IHasKind}) value is equal to {@link + * aas_core.aas3_1.types.enums.ModellingKind#TEMPLATE}. + *
+ */ +public interface ISubmodelElement + extends IReferable, IHasSemantics, IQualifiable, IHasDataSpecification { + // Intentionally empty. +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ISubmodelElementCollection.java b/src/main/java/aas_core/aas3_1/types/model/ISubmodelElementCollection.java new file mode 100644 index 00000000..03ca4d54 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ISubmodelElementCollection.java @@ -0,0 +1,35 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A submodel element collection is a kind of struct, i.e. a a logical encapsulation of multiple + * named values. It has a fixed number of submodel elements. + */ +public interface ISubmodelElementCollection extends ISubmodelElement { + /** Submodel element contained in the collection. */ + Optional> getValue(); + + void setValue(List value); + + /** Iterate over value, if set, and otherwise return an empty enumerable. */ + Iterable overValueOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/ISubmodelElementList.java b/src/main/java/aas_core/aas3_1/types/model/ISubmodelElementList.java new file mode 100644 index 00000000..2287063c --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/ISubmodelElementList.java @@ -0,0 +1,96 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; +import java.util.Optional; + +/** + * A submodel element list is an ordered list of submodel elements. + * + *

The numbering starts with zero (0). + * + *

Constraints: + * + *

    + *
  • Constraint AASd-107: If a first level child element in a {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} has a {@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} it shall be identical to {@link + * #getSemanticIdListElement()}. + *
  • Constraint AASd-114: If two first level child elements in a {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} have a {@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} then they shall be identical. + *
  • Constraint AASd-115: If a first level child element in a {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} does not specify a {@link + * aas_core.aas3_1.types.model.IHasSemantics#getSemanticId()} then the value is assumed to be + * identical to {@link #getSemanticIdListElement()}. + *
  • Constraint AASd-108: All first level child elements in a {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} shall have the same submodel element type + * as specified in {@link #getTypeValueListElement()}. + *
  • Constraint AASd-109: If {@link #getTypeValueListElement()} is equal to {@link + * aas_core.aas3_1.types.enums.AasSubmodelElements#PROPERTY} or {@link + * aas_core.aas3_1.types.enums.AasSubmodelElements#RANGE} {@link #getValueTypeListElement()} + * shall be set and all first level child elements in the {@link + * aas_core.aas3_1.types.impl.SubmodelElementList} shall have the value type as specified in + * {@link #getValueTypeListElement()}. + *
+ */ +public interface ISubmodelElementList extends ISubmodelElement { + /** + * Defines whether order in list is relevant. If {@link #getOrderRelevant()} = {@code False} then + * the list is representing a set or a bag. + * + *

Default: {@code True} + */ + Optional getOrderRelevant(); + + void setOrderRelevant(Boolean orderRelevant); + + /** + * Semantic ID the submodel elements contained in the list match to. + * + *

It is recommended to use a global reference. + */ + Optional getSemanticIdListElement(); + + void setSemanticIdListElement(IReference semanticIdListElement); + + /** The submodel element type of the submodel elements contained in the list. */ + AasSubmodelElements getTypeValueListElement(); + + void setTypeValueListElement(AasSubmodelElements typeValueListElement); + + /** The value type of the submodel element contained in the list. */ + Optional getValueTypeListElement(); + + void setValueTypeListElement(DataTypeDefXsd valueTypeListElement); + + /** + * Submodel element contained in the list. + * + *

The list is ordered. + */ + Optional> getValue(); + + void setValue(List value); + + Boolean orderRelevantOrDefault(); + + /** Iterate over value, if set, and otherwise return an empty enumerable. */ + Iterable overValueOrEmpty(); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IValueList.java b/src/main/java/aas_core/aas3_1/types/model/IValueList.java new file mode 100644 index 00000000..104333cf --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IValueList.java @@ -0,0 +1,28 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.List; + +/** A set of value reference pairs. */ +public interface IValueList extends IClass { + /** A pair of a value together with its global unique id. */ + List getValueReferencePairs(); + + void setValueReferencePairs(List valueReferencePairs); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/types/model/IValueReferencePair.java b/src/main/java/aas_core/aas3_1/types/model/IValueReferencePair.java new file mode 100644 index 00000000..13c19943 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/types/model/IValueReferencePair.java @@ -0,0 +1,40 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.types.model; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.util.Optional; + +/** + * A value reference pair within a value list. Each value has a global unique id defining its + * semantic. + */ +public interface IValueReferencePair extends IClass { + /** The value of the referenced concept definition of the value in {@link #getValueId()}. */ + String getValue(); + + void setValue(String value); + + /** + * Global unique id of the value. + * + *

It is recommended to use a global reference. + */ + Optional getValueId(); + + void setValueId(IReference valueId); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/verification/Verification.java b/src/main/java/aas_core/aas3_1/verification/Verification.java new file mode 100644 index 00000000..4186d41f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/verification/Verification.java @@ -0,0 +1,9530 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ +package aas_core.aas3_1.verification; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.constants.*; +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.AbstractTransformer; +import dk.brics.automaton.Automaton; +import dk.brics.automaton.RegExp; +import java.math.BigInteger; +import java.util.Arrays; +import java.util.Collections; +import java.util.HashSet; +import java.util.Iterator; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import java.util.Set; +import java.util.Spliterator; +import java.util.Spliterators; +import java.util.function.Consumer; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import java.util.stream.IntStream; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +public class Verification { + + private static Pattern constructMatchesIdShort() { + String pattern = "^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesIdShort = constructMatchesIdShort(); + + /** Check that {@code text} is a valid short ID. */ + public static Boolean matchesIdShort(String text) { + return regexMatchesIdShort.matcher(text).matches(); + } + + private static Pattern constructMatchesVersionType() { + String pattern = "^(0|[1-9][0-9]*)$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesVersionType = constructMatchesVersionType(); + + /** Check that {@code text} is a valid version string. */ + public static Boolean matchesVersionType(String text) { + return regexMatchesVersionType.matcher(text).matches(); + } + + private static Pattern constructMatchesRevisionType() { + String pattern = "^(0|[1-9][0-9]*)$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesRevisionType = constructMatchesRevisionType(); + + /** Check that {@code text} is a valid revision string. */ + public static Boolean matchesRevisionType(String text) { + return regexMatchesRevisionType.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDateTimeUtc() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String hourFrag = "(([01]" + digit + ")|(2[0-3]))"; + String minuteFrag = "[0-5]" + digit; + String secondFrag = "([0-5]" + digit + ")(\\." + digit + "+)?"; + String endOfDayFrag = "24:00:00(\\.0+)?"; + String timezoneFrag = "(Z|\\+00:00|-00:00)"; + String dateTimeLexicalRep = + yearFrag + + "-" + + monthFrag + + "-" + + dayFrag + + "T((" + + hourFrag + + ":" + + minuteFrag + + ":" + + secondFrag + + ")|" + + endOfDayFrag + + ")" + + timezoneFrag; + String pattern = "^" + dateTimeLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDateTimeUtc = constructMatchesXsDateTimeUtc(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:dateTime}. + * + *

The time zone must be fixed to UTC. We verify only that the {@code text} matches a + * pre-defined pattern. We do not verify that the day of month is correct nor do we check + * for leap seconds. + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDateTimeUtc(String text) { + return regexMatchesXsDateTimeUtc.matcher(text).matches(); + } + + /** + * Check that value is a xs:dateTime with the time zone set to UTC. + * + * @param value the value to check + */ + public static boolean isXsDateTimeUtc(String value) { + Objects.requireNonNull(value); + if (!matchesXsDateTimeUtc(value)) { + return false; + } + return isPrefixedWithValidDate(value); + } + + private static Pattern constructMatchesMimeType() { + String tchar = "[!#$%&\'*+\\-.^_`|~0-9a-zA-Z]"; + String token = "(" + tchar + ")+"; + String type = token; + String subtype = token; + String ows = "[ \\t]*"; + String obsText = "[\\x{80}-\\x{ff}]"; + String qdText = "([\\t !#-\\[\\]-~]|" + obsText + ")"; + String quotedPair = "\\\\([\\t !-~]|" + obsText + ")"; + String quotedString = "\"(" + qdText + "|" + quotedPair + ")*\""; + String parameter = token + "=(" + token + "|" + quotedString + ")"; + String mediaType = "^" + type + "/" + subtype + "(" + ows + ";" + ows + parameter + ")*$"; + return Pattern.compile(mediaType); + } + + private static final Pattern regexMatchesMimeType = constructMatchesMimeType(); + + /** + * Check that {@code text} conforms to the pattern of MIME type. + * + *

The definition has been taken from: https://www.rfc-editor.org/rfc/rfc7231#section-3.1.1.1, + * https://www.rfc-editor.org/rfc/rfc7230#section-3.2.3 + * and https://www.rfc-editor.org/rfc/rfc7230#section-3.2.6. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesMimeType(String text) { + return regexMatchesMimeType.matcher(text).matches(); + } + + private static Automaton constructMatchesRfc2396() { + String alphanum = "[a-zA-Z0-9]"; + String mark = "[-_.!~*\'()]"; + String unreserved = "(" + alphanum + "|" + mark + ")"; + String hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])"; + String escaped = "%" + hex + hex; + String pchar = "(" + unreserved + "|" + escaped + "|[:@&=+$,])"; + String param = "(" + pchar + ")*"; + String segment = "(" + pchar + ")*(;" + param + ")*"; + String pathSegments = segment + "(/" + segment + ")*"; + String absPath = "/" + pathSegments; + String scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*"; + String userinfo = "(" + unreserved + "|" + escaped + "|[;:&=+$,])*"; + String domainlabel = "(" + alphanum + "|" + alphanum + "(" + alphanum + "|-)*" + alphanum + ")"; + String toplabel = "([a-zA-Z]|[a-zA-Z](" + alphanum + "|-)*" + alphanum + ")"; + String hostname = "(" + domainlabel + "\\.)*" + toplabel + "(\\.)?"; + String ipv4address = "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+"; + String host = "(" + hostname + "|" + ipv4address + ")"; + String port = "[0-9]*"; + String hostport = host + "(:" + port + ")?"; + String server = "((" + userinfo + "\\@)?" + hostport + ")?"; + String regName = "(" + unreserved + "|" + escaped + "|[$,;:@&=+])+"; + String authority = "(" + server + "|" + regName + ")"; + String netPath = "//" + authority + "(" + absPath + ")?"; + String reserved = "[;/?:@&=+$,]"; + String uric = "(" + reserved + "|" + unreserved + "|" + escaped + ")"; + String query = "(" + uric + ")*"; + String hierPart = "(" + netPath + "|" + absPath + ")(\\?" + query + ")?"; + String uricNoSlash = "(" + unreserved + "|" + escaped + "|[;?:@&=+$,])"; + String opaquePart = uricNoSlash + "(" + uric + ")*"; + String absoluteuri = scheme + ":(" + hierPart + "|" + opaquePart + ")"; + String fragment = "(" + uric + ")*"; + String relSegment = "(" + unreserved + "|" + escaped + "|[;@&=+$,])+"; + String relPath = relSegment + "(" + absPath + ")?"; + String relativeuri = "(" + netPath + "|" + absPath + "|" + relPath + ")(\\?" + query + ")?"; + String uriReference = "(" + absoluteuri + "|" + relativeuri + ")?(\\#" + fragment + ")?"; + return new RegExp(uriReference).toAutomaton(); + } + + private static final Automaton regexMatchesRfc2396 = constructMatchesRfc2396(); + + /** + * Check that {@code text} matches to the URI pattern defined in RFC 2396 + * + *

The definition has been taken from: https://datatracker.ietf.org/doc/html/rfc2396 + * + *

Note that RFX 2396 alone is not enough for specifying {@code xs:anyURI} for XSD version 1.0, + * as that specifies URI together with the amendment of RFC 2732. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesRfc2396(String text) { + return regexMatchesRfc2396.run(text); + } + + private static Pattern constructMatchesBcp47() { + String alphanum = "[a-zA-Z0-9]"; + String singleton = "[0-9A-WY-Za-wy-z]"; + String extension = singleton + "(-(" + alphanum + "){2,8})+"; + String extlang = "[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2}"; + String irregular = + "(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)"; + String regular = + "(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)"; + String grandfathered = "(" + irregular + "|" + regular + ")"; + String language = "([a-zA-Z]{2,3}(-" + extlang + ")?|[a-zA-Z]{4}|[a-zA-Z]{5,8})"; + String script = "[a-zA-Z]{4}"; + String region = "([a-zA-Z]{2}|[0-9]{3})"; + String variant = "((" + alphanum + "){5,8}|[0-9](" + alphanum + "){3})"; + String privateuse = "[xX](-(" + alphanum + "){1,8})+"; + String langtag = + language + + "(-" + + script + + ")?(-" + + region + + ")?(-" + + variant + + ")*(-" + + extension + + ")*(-" + + privateuse + + ")?"; + String languageTag = "(" + langtag + "|" + privateuse + "|" + grandfathered + ")"; + String pattern = "^" + languageTag + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesBcp47 = constructMatchesBcp47(); + + /** + * Check that {@code text} is a valid BCP 47 language tag. + * + *

See: https://en.wikipedia.org/wiki/IETF_language_tag + */ + public static Boolean matchesBcp47(String text) { + return regexMatchesBcp47.matcher(text).matches(); + } + + /** + * Check that {@link IAbstractLangString langStrings} are specified each for a unique language. + * + * @param langStrings the langStrings. + */ + public static boolean langStringsHaveUniqueLanguages( + Iterable langStrings) { + Objects.requireNonNull(langStrings); + Set languageSet = new HashSet<>(); + for (IAbstractLangString langString : langStrings) { + if (languageSet.contains(langString.getLanguage())) { + return false; + } + languageSet.add(langString.getLanguage()); + } + return true; + } + + /** + * Check that there are no duplicate {@link IQualifier#getType() type}'s in the qualifiers. + * + * @param qualifiers the qualifiers + */ + public static boolean qualifierTypesAreUnique(Iterable qualifiers) { + Objects.requireNonNull(qualifiers); + Set typeSet = new HashSet<>(); + for (IQualifier qualifier : qualifiers) { + if (typeSet.contains(qualifier.getType())) { + return false; + } + typeSet.add(qualifier.getType()); + } + return true; + } + + private static Pattern constructMatchesXmlSerializableString() { + String pattern = + "^[\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]*$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXmlSerializableString = + constructMatchesXmlSerializableString(); + + /** + * Check that {@code text} conforms to the pattern of the Constraint AASd-130. + * + *

Ensures that encoding is possible and interoperability between different serializations is + * possible. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXmlSerializableString(String text) { + return regexMatchesXmlSerializableString.matcher(text).matches(); + } + + private static Pattern constructMatchesXsAnyUri() { + String alphanum = "[a-zA-Z0-9]"; + String mark = "[-_.!~*\'()]"; + String unreserved = "(" + alphanum + "|" + mark + ")"; + String hex = "([0-9]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF]|[aA]|[bB]|[cC]|[dD]|[eE]|[fF])"; + String escaped = "%" + hex + hex; + String pchar = "(" + unreserved + "|" + escaped + "|[:@&=+$,])"; + String param = "(" + pchar + ")*"; + String segment = "(" + pchar + ")*(;" + param + ")*"; + String pathSegments = segment + "(/" + segment + ")*"; + String absPath = "/" + pathSegments; + String scheme = "[a-zA-Z][a-zA-Z0-9+\\-.]*"; + String userinfo = "(" + unreserved + "|" + escaped + "|[;:&=+$,])*"; + String domainlabel = "(" + alphanum + "|" + alphanum + "(" + alphanum + "|-)*" + alphanum + ")"; + String toplabel = "([a-zA-Z]|[a-zA-Z](" + alphanum + "|-)*" + alphanum + ")"; + String hostname = "(" + domainlabel + "\\.)*" + toplabel + "(\\.)?"; + String ipv4address = "[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}"; + String hex4 = "[0-9A-Fa-f]{1,4}"; + String hexseq = hex4 + "(:" + hex4 + ")*"; + String hexpart = "(" + hexseq + "|" + hexseq + "::(" + hexseq + ")?|::(" + hexseq + ")?)"; + String ipv6address = hexpart + "(:" + ipv4address + ")?"; + String ipv6reference = "\\[" + ipv6address + "\\]"; + String host = "(" + hostname + "|" + ipv4address + "|" + ipv6reference + ")"; + String port = "[0-9]*"; + String hostport = host + "(:" + port + ")?"; + String server = "((" + userinfo + "@)?" + hostport + ")?"; + String regName = "(" + unreserved + "|" + escaped + "|[$,;:@&=+])+"; + String authority = "(" + server + "|" + regName + ")"; + String netPath = "//" + authority + "(" + absPath + ")?"; + String reserved = "[;/?:@&=+$,\\[\\]]"; + String uric = "(" + reserved + "|" + unreserved + "|" + escaped + ")"; + String query = "(" + uric + ")*"; + String hierPart = "(" + netPath + "|" + absPath + ")(\\?" + query + ")?"; + String uricNoSlash = "(" + unreserved + "|" + escaped + "|[;?:@&=+$,])"; + String opaquePart = uricNoSlash + "(" + uric + ")*"; + String absoluteuri = scheme + ":(" + hierPart + "|" + opaquePart + ")"; + String fragment = "(" + uric + ")*"; + String relSegment = "(" + unreserved + "|" + escaped + "|[;@&=+$,])+"; + String relPath = relSegment + "(" + absPath + ")?"; + String relativeuri = "(" + netPath + "|" + absPath + "|" + relPath + ")(\\?" + query + ")?"; + String uriReference = "^(" + absoluteuri + "|" + relativeuri + ")?(#" + fragment + ")?$"; + return Pattern.compile(uriReference); + } + + private static final Pattern regexMatchesXsAnyUri = constructMatchesXsAnyUri(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:anyURI}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#anyURI + * and https://datatracker.ietf.org/doc/html/rfc2396 + * and https://datatracker.ietf.org/doc/html/rfc2732 + * + *

Note, that version 1.0 of the XSD specification defines {@code xs:anyURI} as "defined by RFC + * 2396, as amended by RFC 2732". Therefore, we use a pattern here that implements the amendments + * of RFC 2732. This should not be confused with {@code matches_RFC_2396}, which does not include + * those amendments and is used in different parts of the specification. + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsAnyUri(String text) { + return regexMatchesXsAnyUri.matcher(text).matches(); + } + + private static Pattern constructMatchesXsBase64Binary() { + String b04Char = "[AQgw]"; + String b04 = b04Char + "\\x{20}?"; + String b16Char = "[AEIMQUYcgkosw048]"; + String b16 = b16Char + "\\x{20}?"; + String b64Char = "[A-Za-z0-9+/]"; + String b64 = b64Char + "\\x{20}?"; + String b64quad = "(" + b64 + b64 + b64 + b64 + ")"; + String b64FinalQuad = "(" + b64 + b64 + b64 + b64Char + ")"; + String padded8 = b64 + b04 + "= ?="; + String padded16 = b64 + b64 + b16 + "="; + String b64final = "(" + b64FinalQuad + "|" + padded16 + "|" + padded8 + ")"; + String base64Binary = "(" + b64quad + "*" + b64final + ")?"; + String pattern = "^" + base64Binary + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsBase64Binary = constructMatchesXsBase64Binary(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:base64Binary}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#base64Binary + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsBase64Binary(String text) { + return regexMatchesXsBase64Binary.matcher(text).matches(); + } + + private static Pattern constructMatchesXsBoolean() { + String pattern = "^(true|false|1|0)$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsBoolean = constructMatchesXsBoolean(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:boolean}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#boolean + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsBoolean(String text) { + return regexMatchesXsBoolean.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDate() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String minuteFrag = "[0-5]" + digit; + String timezoneFrag = "(Z|(\\+|-)((0" + digit + "|1[0-3]):" + minuteFrag + "|14:00))"; + String dateLexicalRep = yearFrag + "-" + monthFrag + "-" + dayFrag + timezoneFrag + "?"; + String pattern = "^" + dateLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDate = constructMatchesXsDate(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:date}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#date + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDate(String text) { + return regexMatchesXsDate.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDateTime() { + String digit = "[0-9]"; + String yearFrag = "-?(([1-9]" + digit + digit + digit + "+)|(0" + digit + digit + digit + "))"; + String monthFrag = "((0[1-9])|(1[0-2]))"; + String dayFrag = "((0[1-9])|([12]" + digit + ")|(3[01]))"; + String hourFrag = "(([01]" + digit + ")|(2[0-3]))"; + String minuteFrag = "[0-5]" + digit; + String secondFrag = "([0-5]" + digit + ")(\\." + digit + "+)?"; + String endOfDayFrag = "24:00:00(\\.0+)?"; + String timezoneFrag = "(Z|(\\+|-)((0" + digit + "|1[0-3]):" + minuteFrag + "|14:00))"; + String dateTimeLexicalRep = + yearFrag + + "-" + + monthFrag + + "-" + + dayFrag + + "T((" + + hourFrag + + ":" + + minuteFrag + + ":" + + secondFrag + + ")|" + + endOfDayFrag + + ")" + + timezoneFrag + + "?"; + String pattern = "^" + dateTimeLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDateTime = constructMatchesXsDateTime(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:dateTime}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#dateTime + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDateTime(String text) { + return regexMatchesXsDateTime.matcher(text).matches(); + } + + private static final Pattern regexDatePrefix = + Pattern.compile("^(-?[0-9]+)-([0-9]{2})-([0-9]{2})"); + + private static final BigInteger FOUR = new BigInteger("4"); + + private static final BigInteger HUNDRED = new BigInteger("100"); + + private static final BigInteger FOUR_HUNDRED = new BigInteger("100"); + + /** + * Check whether the given year is a leap year. Year 1 BCE is a leap year. + * + * @param year to be checked + * @return True if 'year' is a leap year + */ + public static boolean isLeapYear(BigInteger year) { + // We consider the years B.C. to be one-off. + // See the note at: https://www.w3.org/TR/xmlschema-2/#dateTime: + // "'-0001' is the lexical representation of the year 1 Before Common Era + // (1 BCE, sometimes written "1 BC")." + // + // Hence, -1 year in XML is 1 BCE, which is 0 year in astronomical years. + if (year.signum() < 0) { + year = year.negate().subtract(BigInteger.ONE); + } + // See: See: https://en.wikipedia.org/wiki/Leap_year#Algorithm + if (year.mod(FOUR).signum() > 0) { + return false; + } + if (year.mod(HUNDRED).signum() > 0) { + return true; + } + if (year.mod(FOUR_HUNDRED).signum() > 0) { + return false; + } + return true; + } + + /** + * Check that the value starts with a valid date. + * + * @param value an xs:date, an xs:dateTime,or an xs:dateTimeStamp + * @return true if the value starts with a valid date + */ + private static boolean isPrefixedWithValidDate(String value) { + Objects.requireNonNull(value); + Matcher match = regexDatePrefix.matcher(value); + if (!match.lookingAt()) { + return false; + } + BigInteger year; + try { + year = new BigInteger(match.group(1)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the year from " + match.group(1) + "but the parsing failed"); + } + int month; + try { + month = Integer.parseInt(match.group(2)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the month from " + match.group(2) + "but the parsing failed"); + } + int day; + try { + day = Integer.parseInt(match.group(3)); + } catch (NumberFormatException exception) { + throw new IllegalArgumentException( + "Expected to parse the day from " + match.group(3) + "but the parsing failed"); + } + // Year zero does not exist, see: https://www.w3.org/TR/xmlschema-2/#dateTime + if (year.signum() == 0) { + return false; + } + if (day <= 0 || day > 31) { + return false; + } + if (month <= 0 || month >= 13) { + return false; + } + int maxDaysInMonth; + switch (month) { + case 1: + maxDaysInMonth = 31; + break; + case 2: + maxDaysInMonth = (isLeapYear(year)) ? 29 : 28; + break; + case 3: + maxDaysInMonth = 31; + break; + case 4: + maxDaysInMonth = 30; + break; + case 5: + maxDaysInMonth = 31; + break; + case 6: + maxDaysInMonth = 30; + break; + case 7: + maxDaysInMonth = 31; + break; + case 8: + maxDaysInMonth = 31; + break; + case 9: + maxDaysInMonth = 30; + break; + case 10: + maxDaysInMonth = 31; + break; + case 11: + maxDaysInMonth = 30; + break; + case 12: + maxDaysInMonth = 31; + break; + default: + throw new IllegalArgumentException("Unexpected month: " + month); + } + if (day > maxDaysInMonth) { + return false; + } + return true; + } + + /** + * Check that value is a xs:dateTime with the time zone set to UTC. + * + * @param value to check + */ + public static boolean isXsDateTime(String value) { + if (!matchesXsDateTime(value)) { + return false; + } + return isPrefixedWithValidDate(value); + } + + private static Pattern constructMatchesXsDecimal() { + String digit = "[0-9]"; + String unsignedNoDecimalPtNumeral = digit + "+"; + String noDecimalPtNumeral = "(\\+|-)?" + unsignedNoDecimalPtNumeral; + String fracFrag = digit + "+"; + String unsignedDecimalPtNumeral = + "(" + unsignedNoDecimalPtNumeral + "\\." + fracFrag + "|\\." + fracFrag + ")"; + String decimalPtNumeral = "(\\+|-)?" + unsignedDecimalPtNumeral; + String decimalLexicalRep = "(" + decimalPtNumeral + "|" + noDecimalPtNumeral + ")"; + String pattern = "^" + decimalLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDecimal = constructMatchesXsDecimal(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:decimal}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#decimal + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDecimal(String text) { + return regexMatchesXsDecimal.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDouble() { + String doubleRep = "((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?|-?INF|NaN)"; + String pattern = "^" + doubleRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDouble = constructMatchesXsDouble(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:double}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#double + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDouble(String text) { + return regexMatchesXsDouble.matcher(text).matches(); + } + + private static Pattern constructMatchesXsDuration() { + String durationRep = + "-?P((([0-9]+Y([0-9]+M)?([0-9]+D)?|([0-9]+M)([0-9]+D)?|([0-9]+D))(T(([0-9]+H)([0-9]+M)?([0-9]+(\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\.[0-9]+)?S)?|([0-9]+(\\.[0-9]+)?S)))?)|(T(([0-9]+H)([0-9]+M)?([0-9]+(\\.[0-9]+)?S)?|([0-9]+M)([0-9]+(\\.[0-9]+)?S)?|([0-9]+(\\.[0-9]+)?S))))"; + String pattern = "^" + durationRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsDuration = constructMatchesXsDuration(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:duration}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#duration + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsDuration(String text) { + return regexMatchesXsDuration.matcher(text).matches(); + } + + private static Pattern constructMatchesXsFloat() { + String floatRep = "((\\+|-)?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)([Ee](\\+|-)?[0-9]+)?|-?INF|NaN)"; + String pattern = "^" + floatRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsFloat = constructMatchesXsFloat(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:float}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#float + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsFloat(String text) { + return regexMatchesXsFloat.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGDay() { + String gDayLexicalRep = + "---(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gDayLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGDay = constructMatchesXsGDay(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gDay}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gDay + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGDay(String text) { + return regexMatchesXsGDay.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGMonth() { + String gMonthLexicalRep = "--(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gMonthLexicalRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGMonth = constructMatchesXsGMonth(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gMonth}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonth + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGMonth(String text) { + return regexMatchesXsGMonth.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGMonthDay() { + String gMonthDayRep = + "--(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gMonthDayRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGMonthDay = constructMatchesXsGMonthDay(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gMonthDay}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gMonthDay + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGMonthDay(String text) { + return regexMatchesXsGMonthDay.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGYear() { + String gYearRep = "-?([1-9][0-9]{3,}|0[0-9]{3})(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gYearRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGYear = constructMatchesXsGYear(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gYear}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gYear + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGYear(String text) { + return regexMatchesXsGYear.matcher(text).matches(); + } + + private static Pattern constructMatchesXsGYearMonth() { + String gYearMonthRep = + "-?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + gYearMonthRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsGYearMonth = constructMatchesXsGYearMonth(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:gYearMonth}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#gYearMonth + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsGYearMonth(String text) { + return regexMatchesXsGYearMonth.matcher(text).matches(); + } + + private static Pattern constructMatchesXsHexBinary() { + String hexBinary = "([0-9a-fA-F]{2})*"; + String pattern = "^" + hexBinary + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsHexBinary = constructMatchesXsHexBinary(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:hexBinary}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#hexBinary + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsHexBinary(String text) { + return regexMatchesXsHexBinary.matcher(text).matches(); + } + + private static Pattern constructMatchesXsTime() { + String timeRep = + "(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?|(24:00:00(\\.0+)?))(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?"; + String pattern = "^" + timeRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsTime = constructMatchesXsTime(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:time}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#time + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsTime(String text) { + return regexMatchesXsTime.matcher(text).matches(); + } + + private static Pattern constructMatchesXsInteger() { + String integerRep = "[-+]?[0-9]+"; + String pattern = "^" + integerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsInteger = constructMatchesXsInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:integer}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#integer + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsInteger(String text) { + return regexMatchesXsInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsLong() { + String longRep = "[-+]?0*[0-9]{1,20}"; + String pattern = "^" + longRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsLong = constructMatchesXsLong(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:long}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#long + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsLong(String text) { + return regexMatchesXsLong.matcher(text).matches(); + } + + private static Pattern constructMatchesXsInt() { + String intRep = "[-+]?0*[0-9]{1,10}"; + String pattern = "^" + intRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsInt = constructMatchesXsInt(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:int}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#int + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsInt(String text) { + return regexMatchesXsInt.matcher(text).matches(); + } + + private static Pattern constructMatchesXsShort() { + String shortRep = "[-+]?0*[0-9]{1,5}"; + String pattern = "^" + shortRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsShort = constructMatchesXsShort(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:short}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#short + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsShort(String text) { + return regexMatchesXsShort.matcher(text).matches(); + } + + private static Pattern constructMatchesXsByte() { + String byteRep = "[-+]?0*[0-9]{1,3}"; + String pattern = "^" + byteRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsByte = constructMatchesXsByte(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:byte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#byte + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsByte(String text) { + return regexMatchesXsByte.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNonNegativeInteger() { + String nonNegativeIntegerRep = "(-0|\\+?[0-9]+)"; + String pattern = "^" + nonNegativeIntegerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNonNegativeInteger = + constructMatchesXsNonNegativeInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:nonNegativeInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#nonNegativeInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNonNegativeInteger(String text) { + return regexMatchesXsNonNegativeInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsPositiveInteger() { + String positiveIntegerRep = "\\+?0*[1-9][0-9]*"; + String pattern = "^" + positiveIntegerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsPositiveInteger = constructMatchesXsPositiveInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:positiveInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#positiveInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsPositiveInteger(String text) { + return regexMatchesXsPositiveInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedLong() { + String unsignedLongRep = "(-0|\\+?0*[0-9]{1,20})"; + String pattern = "^" + unsignedLongRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedLong = constructMatchesXsUnsignedLong(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedLong}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedLong + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedLong(String text) { + return regexMatchesXsUnsignedLong.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedInt() { + String unsignedIntRep = "(-0|\\+?0*[0-9]{1,10})"; + String pattern = "^" + unsignedIntRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedInt = constructMatchesXsUnsignedInt(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedInt}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedInt + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedInt(String text) { + return regexMatchesXsUnsignedInt.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedShort() { + String unsignedShortRep = "(-0|\\+?0*[0-9]{1,5})"; + String pattern = "^" + unsignedShortRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedShort = constructMatchesXsUnsignedShort(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedShort}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedShort + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedShort(String text) { + return regexMatchesXsUnsignedShort.matcher(text).matches(); + } + + private static Pattern constructMatchesXsUnsignedByte() { + String unsignedByteRep = "(-0|\\+?0*[0-9]{1,3})"; + String pattern = "^" + unsignedByteRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsUnsignedByte = constructMatchesXsUnsignedByte(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:unsignedByte}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#unsignedByte + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsUnsignedByte(String text) { + return regexMatchesXsUnsignedByte.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNonPositiveInteger() { + String nonPositiveIntegerRep = "(\\+0|0|-[0-9]+)"; + String pattern = "^" + nonPositiveIntegerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNonPositiveInteger = + constructMatchesXsNonPositiveInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:nonPositiveInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#nonPositiveInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNonPositiveInteger(String text) { + return regexMatchesXsNonPositiveInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsNegativeInteger() { + String negativeIntegerRep = "(-0*[1-9][0-9]*)"; + String pattern = "^" + negativeIntegerRep + "$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsNegativeInteger = constructMatchesXsNegativeInteger(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:negativeInteger}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#negativeInteger + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsNegativeInteger(String text) { + return regexMatchesXsNegativeInteger.matcher(text).matches(); + } + + private static Pattern constructMatchesXsString() { + String pattern = + "^[\\x{09}\\x{0a}\\x{0d}\\x{20}-\\x{d7ff}\\x{e000}-\\x{fffd}\\x{10000}-\\x{10ffff}]*$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexMatchesXsString = constructMatchesXsString(); + + /** + * Check that {@code text} conforms to the pattern of an {@code xs:string}. + * + *

See: https://www.w3.org/TR/xmlschema-2/#string + * + * @param text Text to be checked + * @return True if the {@code text} conforms to the pattern + */ + public static Boolean matchesXsString(String text) { + return regexMatchesXsString.matcher(text).matches(); + } + + /** + * Check that the value is consistent with the given valueType. + * + * @param value the value to check + * @param valueType the value type + */ + public static boolean valueConsistentWithXsdType(String value, DataTypeDefXsd valueType) { + Objects.requireNonNull(value); + Objects.requireNonNull(valueType); + switch (valueType) { + case ANY_URI: + { + return matchesXsAnyUri(value); + } + case BASE_64_BINARY: + { + return matchesXsBase64Binary(value); + } + case BOOLEAN: + { + return matchesXsBoolean(value); + } + case BYTE: + { + try { + Byte.valueOf(value); + return true; + } catch (NumberFormatException numberFormatException) { + return false; + } + } + case DATE: + { + if (!matchesXsDate(value)) { + return false; + } + return isPrefixedWithValidDate(value); + } + case DATE_TIME: + { + if (!matchesXsDateTime(value)) { + return false; + } + // The time part and the time zone part will be checked by + // MatchesXsDateTime. We need to check that the date part is + // correct in sense of the day/month combination. + return isPrefixedWithValidDate(value); + } + case DECIMAL: + { + return matchesXsDecimal(value); + } + case DOUBLE: + { + // We need to check explicitly for the regular expression. + // See: https://www.w3.org/TR/xmlschema-2/#double + if (!matchesXsDouble(value)) { + return false; + } + if ("INF".equals(value) || "-INF".equals(value)) return true; + double converted; + try { + converted = Double.parseDouble(value); + } catch (Exception exception) { + return false; + } + return !Double.isInfinite(converted); + } + case DURATION: + { + return matchesXsDuration(value); + } + case FLOAT: + { + // We need to check explicitly for the regular expression. + // See: https://www.w3.org/TR/xmlschema-2/#float + if (!matchesXsFloat(value)) { + return false; + } + if ("INF".equals(value) || "-INF".equals(value)) return true; + float converted; + try { + converted = Float.parseFloat(value); + } catch (Exception exception) { + return false; + } + return !Float.isInfinite(converted); + } + case G_DAY: + { + return matchesXsGDay(value); + } + case G_MONTH: + { + return matchesXsGMonth(value); + } + case G_MONTH_DAY: + { + if (!matchesXsGMonthDay(value)) { + return false; + } + int month = Integer.parseInt(value.substring(2, 4)); + int day = Integer.parseInt(value.substring(5, 7)); + switch (month) { + case 1: + case 3: + case 5: + case 7: + case 8: + case 10: + case 12: + return day <= 31; + case 4: + case 6: + case 9: + case 11: + return day <= 30; + case 2: + return day <= 29; + default: + throw new IllegalArgumentException( + "Unhandled month: " + month + "is there maybe a bug in MatchesXsGMonthDay?"); + } + } + case G_YEAR: + { + return matchesXsGYear(value); + } + case G_YEAR_MONTH: + { + return matchesXsGYearMonth(value); + } + case HEX_BINARY: + { + return matchesXsHexBinary(value); + } + case INT: + { + try { + Integer.parseInt(value); + return true; + } catch (Exception exception) { + return false; + } + } + case INTEGER: + { + return matchesXsInteger(value); + } + case LONG: + { + try { + Long.parseLong(value); + return true; + } catch (Exception exception) { + return false; + } + } + case NEGATIVE_INTEGER: + { + return matchesXsNegativeInteger(value); + } + case NON_NEGATIVE_INTEGER: + { + return matchesXsNonNegativeInteger(value); + } + case NON_POSITIVE_INTEGER: + { + return matchesXsNonPositiveInteger(value); + } + case POSITIVE_INTEGER: + { + return matchesXsPositiveInteger(value); + } + case SHORT: + { + try { + Short.parseShort(value); + return true; + } catch (Exception exception) { + return false; + } + } + case STRING: + { + return matchesXsString(value); + } + case TIME: + { + return matchesXsTime(value); + } + case UNSIGNED_BYTE: + { + if (value.isEmpty()) { + return false; + } + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned byte. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedByte + if (value.equals("-0")) { + return true; + } + try { + int converted = Integer.parseInt(value); + return 0 <= converted && converted <= 255; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_INT: + { + if (value.isEmpty()) { + return false; + } + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned int. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedInt + if (value.equals("-0")) { + return true; + } + try { + // Java does not support UInt32 like C#, so we need to use long. + long converted = Long.parseUnsignedLong(value); + return converted <= 4294967295L; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_LONG: + { + if (value.isEmpty()) { + return false; + } + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned long. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedLong + if (value.equals("-0")) { + return true; + } + try { + Long.parseUnsignedLong(value); + return true; + } catch (Exception exception) { + return false; + } + } + case UNSIGNED_SHORT: + { + if (value.isEmpty()) { + return false; + } + // We need to allow negative zeros which are allowed in the lexical + // representation of an unsigned short. + // See: https://www.w3.org/TR/xmlschema11-2/#unsignedShort + if (value.equals("-0")) { + return true; + } + try { + int converted = Integer.parseInt(value); + return 0 <= converted && converted <= 65535; + } catch (Exception exception) { + return false; + } + } + default: + throw new IllegalArgumentException("valueType is an invalid DataTypeDefXsd: " + valueType); + } + } + + /** Check that the target of the model reference matches the {@code expectedType}. */ + public static Boolean isModelReferenceTo(IReference reference, KeyTypes expectedType) { + return reference.getType() == ReferenceTypes.MODEL_REFERENCE + && reference.getKeys().size() != 0 + && ListHelpers.at(reference.getKeys(), -1).getType() == expectedType; + } + + /** + * Check that the target of the reference matches a {@link + * aas_core.aas3_1.constants.Constants#aasReferables}. + */ + public static Boolean isModelReferenceToReferable(IReference reference) { + return reference.getType() == ReferenceTypes.MODEL_REFERENCE + && reference.getKeys().size() != 0 + && Constants.aasReferables.contains(ListHelpers.at(reference.getKeys(), -1).getType()); + } + + /** + * Check that all {@link IReferable#getIdShort() idShort} are unique among referables. + * + * @param referables the referables. + */ + public static boolean idShortsAreUnique(Iterable referables) { + Objects.requireNonNull(referables); + Set idShortSet = new HashSet<>(); + for (IReferable referable : referables) { + if (referable.getIdShort().isPresent()) { + if (idShortSet.contains(referable.getIdShort().get())) { + return false; + } + idShortSet.add(referable.getIdShort().get()); + } + } + return true; + } + + /** + * Check that all {@link IReferable#getIdShort idShort} 's are among all the inputVariables, + * outputVariables and inoutputVariables are unique. + * + * @param inputVariables the inputVariables + * @param outputVariables the outputVariables + * @param inoutputVariables the inoutputVariables + */ + public static boolean idShortsOfVariablesAreUnique( + Optional> inputVariables, + Optional> outputVariables, + Optional> inoutputVariables) { + Set idShortSet = new HashSet<>(); + if (inputVariables.isPresent()) { + for (IOperationVariable variable : inputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + if (outputVariables.isPresent()) { + for (IOperationVariable variable : outputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + if (inoutputVariables.isPresent()) { + for (IOperationVariable variable : inoutputVariables.get()) { + if (variable.getValue().getIdShort().isPresent()) { + if (idShortSet.contains(variable.getValue().getIdShort().get())) { + return false; + } + idShortSet.add(variable.getValue().getIdShort().get()); + } + } + } + return true; + } + + /** + * Check that all {@link IExtension#getName() name} are unique among extensions. + * + * @param extensions the extensions + */ + public static boolean extensionNamesAreUnique(Iterable extensions) { + Objects.requireNonNull(extensions); + Set nameSet = new HashSet<>(); + for (IExtension extension : extensions) { + if (nameSet.contains(extension.getName())) { + return false; + } + nameSet.add(extension.getName()); + } + return true; + } + + /** + * Check that all elements have the identical {@link IHasSemantics#getSemanticId() semanticId}'s. + */ + public static boolean submodelElementsHaveIdenticalSemanticIds( + Iterable elements) { + Objects.requireNonNull(elements); + IReference thatSemanticId = null; + for (ISubmodelElement element : elements) { + if (!element.getSemanticId().isPresent()) { + continue; + } + if (thatSemanticId == null) { + thatSemanticId = element.getSemanticId().get(); + continue; + } + IReference thisSemanticId = element.getSemanticId().get(); + if (thatSemanticId.getKeys().size() != thisSemanticId.getKeys().size()) { + return false; + } + for (int i = 0; i < thisSemanticId.getKeys().size(); i++) { + if (!Objects.equals( + thatSemanticId.getKeys().get(i).getValue(), + thisSemanticId.getKeys().get(i).getValue())) { + return false; + } + } + } + return true; + } + + public static boolean submodelElementIsOfType( + ISubmodelElement element, AasSubmodelElements expectedType) { + Objects.requireNonNull(element); + Objects.requireNonNull(expectedType); + switch (expectedType) { + case ANNOTATED_RELATIONSHIP_ELEMENT: + return element instanceof IAnnotatedRelationshipElement; + case BASIC_EVENT_ELEMENT: + return element instanceof IBasicEventElement; + case BLOB: + return element instanceof IBlob; + case CAPABILITY: + return element instanceof ICapability; + case DATA_ELEMENT: + return element instanceof IDataElement; + case ENTITY: + return element instanceof IEntity; + case EVENT_ELEMENT: + return element instanceof IEventElement; + case FILE: + return element instanceof IFile; + case MULTI_LANGUAGE_PROPERTY: + return element instanceof IMultiLanguageProperty; + case OPERATION: + return element instanceof IOperation; + case PROPERTY: + return element instanceof IProperty; + case RANGE: + return element instanceof IRange; + case REFERENCE_ELEMENT: + return element instanceof IReferenceElement; + case RELATIONSHIP_ELEMENT: + return element instanceof IRelationshipElement; + case SUBMODEL_ELEMENT: + return element instanceof ISubmodelElement; + case SUBMODEL_ELEMENT_LIST: + return element instanceof ISubmodelElementList; + case SUBMODEL_ELEMENT_COLLECTION: + return element instanceof ISubmodelElementCollection; + default: + throw new IllegalArgumentException( + "expectedType is not a valid AasSubmodelElements: " + expectedType); + } + } + + /** + * Check that the elements which are {@link IProperty} or {@link IRange} have the given valueType. + * + * @param elements the elements. + * @param valueType the valueType. + */ + public static boolean propertiesOrRangesHaveValueType( + Iterable elements, DataTypeDefXsd valueType) { + Objects.requireNonNull(elements); + Objects.requireNonNull(valueType); + for (ISubmodelElement element : elements) { + if (element instanceof IProperty) { + if (((IProperty) element).getValueType() != valueType) { + return false; + } + } else if (element instanceof IRange) { + if (((IRange) element).getValueType() != valueType) { + return false; + } + } + } + return true; + } + + /** + * Check that the two references,'that' and 'other', are equal by comparing their {@link + * IReference#getKeys() keys} by {@link IKey#getValue() value}'s. + */ + public static boolean referenceKeyValuesEqual(IReference that, IReference other) { + Objects.requireNonNull(that); + Objects.requireNonNull(other); + if (that.getKeys().size() != other.getKeys().size()) { + return false; + } + for (int i = 0; i < that.getKeys().size(); i++) { + if (!Objects.equals(that.getKeys().get(i).getValue(), other.getKeys().get(i).getValue())) { + return false; + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getValue() dataType} is defined appropriately + * for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForPropertyOrValue.contains( + iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType() dataType} is defined + * appropriately for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForReferenceHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForReference.contains(iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType dataType} is defined appropriately + * for all data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sForDocumentHaveAppropriateDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent() + || !Constants.dataTypeIec61360ForDocument.contains(iec61360.getDataType().get())) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDataType() dataType} is defined for all + * data specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sHaveDataType( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDataType().isPresent()) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getValue() value} is defined for all data + * specifications whose content is given as IEC 61360. + */ + public static boolean dataSpecificationIec61360sHaveValue( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getValue().isPresent()) { + return false; + } + } + } + return true; + } + + /** + * Check that the {@link IDataSpecificationIec61360#getDefinition() definition} is defined for all + * data specifications whose content is given as IEC 61360 at least in English. + */ + public static boolean dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish( + Iterable embeddedDataSpecifications) { + Objects.requireNonNull(embeddedDataSpecifications); + for (IEmbeddedDataSpecification embeddedDataSpecification : embeddedDataSpecifications) { + IDataSpecificationIec61360 iec61360 = + (IDataSpecificationIec61360) embeddedDataSpecification.getDataSpecificationContent(); + if (iec61360 != null) { + if (!iec61360.getDefinition().isPresent()) { + return false; + } + boolean noDefinitionInEnglish = true; + for (ILangStringDefinitionTypeIec61360 langString : iec61360.getDefinition().get()) { + if (isBcp47ForEnglish(langString.getLanguage())) { + noDefinitionInEnglish = false; + break; + } + } + if (noDefinitionInEnglish) { + return false; + } + } + } + return true; + } + + private static Pattern constructIsBcp47ForEnglish() { + String pattern = "^(en|EN)(-.*)?$"; + return Pattern.compile(pattern); + } + + private static final Pattern regexIsBcp47ForEnglish = constructIsBcp47ForEnglish(); + + /** Check that the {@code text} corresponds to a BCP47 code for english. */ + public static Boolean isBcp47ForEnglish(String text) { + return regexIsBcp47ForEnglish.matcher(text).matches(); + } + + /** Hash allowed enum values for efficient validation of enums. */ + private static class _EnumValueSet { + + private static final Set forModellingKind; + + static { + final Set temp = new HashSet<>(); + temp.add(ModellingKind.TEMPLATE); + temp.add(ModellingKind.INSTANCE); + if (!temp.containsAll(Arrays.asList(ModellingKind.values()))) { + throw new IllegalStateException("Uncovered ModellingKind"); + } + forModellingKind = Collections.unmodifiableSet(temp); + } + + private static final Set forQualifierKind; + + static { + final Set temp = new HashSet<>(); + temp.add(QualifierKind.VALUE_QUALIFIER); + temp.add(QualifierKind.CONCEPT_QUALIFIER); + temp.add(QualifierKind.TEMPLATE_QUALIFIER); + if (!temp.containsAll(Arrays.asList(QualifierKind.values()))) { + throw new IllegalStateException("Uncovered QualifierKind"); + } + forQualifierKind = Collections.unmodifiableSet(temp); + } + + private static final Set forAssetKind; + + static { + final Set temp = new HashSet<>(); + temp.add(AssetKind.TYPE); + temp.add(AssetKind.INSTANCE); + temp.add(AssetKind.ROLE); + temp.add(AssetKind.NOT_APPLICABLE); + if (!temp.containsAll(Arrays.asList(AssetKind.values()))) { + throw new IllegalStateException("Uncovered AssetKind"); + } + forAssetKind = Collections.unmodifiableSet(temp); + } + + private static final Set forAasSubmodelElements; + + static { + final Set temp = new HashSet<>(); + temp.add(AasSubmodelElements.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.add(AasSubmodelElements.BASIC_EVENT_ELEMENT); + temp.add(AasSubmodelElements.BLOB); + temp.add(AasSubmodelElements.CAPABILITY); + temp.add(AasSubmodelElements.DATA_ELEMENT); + temp.add(AasSubmodelElements.ENTITY); + temp.add(AasSubmodelElements.EVENT_ELEMENT); + temp.add(AasSubmodelElements.FILE); + temp.add(AasSubmodelElements.MULTI_LANGUAGE_PROPERTY); + temp.add(AasSubmodelElements.OPERATION); + temp.add(AasSubmodelElements.PROPERTY); + temp.add(AasSubmodelElements.RANGE); + temp.add(AasSubmodelElements.REFERENCE_ELEMENT); + temp.add(AasSubmodelElements.RELATIONSHIP_ELEMENT); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT_LIST); + temp.add(AasSubmodelElements.SUBMODEL_ELEMENT_COLLECTION); + if (!temp.containsAll(Arrays.asList(AasSubmodelElements.values()))) { + throw new IllegalStateException("Uncovered AasSubmodelElements"); + } + forAasSubmodelElements = Collections.unmodifiableSet(temp); + } + + private static final Set forEntityType; + + static { + final Set temp = new HashSet<>(); + temp.add(EntityType.CO_MANAGED_ENTITY); + temp.add(EntityType.SELF_MANAGED_ENTITY); + if (!temp.containsAll(Arrays.asList(EntityType.values()))) { + throw new IllegalStateException("Uncovered EntityType"); + } + forEntityType = Collections.unmodifiableSet(temp); + } + + private static final Set forDirection; + + static { + final Set temp = new HashSet<>(); + temp.add(Direction.INPUT); + temp.add(Direction.OUTPUT); + if (!temp.containsAll(Arrays.asList(Direction.values()))) { + throw new IllegalStateException("Uncovered Direction"); + } + forDirection = Collections.unmodifiableSet(temp); + } + + private static final Set forStateOfEvent; + + static { + final Set temp = new HashSet<>(); + temp.add(StateOfEvent.ON); + temp.add(StateOfEvent.OFF); + if (!temp.containsAll(Arrays.asList(StateOfEvent.values()))) { + throw new IllegalStateException("Uncovered StateOfEvent"); + } + forStateOfEvent = Collections.unmodifiableSet(temp); + } + + private static final Set forReferenceTypes; + + static { + final Set temp = new HashSet<>(); + temp.add(ReferenceTypes.EXTERNAL_REFERENCE); + temp.add(ReferenceTypes.MODEL_REFERENCE); + if (!temp.containsAll(Arrays.asList(ReferenceTypes.values()))) { + throw new IllegalStateException("Uncovered ReferenceTypes"); + } + forReferenceTypes = Collections.unmodifiableSet(temp); + } + + private static final Set forKeyTypes; + + static { + final Set temp = new HashSet<>(); + temp.add(KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT); + temp.add(KeyTypes.ASSET_ADMINISTRATION_SHELL); + temp.add(KeyTypes.BASIC_EVENT_ELEMENT); + temp.add(KeyTypes.BLOB); + temp.add(KeyTypes.CAPABILITY); + temp.add(KeyTypes.CONCEPT_DESCRIPTION); + temp.add(KeyTypes.DATA_ELEMENT); + temp.add(KeyTypes.ENTITY); + temp.add(KeyTypes.EVENT_ELEMENT); + temp.add(KeyTypes.FILE); + temp.add(KeyTypes.FRAGMENT_REFERENCE); + temp.add(KeyTypes.GLOBAL_REFERENCE); + temp.add(KeyTypes.IDENTIFIABLE); + temp.add(KeyTypes.MULTI_LANGUAGE_PROPERTY); + temp.add(KeyTypes.OPERATION); + temp.add(KeyTypes.PROPERTY); + temp.add(KeyTypes.RANGE); + temp.add(KeyTypes.REFERABLE); + temp.add(KeyTypes.REFERENCE_ELEMENT); + temp.add(KeyTypes.RELATIONSHIP_ELEMENT); + temp.add(KeyTypes.SUBMODEL); + temp.add(KeyTypes.SUBMODEL_ELEMENT); + temp.add(KeyTypes.SUBMODEL_ELEMENT_COLLECTION); + temp.add(KeyTypes.SUBMODEL_ELEMENT_LIST); + if (!temp.containsAll(Arrays.asList(KeyTypes.values()))) { + throw new IllegalStateException("Uncovered KeyTypes"); + } + forKeyTypes = Collections.unmodifiableSet(temp); + } + + private static final Set forDataTypeDefXsd; + + static { + final Set temp = new HashSet<>(); + temp.add(DataTypeDefXsd.ANY_URI); + temp.add(DataTypeDefXsd.BASE_64_BINARY); + temp.add(DataTypeDefXsd.BOOLEAN); + temp.add(DataTypeDefXsd.BYTE); + temp.add(DataTypeDefXsd.DATE); + temp.add(DataTypeDefXsd.DATE_TIME); + temp.add(DataTypeDefXsd.DECIMAL); + temp.add(DataTypeDefXsd.DOUBLE); + temp.add(DataTypeDefXsd.DURATION); + temp.add(DataTypeDefXsd.FLOAT); + temp.add(DataTypeDefXsd.G_DAY); + temp.add(DataTypeDefXsd.G_MONTH); + temp.add(DataTypeDefXsd.G_MONTH_DAY); + temp.add(DataTypeDefXsd.G_YEAR); + temp.add(DataTypeDefXsd.G_YEAR_MONTH); + temp.add(DataTypeDefXsd.HEX_BINARY); + temp.add(DataTypeDefXsd.INT); + temp.add(DataTypeDefXsd.INTEGER); + temp.add(DataTypeDefXsd.LONG); + temp.add(DataTypeDefXsd.NEGATIVE_INTEGER); + temp.add(DataTypeDefXsd.NON_NEGATIVE_INTEGER); + temp.add(DataTypeDefXsd.NON_POSITIVE_INTEGER); + temp.add(DataTypeDefXsd.POSITIVE_INTEGER); + temp.add(DataTypeDefXsd.SHORT); + temp.add(DataTypeDefXsd.STRING); + temp.add(DataTypeDefXsd.TIME); + temp.add(DataTypeDefXsd.UNSIGNED_BYTE); + temp.add(DataTypeDefXsd.UNSIGNED_INT); + temp.add(DataTypeDefXsd.UNSIGNED_LONG); + temp.add(DataTypeDefXsd.UNSIGNED_SHORT); + if (!temp.containsAll(Arrays.asList(DataTypeDefXsd.values()))) { + throw new IllegalStateException("Uncovered DataTypeDefXsd"); + } + forDataTypeDefXsd = Collections.unmodifiableSet(temp); + } + + private static final Set forDataTypeIec61360; + + static { + final Set temp = new HashSet<>(); + temp.add(DataTypeIec61360.DATE); + temp.add(DataTypeIec61360.STRING); + temp.add(DataTypeIec61360.STRING_TRANSLATABLE); + temp.add(DataTypeIec61360.INTEGER_MEASURE); + temp.add(DataTypeIec61360.INTEGER_COUNT); + temp.add(DataTypeIec61360.INTEGER_CURRENCY); + temp.add(DataTypeIec61360.REAL_MEASURE); + temp.add(DataTypeIec61360.REAL_COUNT); + temp.add(DataTypeIec61360.REAL_CURRENCY); + temp.add(DataTypeIec61360.BOOLEAN); + temp.add(DataTypeIec61360.IRI); + temp.add(DataTypeIec61360.IRDI); + temp.add(DataTypeIec61360.RATIONAL); + temp.add(DataTypeIec61360.RATIONAL_MEASURE); + temp.add(DataTypeIec61360.TIME); + temp.add(DataTypeIec61360.TIMESTAMP); + temp.add(DataTypeIec61360.FILE); + temp.add(DataTypeIec61360.HTML); + temp.add(DataTypeIec61360.BLOB); + if (!temp.containsAll(Arrays.asList(DataTypeIec61360.values()))) { + throw new IllegalStateException("Uncovered DataTypeIec61360"); + } + forDataTypeIec61360 = Collections.unmodifiableSet(temp); + } + } + + private static final _Transformer transformer = new _Transformer(); + + private static class _Transformer extends AbstractTransformer> { + + @Override + public Stream transformExtension(IExtension that) { + Stream errorStream = Stream.empty(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatRefersTo = that.getRefersTo(); + final Optional thatValue = that.getValue(); + final Optional thatValueType = that.getValueType(); + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatRefersTo.isPresent()) || (thatRefersTo.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Refers-to must be either not set or have at least one item."))); + } + if (!(!(thatValue.isPresent()) + || valueConsistentWithXsdType(thatValue.orElse(null), that.valueTypeOrDefault()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "The value must match the value type."))); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("name")); + return error; + })); + if (thatValueType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueType.get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatRefersTo.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatRefersTo.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("refersTo")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAdministrativeInformation( + IAdministrativeInformation that) { + Stream errorStream = Stream.empty(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatRevision = that.getRevision(); + final Optional thatVersion = that.getVersion(); + final Optional thatCreator = that.getCreator(); + final Optional thatTemplateId = that.getTemplateId(); + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatRevision.isPresent()) || (thatVersion.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-005: If version is not specified then also " + + "revision shall be unspecified. This means, a revision " + + "requires a version. If there is no version there is no " + + "revision either. Revision is optional."))); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatVersion.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatVersion.get()) + .flatMap(Verification::verifyVersionType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("version")); + return error; + })); + } + if (thatRevision.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatRevision.get()) + .flatMap(Verification::verifyRevisionType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("revision")); + return error; + })); + } + if (thatCreator.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCreator.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("creator")); + return error; + })); + } + if (thatTemplateId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatTemplateId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("templateId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformQualifier(IQualifier that) { + Stream errorStream = Stream.empty(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional thatValue = that.getValue(); + final Optional thatKind = that.getKind(); + final Optional thatValueId = that.getValueId(); + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatValue.isPresent()) + || valueConsistentWithXsdType(thatValue.orElse(null), that.getValueType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-020: The value shall be consistent to " + + "the data type as defined in value type."))); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatKind.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatKind.get()) + .flatMap(Verification::verifyQualifierKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("kind")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyQualifierType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("type")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatValueId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAssetAdministrationShell( + IAssetAdministrationShell that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatSubmodels = that.getSubmodels(); + final Optional thatDerivedFrom = that.getDerivedFrom(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatAdministration = that.getAdministration(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatSubmodels.isPresent()) || (thatSubmodels.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Submodels must be either not set or have at least one item."))); + } + if (!(!(thatDerivedFrom.isPresent()) + || isModelReferenceTo( + thatDerivedFrom.orElse(null), KeyTypes.ASSET_ADMINISTRATION_SHELL))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Derived-from must be a model reference to an asset " + + "administration shell."))); + } + if (!(!(thatSubmodels.isPresent()) + || (thatSubmodels.get().stream() + .allMatch(reference -> isModelReferenceTo(reference, KeyTypes.SUBMODEL))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "All submodels must be model references to a submodel."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatDerivedFrom.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDerivedFrom.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("derivedFrom")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getAssetInformation()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("assetInformation")); + return error; + })); + if (thatSubmodels.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubmodels.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("submodels")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAssetInformation(IAssetInformation that) { + Stream errorStream = Stream.empty(); + final Optional> thatSpecificAssetIds = that.getSpecificAssetIds(); + final Optional thatGlobalAssetId = that.getGlobalAssetId(); + final Optional thatAssetType = that.getAssetType(); + final Optional thatDefaultThumbnail = that.getDefaultThumbnail(); + if (!(!(thatSpecificAssetIds.isPresent()) + || (thatSpecificAssetIds.get().stream() + .allMatch( + specificAssetId -> + !Objects.equals(specificAssetId.getName(), "globalAssetId") + || ((thatGlobalAssetId.isPresent()) + && Objects.equals(specificAssetId.getName(), "globalAssetId") + && Objects.equals( + specificAssetId.getValue(), thatGlobalAssetId.get())))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-116: ``globalAssetId`` is a reserved key. " + + "If used as value for the name of specific asset ID then " + + "the value of specific asset ID shall be identical to " + + "the global asset ID."))); + } + if (!(((thatGlobalAssetId.isPresent()) || (thatSpecificAssetIds.isPresent())) + && (!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-131: Either the global asset ID shall be " + + "defined or at least one specific asset ID."))); + } + if (!(!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getAssetKind()) + .flatMap(Verification::verifyAssetKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("assetKind")); + return error; + })); + if (thatGlobalAssetId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatGlobalAssetId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + if (thatSpecificAssetIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSpecificAssetIds.get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + if (thatAssetType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAssetType.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("assetType")); + return error; + })); + } + if (thatDefaultThumbnail.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDefaultThumbnail.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("defaultThumbnail")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformResource(IResource that) { + Stream errorStream = Stream.empty(); + final Optional thatContentType = that.getContentType(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPath()) + .flatMap(Verification::verifyPathType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("path")); + return error; + })); + if (thatContentType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatContentType.get()) + .flatMap(Verification::verifyContentType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("contentType")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSpecificAssetId(ISpecificAssetId that) { + Stream errorStream = Stream.empty(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional thatExternalSubjectId = that.getExternalSubjectId(); + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatExternalSubjectId.isPresent()) + || (thatExternalSubjectId.get().getType() == ReferenceTypes.EXTERNAL_REFERENCE))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-133: External subject ID shall be " + + "an external reference."))); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getName()) + .flatMap(Verification::verifyLabelType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("name")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + if (thatExternalSubjectId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExternalSubjectId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("externalSubjectId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodel(ISubmodel that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatSubmodelElements = that.getSubmodelElements(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatAdministration = that.getAdministration(); + final Optional thatKind = that.getKind(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatSubmodelElements.isPresent()) || (thatSubmodelElements.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Submodel elements must be either not set or have at least " + + "one item."))); + } + if (!(!(thatSubmodelElements.isPresent()) + || (thatSubmodelElements.get().stream() + .allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of submodel " + + "elements according to AASd-117 (ID-short of Referables not " + + "being a direct child of a Submodel element list shall be " + + "specified)."))); + } + if (!(!(thatSubmodelElements.isPresent()) + || idShortsAreUnique(thatSubmodelElements.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-022: ID-short of non-identifiable " + + "referables within the same name space shall be unique " + + "(case-sensitive)."))); + } + if (!(!(thatSubmodelElements.isPresent()) + || (!(that.kindOrDefault() != ModellingKind.TEMPLATE) + || (thatSubmodelElements.get().stream() + .allMatch( + submodelElement -> + !(submodelElement.getQualifiers().isPresent()) + || (submodelElement.getQualifiers().get().stream() + .allMatch( + qualifier -> + qualifier.kindOrDefault() + != QualifierKind.TEMPLATE_QUALIFIER))))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-129: If any qualifier kind value of " + + "a Submodel element qualifier (attribute qualifier inherited " + + "via Qualifiable) is equal to Template Qualifier then " + + "the submodel element shall be part of a submodel template, " + + "i.e. a Submodel with submodel kind (attribute kind " + + "inherited via Has-Kind) value is equal to Template."))); + } + if (!(!(thatQualifiers.isPresent()) + || (!(thatQualifiers.get().stream() + .anyMatch( + qualifier -> qualifier.kindOrDefault() == QualifierKind.TEMPLATE_QUALIFIER)) + || (that.kindOrDefault() == ModellingKind.TEMPLATE)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-119: If any qualifier kind value of " + + "a qualifiable qualifier is equal to template qualifier and " + + "the qualified element has kind then the qualified element " + + "shall be of kind template."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatKind.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatKind.get()) + .flatMap(Verification::verifyModellingKind) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("kind")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatSubmodelElements.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubmodelElements.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("submodelElements")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformRelationshipElement(IRelationshipElement that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatFirst = that.getFirst(); + final Optional thatSecond = that.getSecond(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatFirst.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatFirst.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("first")); + return error; + })); + } + if (thatSecond.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSecond.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("second")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodelElementList(ISubmodelElementList that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatValue = that.getValue(); + final Optional thatSemanticIdListElement = that.getSemanticIdListElement(); + final Optional thatValueTypeListElement = that.getValueTypeListElement(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatValue.isPresent()) || (thatValue.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + if (!(!((thatValue.isPresent()) && (thatSemanticIdListElement.isPresent())) + || (thatValue.get().stream() + .allMatch( + child -> + !(child.getSemanticId().isPresent()) + || referenceKeyValuesEqual( + child.getSemanticId().orElse(null), + thatSemanticIdListElement.orElse(null)))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-107: If a first level child element has " + + "a semantic ID it shall be identical to semantic ID list " + + "element."))); + } + if (!(!(thatValue.isPresent()) + || submodelElementsHaveIdenticalSemanticIds(thatValue.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-114: If two first level child elements have " + + "a semantic ID then they shall be identical."))); + } + if (!(!(thatValue.isPresent()) + || (thatValue.get().stream() + .allMatch( + element -> submodelElementIsOfType(element, that.getTypeValueListElement()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-108: All first level child elements shall " + + "have the same submodel element type as specified in type " + + "value list element."))); + } + if (!(!((thatValue.isPresent()) + && (that.getTypeValueListElement() == AasSubmodelElements.PROPERTY + || that.getTypeValueListElement() == AasSubmodelElements.RANGE)) + || ((thatValueTypeListElement.isPresent()) + && propertiesOrRangesHaveValueType( + thatValue.orElse(null), thatValueTypeListElement.orElse(null))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-109: If type value list element is equal to " + + "Property or Range value type list element shall be set and " + + "all first level child elements shall have the value type as " + + "specified in value type list element."))); + } + if (!(!(thatValue.isPresent()) || idShortsAreUnique(thatValue.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "ID-shorts of the value must be unique."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatSemanticIdListElement.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticIdListElement.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticIdListElement")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getTypeValueListElement()) + .flatMap(Verification::verifyAasSubmodelElements) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("typeValueListElement")); + return error; + })); + if (thatValueTypeListElement.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueTypeListElement.get()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueTypeListElement")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformSubmodelElementCollection( + ISubmodelElementCollection that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatValue = that.getValue(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatValue.isPresent()) || (thatValue.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + if (!(!(thatValue.isPresent()) + || (thatValue.get().stream().allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of value " + + "according to AASd-117 (ID-short of Referables not being " + + "a direct child of a Submodel element list shall be " + + "specified)."))); + } + if (!(!(thatValue.isPresent()) || idShortsAreUnique(thatValue.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "ID-shorts of the value must be unique."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformProperty(IProperty that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatValue = that.getValue(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValueId = that.getValueId(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatValue.isPresent()) + || valueConsistentWithXsdType(thatValue.orElse(null), that.getValueType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must be consistent with the value type."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatValueId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformMultiLanguageProperty(IMultiLanguageProperty that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatValue = that.getValue(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValueId = that.getValueId(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatValue.isPresent()) || langStringsHaveUniqueLanguages(thatValue.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Value must specify unique languages."))); + } + if (!(!(thatValue.isPresent()) || (thatValue.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must be either not set or have at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatValueId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformRange(IRange that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatMax = that.getMax(); + final Optional thatMin = that.getMin(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatMax.isPresent()) + || valueConsistentWithXsdType(thatMax.orElse(null), that.getValueType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Max must be consistent with the value type."))); + } + if (!(!(thatMin.isPresent()) + || valueConsistentWithXsdType(thatMin.orElse(null), that.getValueType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Min must be consistent with the value type."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueType()) + .flatMap(Verification::verifyDataTypeDefXsd) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueType")); + return error; + })); + if (thatMin.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMin.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("min")); + return error; + })); + } + if (thatMax.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMax.get()) + .flatMap(Verification::verifyValueDataType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("max")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformReferenceElement(IReferenceElement that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValue = that.getValue(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformBlob(IBlob that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValue = that.getValue(); + final Optional thatContentType = that.getContentType(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyBlobType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatContentType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatContentType.get()) + .flatMap(Verification::verifyContentType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("contentType")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformFile(IFile that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatValue = that.getValue(); + final Optional thatContentType = that.getContentType(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyPathType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatContentType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatContentType.get()) + .flatMap(Verification::verifyContentType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("contentType")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatAnnotations = that.getAnnotations(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatFirst = that.getFirst(); + final Optional thatSecond = that.getSecond(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatAnnotations.isPresent()) || (thatAnnotations.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Annotations must be either not set or have at least one " + + "item."))); + } + if (!(!(thatAnnotations.isPresent()) + || (thatAnnotations.get().stream().allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of " + + "annotations according to AASd-117 (ID-short of Referables " + + "not being a direct child of a Submodel element list shall " + + "be specified)."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatFirst.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatFirst.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("first")); + return error; + })); + } + if (thatSecond.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSecond.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("second")); + return error; + })); + } + if (thatAnnotations.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAnnotations.get()) + .flatMap(Verification::verifyListOf_IDataElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("annotations")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEntity(IEntity that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatStatements = that.getStatements(); + final Optional thatEntityType = that.getEntityType(); + final Optional thatGlobalAssetId = that.getGlobalAssetId(); + final Optional> thatSpecificAssetIds = that.getSpecificAssetIds(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatStatements.isPresent()) || (thatStatements.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Statements must be either not set or have at least one item."))); + } + if (!(!(thatStatements.isPresent()) + || (thatStatements.get().stream().allMatch(item -> item.getIdShort().isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-shorts need to be defined for all the items of " + + "statements according to AASd-117 (ID-short of Referables " + + "not being a direct child of a Submodel element list shall " + + "be specified)."))); + } + if (!(!(thatEntityType.isPresent()) + || (!(thatEntityType.get() == EntityType.SELF_MANAGED_ENTITY) + || (((thatGlobalAssetId.isPresent()) && (!thatSpecificAssetIds.isPresent())) + || ((!thatGlobalAssetId.isPresent()) + && (thatSpecificAssetIds.isPresent()) + && thatSpecificAssetIds.get().size() >= 1))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-014: Either the attribute global asset ID " + + "or specific asset ID must be set if Entity/entityType is " + + "set to :attr:`Entity_type.Self_managed_entity`."))); + } + if (!(!(thatSpecificAssetIds.isPresent()) || (thatSpecificAssetIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Specific asset IDs must be either not set or have at least " + + "one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatStatements.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatStatements.get()) + .flatMap(Verification::verifyListOf_ISubmodelElement) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("statements")); + return error; + })); + } + if (thatEntityType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEntityType.get()) + .flatMap(Verification::verifyEntityType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("entityType")); + return error; + })); + } + if (thatGlobalAssetId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatGlobalAssetId.get()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("globalAssetId")); + return error; + })); + } + if (thatSpecificAssetIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSpecificAssetIds.get()) + .flatMap(Verification::verifyListOf_ISpecificAssetId) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("specificAssetIds")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEventPayload(IEventPayload that) { + Stream errorStream = Stream.empty(); + final Optional thatSourceSemanticId = that.getSourceSemanticId(); + final Optional thatObservableSemanticId = that.getObservableSemanticId(); + final Optional thatTopic = that.getTopic(); + final Optional thatSubjectId = that.getSubjectId(); + final Optional thatPayload = that.getPayload(); + if (!(isModelReferenceTo(that.getSource(), KeyTypes.EVENT_ELEMENT) + || isModelReferenceTo(that.getSource(), KeyTypes.BASIC_EVENT_ELEMENT))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Source must be a model reference to an Event element."))); + } + if (!(isModelReferenceToReferable(that.getObservableReference()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Observable reference must be a model reference to " + + "a referable."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getSource()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("source")); + return error; + })); + if (thatSourceSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSourceSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("sourceSemanticId")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getObservableReference()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("observableReference")); + return error; + })); + if (thatObservableSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatObservableSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("observableSemanticId")); + return error; + })); + } + if (thatTopic.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatTopic.get()) + .flatMap(Verification::verifyMessageTopicType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("topic")); + return error; + })); + } + if (thatSubjectId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubjectId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("subjectId")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getTimeStamp()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("timeStamp")); + return error; + })); + if (thatPayload.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatPayload.get()) + .flatMap(Verification::verifyBlobType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("payload")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformBasicEventElement(IBasicEventElement that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatMaxInterval = that.getMaxInterval(); + final Optional thatMessageBroker = that.getMessageBroker(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatMessageTopic = that.getMessageTopic(); + final Optional thatLastUpdate = that.getLastUpdate(); + final Optional thatMinInterval = that.getMinInterval(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(that.getDirection() == Direction.INPUT) || (!thatMaxInterval.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Max. interval is not applicable for input direction."))); + } + if (!isModelReferenceToReferable(that.getObserved())) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Observed must be a model reference to a referable."))); + } + if (!(!(thatMessageBroker.isPresent()) + || isModelReferenceToReferable(thatMessageBroker.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Message broker must be a model reference to a referable."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getObserved()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("observed")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDirection()) + .flatMap(Verification::verifyDirection) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("direction")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getState()) + .flatMap(Verification::verifyStateOfEvent) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("state")); + return error; + })); + if (thatMessageTopic.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessageTopic.get()) + .flatMap(Verification::verifyMessageTopicType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messageTopic")); + return error; + })); + } + if (thatMessageBroker.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMessageBroker.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("messageBroker")); + return error; + })); + } + if (thatLastUpdate.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatLastUpdate.get()) + .flatMap(Verification::verifyDateTimeUtc) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("lastUpdate")); + return error; + })); + } + if (thatMinInterval.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMinInterval.get()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("minInterval")); + return error; + })); + } + if (thatMaxInterval.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatMaxInterval.get()) + .flatMap(Verification::verifyDuration) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("maxInterval")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperation(IOperation that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatInputVariables = that.getInputVariables(); + final Optional> thatOutputVariables = that.getOutputVariables(); + final Optional> thatInoutputVariables = that.getInoutputVariables(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(idShortsOfVariablesAreUnique( + thatInputVariables, thatOutputVariables, thatInoutputVariables))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-134: For an Operation the ID-short of all " + + "values of input, output and in/output variables shall be " + + "unique."))); + } + if (!(!(thatInputVariables.isPresent()) || (thatInputVariables.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Input variables must be either not set or have at least one " + + "item."))); + } + if (!(!(thatOutputVariables.isPresent()) || (thatOutputVariables.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Output variables must be either not set or have at least " + + "one item."))); + } + if (!(!(thatInoutputVariables.isPresent()) || (thatInoutputVariables.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Inoutput variables must be either not set or have at least " + + "one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatInputVariables.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInputVariables.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inputVariables")); + return error; + })); + } + if (thatOutputVariables.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatOutputVariables.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("outputVariables")); + return error; + })); + } + if (thatInoutputVariables.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatInoutputVariables.get()) + .flatMap(Verification::verifyListOf_IOperationVariable) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("inoutputVariables")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformOperationVariable(IOperationVariable that) { + Stream errorStream = Stream.empty(); + if (!(that.getValue().getIdShort().isPresent())) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value must have the ID-short specified according to " + + "Constraint AASd-117 (ID-short of Referables not being " + + "a direct child of a Submodel element list shall be " + + "specified)."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformCapability(ICapability that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatSupplementalSemanticIds = + that.getSupplementalSemanticIds(); + final Optional thatSemanticId = that.getSemanticId(); + final Optional> thatQualifiers = that.getQualifiers(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) + || (thatSupplementalSemanticIds.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Supplemental semantic IDs must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSupplementalSemanticIds.isPresent()) || (thatSemanticId.isPresent()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-118: If there are supplemental semantic IDs " + + "defined then there shall be also a main semantic ID."))); + } + if (!(!(thatQualifiers.isPresent()) || (thatQualifiers.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Qualifiers must be either not set or have at least one item."))); + } + if (!(!(thatQualifiers.isPresent()) + || qualifierTypesAreUnique(thatQualifiers.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-021: Every qualifiable can only have one " + + "qualifier with the same type."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("semanticId")); + return error; + })); + } + if (thatSupplementalSemanticIds.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSupplementalSemanticIds.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("supplementalSemanticIds")); + return error; + })); + } + if (thatQualifiers.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatQualifiers.get()) + .flatMap(Verification::verifyListOf_IQualifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("qualifiers")); + return error; + })); + } + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformConceptDescription(IConceptDescription that) { + Stream errorStream = Stream.empty(); + final Optional> thatExtensions = that.getExtensions(); + final Optional> thatDescription = that.getDescription(); + final Optional> thatDisplayName = that.getDisplayName(); + final Optional> thatEmbeddedDataSpecifications = + that.getEmbeddedDataSpecifications(); + final Optional> thatIsCaseOf = that.getIsCaseOf(); + final Optional thatCategory = that.getCategory(); + final Optional thatIdShort = that.getIdShort(); + final Optional thatAdministration = that.getAdministration(); + if (!(!(thatExtensions.isPresent()) || (thatExtensions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Extensions must be either not set or have at least one item."))); + } + if (!(!(thatExtensions.isPresent()) + || extensionNamesAreUnique(thatExtensions.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-077: The name of an extension within " + + "Has-Extensions needs to be unique."))); + } + if (!(!(thatDescription.isPresent()) || (thatDescription.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Description must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDescription.isPresent()) + || langStringsHaveUniqueLanguages(thatDescription.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Description must specify unique languages."))); + } + if (!(!(thatDisplayName.isPresent()) || (thatDisplayName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Display name must be either not set or have at least one " + + "item."))); + } + if (!(!(thatDisplayName.isPresent()) + || langStringsHaveUniqueLanguages(thatDisplayName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Display name must specify unique languages."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (thatEmbeddedDataSpecifications.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Embedded data specifications must be either not set or have " + + "at least one item."))); + } + if (!(!(thatIsCaseOf.isPresent()) || (thatIsCaseOf.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Is-case-of must be either not set or have at least one item."))); + } + if (!(!(thatEmbeddedDataSpecifications.isPresent()) + || (dataSpecificationIec61360sHaveDefinitionAtLeastInEnglish( + thatEmbeddedDataSpecifications.orElse(null)) + || dataSpecificationIec61360sHaveValue( + thatEmbeddedDataSpecifications.orElse(null))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-008: For a concept description using " + + "data specification template IEC 61360, the definition is " + + "mandatory and shall be defined at least in English. " + + "Exception: The concept description describes a value."))); + } + if (!(!((thatCategory.isPresent()) + && Objects.equals(thatCategory.get(), "QUALIFIER_TYPE") + && (thatEmbeddedDataSpecifications.isPresent())) + || dataSpecificationIec61360sHaveDataType(thatEmbeddedDataSpecifications.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-007: For a concept description with " + + "category QUALIFIER_TYPE using data specification IEC 61360, " + + "the data type of the data specification is mandatory and " + + "shall be defined."))); + } + if (!(!((thatCategory.isPresent()) + && Objects.equals(thatCategory.get(), "DOCUMENT") + && (thatEmbeddedDataSpecifications.isPresent())) + || dataSpecificationIec61360sForDocumentHaveAppropriateDataType( + thatEmbeddedDataSpecifications.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-006: For a concept description with " + + "category DOCUMENT using data specification IEC 61360, " + + "the data type of the data specification shall be one of: " + + "FILE, BLOB, HTML."))); + } + if (!(!((thatCategory.isPresent()) + && Objects.equals(thatCategory.get(), "REFERENCE") + && (thatEmbeddedDataSpecifications.isPresent())) + || dataSpecificationIec61360sForReferenceHaveAppropriateDataType( + thatEmbeddedDataSpecifications.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-005: For a concept description with " + + "category REFERENCE using data specification IEC 61360, " + + "the data type of the data specification shall be one of: " + + "STRING, IRI, IRDI."))); + } + if (!(!((thatCategory.isPresent()) + && (Objects.equals(thatCategory.get(), "PROPERTY") + || Objects.equals(thatCategory.get(), "VALUE")) + && (thatEmbeddedDataSpecifications.isPresent())) + || dataSpecificationIec61360sForPropertyOrValueHaveAppropriateDataType( + thatEmbeddedDataSpecifications.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-004: For a concept description with " + + "category PROPERTY or VALUE using data specification IEC " + + "61360, the data type of the data specification is mandatory " + + "and shall be one of: DATE, STRING, STRING_TRANSLATABLE, " + + "INTEGER_MEASURE, INTEGER_COUNT, INTEGER_CURRENCY, " + + "REAL_MEASURE, REAL_COUNT, REAL_CURRENCY, BOOLEAN, RATIONAL, " + + "RATIONAL_MEASURE, TIME, TIMESTAMP."))); + } + if (thatExtensions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatExtensions.get()) + .flatMap(Verification::verifyListOf_IExtension) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("extensions")); + return error; + })); + } + if (thatCategory.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatCategory.get()) + .flatMap(Verification::verifyNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("category")); + return error; + })); + } + if (thatIdShort.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIdShort.get()) + .flatMap(Verification::verifyIdShortType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("idShort")); + return error; + })); + } + if (thatDisplayName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDisplayName.get()) + .flatMap(Verification::verifyListOf_ILangStringNameType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("displayName")); + return error; + })); + } + if (thatDescription.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDescription.get()) + .flatMap(Verification::verifyListOf_ILangStringTextType) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("description")); + return error; + })); + } + if (thatAdministration.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAdministration.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("administration")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getId()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("id")); + return error; + })); + if (thatEmbeddedDataSpecifications.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatEmbeddedDataSpecifications.get()) + .flatMap(Verification::verifyListOf_IEmbeddedDataSpecification) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("embeddedDataSpecifications")); + return error; + })); + } + if (thatIsCaseOf.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatIsCaseOf.get()) + .flatMap(Verification::verifyListOf_IReference) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("isCaseOf")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformReference(IReference that) { + Stream errorStream = Stream.empty(); + final Optional thatReferredSemanticId = that.getReferredSemanticId(); + if (!(that.getKeys().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Keys must contain at least one item."))); + } + if (!(!(that.getKeys().size() >= 1) + || Constants.globallyIdentifiables.contains( + ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-121: For References the value of type of " + + "the first key of keys shall be one of Globally " + + "Identifiables."))); + } + if (!(!(that.getType() == ReferenceTypes.EXTERNAL_REFERENCE && that.getKeys().size() >= 1) + || Constants.genericGloballyIdentifiables.contains( + ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-122: For external references the value of " + + "type of the first key of keys shall be one of Generic " + + "Globally Identifiables."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE && that.getKeys().size() >= 1) + || Constants.aasIdentifiables.contains(ListHelpers.at(that.getKeys(), 0).getType()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-123: For model references the value of type " + + "of the first key of keys shall be one of AAS identifiables."))); + } + if (!(!(that.getType() == ReferenceTypes.EXTERNAL_REFERENCE && that.getKeys().size() >= 1) + || (Constants.genericGloballyIdentifiables.contains( + ListHelpers.at(that.getKeys(), -1).getType()) + || Constants.genericFragmentKeys.contains( + ListHelpers.at(that.getKeys(), -1).getType())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-124: For external references the last key " + + "of keys shall be either one of Generic Globally " + + "Identifiables or one of Generic Fragment Keys."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE && that.getKeys().size() > 1) + || (IntStream.range(1, that.getKeys().size()) + .allMatch( + i -> + Constants.fragmentKeys.contains( + ListHelpers.at(that.getKeys(), i).getType()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-125: For model references with more than " + + "one key in keys the value of type of each of the keys " + + "following the first key of keys shall be one of Fragment " + + "Keys."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE && that.getKeys().size() > 1) + || (IntStream.range(0, that.getKeys().size() - 1) + .allMatch( + i -> + !Constants.genericFragmentKeys.contains( + ListHelpers.at(that.getKeys(), i).getType()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-126: For model references with more than " + + "one key in keys the value of type of the last key in " + + "the reference key chain may be one of Generic Fragment Keys " + + "or no key at all shall have a value out of Generic Fragment " + + "Keys."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE + && that.getKeys().size() > 1 + && ListHelpers.at(that.getKeys(), -1).getType() == KeyTypes.FRAGMENT_REFERENCE) + || (ListHelpers.at(that.getKeys(), -2).getType() == KeyTypes.FILE + || ListHelpers.at(that.getKeys(), -2).getType() == KeyTypes.BLOB))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-127: For model references, with more than " + + "one key in keys a key with type Fragment Reference shall be " + + "preceded by a key with type File or Blob."))); + } + if (!(!(that.getType() == ReferenceTypes.MODEL_REFERENCE && that.getKeys().size() > 2) + || (IntStream.range(0, that.getKeys().size() - 1) + .allMatch( + i -> + !(ListHelpers.at(that.getKeys(), i).getType() + == KeyTypes.SUBMODEL_ELEMENT_LIST) + || matchesXsNonNegativeInteger( + ListHelpers.at(that.getKeys(), i + 1).getValue()))))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-128: For model references, the value of " + + "a key preceded by a key with type Submodel element list is " + + "an integer number denoting the position in the array of " + + "the submodel element list."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyReferenceTypes) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("type")); + return error; + })); + if (thatReferredSemanticId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatReferredSemanticId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("referredSemanticId")); + return error; + })); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getKeys()) + .flatMap(Verification::verifyListOf_IKey) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("keys")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformKey(IKey that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getType()) + .flatMap(Verification::verifyKeyTypes) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("type")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyIdentifier) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringNameType(ILangStringNameType that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 128 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringTextType(ILangStringTextType that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 1023)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 1023 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformEnvironment(IEnvironment that) { + Stream errorStream = Stream.empty(); + final Optional> thatConceptDescriptions = + that.getConceptDescriptions(); + final Optional> thatSubmodels = that.getSubmodels(); + final Optional> thatAssetAdministrationShells = + that.getAssetAdministrationShells(); + if (!(!(thatConceptDescriptions.isPresent()) + || (thatConceptDescriptions.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Concept descriptions must be either not set or have at " + + "least one item."))); + } + if (!(!(thatSubmodels.isPresent()) || (thatSubmodels.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Submodels must be either not set or have at least one item."))); + } + if (!(!(thatAssetAdministrationShells.isPresent()) + || (thatAssetAdministrationShells.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Asset administration shells must be either not set or have " + + "at least one item."))); + } + if (thatAssetAdministrationShells.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatAssetAdministrationShells.get()) + .flatMap(Verification::verifyListOf_IAssetAdministrationShell) + .map( + error -> { + error.prependSegment( + new Reporting.NameSegment("assetAdministrationShells")); + return error; + })); + } + if (thatSubmodels.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSubmodels.get()) + .flatMap(Verification::verifyListOf_ISubmodel) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("submodels")); + return error; + })); + } + if (thatConceptDescriptions.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatConceptDescriptions.get()) + .flatMap(Verification::verifyListOf_IConceptDescription) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("conceptDescriptions")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformEmbeddedDataSpecification( + IEmbeddedDataSpecification that) { + Stream errorStream = Stream.empty(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDataSpecification()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("dataSpecification")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getDataSpecificationContent()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("dataSpecificationContent")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLevelType(ILevelType that) { + Stream errorStream = Stream.empty(); + // No verification has been defined for LevelType. + return errorStream; + } + + @Override + public Stream transformValueReferencePair(IValueReferencePair that) { + Stream errorStream = Stream.empty(); + final Optional thatValueId = that.getValueId(); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValue()) + .flatMap(Verification::verifyValueTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + if (thatValueId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueId")); + return error; + })); + } + return errorStream; + } + + @Override + public Stream transformValueList(IValueList that) { + Stream errorStream = Stream.empty(); + if (!(that.getValueReferencePairs().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value reference pair types must contain at least one item."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getValueReferencePairs()) + .flatMap(Verification::verifyListOf_IValueReferencePair) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueReferencePairs")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 255)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 255 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 18)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 18 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that) { + Stream errorStream = Stream.empty(); + if (!(StringHelpers.len(that.getText()) <= 1023)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String shall have a maximum length of 1023 characters."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getLanguage()) + .flatMap(Verification::verifyBcp47LanguageTag) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("language")); + return error; + })); + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getText()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("text")); + return error; + })); + return errorStream; + } + + @Override + public Stream transformDataSpecificationIec61360( + IDataSpecificationIec61360 that) { + Stream errorStream = Stream.empty(); + final Optional thatValue = that.getValue(); + final Optional thatValueList = that.getValueList(); + final Optional thatDataType = that.getDataType(); + final Optional thatUnit = that.getUnit(); + final Optional thatUnitId = that.getUnitId(); + final Optional> thatDefinition = that.getDefinition(); + final Optional> thatShortName = that.getShortName(); + final Optional thatSourceOfDefinition = that.getSourceOfDefinition(); + final Optional thatSymbol = that.getSymbol(); + final Optional thatValueFormat = that.getValueFormat(); + final Optional thatLevelType = that.getLevelType(); + if (!(!((thatValue.isPresent()) && (thatValueList.isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-010: If value is not empty then value " + + "list shall be empty and vice versa."))); + } + if (!(!((thatDataType.isPresent()) + && Constants.iec61360DataTypesWithUnit.contains(thatDataType.get())) + || ((thatUnit.isPresent()) || (thatUnitId.isPresent())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-3a-009: If data type is a an integer, real " + + "or rational with a measure or currency, unit or unit ID " + + "shall be defined."))); + } + if (!(!(thatDefinition.isPresent()) || (thatDefinition.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Definition must be either not set or have at least one item."))); + } + if (!(!(thatDefinition.isPresent()) + || langStringsHaveUniqueLanguages(thatDefinition.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Definition must specify unique languages."))); + } + if (!(!(thatShortName.isPresent()) || (thatShortName.get().size() >= 1))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Short name must be either not set or have at least one item."))); + } + if (!(!(thatShortName.isPresent()) + || langStringsHaveUniqueLanguages(thatShortName.orElse(null)))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Short name must specify unique languages."))); + } + if (!(that.getPreferredName().size() >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Preferred name must have at least one item."))); + } + if (!(langStringsHaveUniqueLanguages(that.getPreferredName()))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Preferred name must specify unique languages."))); + } + if (!(that.getPreferredName().stream() + .anyMatch(langString -> isBcp47ForEnglish(langString.getLanguage())))) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASc-002: preferred name shall be provided at " + + "least in English."))); + } + errorStream = + Stream.concat( + errorStream, + Stream.of(that.getPreferredName()) + .flatMap(Verification::verifyListOf_ILangStringPreferredNameTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("preferredName")); + return error; + })); + if (thatShortName.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatShortName.get()) + .flatMap(Verification::verifyListOf_ILangStringShortNameTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("shortName")); + return error; + })); + } + if (thatUnit.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatUnit.get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("unit")); + return error; + })); + } + if (thatUnitId.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatUnitId.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("unitId")); + return error; + })); + } + if (thatSourceOfDefinition.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSourceOfDefinition.get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("sourceOfDefinition")); + return error; + })); + } + if (thatSymbol.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatSymbol.get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("symbol")); + return error; + })); + } + if (thatDataType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDataType.get()) + .flatMap(Verification::verifyDataTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("dataType")); + return error; + })); + } + if (thatDefinition.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatDefinition.get()) + .flatMap(Verification::verifyListOf_ILangStringDefinitionTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("definition")); + return error; + })); + } + if (thatValueFormat.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueFormat.get()) + .flatMap(Verification::verifyNonEmptyXmlSerializableString) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueFormat")); + return error; + })); + } + if (thatValueList.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValueList.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("valueList")); + return error; + })); + } + if (thatValue.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatValue.get()) + .flatMap(Verification::verifyValueTypeIec61360) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("value")); + return error; + })); + } + if (thatLevelType.isPresent()) { + errorStream = + Stream.concat( + errorStream, + Stream.of(thatLevelType.get()) + .flatMap(Verification::verifyToErrorStream) + .map( + error -> { + error.prependSegment(new Reporting.NameSegment("levelType")); + return error; + })); + } + return errorStream; + } + } + + public static Stream verifyToErrorStream(IClass that) { + return transformer.transform(that); + } + + private static class _ValidationErrorIterable implements Iterable { + + private final IClass element; + + public _ValidationErrorIterable(IClass element) { + this.element = element; + } + + @Override + public Iterator iterator() { + Stream stream = stream(); + return stream.iterator(); + } + + @Override + public void forEach(Consumer action) { + Stream stream = stream(); + stream.forEach(action); + } + + @Override + public Spliterator spliterator() { + Stream stream = stream(); + return stream.spliterator(); + } + + private Stream stream() { + return Verification.verifyToErrorStream(element); + } + } + + /** + * Verify the constraints of {@code that} recursively. + * + * @param that The instance of the meta-model to be verified + */ + public static Iterable verify(IClass that) { + return new _ValidationErrorIterable(that); + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyXmlSerializableString(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyNonEmptyXmlSerializableString(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyDateTimeUtc(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXsDateTimeUtc(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:dateTime with " + + "the time zone fixed to UTC."))); + } + if (!isXsDateTimeUtc(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a valid xs:dateTime with the time " + + "zone fixed to UTC."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyDuration(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXsDuration(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must match the pattern of xs:duration."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyBlobType(byte[] that) { + Stream errorStream = Stream.empty(); + // There is no verification specified. + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyIdentifier(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Identifier shall have a maximum length of 2048 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyValueTypeIec61360(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Value type IEC 61360 shall have a maximum length of 2048 " + + "characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyNameType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyVersionType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!matchesVersionType(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + "Version type shall match the version pattern."))); + } + if (!(StringHelpers.len(that) <= 4)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Version type shall have a maximum length of 4 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyRevisionType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!matchesRevisionType(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Revision type shall match the revision pattern."))); + } + if (!(StringHelpers.len(that) <= 4)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Revision type shall have a maximum length of 4 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyLabelType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 64)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Label type shall have a maximum length of 64 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyMessageTopicType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 255)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Message topic type shall have a maximum length of 255 " + + "characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyBcp47LanguageTag(String that) { + Stream errorStream = Stream.empty(); + if (!matchesBcp47(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a value language tag conformant to " + + "BCP 47."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyContentType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Content type shall have a maximum length of 128 characters."))); + } + if (!matchesMimeType(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "The value must represent a valid content MIME type " + + "according to RFC 2046."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyPathType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 2048)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Identifier shall have a maximum length of 2048 characters."))); + } + if (!matchesRfc2396(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "String with max 2048 and min 1 characters conformant to " + + "a URI as per RFC 2396."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyQualifierType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyValueDataType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + return errorStream; + } + + /** Verify the constraints of {@code that}. */ + public static Stream verifyIdShortType(String that) { + Stream errorStream = Stream.empty(); + if (!matchesXmlSerializableString(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Constraint AASd-130: An attribute with data type \'string\' " + + "shall consist of these characters only: " + + "^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\U00010000-\\U0010FFFF]*$."))); + } + if (!(StringHelpers.len(that) >= 1)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error("Invariant violated:\n" + "The value must not be empty."))); + } + if (!(StringHelpers.len(that) <= 128)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "Name type shall have a maximum length of 128 characters."))); + } + if (!matchesIdShort(that)) { + errorStream = + Stream.concat( + errorStream, + Stream.of( + new Reporting.Error( + "Invariant violated:\n" + + "ID-short of Referables shall only feature letters, digits, " + + "hyphen (``-``) and underscore (``_``); starting mandatory " + + "with a letter, and not ending with a hyphen, *I.e.* " + + "``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``."))); + } + return errorStream; + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyModellingKind(ModellingKind that) { + if (!_EnumValueSet.forModellingKind.contains(that)) { + return Stream.of(new Reporting.Error("Invalid ModellingKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyQualifierKind(QualifierKind that) { + if (!_EnumValueSet.forQualifierKind.contains(that)) { + return Stream.of(new Reporting.Error("Invalid QualifierKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyAssetKind(AssetKind that) { + if (!_EnumValueSet.forAssetKind.contains(that)) { + return Stream.of(new Reporting.Error("Invalid AssetKind: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyAasSubmodelElements(AasSubmodelElements that) { + if (!_EnumValueSet.forAasSubmodelElements.contains(that)) { + return Stream.of(new Reporting.Error("Invalid AasSubmodelElements: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyEntityType(EntityType that) { + if (!_EnumValueSet.forEntityType.contains(that)) { + return Stream.of(new Reporting.Error("Invalid EntityType: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyDirection(Direction that) { + if (!_EnumValueSet.forDirection.contains(that)) { + return Stream.of(new Reporting.Error("Invalid Direction: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyStateOfEvent(StateOfEvent that) { + if (!_EnumValueSet.forStateOfEvent.contains(that)) { + return Stream.of(new Reporting.Error("Invalid StateOfEvent: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyReferenceTypes(ReferenceTypes that) { + if (!_EnumValueSet.forReferenceTypes.contains(that)) { + return Stream.of(new Reporting.Error("Invalid ReferenceTypes: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyKeyTypes(KeyTypes that) { + if (!_EnumValueSet.forKeyTypes.contains(that)) { + return Stream.of(new Reporting.Error("Invalid KeyTypes: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyDataTypeDefXsd(DataTypeDefXsd that) { + if (!_EnumValueSet.forDataTypeDefXsd.contains(that)) { + return Stream.of(new Reporting.Error("Invalid DataTypeDefXsd: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify that {@code that} is a valid enumeration value. */ + public static Stream verifyDataTypeIec61360(DataTypeIec61360 that) { + if (!_EnumValueSet.forDataTypeIec61360.contains(that)) { + return Stream.of(new Reporting.Error("Invalid DataTypeIec61360: " + that)); + } else { + return Stream.empty(); + } + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IReference(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IEmbeddedDataSpecification( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IExtension(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringNameType( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringTextType( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISpecificAssetId( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IQualifier(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISubmodelElement( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IDataElement(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IOperationVariable( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IKey(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IAssetAdministrationShell( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ISubmodel(List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IConceptDescription( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_IValueReferencePair( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringPreferredNameTypeIec61360( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringShortNameTypeIec61360( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + /** Verify the items of {@code that} recursively. */ + private static Stream verifyListOf_ILangStringDefinitionTypeIec61360( + List that) { + return Verification.zip(IntStream.iterate(0, i -> i + 1).boxed(), that.stream()) + .flatMap( + itemTuple -> + Verification.verifyToErrorStream(itemTuple.getSecond()) + .map( + error -> { + error.prependSegment(new Reporting.IndexSegment(itemTuple.getFirst())); + return error; + })); + } + + private static class _Pair { + + private final A first; + + private final B second; + + public _Pair(A first, B second) { + this.first = first; + this.second = second; + } + + public A getFirst() { + return first; + } + + public B getSecond() { + return second; + } + } + + // Java 8 doesn't provide a split operation out of the box, so we have to ship our own. + // Adapted from: https://stackoverflow.com/a/23529010 + private static Stream<_Pair> zip(Stream a, Stream b) { + Spliterator aSplit = Objects.requireNonNull(a).spliterator(); + Spliterator bSplit = Objects.requireNonNull(b).spliterator(); + int characteristics = + aSplit.characteristics() + & bSplit.characteristics() + & ~(Spliterator.DISTINCT | Spliterator.SORTED); + long zipSize = + ((characteristics & Spliterator.SIZED) != 0) + ? Math.min(aSplit.getExactSizeIfKnown(), bSplit.getExactSizeIfKnown()) + : -1; + Iterator aIter = Spliterators.iterator(aSplit); + Iterator bIter = Spliterators.iterator(bSplit); + Iterator<_Pair> cIter = + new Iterator<_Pair>() { + + @Override + public boolean hasNext() { + return aIter.hasNext() && bIter.hasNext(); + } + + @Override + public _Pair next() { + return new _Pair<>(aIter.next(), bIter.next()); + } + }; + Spliterator<_Pair> split = Spliterators.spliterator(cIter, zipSize, characteristics); + return StreamSupport.stream(split, false); + } +} +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/AbstractTransformer.java b/src/main/java/aas_core/aas3_1/visitation/AbstractTransformer.java new file mode 100644 index 00000000..bd214bd0 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/AbstractTransformer.java @@ -0,0 +1,106 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** + * Perform double-dispatch to transform recursively the instances into something else. + * + * @param type of the transformation result + */ +public abstract class AbstractTransformer implements ITransformer { + public T transform(IClass that) { + return that.transform(this); + } + + public abstract T transformExtension(IExtension that); + + public abstract T transformAdministrativeInformation(IAdministrativeInformation that); + + public abstract T transformQualifier(IQualifier that); + + public abstract T transformAssetAdministrationShell(IAssetAdministrationShell that); + + public abstract T transformAssetInformation(IAssetInformation that); + + public abstract T transformResource(IResource that); + + public abstract T transformSpecificAssetId(ISpecificAssetId that); + + public abstract T transformSubmodel(ISubmodel that); + + public abstract T transformRelationshipElement(IRelationshipElement that); + + public abstract T transformSubmodelElementList(ISubmodelElementList that); + + public abstract T transformSubmodelElementCollection(ISubmodelElementCollection that); + + public abstract T transformProperty(IProperty that); + + public abstract T transformMultiLanguageProperty(IMultiLanguageProperty that); + + public abstract T transformRange(IRange that); + + public abstract T transformReferenceElement(IReferenceElement that); + + public abstract T transformBlob(IBlob that); + + public abstract T transformFile(IFile that); + + public abstract T transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that); + + public abstract T transformEntity(IEntity that); + + public abstract T transformEventPayload(IEventPayload that); + + public abstract T transformBasicEventElement(IBasicEventElement that); + + public abstract T transformOperation(IOperation that); + + public abstract T transformOperationVariable(IOperationVariable that); + + public abstract T transformCapability(ICapability that); + + public abstract T transformConceptDescription(IConceptDescription that); + + public abstract T transformReference(IReference that); + + public abstract T transformKey(IKey that); + + public abstract T transformLangStringNameType(ILangStringNameType that); + + public abstract T transformLangStringTextType(ILangStringTextType that); + + public abstract T transformEnvironment(IEnvironment that); + + public abstract T transformEmbeddedDataSpecification(IEmbeddedDataSpecification that); + + public abstract T transformLevelType(ILevelType that); + + public abstract T transformValueReferencePair(IValueReferencePair that); + + public abstract T transformValueList(IValueList that); + + public abstract T transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that); + + public abstract T transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that); + + public abstract T transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that); + + public abstract T transformDataSpecificationIec61360(IDataSpecificationIec61360 that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/AbstractTransformerWithContext.java b/src/main/java/aas_core/aas3_1/visitation/AbstractTransformerWithContext.java new file mode 100644 index 00000000..17c595be --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/AbstractTransformerWithContext.java @@ -0,0 +1,119 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** + * Perform double-dispatch to transform recursively the instances into something else. + * + *

When you use the transformer, please always call the main dispatching method {@link + * AbstractTransformerWithContext#transform}. You should most probably never call the {@code + * transform} methods directly. They are only made public so that model classes can access them. + * + * @param structure of the context + * @param type of the transformation result + */ +public abstract class AbstractTransformerWithContext + implements ITransformerWithContext { + public T transform(IClass that, ContextT context) { + return that.transform(this, context); + } + + public abstract T transformExtension(IExtension that, ContextT context); + + public abstract T transformAdministrativeInformation( + IAdministrativeInformation that, ContextT context); + + public abstract T transformQualifier(IQualifier that, ContextT context); + + public abstract T transformAssetAdministrationShell( + IAssetAdministrationShell that, ContextT context); + + public abstract T transformAssetInformation(IAssetInformation that, ContextT context); + + public abstract T transformResource(IResource that, ContextT context); + + public abstract T transformSpecificAssetId(ISpecificAssetId that, ContextT context); + + public abstract T transformSubmodel(ISubmodel that, ContextT context); + + public abstract T transformRelationshipElement(IRelationshipElement that, ContextT context); + + public abstract T transformSubmodelElementList(ISubmodelElementList that, ContextT context); + + public abstract T transformSubmodelElementCollection( + ISubmodelElementCollection that, ContextT context); + + public abstract T transformProperty(IProperty that, ContextT context); + + public abstract T transformMultiLanguageProperty(IMultiLanguageProperty that, ContextT context); + + public abstract T transformRange(IRange that, ContextT context); + + public abstract T transformReferenceElement(IReferenceElement that, ContextT context); + + public abstract T transformBlob(IBlob that, ContextT context); + + public abstract T transformFile(IFile that, ContextT context); + + public abstract T transformAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that, ContextT context); + + public abstract T transformEntity(IEntity that, ContextT context); + + public abstract T transformEventPayload(IEventPayload that, ContextT context); + + public abstract T transformBasicEventElement(IBasicEventElement that, ContextT context); + + public abstract T transformOperation(IOperation that, ContextT context); + + public abstract T transformOperationVariable(IOperationVariable that, ContextT context); + + public abstract T transformCapability(ICapability that, ContextT context); + + public abstract T transformConceptDescription(IConceptDescription that, ContextT context); + + public abstract T transformReference(IReference that, ContextT context); + + public abstract T transformKey(IKey that, ContextT context); + + public abstract T transformLangStringNameType(ILangStringNameType that, ContextT context); + + public abstract T transformLangStringTextType(ILangStringTextType that, ContextT context); + + public abstract T transformEnvironment(IEnvironment that, ContextT context); + + public abstract T transformEmbeddedDataSpecification( + IEmbeddedDataSpecification that, ContextT context); + + public abstract T transformLevelType(ILevelType that, ContextT context); + + public abstract T transformValueReferencePair(IValueReferencePair that, ContextT context); + + public abstract T transformValueList(IValueList that, ContextT context); + + public abstract T transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, ContextT context); + + public abstract T transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, ContextT context); + + public abstract T transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, ContextT context); + + public abstract T transformDataSpecificationIec61360( + IDataSpecificationIec61360 that, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/AbstractVisitor.java b/src/main/java/aas_core/aas3_1/visitation/AbstractVisitor.java new file mode 100644 index 00000000..17bfd3ba --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/AbstractVisitor.java @@ -0,0 +1,102 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** Perform double-dispatch to visit the concrete instances. */ +public abstract class AbstractVisitor implements IVisitor { + public void visit(IClass that) { + that.accept(this); + } + + public abstract void visitExtension(IExtension that); + + public abstract void visitAdministrativeInformation(IAdministrativeInformation that); + + public abstract void visitQualifier(IQualifier that); + + public abstract void visitAssetAdministrationShell(IAssetAdministrationShell that); + + public abstract void visitAssetInformation(IAssetInformation that); + + public abstract void visitResource(IResource that); + + public abstract void visitSpecificAssetId(ISpecificAssetId that); + + public abstract void visitSubmodel(ISubmodel that); + + public abstract void visitRelationshipElement(IRelationshipElement that); + + public abstract void visitSubmodelElementList(ISubmodelElementList that); + + public abstract void visitSubmodelElementCollection(ISubmodelElementCollection that); + + public abstract void visitProperty(IProperty that); + + public abstract void visitMultiLanguageProperty(IMultiLanguageProperty that); + + public abstract void visitRange(IRange that); + + public abstract void visitReferenceElement(IReferenceElement that); + + public abstract void visitBlob(IBlob that); + + public abstract void visitFile(IFile that); + + public abstract void visitAnnotatedRelationshipElement(IAnnotatedRelationshipElement that); + + public abstract void visitEntity(IEntity that); + + public abstract void visitEventPayload(IEventPayload that); + + public abstract void visitBasicEventElement(IBasicEventElement that); + + public abstract void visitOperation(IOperation that); + + public abstract void visitOperationVariable(IOperationVariable that); + + public abstract void visitCapability(ICapability that); + + public abstract void visitConceptDescription(IConceptDescription that); + + public abstract void visitReference(IReference that); + + public abstract void visitKey(IKey that); + + public abstract void visitLangStringNameType(ILangStringNameType that); + + public abstract void visitLangStringTextType(ILangStringTextType that); + + public abstract void visitEnvironment(IEnvironment that); + + public abstract void visitEmbeddedDataSpecification(IEmbeddedDataSpecification that); + + public abstract void visitLevelType(ILevelType that); + + public abstract void visitValueReferencePair(IValueReferencePair that); + + public abstract void visitValueList(IValueList that); + + public abstract void visitLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that); + + public abstract void visitLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that); + + public abstract void visitLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that); + + public abstract void visitDataSpecificationIec61360(IDataSpecificationIec61360 that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/AbstractVisitorWithContext.java b/src/main/java/aas_core/aas3_1/visitation/AbstractVisitorWithContext.java new file mode 100644 index 00000000..ba43cfda --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/AbstractVisitorWithContext.java @@ -0,0 +1,114 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** + * Perform double-dispatch to visit the concrete instances with context. + * + * @param structure of the context + */ +public abstract class AbstractVisitorWithContext + implements IVisitorWithContext { + public void visit(IClass that, ContextT context) { + that.accept(this, context); + } + + public abstract void visitExtension(IExtension that, ContextT context); + + public abstract void visitAdministrativeInformation( + IAdministrativeInformation that, ContextT context); + + public abstract void visitQualifier(IQualifier that, ContextT context); + + public abstract void visitAssetAdministrationShell( + IAssetAdministrationShell that, ContextT context); + + public abstract void visitAssetInformation(IAssetInformation that, ContextT context); + + public abstract void visitResource(IResource that, ContextT context); + + public abstract void visitSpecificAssetId(ISpecificAssetId that, ContextT context); + + public abstract void visitSubmodel(ISubmodel that, ContextT context); + + public abstract void visitRelationshipElement(IRelationshipElement that, ContextT context); + + public abstract void visitSubmodelElementList(ISubmodelElementList that, ContextT context); + + public abstract void visitSubmodelElementCollection( + ISubmodelElementCollection that, ContextT context); + + public abstract void visitProperty(IProperty that, ContextT context); + + public abstract void visitMultiLanguageProperty(IMultiLanguageProperty that, ContextT context); + + public abstract void visitRange(IRange that, ContextT context); + + public abstract void visitReferenceElement(IReferenceElement that, ContextT context); + + public abstract void visitBlob(IBlob that, ContextT context); + + public abstract void visitFile(IFile that, ContextT context); + + public abstract void visitAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that, ContextT context); + + public abstract void visitEntity(IEntity that, ContextT context); + + public abstract void visitEventPayload(IEventPayload that, ContextT context); + + public abstract void visitBasicEventElement(IBasicEventElement that, ContextT context); + + public abstract void visitOperation(IOperation that, ContextT context); + + public abstract void visitOperationVariable(IOperationVariable that, ContextT context); + + public abstract void visitCapability(ICapability that, ContextT context); + + public abstract void visitConceptDescription(IConceptDescription that, ContextT context); + + public abstract void visitReference(IReference that, ContextT context); + + public abstract void visitKey(IKey that, ContextT context); + + public abstract void visitLangStringNameType(ILangStringNameType that, ContextT context); + + public abstract void visitLangStringTextType(ILangStringTextType that, ContextT context); + + public abstract void visitEnvironment(IEnvironment that, ContextT context); + + public abstract void visitEmbeddedDataSpecification( + IEmbeddedDataSpecification that, ContextT context); + + public abstract void visitLevelType(ILevelType that, ContextT context); + + public abstract void visitValueReferencePair(IValueReferencePair that, ContextT context); + + public abstract void visitValueList(IValueList that, ContextT context); + + public abstract void visitLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, ContextT context); + + public abstract void visitLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, ContextT context); + + public abstract void visitLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, ContextT context); + + public abstract void visitDataSpecificationIec61360( + IDataSpecificationIec61360 that, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/ITransformer.java b/src/main/java/aas_core/aas3_1/visitation/ITransformer.java new file mode 100644 index 00000000..ab503e28 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/ITransformer.java @@ -0,0 +1,107 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** + * Define the interface for a transformer which transforms recursively the instances into something + * else. + * + *

When you use the transformer, please always call the main dispatching method {@link + * ITransformer#transform}. You should most probably never call the {@code transform} methods + * directly. They are only made public so that model classes can access them. + * + * @param type of the transformation result + */ +public interface ITransformer { + T transform(IClass that); + + T transformExtension(IExtension that); + + T transformAdministrativeInformation(IAdministrativeInformation that); + + T transformQualifier(IQualifier that); + + T transformAssetAdministrationShell(IAssetAdministrationShell that); + + T transformAssetInformation(IAssetInformation that); + + T transformResource(IResource that); + + T transformSpecificAssetId(ISpecificAssetId that); + + T transformSubmodel(ISubmodel that); + + T transformRelationshipElement(IRelationshipElement that); + + T transformSubmodelElementList(ISubmodelElementList that); + + T transformSubmodelElementCollection(ISubmodelElementCollection that); + + T transformProperty(IProperty that); + + T transformMultiLanguageProperty(IMultiLanguageProperty that); + + T transformRange(IRange that); + + T transformReferenceElement(IReferenceElement that); + + T transformBlob(IBlob that); + + T transformFile(IFile that); + + T transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that); + + T transformEntity(IEntity that); + + T transformEventPayload(IEventPayload that); + + T transformBasicEventElement(IBasicEventElement that); + + T transformOperation(IOperation that); + + T transformOperationVariable(IOperationVariable that); + + T transformCapability(ICapability that); + + T transformConceptDescription(IConceptDescription that); + + T transformReference(IReference that); + + T transformKey(IKey that); + + T transformLangStringNameType(ILangStringNameType that); + + T transformLangStringTextType(ILangStringTextType that); + + T transformEnvironment(IEnvironment that); + + T transformEmbeddedDataSpecification(IEmbeddedDataSpecification that); + + T transformLevelType(ILevelType that); + + T transformValueReferencePair(IValueReferencePair that); + + T transformValueList(IValueList that); + + T transformLangStringPreferredNameTypeIec61360(ILangStringPreferredNameTypeIec61360 that); + + T transformLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that); + + T transformLangStringDefinitionTypeIec61360(ILangStringDefinitionTypeIec61360 that); + + T transformDataSpecificationIec61360(IDataSpecificationIec61360 that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/ITransformerWithContext.java b/src/main/java/aas_core/aas3_1/visitation/ITransformerWithContext.java new file mode 100644 index 00000000..33236ab9 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/ITransformerWithContext.java @@ -0,0 +1,111 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** + * Define the interface for a transformer which recursively transforms the instances into something + * else while the context is passed along. + * + *

When you use the transformer, please always call the main dispatching method {@link + * ITransformerWithContext#transform}. You should most probably never call the {@code transform} + * methods directly. They are only made public so that model classes can access them. + * + * @param structure of the context + * @param type of the transformation result + */ +public interface ITransformerWithContext { + T transform(IClass that, ContextT context); + + T transformExtension(IExtension that, ContextT context); + + T transformAdministrativeInformation(IAdministrativeInformation that, ContextT context); + + T transformQualifier(IQualifier that, ContextT context); + + T transformAssetAdministrationShell(IAssetAdministrationShell that, ContextT context); + + T transformAssetInformation(IAssetInformation that, ContextT context); + + T transformResource(IResource that, ContextT context); + + T transformSpecificAssetId(ISpecificAssetId that, ContextT context); + + T transformSubmodel(ISubmodel that, ContextT context); + + T transformRelationshipElement(IRelationshipElement that, ContextT context); + + T transformSubmodelElementList(ISubmodelElementList that, ContextT context); + + T transformSubmodelElementCollection(ISubmodelElementCollection that, ContextT context); + + T transformProperty(IProperty that, ContextT context); + + T transformMultiLanguageProperty(IMultiLanguageProperty that, ContextT context); + + T transformRange(IRange that, ContextT context); + + T transformReferenceElement(IReferenceElement that, ContextT context); + + T transformBlob(IBlob that, ContextT context); + + T transformFile(IFile that, ContextT context); + + T transformAnnotatedRelationshipElement(IAnnotatedRelationshipElement that, ContextT context); + + T transformEntity(IEntity that, ContextT context); + + T transformEventPayload(IEventPayload that, ContextT context); + + T transformBasicEventElement(IBasicEventElement that, ContextT context); + + T transformOperation(IOperation that, ContextT context); + + T transformOperationVariable(IOperationVariable that, ContextT context); + + T transformCapability(ICapability that, ContextT context); + + T transformConceptDescription(IConceptDescription that, ContextT context); + + T transformReference(IReference that, ContextT context); + + T transformKey(IKey that, ContextT context); + + T transformLangStringNameType(ILangStringNameType that, ContextT context); + + T transformLangStringTextType(ILangStringTextType that, ContextT context); + + T transformEnvironment(IEnvironment that, ContextT context); + + T transformEmbeddedDataSpecification(IEmbeddedDataSpecification that, ContextT context); + + T transformLevelType(ILevelType that, ContextT context); + + T transformValueReferencePair(IValueReferencePair that, ContextT context); + + T transformValueList(IValueList that, ContextT context); + + T transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, ContextT context); + + T transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, ContextT context); + + T transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, ContextT context); + + T transformDataSpecificationIec61360(IDataSpecificationIec61360 that, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/IVisitor.java b/src/main/java/aas_core/aas3_1/visitation/IVisitor.java new file mode 100644 index 00000000..131bc85f --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/IVisitor.java @@ -0,0 +1,104 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** + * Define the interface for a visitor which visits the instances of the model. + * + *

When you use the visitor, please always call the main dispatching method {@link + * IVisitor#visit}. You should most probably never call the {@code visit*} methods directly. They + * are only made public so that model classes can access them. + */ +public interface IVisitor { + void visit(IClass that); + + void visitExtension(IExtension that); + + void visitAdministrativeInformation(IAdministrativeInformation that); + + void visitQualifier(IQualifier that); + + void visitAssetAdministrationShell(IAssetAdministrationShell that); + + void visitAssetInformation(IAssetInformation that); + + void visitResource(IResource that); + + void visitSpecificAssetId(ISpecificAssetId that); + + void visitSubmodel(ISubmodel that); + + void visitRelationshipElement(IRelationshipElement that); + + void visitSubmodelElementList(ISubmodelElementList that); + + void visitSubmodelElementCollection(ISubmodelElementCollection that); + + void visitProperty(IProperty that); + + void visitMultiLanguageProperty(IMultiLanguageProperty that); + + void visitRange(IRange that); + + void visitReferenceElement(IReferenceElement that); + + void visitBlob(IBlob that); + + void visitFile(IFile that); + + void visitAnnotatedRelationshipElement(IAnnotatedRelationshipElement that); + + void visitEntity(IEntity that); + + void visitEventPayload(IEventPayload that); + + void visitBasicEventElement(IBasicEventElement that); + + void visitOperation(IOperation that); + + void visitOperationVariable(IOperationVariable that); + + void visitCapability(ICapability that); + + void visitConceptDescription(IConceptDescription that); + + void visitReference(IReference that); + + void visitKey(IKey that); + + void visitLangStringNameType(ILangStringNameType that); + + void visitLangStringTextType(ILangStringTextType that); + + void visitEnvironment(IEnvironment that); + + void visitEmbeddedDataSpecification(IEmbeddedDataSpecification that); + + void visitLevelType(ILevelType that); + + void visitValueReferencePair(IValueReferencePair that); + + void visitValueList(IValueList that); + + void visitLangStringPreferredNameTypeIec61360(ILangStringPreferredNameTypeIec61360 that); + + void visitLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that); + + void visitLangStringDefinitionTypeIec61360(ILangStringDefinitionTypeIec61360 that); + + void visitDataSpecificationIec61360(IDataSpecificationIec61360 that); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/IVisitorWithContext.java b/src/main/java/aas_core/aas3_1/visitation/IVisitorWithContext.java new file mode 100644 index 00000000..8085d5e1 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/IVisitorWithContext.java @@ -0,0 +1,109 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** + * Define the interface for a visitor which visits the instances of the model. + * + *

When you use the visitor, please always call the main dispatching method {@link + * IVisitorWithContext#visit}. You should most probably never call the {@code visit} methods + * directly. They are only made public so that model classes can access them. + * + * @param structure of the context + */ +public interface IVisitorWithContext { + void visit(IClass that, ContextT context); + + void visitExtension(IExtension that, ContextT context); + + void visitAdministrativeInformation(IAdministrativeInformation that, ContextT context); + + void visitQualifier(IQualifier that, ContextT context); + + void visitAssetAdministrationShell(IAssetAdministrationShell that, ContextT context); + + void visitAssetInformation(IAssetInformation that, ContextT context); + + void visitResource(IResource that, ContextT context); + + void visitSpecificAssetId(ISpecificAssetId that, ContextT context); + + void visitSubmodel(ISubmodel that, ContextT context); + + void visitRelationshipElement(IRelationshipElement that, ContextT context); + + void visitSubmodelElementList(ISubmodelElementList that, ContextT context); + + void visitSubmodelElementCollection(ISubmodelElementCollection that, ContextT context); + + void visitProperty(IProperty that, ContextT context); + + void visitMultiLanguageProperty(IMultiLanguageProperty that, ContextT context); + + void visitRange(IRange that, ContextT context); + + void visitReferenceElement(IReferenceElement that, ContextT context); + + void visitBlob(IBlob that, ContextT context); + + void visitFile(IFile that, ContextT context); + + void visitAnnotatedRelationshipElement(IAnnotatedRelationshipElement that, ContextT context); + + void visitEntity(IEntity that, ContextT context); + + void visitEventPayload(IEventPayload that, ContextT context); + + void visitBasicEventElement(IBasicEventElement that, ContextT context); + + void visitOperation(IOperation that, ContextT context); + + void visitOperationVariable(IOperationVariable that, ContextT context); + + void visitCapability(ICapability that, ContextT context); + + void visitConceptDescription(IConceptDescription that, ContextT context); + + void visitReference(IReference that, ContextT context); + + void visitKey(IKey that, ContextT context); + + void visitLangStringNameType(ILangStringNameType that, ContextT context); + + void visitLangStringTextType(ILangStringTextType that, ContextT context); + + void visitEnvironment(IEnvironment that, ContextT context); + + void visitEmbeddedDataSpecification(IEmbeddedDataSpecification that, ContextT context); + + void visitLevelType(ILevelType that, ContextT context); + + void visitValueReferencePair(IValueReferencePair that, ContextT context); + + void visitValueList(IValueList that, ContextT context); + + void visitLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, ContextT context); + + void visitLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, ContextT context); + + void visitLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, ContextT context); + + void visitDataSpecificationIec61360(IDataSpecificationIec61360 that, ContextT context); +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/visitation/VisitorThrough.java b/src/main/java/aas_core/aas3_1/visitation/VisitorThrough.java new file mode 100644 index 00000000..a8352f40 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/visitation/VisitorThrough.java @@ -0,0 +1,295 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.visitation; + +import aas_core.aas3_1.types.model.*; + +/** + * Just descend through the instances without any action. + * + *

This class is meaningless for itself. However, it is a good base if you want to descend + * through instances and apply actions only on a subset of classes. + */ +public class VisitorThrough implements IVisitor { + public void visit(IClass that) { + that.accept(this); + } + + public void visitExtension(IExtension that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAdministrativeInformation(IAdministrativeInformation that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitQualifier(IQualifier that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAssetAdministrationShell(IAssetAdministrationShell that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAssetInformation(IAssetInformation that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitResource(IResource that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSpecificAssetId(ISpecificAssetId that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodel(ISubmodel that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRelationshipElement(IRelationshipElement that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelElementList(ISubmodelElementList that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitSubmodelElementCollection(ISubmodelElementCollection that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitProperty(IProperty that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitMultiLanguageProperty(IMultiLanguageProperty that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitRange(IRange that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitReferenceElement(IReferenceElement that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBlob(IBlob that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitFile(IFile that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitAnnotatedRelationshipElement(IAnnotatedRelationshipElement that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEntity(IEntity that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEventPayload(IEventPayload that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitBasicEventElement(IBasicEventElement that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperation(IOperation that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitOperationVariable(IOperationVariable that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitCapability(ICapability that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitConceptDescription(IConceptDescription that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitReference(IReference that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitKey(IKey that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringNameType(ILangStringNameType that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringTextType(ILangStringTextType that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEnvironment(IEnvironment that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitEmbeddedDataSpecification(IEmbeddedDataSpecification that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLevelType(ILevelType that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitValueReferencePair(IValueReferencePair that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitValueList(IValueList that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringPreferredNameTypeIec61360(ILangStringPreferredNameTypeIec61360 that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringShortNameTypeIec61360(ILangStringShortNameTypeIec61360 that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitLangStringDefinitionTypeIec61360(ILangStringDefinitionTypeIec61360 that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } + + public void visitDataSpecificationIec61360(IDataSpecificationIec61360 that) { + // Just descend through, do nothing with {@code that} + for (IClass something : that.descendOnce()) { + visit(something); + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/xmlcommon/XmlCommon.java b/src/main/java/aas_core/aas3_1/xmlcommon/XmlCommon.java new file mode 100644 index 00000000..9d4e41c6 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/xmlcommon/XmlCommon.java @@ -0,0 +1,565 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.xmlcommon; + +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.types.model.*; +import java.util.Optional; +import java.util.regex.Pattern; +import javax.xml.stream.XMLEventReader; +import javax.xml.stream.XMLStreamConstants; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamWriter; +import javax.xml.stream.events.XMLEvent; + +/** + * Provide the XML primitives shared by the de/serialization. + * + *

The xmlization reads and writes the elements of our own classes, and the XML-RPC + * de/serialization the elements within a JSON-able value. The skipping of what carries no + * information, the check of the XML namespace and the framing of an element are the same for both, + * and live here. + * + *

Java has no visibility which would show a class to a sibling package and hide it from the user + * of the library, so everything here is public. + */ +public final class XmlCommon { + private XmlCommon() { + // NOTE (mristin): + // The XML primitives are stateless, so there is nothing to + // instantiate. + } + + /** + * The XML namespace in which all the elements of a document reside. + * + *

The elements of the XML-RPC subset, over which a JSON-able value is de/serialized, are the + * one exception: they reside in no namespace at all. + */ + public static final String NAMESPACE = "https://admin-shell.io/aas/3/1"; + + /** + * Read the content of an element which has already been opened. + * + *

{isEmpty} tells whether that element was self-closing. + */ + @FunctionalInterface + public interface ContentReader { + Reporting.Result read(XMLEventReader reader, boolean isEmpty); + } + + /** Read a whole element, opening and closing it. */ + @FunctionalInterface + public interface ElementReader { + Reporting.Result read(XMLEventReader reader); + } + + /** + * Write {@code that} where {@code writer} already is. + * + *

Every value is written through this one shape, so that the writing composes: {@link + * #writeElement} frames it in a start and an end tag, and a class's own {@code + * write...AsSequence} already is one. + * + *

There is deliberately no second shape for a whole element, as there is on the reading side. + * An element differs from a content only in what it writes, never in its shape; the reading needs + * the distinction because a content reader has to be told whether its element was self-closing, + * and a writer has nothing to be told. + * + *

Use sites take a {@code ContentWriter} -- Java's spelling of the contravariance + * -- so that the single writer of an {@link IClass} serves wherever the writer of a more specific + * interface is expected. + */ + @FunctionalInterface + public interface ContentWriter { + void write(T that, XMLStreamWriter writer) throws XMLStreamException; + } + + /** Match a run of the four characters which XML calls whitespace. */ + public static final Pattern WHITESPACE_RUN = Pattern.compile("[ \t\n\r]+"); + + /** + * Read the text of the element which the caller has opened. + * + *

The comments in between are skipped, and the pieces of the text are joined, as a reader is + * free to split it. + */ + public static String readContentAsString(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + + while (reader.peek().isCharacters() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + + return content.toString(); + } + + /** + * Normalize {@code text} the way {@code whiteSpace="collapse"} prescribes. + * + *

Every atomic XSD type except a string fixes {@code whiteSpace} to {@code collapse}, and a + * schema author can not change it. A tab, a line feed and a carriage return each become a space, + * a run of spaces becomes one space, and the leading and trailing spaces go. + * + *

See: https://www.w3.org/TR/xmlschema-2/#rf-whiteSpace + */ + public static String collapseWhitespace(String text) { + return WHITESPACE_RUN.matcher(text).replaceAll(" ").trim(); + } + + /** Represent a critical error during the deserialization. */ + @SuppressWarnings("serial") + public static class DeserializeException extends RuntimeException { + private final String path; + private final String reason; + + public DeserializeException(String path, String reason) { + super(reason + " at: " + ("".equals(path) ? "the beginning" : path)); + this.path = path; + this.reason = reason; + } + + public Optional getPath() { + return Optional.ofNullable(path); + } + + public Optional getReason() { + return Optional.ofNullable(reason); + } + } + + /** Represent a critical error during the serialization. */ + @SuppressWarnings("serial") + public static class SerializeException extends RuntimeException { + private final String path; + private final String reason; + + public SerializeException(String path, String reason) { + super(reason + " at: " + ("".equals(path) ? "the beginning" : path)); + this.path = path; + this.reason = reason; + } + + public Optional getPath() { + return Optional.ofNullable(path); + } + + public Optional getReason() { + return Optional.ofNullable(reason); + } + } + + /** + * Signal a failure of the serialization, carrying the path to the culprit. + * + *

The path is built as the stack unwinds -- every container prepends the one segment it knows, + * the property its name and the list the index of the item -- which is why this can not be the + * exception which the caller sees already: that one renders its message in its constructor, so + * its path has to be complete by then. The enclosing serializer renders and converts. + * + *

This is thrown across a package boundary, from the XML-RPC writers into the xmlization's, so + * it is public. + */ + @SuppressWarnings("serial") + public static class SerializeFailure extends RuntimeException { + private final Reporting.Error error; + + public SerializeFailure(Reporting.Error error) { + super(error.getCause()); + this.error = error; + } + + public Reporting.Error getError() { + return error; + } + } + + public static XMLEvent currentEvent(XMLEventReader reader) { + try { + return reader.peek(); + } catch (XMLStreamException xmlStreamException) { + throw new DeserializeException( + "", "Failed in method peek because of: " + xmlStreamException.getMessage()); + } + } + + public static String getEventTypeAsString(XMLEvent event) { + switch (event.getEventType()) { + case XMLStreamConstants.START_ELEMENT: + return "Start-Element"; + case XMLStreamConstants.END_ELEMENT: + return "End-Element"; + case XMLStreamConstants.PROCESSING_INSTRUCTION: + return "Processing-Instruction"; + case XMLStreamConstants.CHARACTERS: + return "Characters"; + case XMLStreamConstants.COMMENT: + return "Comment"; + case XMLStreamConstants.SPACE: + return "Space"; + case XMLStreamConstants.START_DOCUMENT: + return "Start-Document"; + case XMLStreamConstants.END_DOCUMENT: + return "End-Document"; + case XMLStreamConstants.ENTITY_REFERENCE: + return "Entity-Reference"; + case XMLStreamConstants.ATTRIBUTE: + return "Attribute"; + case XMLStreamConstants.NOTATION_DECLARATION: + return "Notation-Declaration"; + default: + return "Unknown-Type"; + } + } + + public static void skipWhitespaceAndComments(XMLEventReader reader) { + while (whiteSpaceOrComment(reader)) { + reader.next(); + } + } + + public static boolean whiteSpaceOrComment(XMLEventReader reader) { + final XMLEvent currentEvent = currentEvent(reader); + final boolean isComment = + (currentEvent != null && currentEvent.getEventType() == XMLStreamConstants.COMMENT); + final boolean isWhiteSpace = + (currentEvent != null + && currentEvent.getEventType() == XMLStreamConstants.CHARACTERS + && currentEvent.asCharacters().isWhiteSpace()); + return isComment || isWhiteSpace; + } + + public static boolean isEmptyElement(XMLEventReader reader) { + // Skip the element node and go to the content + try { + reader.nextEvent(); + } catch (XMLStreamException xmlStreamException) { + throw new DeserializeException( + "", "Failed in method isEmptyElement because of: " + xmlStreamException.getMessage()); + } + return currentEvent(reader).isEndElement(); + } + + /** + * Write {@code that.toString()} as XML content. + * + *

This is the {@link ContentWriter} of every {@code boolean}/ {@code long}/{@code + * double}/{@code String}-typed value, be it a property, a list item or a tuple item. + */ + public static void writeStringifiedContent(T that, XMLStreamWriter writer) + throws XMLStreamException { + writer.writeCharacters(that.toString()); + } + + /** + * Write {@code that} as XML content in the lexical form of {@code xs:double}. + * + *

This is the {@link ContentWriter} of every {@code double}-typed value, be it a property, a + * list item or a tuple item. A double can not share {@link #writeStringifiedContent} with the + * other primitives: {@code Double.toString} renders an infinity as {@code Infinity}, where {@code + * xs:double} spells it {@code INF}. Only the two infinities differ -- {@code NaN} is spelled the + * same way in both, and a finite number is rendered by {@code Double.toString} in a form which + * {@code xs:double} accepts. + * + *

See: https://www.w3.org/TR/xmlschema-2/#double + */ + public static void writeDoubleContent(Double that, XMLStreamWriter writer) + throws XMLStreamException { + final String text; + if (that.isInfinite()) { + text = (that > 0) ? "INF" : "-INF"; + } else { + text = that.toString(); + } + + writer.writeCharacters(text); + } + + /** Describe {@code ns} for an error message. */ + private static String describeNamespace(String ns) { + return ns.isEmpty() ? "no namespace" : "the namespace " + ns; + } + + private static boolean invalidNameSpace(XMLEvent event, String ns) { + if (event.isStartElement()) { + return !ns.equals(event.asStartElement().getName().getNamespaceURI()); + } else { + return !ns.equals(event.asEndElement().getName().getNamespaceURI()); + } + } + + /** Check the namespace and extract the element's name. */ + private static Reporting.Result tryElementName(XMLEventReader reader, String ns) { + final XMLEvent currentEvent = currentEvent(reader); + final boolean precondition = currentEvent.isStartElement() || currentEvent.isEndElement(); + if (!precondition) { + throw new IllegalStateException( + "Expected to be at a start or an end element " + + "but got: " + + getEventTypeAsString(currentEvent)); + } + + if (invalidNameSpace(currentEvent, ns)) { + final String namespace = + currentEvent.isStartElement() + ? currentEvent.asStartElement().getName().getNamespaceURI() + : currentEvent.asEndElement().getName().getNamespaceURI(); + final Reporting.Error error = + new Reporting.Error( + "Expected an element within " + + describeNamespace(ns) + + ", but got an element within " + + describeNamespace(namespace)); + return Reporting.Result.failure(error); + } + return Reporting.Result.success( + currentEvent.isStartElement() + ? currentEvent.asStartElement().getName().getLocalPart() + : currentEvent.asEndElement().getName().getLocalPart()); + } + + /** + * Look up the name of the element which {@code reader} is positioned at. + * + *

This is the single primitive answering "we are at an element, and this is its name": {@link + * #readNamedElement} checks that name against the one its container supplied, a dispatcher + * switches on it, and a property loop uses it to select the property. Nothing is consumed, which + * is what lets a dispatcher hand the whole element on to the reader it selected. + */ + private static Reporting.Result peekElementNameInNamespace( + XMLEventReader reader, String ns) { + skipWhitespaceAndComments(reader); + + final XMLEvent currentEvent = currentEvent(reader); + if (currentEvent.isEndDocument()) { + return Reporting.Result.failure( + new Reporting.Error("Expected an XML element, but reached the end-of-file")); + } + + if (!currentEvent.isStartElement()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML element, but got the node of type " + + getEventTypeAsString(currentEvent) + + " with the value " + + currentEvent)); + } + + return tryElementName(reader, ns); + } + + /** Consume the end tag concluding the element called {@code elementName}. */ + private static Reporting.Result consumeEndElementInNamespace( + XMLEventReader reader, String elementName, String ns) { + skipWhitespaceAndComments(reader); + + final XMLEvent currentEvent = currentEvent(reader); + if (currentEvent.isEndDocument()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML end element to conclude the element " + + elementName + + ", but got the end-of-file")); + } + + if (!currentEvent.isEndElement()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML end element to conclude the element " + + elementName + + ", but got the node of type " + + getEventTypeAsString(currentEvent) + + " with the value " + + currentEvent)); + } + + final Reporting.Result tryEndElementName = tryElementName(reader, ns); + if (tryEndElementName.isError()) { + return tryEndElementName.castTo(XMLEvent.class); + } + + if (!elementName.equals(tryEndElementName.getResult())) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML end element to conclude the element " + + elementName + + ", but got the end element with the name " + + tryEndElementName.getResult())); + } + + try { + return Reporting.Result.success(reader.nextEvent()); + } catch (XMLStreamException xmlStreamException) { + throw new DeserializeException( + "", "Failed in method consumeEndElement because of: " + xmlStreamException.getMessage()); + } + } + + /** + * Read a whole element which is expected to be called {@code name} and to reside in {@code ns}, + * and read its content with {@code readContent}. + * + *

The name is data, not a type: an instance reads the XML name of its own class, a list item + * reads {@code "v"} and a tuple item reads {@code "v1"}, {@code "v2"}, ... by position. One + * framer therefore serves them all. + */ + private static Reporting.Result readNamedElementInNamespace( + XMLEventReader reader, String name, String ns, ContentReader readContent) { + final Reporting.Result tryElementName = peekElementNameInNamespace(reader, ns); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + if (!name.equals(tryElementName.getResult())) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML element " + + name + + ", but got an XML element " + + tryElementName.getResult())); + } + + final boolean isEmpty = isEmptyElement(reader); + + final Reporting.Result result = readContent.read(reader, isEmpty); + if (result.isError()) { + return result; + } + + final Reporting.Result endResult = consumeEndElementInNamespace(reader, name, ns); + if (endResult.isError()) { + return Reporting.Result.failure(endResult.getError()); + } + + return result; + } + + /** + * Look up the name of the element in {@link #NAMESPACE} which {@code reader} is positioned at. + * + *

This is the single primitive answering "we are at an element, and this is its name": {@link + * #readNamedElement} checks that name against the one its container supplied, a dispatcher + * switches on it, and a property loop uses it to select the property. Nothing is consumed, which + * is what lets a dispatcher hand the whole element on to the reader it selected. + */ + public static Reporting.Result peekElementName(XMLEventReader reader) { + return peekElementNameInNamespace(reader, NAMESPACE); + } + + /** + * Consume the end tag concluding the element called {@code elementName} in {@link #NAMESPACE}. + */ + public static Reporting.Result consumeEndElement( + XMLEventReader reader, String elementName) { + return consumeEndElementInNamespace(reader, elementName, NAMESPACE); + } + + /** + * Read a whole element in {@link #NAMESPACE} which is expected to be called {@code name}, and + * read its content with {@code readContent}. + */ + public static Reporting.Result readNamedElement( + XMLEventReader reader, String name, ContentReader readContent) { + return readNamedElementInNamespace(reader, name, NAMESPACE, readContent); + } + + /** + * Read a self-describing element as the content of the property element which {@code reader} is + * already positioned inside. + * + *

This looks like a needless layer over {@code read...FromElement}: the reader sits at the + * very same position in both cases, just before a start element, whether that element is the only + * child of a property element or the next item of a list. The layer exists for the error path + * alone. + * + *

A property wraps its instance in an element of its own, so the failing node is one step + * deeper than the property and the discriminator's name has to be prepended: {@code + * value/property/idShort}. A list item is not wrapped -- the item element *is* the indexed child + * -- so prepending the name there would give {@code annotations/*[1]/property/idShort}, which + * walks one level past the element {@code *[1]} already selects and resolves to nothing. + * + *

The two callers therefore need different segments, which is why the name can not be + * prepended inside {@code read...FromElement}. Unifying them would take a segment carrying a name + * *and* a position ({@code annotations/property[1]}), and that is a change to {@link Reporting}, + * which the verification and the JSON de-serialization share. + */ + public static Reporting.Result readNestedElement( + XMLEventReader reader, boolean isEmpty, ElementReader readInner) { + if (isEmpty) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML element representing an instance, " + + "but encountered a self-closing element")); + } + + final Reporting.Result tryElementName = peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final Reporting.Result result = readInner.read(reader); + if (result.isError()) { + result.getError().prependSegment(new Reporting.NameSegment(tryElementName.getResult())); + } + + return result; + } + + /** + * Write {@code that} as an XML element named {@code name}, its content written by {@code + * writeContent}. + * + *

An element is nothing but a start and an end tag around a content, so there is no writer per + * property kind: only the content writer differs, and the type of the value alone decides which + * one it is. + * + *

{@code withNamespace} declares {@link #NAMESPACE} on the element, which only the outermost + * element does. + */ + public static void writeElement( + String name, + T that, + XMLStreamWriter writer, + boolean withNamespace, + ContentWriter writeContent) { + try { + writer.writeStartElement(name); + if (withNamespace) { + writer.writeNamespace("xmlns", NAMESPACE); + } + writeContent.write(that, writer); + writer.writeEndElement(); + } catch (XMLStreamException exception) { + throw new SerializeFailure(new Reporting.Error(exception.getMessage())); + } + } + + /** + * Write {@code that} as an XML element named {@code name} nested in another element, so that the + * XML namespace is not re-declared. + * + *

This is what an item of a list or of a tuple is written with. It contributes no segment to + * the error path: its container has already contributed the item's index, and the index selects + * this very element (see {@code writeListOf} in the generated writers). + */ + public static void writeElement( + String name, T that, XMLStreamWriter writer, ContentWriter writeContent) { + writeElement(name, that, writer, false, writeContent); + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/main/java/aas_core/aas3_1/xmlization/Xmlization.java b/src/main/java/aas_core/aas3_1/xmlization/Xmlization.java new file mode 100644 index 00000000..60e6ab85 --- /dev/null +++ b/src/main/java/aas_core/aas3_1/xmlization/Xmlization.java @@ -0,0 +1,12037 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.xmlization; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.stringification.Stringification; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.visitation.*; +import aas_core.aas3_1.xmlcommon.XmlCommon; +import java.util.ArrayList; +import java.util.Base64; +import java.util.List; +import java.util.Optional; +import java.util.function.Function; +import javax.xml.stream.XMLEventReader; +import javax.xml.stream.XMLStreamConstants; +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.XMLStreamWriter; +import javax.xml.stream.events.XMLEvent; + +/** Provide de/serialization of meta-model classes to/from XML. */ +public class Xmlization { + /** The XML namespace of the meta-model */ + public static final String NAMESPACE = XmlCommon.NAMESPACE; + + /** + * Implement the deserialization of meta-model classes from XML. + * + *

The implementation propagates an {@link Reporting.Error} instead of relying on exceptions. + * Under the assumption that incorrect data is much less frequent than correct data, this makes + * the deserialization more efficient. + * + *

However, we do not want to force the client to deal with the {@link Reporting.Error} class + * as this is not intuitive. Therefore we distinguish the implementation, realized in {@link + * _DeserializeImplementation}, and the facade given in {@link Deserialize} class. + */ + private static class _DeserializeImplementation { + private static void skipStartDocument(XMLEventReader reader) { + if (XmlCommon.currentEvent(reader).isStartDocument()) { + reader.next(); + } + } + + /** Convert the text content of an element which has already been opened. */ + @FunctionalInterface + private interface ContentConverter { + T convert(XMLEventReader reader) throws XMLStreamException; + } + + /** + * Drop every whitespace character of {@code text}. + * + *

This is what {@code xs:base64Binary} needs: it allows whitespace between the characters + * and not only around them, so collapsing is not enough -- the decoder accepts none of it. + */ + private static String removeWhitespace(String text) { + return XmlCommon.WHITESPACE_RUN.matcher(text).replaceAll(""); + } + + /** + * Tell whether {@code text} is a lexical form of {@code xs:base64Binary}. + * + *

The whitespace is expected to be gone already. What is left has to match {@code (B64 B64 + * B64 B64)* ((B64 B64 B64 B64) | (B64 B64 B16 '=') | (B64 B04 '=='))?} -- a length which is a + * multiple of four, the alphabet and nothing else, an equals sign only at the very end, and, + * easily missed, a constrained character before the padding, as the bits which the + * padding drops have to be zero. + * + *

The decoders do not agree on any of this. Base64.getDecoder() reads {@code SGk} although + * it is three characters long, where the Go and the Python SDKs refuse it. Hence this check, so + * that every target refuses the same texts. + * + *

See: https://www.w3.org/TR/xmlschema-2/#base64Binary + */ + private static boolean matchesXsBase64Binary(String text) { + if (text.length() % 4 != 0) { + return false; + } + + if (text.isEmpty()) { + return true; + } + + int pads = 0; + if (text.charAt(text.length() - 1) == '=') { + pads = 1; + if (text.charAt(text.length() - 2) == '=') { + pads = 2; + } + } + + for (int i = 0; i < text.length() - pads; i++) { + final char character = text.charAt(i); + final boolean inAlphabet = + (character >= 'A' && character <= 'Z') + || (character >= 'a' && character <= 'z') + || (character >= '0' && character <= '9') + || character == '+' + || character == '/'; + if (!inAlphabet) { + return false; + } + } + + // NOTE (mristin): + // Only these sixteen characters leave the two dropped bits at zero, and + // only these four leave the four dropped bits at zero. + if (pads == 1) { + return "AEIMQUYcgkosw048".indexOf(text.charAt(text.length() - 2)) >= 0; + } + + if (pads == 2) { + return "AQgw".indexOf(text.charAt(text.length() - 3)) >= 0; + } + + return true; + } + + private static Boolean readContentAsBool(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + + while (reader.peek().isCharacters() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + final String text = XmlCommon.collapseWhitespace(content.toString()); + + // NOTE (mristin): + // ``xs:boolean`` spells the two values in four ways, not two, so ``1`` and + // ``0`` have to be read as well. Boolean.valueOf is of no use here: it + // answers ``false`` to anything which is not ``true``, so it would take + // ``0`` and ``banana`` alike, and silently. + // + // See: https://www.w3.org/TR/xmlschema-2/#boolean + if (text.equals("true") || text.equals("1")) { + return Boolean.TRUE; + } + + if (text.equals("false") || text.equals("0")) { + return Boolean.FALSE; + } + + throw new IllegalStateException("Expected a value as xs:boolean, but got: " + text); + } + + /** Read the whole content of an element into memory. */ + private static byte[] readContentAsBase64(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + while (reader.peek().isCharacters() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + + // NOTE (mristin): + // ``xs:base64Binary`` allows whitespace *between* the characters, not only + // around them -- its grammar admits a space after every one -- while + // Base64.getDecoder() refuses all of it. So every whitespace character is + // dropped, and not merely collapsed. + // + // See: https://www.w3.org/TR/xmlschema-2/#base64Binary + String encodedData = removeWhitespace(content.toString()); + + if (!matchesXsBase64Binary(encodedData)) { + throw new XMLStreamException( + "Expected a text as base64-encoded bytes, but got: " + encodedData); + } + final byte[] decodedData; + Base64.Decoder decoder = Base64.getDecoder(); + + try { + decodedData = decoder.decode(encodedData); + } catch (IllegalArgumentException exception) { + throw new XMLStreamException( + "Failed to read base64 encoded data: " + exception.getMessage()); + } + + return decodedData; + } + + /** + * Read the text content of an element and convert it with {@code convert}. + * + *

A self-closing element is an error, since there is no text to convert. + */ + private static Reporting.Result readText( + XMLEventReader reader, boolean isEmpty, ContentConverter convert, String typeName) { + if (isEmpty) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML content representing " + + typeName + + ", but encountered a self-closing element")); + } + + if (XmlCommon.currentEvent(reader).isEndDocument()) { + return Reporting.Result.failure( + new Reporting.Error( + "Expected an XML content representing " + + typeName + + ", but reached the end-of-file")); + } + + try { + return Reporting.Result.success(convert.convert(reader)); + } catch (Exception exception) { + return Reporting.Result.failure( + new Reporting.Error( + "The XML content could not be de-serialized as " + + typeName + + ": " + + exception.getMessage())); + } + } + + /** + * Read the text content of an element and convert it with {@code convert}, giving {@code + * whenEmpty} for a self-closing element. + */ + private static Reporting.Result readText( + XMLEventReader reader, + boolean isEmpty, + ContentConverter convert, + String typeName, + T whenEmpty) { + if (isEmpty) { + return Reporting.Result.success(whenEmpty); + } + + return readText(reader, isEmpty, convert, typeName); + } + + /** + * Read the text content of an element and parse it as a literal of the enumeration called + * {@code enumName}. + */ + private static Reporting.Result readEnum( + XMLEventReader reader, + boolean isEmpty, + Function> parseLiteral, + String enumName) { + final Reporting.Result tryText = + readText(reader, isEmpty, XmlCommon::readContentAsString, enumName); + if (tryText.isError()) { + return Reporting.Result.failure(tryText.getError()); + } + + final Optional literal = parseLiteral.apply(tryText.getResult()); + if (!literal.isPresent()) { + return Reporting.Result.failure( + new Reporting.Error( + "The text could not be parsed as a literal of " + + enumName + + ": " + + tryText.getResult())); + } + + return Reporting.Result.success(literal.get()); + } + + /** + * Read the items of a list, each with {@code readItem}. + * + *

Every start element is considered to mark the start of an item. Reading stops as soon as a + * non-start element is encountered. + */ + private static Reporting.Result> readList( + XMLEventReader reader, boolean isEmpty, XmlCommon.ElementReader readItem) { + final List result = new ArrayList<>(); + if (isEmpty) { + return Reporting.Result.success(result); + } + + XmlCommon.skipWhitespaceAndComments(reader); + int index = 0; + if (!XmlCommon.currentEvent(reader).isStartElement()) { + final Reporting.Error error = + new Reporting.Error( + "Expected a start element opening an item of the list, " + + "but got an XML " + + XmlCommon.getEventTypeAsString(XmlCommon.currentEvent(reader))); + return Reporting.Result.failure(error); + } + + while (XmlCommon.currentEvent(reader).isStartElement()) { + final Reporting.Result itemResult = readItem.read(reader); + if (itemResult.isError()) { + itemResult.getError().prependSegment(new Reporting.IndexSegment(index)); + return Reporting.Result.failure(itemResult.getError()); + } + + result.add(itemResult.getResult()); + index++; + XmlCommon.skipWhitespaceAndComments(reader); + } + + return Reporting.Result.success(result); + } + + /** + * Check whether the sequence of the properties has ended. + * + *

Only the end tag of the enclosing element concludes a sequence. Reaching the end-of-file + * does not -- that is an error, which {@link #peekElementName} reports when the caller goes on + * to read the next property. + */ + private static boolean atEndOfSequence(XMLEventReader reader) { + XmlCommon.skipWhitespaceAndComments(reader); + return XmlCommon.currentEvent(reader).isEndElement(); + } + + /** Report an element which is not a property of the class {@code className}. */ + private static Reporting.Result unexpectedProperty( + String className, String elementName) { + return Reporting.Result.failure( + new Reporting.Error( + "We expected properties of the class " + + className + + ", " + + "but got an unexpected element " + + "with the name " + + elementName)); + } + + /** Report a property which the sequence of the properties gave more than once. */ + private static Reporting.Error duplicatePropertyError(String elementName) { + return new Reporting.Error("Property " + elementName + " occurred more than once"); + } + + /** + * Report a required property of the class {@code className} which the sequence of the + * properties did not give. + */ + private static Reporting.Result missingRequiredProperty( + String propertyName, String className) { + return Reporting.Result.failure( + new Reporting.Error( + "The required property " + + propertyName + + " has not been given " + + "in the XML representation of an instance of class " + + className)); + } + + private static Reporting.Result> readListOf_IReference( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readReferenceFromElement); + } + + private static Reporting.Result readTextAs_string( + XMLEventReader reader, boolean isEmpty) { + return readText(reader, isEmpty, XmlCommon::readContentAsString, "String", ""); + } + + private static Reporting.Result readTextAs_DataTypeDefXsd( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::dataTypeDefXsdFromString, "DataTypeDefXsd"); + } + + private static Reporting.Result> + readListOf_IEmbeddedDataSpecification(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readEmbeddedDataSpecificationFromElement); + } + + private static Reporting.Result readTextAs_QualifierKind( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::qualifierKindFromString, "QualifierKind"); + } + + private static Reporting.Result> readListOf_IExtension( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readExtensionFromElement); + } + + private static Reporting.Result> readListOf_ILangStringNameType( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readLangStringNameTypeFromElement); + } + + private static Reporting.Result> readListOf_ILangStringTextType( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readLangStringTextTypeFromElement); + } + + private static Reporting.Result readTextAs_AssetKind( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::assetKindFromString, "AssetKind"); + } + + private static Reporting.Result> readListOf_ISpecificAssetId( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readSpecificAssetIdFromElement); + } + + private static Reporting.Result readTextAs_ModellingKind( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::modellingKindFromString, "ModellingKind"); + } + + private static Reporting.Result> readListOf_IQualifier( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readQualifierFromElement); + } + + private static Reporting.Result> readListOf_ISubmodelElement( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readISubmodelElementFromElement); + } + + private static Reporting.Result readTextAs_bool( + XMLEventReader reader, boolean isEmpty) { + return readText(reader, isEmpty, _DeserializeImplementation::readContentAsBool, "Boolean"); + } + + private static Reporting.Result readTextAs_AasSubmodelElements( + XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, isEmpty, Stringification::aasSubmodelElementsFromString, "AasSubmodelElements"); + } + + private static Reporting.Result readTextAs_bytes( + XMLEventReader reader, boolean isEmpty) { + return readText( + reader, + isEmpty, + _DeserializeImplementation::readContentAsBase64, + "base64-encoded bytes", + new byte[0]); + } + + private static Reporting.Result> readListOf_IDataElement( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readIDataElementFromElement); + } + + private static Reporting.Result readTextAs_EntityType( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::entityTypeFromString, "EntityType"); + } + + private static Reporting.Result readTextAs_Direction( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::directionFromString, "Direction"); + } + + private static Reporting.Result readTextAs_StateOfEvent( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::stateOfEventFromString, "StateOfEvent"); + } + + private static Reporting.Result> readListOf_IOperationVariable( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readOperationVariableFromElement); + } + + private static Reporting.Result readTextAs_ReferenceTypes( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::referenceTypesFromString, "ReferenceTypes"); + } + + private static Reporting.Result> readListOf_IKey( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readKeyFromElement); + } + + private static Reporting.Result readTextAs_KeyTypes( + XMLEventReader reader, boolean isEmpty) { + return readEnum(reader, isEmpty, Stringification::keyTypesFromString, "KeyTypes"); + } + + private static Reporting.Result> + readListOf_IAssetAdministrationShell(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readAssetAdministrationShellFromElement); + } + + private static Reporting.Result> readListOf_ISubmodel( + XMLEventReader reader, boolean isEmpty) { + return readList(reader, isEmpty, _DeserializeImplementation::readSubmodelFromElement); + } + + private static Reporting.Result> readListOf_IConceptDescription( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readConceptDescriptionFromElement); + } + + private static Reporting.Result> readListOf_IValueReferencePair( + XMLEventReader reader, boolean isEmpty) { + return readList( + reader, isEmpty, _DeserializeImplementation::readValueReferencePairFromElement); + } + + private static Reporting.Result> + readListOf_ILangStringPreferredNameTypeIec61360(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readLangStringPreferredNameTypeIec61360FromElement); + } + + private static Reporting.Result> + readListOf_ILangStringShortNameTypeIec61360(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readLangStringShortNameTypeIec61360FromElement); + } + + private static Reporting.Result readTextAs_DataTypeIec61360( + XMLEventReader reader, boolean isEmpty) { + return readEnum( + reader, isEmpty, Stringification::dataTypeIec61360FromString, "DataTypeIec61360"); + } + + private static Reporting.Result> + readListOf_ILangStringDefinitionTypeIec61360(XMLEventReader reader, boolean isEmpty) { + return readList( + reader, + isEmpty, + _DeserializeImplementation::readLangStringDefinitionTypeIec61360FromElement); + } + + /** Deserialize an instance of IHasSemantics from an XML element. */ + private static Reporting.Result readIHasSemanticsFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "extension": + return readExtensionFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "qualifier": + return readQualifierFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "specificAssetId": + return readSpecificAssetIdFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class Extension from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readExtensionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + String theName = null; + DataTypeDefXsd theValueType = null; + String theValue = null; + List theRefersTo = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "name": + { + if (theName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theName = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "refersTo": + { + if (theRefersTo != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theRefersTo = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Extension", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theName == null) { + return missingRequiredProperty("name", "Extension"); + } + + return Reporting.Result.success( + new Extension( + theName, + theSemanticId, + theSupplementalSemanticIds, + theValueType, + theValue, + theRefersTo)); + } + + /** Deserialize an instance of class Extension from an XML element. */ + private static Reporting.Result readExtensionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "extension", _DeserializeImplementation::readExtensionFromSequence); + } + + /** Deserialize an instance of IHasExtensions from an XML element. */ + private static Reporting.Result readIHasExtensionsFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "assetAdministrationShell": + return readAssetAdministrationShellFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "conceptDescription": + return readConceptDescriptionFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of IReferable from an XML element. */ + private static Reporting.Result readIReferableFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "assetAdministrationShell": + return readAssetAdministrationShellFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "conceptDescription": + return readConceptDescriptionFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of IIdentifiable from an XML element. */ + private static Reporting.Result readIIdentifiableFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "assetAdministrationShell": + return readAssetAdministrationShellFromElement(reader); + case "conceptDescription": + return readConceptDescriptionFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of IHasKind from an XML element. */ + private static Reporting.Result readIHasKindFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "submodel": + return readSubmodelFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of IHasDataSpecification from an XML element. */ + private static Reporting.Result + readIHasDataSpecificationFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "administrativeInformation": + return readAdministrativeInformationFromElement(reader); + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "assetAdministrationShell": + return readAssetAdministrationShellFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "conceptDescription": + return readConceptDescriptionFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class AdministrativeInformation from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAdministrativeInformationFromSequence(XMLEventReader reader, boolean isEmptySequence) { + List theEmbeddedDataSpecifications = null; + String theVersion = null; + String theRevision = null; + IReference theCreator = null; + String theTemplateId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "version": + { + if (theVersion != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theVersion = value.getResult(); + } + break; + } + case "revision": + { + if (theRevision != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theRevision = value.getResult(); + } + break; + } + case "creator": + { + if (theCreator != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCreator = value.getResult(); + } + break; + } + case "templateId": + { + if (theTemplateId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTemplateId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AdministrativeInformation", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new AdministrativeInformation( + theEmbeddedDataSpecifications, theVersion, theRevision, theCreator, theTemplateId)); + } + + /** Deserialize an instance of class AdministrativeInformation from an XML element. */ + private static Reporting.Result + readAdministrativeInformationFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "administrativeInformation", + _DeserializeImplementation::readAdministrativeInformationFromSequence); + } + + /** Deserialize an instance of IQualifiable from an XML element. */ + private static Reporting.Result readIQualifiableFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "submodel": + return readSubmodelFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class Qualifier from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readQualifierFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + QualifierKind theKind = null; + String theType = null; + DataTypeDefXsd theValueType = null; + String theValue = null; + IReference theValueId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "kind": + { + if (theKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_QualifierKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKind = value.getResult(); + } + break; + } + case "type": + { + if (theType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theType = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "valueId": + { + if (theValueId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Qualifier", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theType == null) { + return missingRequiredProperty("type", "Qualifier"); + } + + if (theValueType == null) { + return missingRequiredProperty("valueType", "Qualifier"); + } + + return Reporting.Result.success( + new Qualifier( + theType, + theValueType, + theSemanticId, + theSupplementalSemanticIds, + theKind, + theValue, + theValueId)); + } + + /** Deserialize an instance of class Qualifier from an XML element. */ + private static Reporting.Result readQualifierFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "qualifier", _DeserializeImplementation::readQualifierFromSequence); + } + + /** + * Deserialize an instance of class AssetAdministrationShell from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAssetAdministrationShellFromSequence(XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + String theId = null; + List theEmbeddedDataSpecifications = null; + IReference theDerivedFrom = null; + IAssetInformation theAssetInformation = null; + List theSubmodels = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "derivedFrom": + { + if (theDerivedFrom != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDerivedFrom = value.getResult(); + } + break; + } + case "assetInformation": + { + if (theAssetInformation != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAssetInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetInformation = value.getResult(); + } + break; + } + case "submodels": + { + if (theSubmodels != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubmodels = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AssetAdministrationShell", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "AssetAdministrationShell"); + } + + if (theAssetInformation == null) { + return missingRequiredProperty("assetInformation", "AssetAdministrationShell"); + } + + return Reporting.Result.success( + new AssetAdministrationShell( + theId, + theAssetInformation, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theDerivedFrom, + theSubmodels)); + } + + /** Deserialize an instance of class AssetAdministrationShell from an XML element. */ + private static Reporting.Result + readAssetAdministrationShellFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "assetAdministrationShell", + _DeserializeImplementation::readAssetAdministrationShellFromSequence); + } + + /** + * Deserialize an instance of class AssetInformation from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readAssetInformationFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + AssetKind theAssetKind = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + String theAssetType = null; + IResource theDefaultThumbnail = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "assetKind": + { + if (theAssetKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_AssetKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetKind = value.getResult(); + } + break; + } + case "globalAssetId": + { + if (theGlobalAssetId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGlobalAssetId = value.getResult(); + } + break; + } + case "specificAssetIds": + { + if (theSpecificAssetIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISpecificAssetId(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSpecificAssetIds = value.getResult(); + } + break; + } + case "assetType": + { + if (theAssetType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetType = value.getResult(); + } + break; + } + case "defaultThumbnail": + { + if (theDefaultThumbnail != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readResourceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDefaultThumbnail = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AssetInformation", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theAssetKind == null) { + return missingRequiredProperty("assetKind", "AssetInformation"); + } + + return Reporting.Result.success( + new AssetInformation( + theAssetKind, + theGlobalAssetId, + theSpecificAssetIds, + theAssetType, + theDefaultThumbnail)); + } + + /** Deserialize an instance of class AssetInformation from an XML element. */ + private static Reporting.Result readAssetInformationFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "assetInformation", _DeserializeImplementation::readAssetInformationFromSequence); + } + + /** + * Deserialize an instance of class Resource from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readResourceFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String thePath = null; + String theContentType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "path": + { + if (thePath != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePath = value.getResult(); + } + break; + } + case "contentType": + { + if (theContentType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContentType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Resource", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePath == null) { + return missingRequiredProperty("path", "Resource"); + } + + return Reporting.Result.success(new Resource(thePath, theContentType)); + } + + /** Deserialize an instance of class Resource from an XML element. */ + private static Reporting.Result readResourceFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "resource", _DeserializeImplementation::readResourceFromSequence); + } + + /** + * Deserialize an instance of class SpecificAssetId from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSpecificAssetIdFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + String theName = null; + String theValue = null; + IReference theExternalSubjectId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "name": + { + if (theName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theName = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "externalSubjectId": + { + if (theExternalSubjectId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExternalSubjectId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SpecificAssetId", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theName == null) { + return missingRequiredProperty("name", "SpecificAssetId"); + } + + if (theValue == null) { + return missingRequiredProperty("value", "SpecificAssetId"); + } + + return Reporting.Result.success( + new SpecificAssetId( + theName, theValue, theSemanticId, theSupplementalSemanticIds, theExternalSubjectId)); + } + + /** Deserialize an instance of class SpecificAssetId from an XML element. */ + private static Reporting.Result readSpecificAssetIdFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "specificAssetId", _DeserializeImplementation::readSpecificAssetIdFromSequence); + } + + /** + * Deserialize an instance of class Submodel from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSubmodelFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + String theId = null; + ModellingKind theKind = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theSubmodelElements = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "kind": + { + if (theKind != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ModellingKind(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKind = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "submodelElements": + { + if (theSubmodelElements != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubmodelElements = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Submodel", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "Submodel"); + } + + return Reporting.Result.success( + new Submodel( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theKind, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theSubmodelElements)); + } + + /** Deserialize an instance of class Submodel from an XML element. */ + private static Reporting.Result readSubmodelFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "submodel", _DeserializeImplementation::readSubmodelFromSequence); + } + + /** Deserialize an instance of ISubmodelElement from an XML element. */ + private static Reporting.Result readISubmodelElementFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "relationshipElement": + return readRelationshipElementFromElement(reader); + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "basicEventElement": + return readBasicEventElementFromElement(reader); + case "blob": + return readBlobFromElement(reader); + case "capability": + return readCapabilityFromElement(reader); + case "entity": + return readEntityFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "operation": + return readOperationFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + case "submodelElementCollection": + return readSubmodelElementCollectionFromElement(reader); + case "submodelElementList": + return readSubmodelElementListFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class RelationshipElement from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readRelationshipElementFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theFirst = null; + IReference theSecond = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "first": + { + if (theFirst != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theFirst = value.getResult(); + } + break; + } + case "second": + { + if (theSecond != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSecond = value.getResult(); + } + break; + } + default: + return unexpectedProperty("RelationshipElement", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new RelationshipElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theFirst, + theSecond)); + } + + /** Deserialize an instance of IRelationshipElement from an XML element. */ + private static Reporting.Result + readIRelationshipElementFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "annotatedRelationshipElement": + return readAnnotatedRelationshipElementFromElement(reader); + case "relationshipElement": + return readRelationshipElementFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** Deserialize an instance of class RelationshipElement from an XML element. */ + private static Reporting.Result + readRelationshipElementFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "relationshipElement", + _DeserializeImplementation::readRelationshipElementFromSequence); + } + + /** + * Deserialize an instance of class SubmodelElementList from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readSubmodelElementListFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + Boolean theOrderRelevant = null; + IReference theSemanticIdListElement = null; + AasSubmodelElements theTypeValueListElement = null; + DataTypeDefXsd theValueTypeListElement = null; + List theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "orderRelevant": + { + if (theOrderRelevant != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theOrderRelevant = value.getResult(); + } + break; + } + case "semanticIdListElement": + { + if (theSemanticIdListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticIdListElement = value.getResult(); + } + break; + } + case "typeValueListElement": + { + if (theTypeValueListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_AasSubmodelElements(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTypeValueListElement = value.getResult(); + } + break; + } + case "valueTypeListElement": + { + if (theValueTypeListElement != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueTypeListElement = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelElementList", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theTypeValueListElement == null) { + return missingRequiredProperty("typeValueListElement", "SubmodelElementList"); + } + + return Reporting.Result.success( + new SubmodelElementList( + theTypeValueListElement, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theOrderRelevant, + theSemanticIdListElement, + theValueTypeListElement, + theValue)); + } + + /** Deserialize an instance of class SubmodelElementList from an XML element. */ + private static Reporting.Result + readSubmodelElementListFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "submodelElementList", + _DeserializeImplementation::readSubmodelElementListFromSequence); + } + + /** + * Deserialize an instance of class SubmodelElementCollection from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readSubmodelElementCollectionFromSequence(XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("SubmodelElementCollection", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new SubmodelElementCollection( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue)); + } + + /** Deserialize an instance of class SubmodelElementCollection from an XML element. */ + private static Reporting.Result + readSubmodelElementCollectionFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "submodelElementCollection", + _DeserializeImplementation::readSubmodelElementCollectionFromSequence); + } + + /** Deserialize an instance of IDataElement from an XML element. */ + private static Reporting.Result readIDataElementFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "blob": + return readBlobFromElement(reader); + case "file": + return readFileFromElement(reader); + case "multiLanguageProperty": + return readMultiLanguagePropertyFromElement(reader); + case "property": + return readPropertyFromElement(reader); + case "range": + return readRangeFromElement(reader); + case "referenceElement": + return readReferenceElementFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class Property from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readPropertyFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + DataTypeDefXsd theValueType = null; + String theValue = null; + IReference theValueId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "valueId": + { + if (theValueId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Property", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType", "Property"); + } + + return Reporting.Result.success( + new Property( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theValueId)); + } + + /** Deserialize an instance of class Property from an XML element. */ + private static Reporting.Result readPropertyFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "property", _DeserializeImplementation::readPropertyFromSequence); + } + + /** + * Deserialize an instance of class MultiLanguageProperty from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readMultiLanguagePropertyFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theValue = null; + IReference theValueId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "valueId": + { + if (theValueId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("MultiLanguageProperty", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new MultiLanguageProperty( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theValueId)); + } + + /** Deserialize an instance of class MultiLanguageProperty from an XML element. */ + private static Reporting.Result + readMultiLanguagePropertyFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "multiLanguageProperty", + _DeserializeImplementation::readMultiLanguagePropertyFromSequence); + } + + /** + * Deserialize an instance of class Range from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readRangeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + DataTypeDefXsd theValueType = null; + String theMin = null; + String theMax = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "valueType": + { + if (theValueType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeDefXsd(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueType = value.getResult(); + } + break; + } + case "min": + { + if (theMin != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMin = value.getResult(); + } + break; + } + case "max": + { + if (theMax != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMax = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Range", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValueType == null) { + return missingRequiredProperty("valueType", "Range"); + } + + return Reporting.Result.success( + new Range( + theValueType, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMin, + theMax)); + } + + /** Deserialize an instance of class Range from an XML element. */ + private static Reporting.Result readRangeFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "range", _DeserializeImplementation::readRangeFromSequence); + } + + /** + * Deserialize an instance of class ReferenceElement from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readReferenceElementFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ReferenceElement", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new ReferenceElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue)); + } + + /** Deserialize an instance of class ReferenceElement from an XML element. */ + private static Reporting.Result readReferenceElementFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "referenceElement", _DeserializeImplementation::readReferenceElementFromSequence); + } + + /** + * Deserialize an instance of class Blob from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBlobFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + byte[] theValue = null; + String theContentType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bytes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "contentType": + { + if (theContentType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContentType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Blob", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Blob( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theContentType)); + } + + /** Deserialize an instance of class Blob from an XML element. */ + private static Reporting.Result readBlobFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "blob", _DeserializeImplementation::readBlobFromSequence); + } + + /** + * Deserialize an instance of class File from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readFileFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + String theValue = null; + String theContentType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "contentType": + { + if (theContentType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theContentType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("File", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new File( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theValue, + theContentType)); + } + + /** Deserialize an instance of class File from an XML element. */ + private static Reporting.Result readFileFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "file", _DeserializeImplementation::readFileFromSequence); + } + + /** + * Deserialize an instance of class AnnotatedRelationshipElement from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readAnnotatedRelationshipElementFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theFirst = null; + IReference theSecond = null; + List theAnnotations = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "first": + { + if (theFirst != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theFirst = value.getResult(); + } + break; + } + case "second": + { + if (theSecond != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSecond = value.getResult(); + } + break; + } + case "annotations": + { + if (theAnnotations != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IDataElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAnnotations = value.getResult(); + } + break; + } + default: + return unexpectedProperty("AnnotatedRelationshipElement", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new AnnotatedRelationshipElement( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theFirst, + theSecond, + theAnnotations)); + } + + /** Deserialize an instance of class AnnotatedRelationshipElement from an XML element. */ + private static Reporting.Result + readAnnotatedRelationshipElementFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "annotatedRelationshipElement", + _DeserializeImplementation::readAnnotatedRelationshipElementFromSequence); + } + + /** + * Deserialize an instance of class Entity from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEntityFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theStatements = null; + EntityType theEntityType = null; + String theGlobalAssetId = null; + List theSpecificAssetIds = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "statements": + { + if (theStatements != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodelElement(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theStatements = value.getResult(); + } + break; + } + case "entityType": + { + if (theEntityType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_EntityType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEntityType = value.getResult(); + } + break; + } + case "globalAssetId": + { + if (theGlobalAssetId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theGlobalAssetId = value.getResult(); + } + break; + } + case "specificAssetIds": + { + if (theSpecificAssetIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISpecificAssetId(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSpecificAssetIds = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Entity", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Entity( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theStatements, + theEntityType, + theGlobalAssetId, + theSpecificAssetIds)); + } + + /** Deserialize an instance of class Entity from an XML element. */ + private static Reporting.Result readEntityFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "entity", _DeserializeImplementation::readEntityFromSequence); + } + + /** + * Deserialize an instance of class EventPayload from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEventPayloadFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + IReference theSource = null; + IReference theSourceSemanticId = null; + IReference theObservableReference = null; + IReference theObservableSemanticId = null; + String theTopic = null; + IReference theSubjectId = null; + String theTimeStamp = null; + byte[] thePayload = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "source": + { + if (theSource != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSource = value.getResult(); + } + break; + } + case "sourceSemanticId": + { + if (theSourceSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSourceSemanticId = value.getResult(); + } + break; + } + case "observableReference": + { + if (theObservableReference != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theObservableReference = value.getResult(); + } + break; + } + case "observableSemanticId": + { + if (theObservableSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theObservableSemanticId = value.getResult(); + } + break; + } + case "topic": + { + if (theTopic != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTopic = value.getResult(); + } + break; + } + case "subjectId": + { + if (theSubjectId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubjectId = value.getResult(); + } + break; + } + case "timeStamp": + { + if (theTimeStamp != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTimeStamp = value.getResult(); + } + break; + } + case "payload": + { + if (thePayload != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bytes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePayload = value.getResult(); + } + break; + } + default: + return unexpectedProperty("EventPayload", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theSource == null) { + return missingRequiredProperty("source", "EventPayload"); + } + + if (theObservableReference == null) { + return missingRequiredProperty("observableReference", "EventPayload"); + } + + if (theTimeStamp == null) { + return missingRequiredProperty("timeStamp", "EventPayload"); + } + + return Reporting.Result.success( + new EventPayload( + theSource, + theObservableReference, + theTimeStamp, + theSourceSemanticId, + theObservableSemanticId, + theTopic, + theSubjectId, + thePayload)); + } + + /** Deserialize an instance of class EventPayload from an XML element. */ + private static Reporting.Result readEventPayloadFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "eventPayload", _DeserializeImplementation::readEventPayloadFromSequence); + } + + /** Deserialize an instance of IEventElement from an XML element. */ + private static Reporting.Result readIEventElementFromElement( + XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "basicEventElement": + return readBasicEventElementFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class BasicEventElement from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readBasicEventElementFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + IReference theObserved = null; + Direction theDirection = null; + StateOfEvent theState = null; + String theMessageTopic = null; + IReference theMessageBroker = null; + String theLastUpdate = null; + String theMinInterval = null; + String theMaxInterval = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "observed": + { + if (theObserved != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theObserved = value.getResult(); + } + break; + } + case "direction": + { + if (theDirection != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_Direction(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDirection = value.getResult(); + } + break; + } + case "state": + { + if (theState != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_StateOfEvent(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theState = value.getResult(); + } + break; + } + case "messageTopic": + { + if (theMessageTopic != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessageTopic = value.getResult(); + } + break; + } + case "messageBroker": + { + if (theMessageBroker != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMessageBroker = value.getResult(); + } + break; + } + case "lastUpdate": + { + if (theLastUpdate != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLastUpdate = value.getResult(); + } + break; + } + case "minInterval": + { + if (theMinInterval != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMinInterval = value.getResult(); + } + break; + } + case "maxInterval": + { + if (theMaxInterval != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMaxInterval = value.getResult(); + } + break; + } + default: + return unexpectedProperty("BasicEventElement", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theObserved == null) { + return missingRequiredProperty("observed", "BasicEventElement"); + } + + if (theDirection == null) { + return missingRequiredProperty("direction", "BasicEventElement"); + } + + if (theState == null) { + return missingRequiredProperty("state", "BasicEventElement"); + } + + return Reporting.Result.success( + new BasicEventElement( + theObserved, + theDirection, + theState, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theMessageTopic, + theMessageBroker, + theLastUpdate, + theMinInterval, + theMaxInterval)); + } + + /** Deserialize an instance of class BasicEventElement from an XML element. */ + private static Reporting.Result readBasicEventElementFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "basicEventElement", + _DeserializeImplementation::readBasicEventElementFromSequence); + } + + /** + * Deserialize an instance of class Operation from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + List theInputVariables = null; + List theOutputVariables = null; + List theInoutputVariables = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "inputVariables": + { + if (theInputVariables != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInputVariables = value.getResult(); + } + break; + } + case "outputVariables": + { + if (theOutputVariables != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theOutputVariables = value.getResult(); + } + break; + } + case "inoutputVariables": + { + if (theInoutputVariables != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IOperationVariable(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theInoutputVariables = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Operation", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Operation( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications, + theInputVariables, + theOutputVariables, + theInoutputVariables)); + } + + /** Deserialize an instance of class Operation from an XML element. */ + private static Reporting.Result readOperationFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "operation", _DeserializeImplementation::readOperationFromSequence); + } + + /** + * Deserialize an instance of class OperationVariable from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readOperationVariableFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + ISubmodelElement theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readISubmodelElementFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("OperationVariable", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValue == null) { + return missingRequiredProperty("value", "OperationVariable"); + } + + return Reporting.Result.success(new OperationVariable(theValue)); + } + + /** Deserialize an instance of class OperationVariable from an XML element. */ + private static Reporting.Result readOperationVariableFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "operationVariable", + _DeserializeImplementation::readOperationVariableFromSequence); + } + + /** + * Deserialize an instance of class Capability from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readCapabilityFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IReference theSemanticId = null; + List theSupplementalSemanticIds = null; + List theQualifiers = null; + List theEmbeddedDataSpecifications = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "semanticId": + { + if (theSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSemanticId = value.getResult(); + } + break; + } + case "supplementalSemanticIds": + { + if (theSupplementalSemanticIds != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSupplementalSemanticIds = value.getResult(); + } + break; + } + case "qualifiers": + { + if (theQualifiers != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IQualifier(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theQualifiers = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Capability", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Capability( + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theSemanticId, + theSupplementalSemanticIds, + theQualifiers, + theEmbeddedDataSpecifications)); + } + + /** Deserialize an instance of class Capability from an XML element. */ + private static Reporting.Result readCapabilityFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "capability", _DeserializeImplementation::readCapabilityFromSequence); + } + + /** + * Deserialize an instance of class ConceptDescription from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readConceptDescriptionFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theExtensions = null; + String theCategory = null; + String theIdShort = null; + List theDisplayName = null; + List theDescription = null; + IAdministrativeInformation theAdministration = null; + String theId = null; + List theEmbeddedDataSpecifications = null; + List theIsCaseOf = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "extensions": + { + if (theExtensions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IExtension(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theExtensions = value.getResult(); + } + break; + } + case "category": + { + if (theCategory != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theCategory = value.getResult(); + } + break; + } + case "idShort": + { + if (theIdShort != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIdShort = value.getResult(); + } + break; + } + case "displayName": + { + if (theDisplayName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringNameType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDisplayName = value.getResult(); + } + break; + } + case "description": + { + if (theDescription != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringTextType(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDescription = value.getResult(); + } + break; + } + case "administration": + { + if (theAdministration != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readAdministrativeInformationFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAdministration = value.getResult(); + } + break; + } + case "id": + { + if (theId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theId = value.getResult(); + } + break; + } + case "embeddedDataSpecifications": + { + if (theEmbeddedDataSpecifications != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IEmbeddedDataSpecification(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theEmbeddedDataSpecifications = value.getResult(); + } + break; + } + case "isCaseOf": + { + if (theIsCaseOf != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IReference(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theIsCaseOf = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ConceptDescription", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theId == null) { + return missingRequiredProperty("id", "ConceptDescription"); + } + + return Reporting.Result.success( + new ConceptDescription( + theId, + theExtensions, + theCategory, + theIdShort, + theDisplayName, + theDescription, + theAdministration, + theEmbeddedDataSpecifications, + theIsCaseOf)); + } + + /** Deserialize an instance of class ConceptDescription from an XML element. */ + private static Reporting.Result readConceptDescriptionFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "conceptDescription", + _DeserializeImplementation::readConceptDescriptionFromSequence); + } + + /** + * Deserialize an instance of class Reference from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readReferenceFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + ReferenceTypes theType = null; + IReference theReferredSemanticId = null; + List theKeys = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "type": + { + if (theType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_ReferenceTypes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theType = value.getResult(); + } + break; + } + case "referredSemanticId": + { + if (theReferredSemanticId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theReferredSemanticId = value.getResult(); + } + break; + } + case "keys": + { + if (theKeys != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = readListOf_IKey(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theKeys = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Reference", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theType == null) { + return missingRequiredProperty("type", "Reference"); + } + + if (theKeys == null) { + return missingRequiredProperty("keys", "Reference"); + } + + return Reporting.Result.success(new Reference(theType, theKeys, theReferredSemanticId)); + } + + /** Deserialize an instance of class Reference from an XML element. */ + private static Reporting.Result readReferenceFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "reference", _DeserializeImplementation::readReferenceFromSequence); + } + + /** + * Deserialize an instance of class Key from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readKeyFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + KeyTypes theType = null; + String theValue = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "type": + { + if (theType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_KeyTypes(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theType = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Key", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theType == null) { + return missingRequiredProperty("type", "Key"); + } + + if (theValue == null) { + return missingRequiredProperty("value", "Key"); + } + + return Reporting.Result.success(new Key(theType, theValue)); + } + + /** Deserialize an instance of class Key from an XML element. */ + private static Reporting.Result readKeyFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "key", _DeserializeImplementation::readKeyFromSequence); + } + + /** Deserialize an instance of IAbstractLangString from an XML element. */ + private static Reporting.Result + readIAbstractLangStringFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "langStringDefinitionTypeIec61360": + return readLangStringDefinitionTypeIec61360FromElement(reader); + case "langStringNameType": + return readLangStringNameTypeFromElement(reader); + case "langStringPreferredNameTypeIec61360": + return readLangStringPreferredNameTypeIec61360FromElement(reader); + case "langStringShortNameTypeIec61360": + return readLangStringShortNameTypeIec61360FromElement(reader); + case "langStringTextType": + return readLangStringTextTypeFromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class LangStringNameType from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readLangStringNameTypeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringNameType", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringNameType"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringNameType"); + } + + return Reporting.Result.success(new LangStringNameType(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringNameType from an XML element. */ + private static Reporting.Result readLangStringNameTypeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringNameType", + _DeserializeImplementation::readLangStringNameTypeFromSequence); + } + + /** + * Deserialize an instance of class LangStringTextType from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readLangStringTextTypeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringTextType", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringTextType"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringTextType"); + } + + return Reporting.Result.success(new LangStringTextType(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringTextType from an XML element. */ + private static Reporting.Result readLangStringTextTypeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringTextType", + _DeserializeImplementation::readLangStringTextTypeFromSequence); + } + + /** + * Deserialize an instance of class Environment from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readEnvironmentFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theAssetAdministrationShells = null; + List theSubmodels = null; + List theConceptDescriptions = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "assetAdministrationShells": + { + if (theAssetAdministrationShells != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IAssetAdministrationShell(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theAssetAdministrationShells = value.getResult(); + } + break; + } + case "submodels": + { + if (theSubmodels != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ISubmodel(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSubmodels = value.getResult(); + } + break; + } + case "conceptDescriptions": + { + if (theConceptDescriptions != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IConceptDescription(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theConceptDescriptions = value.getResult(); + } + break; + } + default: + return unexpectedProperty("Environment", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + return Reporting.Result.success( + new Environment(theAssetAdministrationShells, theSubmodels, theConceptDescriptions)); + } + + /** Deserialize an instance of class Environment from an XML element. */ + private static Reporting.Result readEnvironmentFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "environment", _DeserializeImplementation::readEnvironmentFromSequence); + } + + /** Deserialize an instance of IDataSpecificationContent from an XML element. */ + private static Reporting.Result + readIDataSpecificationContentFromElement(XMLEventReader reader) { + // NOTE (mristin): + // We only peek the name, so that the whole element can be handed on to + // the reader which we select below. + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + switch (tryElementName.getResult()) { + case "dataSpecificationIec61360": + return readDataSpecificationIec61360FromElement(reader); + default: + return Reporting.Result.failure( + new Reporting.Error( + "Unexpected element with the name " + tryElementName.getResult())); + } + } + + /** + * Deserialize an instance of class EmbeddedDataSpecification from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readEmbeddedDataSpecificationFromSequence(XMLEventReader reader, boolean isEmptySequence) { + IReference theDataSpecification = null; + IDataSpecificationContent theDataSpecificationContent = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "dataSpecification": + { + if (theDataSpecification != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDataSpecification = value.getResult(); + } + break; + } + case "dataSpecificationContent": + { + if (theDataSpecificationContent != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + XmlCommon.readNestedElement( + reader, + isEmptyProperty, + _DeserializeImplementation::readIDataSpecificationContentFromElement); + if (value.isError()) { + valueError = value.getError(); + } else { + theDataSpecificationContent = value.getResult(); + } + break; + } + default: + return unexpectedProperty("EmbeddedDataSpecification", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theDataSpecification == null) { + return missingRequiredProperty("dataSpecification", "EmbeddedDataSpecification"); + } + + if (theDataSpecificationContent == null) { + return missingRequiredProperty("dataSpecificationContent", "EmbeddedDataSpecification"); + } + + return Reporting.Result.success( + new EmbeddedDataSpecification(theDataSpecification, theDataSpecificationContent)); + } + + /** Deserialize an instance of class EmbeddedDataSpecification from an XML element. */ + private static Reporting.Result + readEmbeddedDataSpecificationFromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "embeddedDataSpecification", + _DeserializeImplementation::readEmbeddedDataSpecificationFromSequence); + } + + /** + * Deserialize an instance of class LevelType from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readLevelTypeFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + Boolean theMin = null; + Boolean theNom = null; + Boolean theTyp = null; + Boolean theMax = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "min": + { + if (theMin != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMin = value.getResult(); + } + break; + } + case "nom": + { + if (theNom != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theNom = value.getResult(); + } + break; + } + case "typ": + { + if (theTyp != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theTyp = value.getResult(); + } + break; + } + case "max": + { + if (theMax != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_bool(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theMax = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LevelType", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theMin == null) { + return missingRequiredProperty("min", "LevelType"); + } + + if (theNom == null) { + return missingRequiredProperty("nom", "LevelType"); + } + + if (theTyp == null) { + return missingRequiredProperty("typ", "LevelType"); + } + + if (theMax == null) { + return missingRequiredProperty("max", "LevelType"); + } + + return Reporting.Result.success(new LevelType(theMin, theNom, theTyp, theMax)); + } + + /** Deserialize an instance of class LevelType from an XML element. */ + private static Reporting.Result readLevelTypeFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "levelType", _DeserializeImplementation::readLevelTypeFromSequence); + } + + /** + * Deserialize an instance of class ValueReferencePair from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readValueReferencePairFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theValue = null; + IReference theValueId = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "valueId": + { + if (theValueId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueId = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ValueReferencePair", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValue == null) { + return missingRequiredProperty("value", "ValueReferencePair"); + } + + return Reporting.Result.success(new ValueReferencePair(theValue, theValueId)); + } + + /** Deserialize an instance of class ValueReferencePair from an XML element. */ + private static Reporting.Result readValueReferencePairFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "valueReferencePair", + _DeserializeImplementation::readValueReferencePairFromSequence); + } + + /** + * Deserialize an instance of class ValueList from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result readValueListFromSequence( + XMLEventReader reader, boolean isEmptySequence) { + List theValueReferencePairs = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "valueReferencePairs": + { + if (theValueReferencePairs != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_IValueReferencePair(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueReferencePairs = value.getResult(); + } + break; + } + default: + return unexpectedProperty("ValueList", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theValueReferencePairs == null) { + return missingRequiredProperty("valueReferencePairs", "ValueList"); + } + + return Reporting.Result.success(new ValueList(theValueReferencePairs)); + } + + /** Deserialize an instance of class ValueList from an XML element. */ + private static Reporting.Result readValueListFromElement( + XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, "valueList", _DeserializeImplementation::readValueListFromSequence); + } + + /** + * Deserialize an instance of class LangStringPreferredNameTypeIec61360 from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readLangStringPreferredNameTypeIec61360FromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringPreferredNameTypeIec61360", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringPreferredNameTypeIec61360"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringPreferredNameTypeIec61360"); + } + + return Reporting.Result.success( + new LangStringPreferredNameTypeIec61360(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringPreferredNameTypeIec61360 from an XML element. */ + private static Reporting.Result + readLangStringPreferredNameTypeIec61360FromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringPreferredNameTypeIec61360", + _DeserializeImplementation::readLangStringPreferredNameTypeIec61360FromSequence); + } + + /** + * Deserialize an instance of class LangStringShortNameTypeIec61360 from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readLangStringShortNameTypeIec61360FromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringShortNameTypeIec61360", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringShortNameTypeIec61360"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringShortNameTypeIec61360"); + } + + return Reporting.Result.success(new LangStringShortNameTypeIec61360(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringShortNameTypeIec61360 from an XML element. */ + private static Reporting.Result + readLangStringShortNameTypeIec61360FromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringShortNameTypeIec61360", + _DeserializeImplementation::readLangStringShortNameTypeIec61360FromSequence); + } + + /** + * Deserialize an instance of class LangStringDefinitionTypeIec61360 from a sequence of XML + * elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readLangStringDefinitionTypeIec61360FromSequence( + XMLEventReader reader, boolean isEmptySequence) { + String theLanguage = null; + String theText = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "language": + { + if (theLanguage != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLanguage = value.getResult(); + } + break; + } + case "text": + { + if (theText != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theText = value.getResult(); + } + break; + } + default: + return unexpectedProperty("LangStringDefinitionTypeIec61360", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (theLanguage == null) { + return missingRequiredProperty("language", "LangStringDefinitionTypeIec61360"); + } + + if (theText == null) { + return missingRequiredProperty("text", "LangStringDefinitionTypeIec61360"); + } + + return Reporting.Result.success(new LangStringDefinitionTypeIec61360(theLanguage, theText)); + } + + /** Deserialize an instance of class LangStringDefinitionTypeIec61360 from an XML element. */ + private static Reporting.Result + readLangStringDefinitionTypeIec61360FromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "langStringDefinitionTypeIec61360", + _DeserializeImplementation::readLangStringDefinitionTypeIec61360FromSequence); + } + + /** + * Deserialize an instance of class DataSpecificationIec61360 from a sequence of XML elements. + * + *

If {@code isEmptySequence} is set, we should try to deserialize the instance from an empty + * sequence. That is, the parent element was a self-closing element. + */ + private static Reporting.Result + readDataSpecificationIec61360FromSequence(XMLEventReader reader, boolean isEmptySequence) { + List thePreferredName = null; + List theShortName = null; + String theUnit = null; + IReference theUnitId = null; + String theSourceOfDefinition = null; + String theSymbol = null; + DataTypeIec61360 theDataType = null; + List theDefinition = null; + String theValueFormat = null; + IValueList theValueList = null; + String theValue = null; + ILevelType theLevelType = null; + + if (!isEmptySequence) { + while (!atEndOfSequence(reader)) { + final Reporting.Result tryElementName = XmlCommon.peekElementName(reader); + if (tryElementName.isError()) { + return Reporting.Result.failure(tryElementName.getError()); + } + + final String elementName = tryElementName.getResult(); + final boolean isEmptyProperty = XmlCommon.isEmptyElement(reader); + + Reporting.Error valueError = null; + + switch (elementName) { + case "preferredName": + { + if (thePreferredName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringPreferredNameTypeIec61360(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + thePreferredName = value.getResult(); + } + break; + } + case "shortName": + { + if (theShortName != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringShortNameTypeIec61360(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theShortName = value.getResult(); + } + break; + } + case "unit": + { + if (theUnit != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theUnit = value.getResult(); + } + break; + } + case "unitId": + { + if (theUnitId != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readReferenceFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theUnitId = value.getResult(); + } + break; + } + case "sourceOfDefinition": + { + if (theSourceOfDefinition != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSourceOfDefinition = value.getResult(); + } + break; + } + case "symbol": + { + if (theSymbol != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theSymbol = value.getResult(); + } + break; + } + case "dataType": + { + if (theDataType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readTextAs_DataTypeIec61360(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDataType = value.getResult(); + } + break; + } + case "definition": + { + if (theDefinition != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result> value = + readListOf_ILangStringDefinitionTypeIec61360(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theDefinition = value.getResult(); + } + break; + } + case "valueFormat": + { + if (theValueFormat != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueFormat = value.getResult(); + } + break; + } + case "valueList": + { + if (theValueList != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readValueListFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValueList = value.getResult(); + } + break; + } + case "value": + { + if (theValue != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = readTextAs_string(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theValue = value.getResult(); + } + break; + } + case "levelType": + { + if (theLevelType != null) { + valueError = duplicatePropertyError(elementName); + break; + } + + final Reporting.Result value = + readLevelTypeFromSequence(reader, isEmptyProperty); + if (value.isError()) { + valueError = value.getError(); + } else { + theLevelType = value.getResult(); + } + break; + } + default: + return unexpectedProperty("DataSpecificationIec61360", elementName); + } + + if (valueError != null) { + valueError.prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(valueError); + } + + final Reporting.Result endResult = + XmlCommon.consumeEndElement(reader, elementName); + if (endResult.isError()) { + // NOTE (mristin): + // Whatever unexpected node precedes the end element still lies within + // the property. + endResult.getError().prependSegment(new Reporting.NameSegment(elementName)); + return Reporting.Result.failure(endResult.getError()); + } + } + } + + if (thePreferredName == null) { + return missingRequiredProperty("preferredName", "DataSpecificationIec61360"); + } + + return Reporting.Result.success( + new DataSpecificationIec61360( + thePreferredName, + theShortName, + theUnit, + theUnitId, + theSourceOfDefinition, + theSymbol, + theDataType, + theDefinition, + theValueFormat, + theValueList, + theValue, + theLevelType)); + } + + /** Deserialize an instance of class DataSpecificationIec61360 from an XML element. */ + private static Reporting.Result + readDataSpecificationIec61360FromElement(XMLEventReader reader) { + return XmlCommon.readNamedElement( + reader, + "dataSpecificationIec61360", + _DeserializeImplementation::readDataSpecificationIec61360FromSequence); + } + } + + /** Deserialize instances of meta-model classes from XML. */ + /** + * + * + *

+   * Here is an example how to parse an instance of class IHasSemantics:
+   * {@code
+   * XMLEventReader reader = xmlFactory.createXMLEventReader(...some arguments...);
+   * IHasSemantics anInstance = Deserialize.deserializeIHasSemantics(
+   *   reader);
+   * }
+   * 
+ * + *
+   * If the elements live in a namespace, you have to supply it. For example:
+   * {@code
+   * XMLEventReader reader = xmlFactory.createXMLEventReader(...some arguments...);
+   * IHasSemantics anInstance = Deserialize.deserializeIHasSemantics(
+   *   reader,
+   *   "http://www.example.com/5/12");
+   * }
+   * 
+ */ + public static class Deserialize { + /** + * Deserialize an instance of IHasSemantics from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IHasSemantics deserializeIHasSemantics(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIHasSemanticsFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Extension from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Extension deserializeExtension(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readExtensionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasExtensions from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IHasExtensions deserializeIHasExtensions(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIHasExtensionsFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IReferable from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IReferable deserializeIReferable(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIReferableFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IIdentifiable from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IIdentifiable deserializeIIdentifiable(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIIdentifiableFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasKind from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IHasKind deserializeIHasKind(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIHasKindFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IHasDataSpecification from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IHasDataSpecification deserializeIHasDataSpecification(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIHasDataSpecificationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AdministrativeInformation from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AdministrativeInformation deserializeAdministrativeInformation( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAdministrativeInformationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IQualifiable from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IQualifiable deserializeIQualifiable(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIQualifiableFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Qualifier from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Qualifier deserializeQualifier(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readQualifierFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetAdministrationShell from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AssetAdministrationShell deserializeAssetAdministrationShell( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAssetAdministrationShellFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AssetInformation from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AssetInformation deserializeAssetInformation(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAssetInformationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Resource from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Resource deserializeResource(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readResourceFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SpecificAssetId from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SpecificAssetId deserializeSpecificAssetId(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSpecificAssetIdFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Submodel from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Submodel deserializeSubmodel(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ISubmodelElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ISubmodelElement deserializeISubmodelElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readISubmodelElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IRelationshipElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IRelationshipElement deserializeIRelationshipElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIRelationshipElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of RelationshipElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static RelationshipElement deserializeRelationshipElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRelationshipElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementList from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelElementList deserializeSubmodelElementList(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelElementListFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of SubmodelElementCollection from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static SubmodelElementCollection deserializeSubmodelElementCollection( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readSubmodelElementCollectionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDataElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IDataElement deserializeIDataElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIDataElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Property from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Property deserializeProperty(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readPropertyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of MultiLanguageProperty from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static MultiLanguageProperty deserializeMultiLanguageProperty(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readMultiLanguagePropertyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Range from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Range deserializeRange(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readRangeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ReferenceElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ReferenceElement deserializeReferenceElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readReferenceElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Blob from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Blob deserializeBlob(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBlobFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of File from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static File deserializeFile(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readFileFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of AnnotatedRelationshipElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static AnnotatedRelationshipElement deserializeAnnotatedRelationshipElement( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readAnnotatedRelationshipElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Entity from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Entity deserializeEntity(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEntityFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EventPayload from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static EventPayload deserializeEventPayload(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEventPayloadFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IEventElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IEventElement deserializeIEventElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIEventElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of BasicEventElement from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static BasicEventElement deserializeBasicEventElement(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readBasicEventElementFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Operation from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Operation deserializeOperation(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of OperationVariable from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static OperationVariable deserializeOperationVariable(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readOperationVariableFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Capability from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Capability deserializeCapability(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readCapabilityFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ConceptDescription from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ConceptDescription deserializeConceptDescription(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readConceptDescriptionFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Reference from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Reference deserializeReference(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readReferenceFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Key from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Key deserializeKey(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readKeyFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IAbstractLangString from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IAbstractLangString deserializeIAbstractLangString(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIAbstractLangStringFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringNameType from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringNameType deserializeLangStringNameType(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringNameTypeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringTextType from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringTextType deserializeLangStringTextType(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringTextTypeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of Environment from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static Environment deserializeEnvironment(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEnvironmentFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of IDataSpecificationContent from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static IDataSpecificationContent deserializeIDataSpecificationContent( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readIDataSpecificationContentFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of EmbeddedDataSpecification from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static EmbeddedDataSpecification deserializeEmbeddedDataSpecification( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readEmbeddedDataSpecificationFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LevelType from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LevelType deserializeLevelType(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLevelTypeFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ValueReferencePair from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ValueReferencePair deserializeValueReferencePair(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readValueReferencePairFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of ValueList from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static ValueList deserializeValueList(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readValueListFromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringPreferredNameTypeIec61360 from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringPreferredNameTypeIec61360 + deserializeLangStringPreferredNameTypeIec61360(XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringPreferredNameTypeIec61360FromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringShortNameTypeIec61360 from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringShortNameTypeIec61360 deserializeLangStringShortNameTypeIec61360( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringShortNameTypeIec61360FromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of LangStringDefinitionTypeIec61360 from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static LangStringDefinitionTypeIec61360 deserializeLangStringDefinitionTypeIec61360( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readLangStringDefinitionTypeIec61360FromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + + /** + * Deserialize an instance of DataSpecificationIec61360 from {@code reader}. + * + * @param reader Initialized XML reader with reader.peek() set to the element + */ + public static DataSpecificationIec61360 deserializeDataSpecificationIec61360( + XMLEventReader reader) { + + _DeserializeImplementation.skipStartDocument(reader); + XmlCommon.skipWhitespaceAndComments(reader); + + // NOTE (mristin): + // The path starts at the root element as it is in the document, which + // might well be another element than the expected one. + final String rootElementName = + (XmlCommon.currentEvent(reader).isStartElement() + ? XmlCommon.currentEvent(reader).asStartElement().getName().getLocalPart() + : null); + + Reporting.Result result = + _DeserializeImplementation.readDataSpecificationIec61360FromElement(reader); + + return result.onError( + error -> { + if (rootElementName != null) { + error.prependSegment(new Reporting.NameSegment(rootElementName)); + } + throw new XmlCommon.DeserializeException( + Reporting.generateRelativeXPath(error.getPathSegments()), error.getCause()); + }); + } + } + + /** Serialize recursively the instances as XML elements. */ + static class _VisitorWithWriter extends AbstractVisitorWithContext { + + /** + * Declare the XML namespace on the element which this visitor writes. + * + *

Only the outermost element carries the declaration. The obvious alternative -- a flag + * cleared once the first element has been written -- would be mutable state, and state forces + * every method of this class to be an instance method, which in turn makes every method + * reference to it capture {@code this} and allocate. Pinning the flag in the constructor + * instead costs one visitor per case, allocated once for the whole program, and lets everything + * else here be {@code static}. + */ + private final boolean withNamespace; + + private _VisitorWithWriter(boolean withNamespace) { + this.withNamespace = withNamespace; + } + + /** Write the outermost element, which declares the XML namespace. */ + private static final _VisitorWithWriter ROOT = new _VisitorWithWriter(true); + + /** Write an element nested in another one, which never re-declares the XML namespace. */ + private static final _VisitorWithWriter NESTED = new _VisitorWithWriter(false); + + /** + * Write {@code that} as the XML element of a property called {@code name}. + * + *

This is {@link #writeElement} plus the one thing a property knows which nothing below it + * does: its own name. Prepending it here, once, saves a {@code try} around every one of the + * property writes. + * + *

The path names the getter, and not the XML element: a serialization error is reported on + * an instance, which the caller holds, and not on a document which has not been + * written yet. + */ + private static void writeProperty( + String name, + String getterName, + T that, + XMLStreamWriter writer, + XmlCommon.ContentWriter writeContent) { + try { + XmlCommon.writeElement(name, that, writer, writeContent); + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.NameSegment(getterName)); + throw failure; + } + } + + /** + * Write {@code that} as the XML element of a property called {@code name} if it has been given, + * and write nothing at all otherwise. + * + *

The {@link Optional} is taken apart here, once, instead of at every optional property: + * asking it and then unwrapping it at the call site would call the getter twice, and every call + * allocates an {@link Optional} of its own. + */ + private static void writeOptionalProperty( + String name, + String getterName, + Optional that, + XMLStreamWriter writer, + XmlCommon.ContentWriter writeContent) { + final T value = that.orElse(null); + if (value != null) { + writeProperty(name, getterName, value, writer, writeContent); + } + } + + /** + * Write {@code that} as its own, self-describing XML element. + * + *

Which element that is, is decided by the run-time type of {@code that}, so this one writer + * serves every abstract class, every concrete class with descendants, and the item of a list or + * of a tuple of any class at all. The reading, which has to decide what to construct before it + * has read anything, needs a dispatcher per interface instead. + * + *

An element written from here is nested in another one by construction, so it goes through + * the visitor which does not re-declare the XML namespace. + */ + private static void writeClass(IClass that, XMLStreamWriter writer) { + NESTED.visit(that, writer); + } + + /** + * Write {@code that} as base64-encoded XML content. + * + *

This is the {@link ContentWriter} of every {@code byte[]}-typed value, be it a property, a + * list item or a tuple item. + */ + private static void writeByteArrayContent(byte[] that, XMLStreamWriter writer) + throws XMLStreamException { + writer.writeCharacters(Base64.getEncoder().encodeToString(that)); + } + + /** + * Write the text of {@code that} as XML content. + * + *

This is the {@link ContentWriter} of every enumeration-typed value, be it a property, a + * list item or a tuple item. There is one writer, and not one per enumeration, since a literal + * carries its own text -- see {@link IEnum#literalText()} -- so nothing here is specific to an + * enumeration. + */ + private static void writeEnum(IEnum that, XMLStreamWriter writer) throws XMLStreamException { + writer.writeCharacters(that.literalText()); + } + + private static void writeListOf_IClass(List that, XMLStreamWriter writer) { + int index = 0; + try { + for (IClass item : that) { + writeClass(item, writer); + index++; + } + } catch (XmlCommon.SerializeFailure failure) { + failure.getError().prependSegment(new Reporting.IndexSegment(index)); + throw failure; + } + } + + private static void writeExtensionAsSequence(IExtension that, XMLStreamWriter writer) { + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "name", "getName()", that.getName(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "refersTo", + "getRefersTo()", + that.getRefersTo(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitExtension(IExtension that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "extension", that, writer, withNamespace, _VisitorWithWriter::writeExtensionAsSequence); + } + + private static void writeAdministrativeInformationAsSequence( + IAdministrativeInformation that, XMLStreamWriter writer) { + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "version", "getVersion()", that.getVersion(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "revision", + "getRevision()", + that.getRevision(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "creator", + "getCreator()", + that.getCreator(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "templateId", + "getTemplateId()", + that.getTemplateId(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitAdministrativeInformation( + IAdministrativeInformation that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "administrativeInformation", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + } + + private static void writeQualifierAsSequence(IQualifier that, XMLStreamWriter writer) { + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "kind", "getKind()", that.getKind(), writer, _VisitorWithWriter::writeEnum); + + writeProperty( + "type", "getType()", that.getType(), writer, XmlCommon::writeStringifiedContent); + + writeProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueId", + "getValueId()", + that.getValueId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitQualifier(IQualifier that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "qualifier", that, writer, withNamespace, _VisitorWithWriter::writeQualifierAsSequence); + } + + private static void writeAssetAdministrationShellAsSequence( + IAssetAdministrationShell that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "derivedFrom", + "getDerivedFrom()", + that.getDerivedFrom(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "assetInformation", + "getAssetInformation()", + that.getAssetInformation(), + writer, + _VisitorWithWriter::writeAssetInformationAsSequence); + + writeOptionalProperty( + "submodels", + "getSubmodels()", + that.getSubmodels(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitAssetAdministrationShell( + IAssetAdministrationShell that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "assetAdministrationShell", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAssetAdministrationShellAsSequence); + } + + private static void writeAssetInformationAsSequence( + IAssetInformation that, XMLStreamWriter writer) { + writeProperty( + "assetKind", + "getAssetKind()", + that.getAssetKind(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "assetType", + "getAssetType()", + that.getAssetType(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "defaultThumbnail", + "getDefaultThumbnail()", + that.getDefaultThumbnail(), + writer, + _VisitorWithWriter::writeResourceAsSequence); + } + + @Override + public void visitAssetInformation(IAssetInformation that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "assetInformation", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAssetInformationAsSequence); + } + + private static void writeResourceAsSequence(IResource that, XMLStreamWriter writer) { + writeProperty( + "path", "getPath()", that.getPath(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "contentType", + "getContentType()", + that.getContentType(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitResource(IResource that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "resource", that, writer, withNamespace, _VisitorWithWriter::writeResourceAsSequence); + } + + private static void writeSpecificAssetIdAsSequence( + ISpecificAssetId that, XMLStreamWriter writer) { + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "name", "getName()", that.getName(), writer, XmlCommon::writeStringifiedContent); + + writeProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "externalSubjectId", + "getExternalSubjectId()", + that.getExternalSubjectId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitSpecificAssetId(ISpecificAssetId that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "specificAssetId", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSpecificAssetIdAsSequence); + } + + private static void writeSubmodelAsSequence(ISubmodel that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "kind", "getKind()", that.getKind(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "submodelElements", + "getSubmodelElements()", + that.getSubmodelElements(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodel(ISubmodel that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodel", that, writer, withNamespace, _VisitorWithWriter::writeSubmodelAsSequence); + } + + private static void writeRelationshipElementAsSequence( + IRelationshipElement that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "first", + "getFirst()", + that.getFirst(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "second", + "getSecond()", + that.getSecond(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitRelationshipElement(IRelationshipElement that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "relationshipElement", + that, + writer, + withNamespace, + _VisitorWithWriter::writeRelationshipElementAsSequence); + } + + private static void writeSubmodelElementListAsSequence( + ISubmodelElementList that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "orderRelevant", + "getOrderRelevant()", + that.getOrderRelevant(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "semanticIdListElement", + "getSemanticIdListElement()", + that.getSemanticIdListElement(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "typeValueListElement", + "getTypeValueListElement()", + that.getTypeValueListElement(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "valueTypeListElement", + "getValueTypeListElement()", + that.getValueTypeListElement(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodelElementList(ISubmodelElementList that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelElementList", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelElementListAsSequence); + } + + private static void writeSubmodelElementCollectionAsSequence( + ISubmodelElementCollection that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitSubmodelElementCollection( + ISubmodelElementCollection that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "submodelElementCollection", + that, + writer, + withNamespace, + _VisitorWithWriter::writeSubmodelElementCollectionAsSequence); + } + + private static void writePropertyAsSequence(IProperty that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueId", + "getValueId()", + that.getValueId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitProperty(IProperty that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "property", that, writer, withNamespace, _VisitorWithWriter::writePropertyAsSequence); + } + + private static void writeMultiLanguagePropertyAsSequence( + IMultiLanguageProperty that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "valueId", + "getValueId()", + that.getValueId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitMultiLanguageProperty(IMultiLanguageProperty that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "multiLanguageProperty", + that, + writer, + withNamespace, + _VisitorWithWriter::writeMultiLanguagePropertyAsSequence); + } + + private static void writeRangeAsSequence(IRange that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "valueType", + "getValueType()", + that.getValueType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "min", "getMin()", that.getMin(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "max", "getMax()", that.getMax(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitRange(IRange that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "range", that, writer, withNamespace, _VisitorWithWriter::writeRangeAsSequence); + } + + private static void writeReferenceElementAsSequence( + IReferenceElement that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", + "getValue()", + that.getValue(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitReferenceElement(IReferenceElement that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "referenceElement", + that, + writer, + withNamespace, + _VisitorWithWriter::writeReferenceElementAsSequence); + } + + private static void writeBlobAsSequence(IBlob that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", + "getValue()", + that.getValue(), + writer, + _VisitorWithWriter::writeByteArrayContent); + + writeOptionalProperty( + "contentType", + "getContentType()", + that.getContentType(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitBlob(IBlob that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "blob", that, writer, withNamespace, _VisitorWithWriter::writeBlobAsSequence); + } + + private static void writeFileAsSequence(IFile that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "contentType", + "getContentType()", + that.getContentType(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitFile(IFile that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "file", that, writer, withNamespace, _VisitorWithWriter::writeFileAsSequence); + } + + private static void writeAnnotatedRelationshipElementAsSequence( + IAnnotatedRelationshipElement that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "first", + "getFirst()", + that.getFirst(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "second", + "getSecond()", + that.getSecond(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "annotations", + "getAnnotations()", + that.getAnnotations(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "annotatedRelationshipElement", + that, + writer, + withNamespace, + _VisitorWithWriter::writeAnnotatedRelationshipElementAsSequence); + } + + private static void writeEntityAsSequence(IEntity that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "statements", + "getStatements()", + that.getStatements(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "entityType", + "getEntityType()", + that.getEntityType(), + writer, + _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "globalAssetId", + "getGlobalAssetId()", + that.getGlobalAssetId(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "specificAssetIds", + "getSpecificAssetIds()", + that.getSpecificAssetIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitEntity(IEntity that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "entity", that, writer, withNamespace, _VisitorWithWriter::writeEntityAsSequence); + } + + private static void writeEventPayloadAsSequence(IEventPayload that, XMLStreamWriter writer) { + writeProperty( + "source", + "getSource()", + that.getSource(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "sourceSemanticId", + "getSourceSemanticId()", + that.getSourceSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "observableReference", + "getObservableReference()", + that.getObservableReference(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "observableSemanticId", + "getObservableSemanticId()", + that.getObservableSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "topic", "getTopic()", that.getTopic(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "subjectId", + "getSubjectId()", + that.getSubjectId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "timeStamp", + "getTimeStamp()", + that.getTimeStamp(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "payload", + "getPayload()", + that.getPayload(), + writer, + _VisitorWithWriter::writeByteArrayContent); + } + + @Override + public void visitEventPayload(IEventPayload that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "eventPayload", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEventPayloadAsSequence); + } + + private static void writeBasicEventElementAsSequence( + IBasicEventElement that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeProperty( + "observed", + "getObserved()", + that.getObserved(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "direction", + "getDirection()", + that.getDirection(), + writer, + _VisitorWithWriter::writeEnum); + + writeProperty("state", "getState()", that.getState(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "messageTopic", + "getMessageTopic()", + that.getMessageTopic(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "messageBroker", + "getMessageBroker()", + that.getMessageBroker(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "lastUpdate", + "getLastUpdate()", + that.getLastUpdate(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "minInterval", + "getMinInterval()", + that.getMinInterval(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "maxInterval", + "getMaxInterval()", + that.getMaxInterval(), + writer, + XmlCommon::writeStringifiedContent); + } + + @Override + public void visitBasicEventElement(IBasicEventElement that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "basicEventElement", + that, + writer, + withNamespace, + _VisitorWithWriter::writeBasicEventElementAsSequence); + } + + private static void writeOperationAsSequence(IOperation that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "inputVariables", + "getInputVariables()", + that.getInputVariables(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "outputVariables", + "getOutputVariables()", + that.getOutputVariables(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "inoutputVariables", + "getInoutputVariables()", + that.getInoutputVariables(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitOperation(IOperation that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operation", that, writer, withNamespace, _VisitorWithWriter::writeOperationAsSequence); + } + + private static void writeOperationVariableAsSequence( + IOperationVariable that, XMLStreamWriter writer) { + writeProperty("value", "getValue()", that.getValue(), writer, _VisitorWithWriter::writeClass); + } + + @Override + public void visitOperationVariable(IOperationVariable that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "operationVariable", + that, + writer, + withNamespace, + _VisitorWithWriter::writeOperationVariableAsSequence); + } + + private static void writeCapabilityAsSequence(ICapability that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "semanticId", + "getSemanticId()", + that.getSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "supplementalSemanticIds", + "getSupplementalSemanticIds()", + that.getSupplementalSemanticIds(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "qualifiers", + "getQualifiers()", + that.getQualifiers(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitCapability(ICapability that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "capability", that, writer, withNamespace, _VisitorWithWriter::writeCapabilityAsSequence); + } + + private static void writeConceptDescriptionAsSequence( + IConceptDescription that, XMLStreamWriter writer) { + writeOptionalProperty( + "extensions", + "getExtensions()", + that.getExtensions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "category", + "getCategory()", + that.getCategory(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "idShort", "getIdShort()", that.getIdShort(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "displayName", + "getDisplayName()", + that.getDisplayName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "description", + "getDescription()", + that.getDescription(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "administration", + "getAdministration()", + that.getAdministration(), + writer, + _VisitorWithWriter::writeAdministrativeInformationAsSequence); + + writeProperty("id", "getId()", that.getId(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "embeddedDataSpecifications", + "getEmbeddedDataSpecifications()", + that.getEmbeddedDataSpecifications(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "isCaseOf", + "getIsCaseOf()", + that.getIsCaseOf(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitConceptDescription(IConceptDescription that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "conceptDescription", + that, + writer, + withNamespace, + _VisitorWithWriter::writeConceptDescriptionAsSequence); + } + + private static void writeReferenceAsSequence(IReference that, XMLStreamWriter writer) { + writeProperty("type", "getType()", that.getType(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "referredSemanticId", + "getReferredSemanticId()", + that.getReferredSemanticId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "keys", "getKeys()", that.getKeys(), writer, _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitReference(IReference that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "reference", that, writer, withNamespace, _VisitorWithWriter::writeReferenceAsSequence); + } + + private static void writeKeyAsSequence(IKey that, XMLStreamWriter writer) { + writeProperty("type", "getType()", that.getType(), writer, _VisitorWithWriter::writeEnum); + + writeProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitKey(IKey that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "key", that, writer, withNamespace, _VisitorWithWriter::writeKeyAsSequence); + } + + private static void writeLangStringNameTypeAsSequence( + ILangStringNameType that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringNameType(ILangStringNameType that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringNameType", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringNameTypeAsSequence); + } + + private static void writeLangStringTextTypeAsSequence( + ILangStringTextType that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringTextType(ILangStringTextType that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringTextType", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringTextTypeAsSequence); + } + + private static void writeEnvironmentAsSequence(IEnvironment that, XMLStreamWriter writer) { + writeOptionalProperty( + "assetAdministrationShells", + "getAssetAdministrationShells()", + that.getAssetAdministrationShells(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "submodels", + "getSubmodels()", + that.getSubmodels(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "conceptDescriptions", + "getConceptDescriptions()", + that.getConceptDescriptions(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitEnvironment(IEnvironment that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "environment", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEnvironmentAsSequence); + } + + private static void writeEmbeddedDataSpecificationAsSequence( + IEmbeddedDataSpecification that, XMLStreamWriter writer) { + writeProperty( + "dataSpecification", + "getDataSpecification()", + that.getDataSpecification(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeProperty( + "dataSpecificationContent", + "getDataSpecificationContent()", + that.getDataSpecificationContent(), + writer, + _VisitorWithWriter::writeClass); + } + + @Override + public void visitEmbeddedDataSpecification( + IEmbeddedDataSpecification that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "embeddedDataSpecification", + that, + writer, + withNamespace, + _VisitorWithWriter::writeEmbeddedDataSpecificationAsSequence); + } + + private static void writeLevelTypeAsSequence(ILevelType that, XMLStreamWriter writer) { + writeProperty("min", "getMin()", that.getMin(), writer, XmlCommon::writeStringifiedContent); + + writeProperty("nom", "getNom()", that.getNom(), writer, XmlCommon::writeStringifiedContent); + + writeProperty("typ", "getTyp()", that.getTyp(), writer, XmlCommon::writeStringifiedContent); + + writeProperty("max", "getMax()", that.getMax(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLevelType(ILevelType that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "levelType", that, writer, withNamespace, _VisitorWithWriter::writeLevelTypeAsSequence); + } + + private static void writeValueReferencePairAsSequence( + IValueReferencePair that, XMLStreamWriter writer) { + writeProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueId", + "getValueId()", + that.getValueId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + } + + @Override + public void visitValueReferencePair(IValueReferencePair that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "valueReferencePair", + that, + writer, + withNamespace, + _VisitorWithWriter::writeValueReferencePairAsSequence); + } + + private static void writeValueListAsSequence(IValueList that, XMLStreamWriter writer) { + writeProperty( + "valueReferencePairs", + "getValueReferencePairs()", + that.getValueReferencePairs(), + writer, + _VisitorWithWriter::writeListOf_IClass); + } + + @Override + public void visitValueList(IValueList that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "valueList", that, writer, withNamespace, _VisitorWithWriter::writeValueListAsSequence); + } + + private static void writeLangStringPreferredNameTypeIec61360AsSequence( + ILangStringPreferredNameTypeIec61360 that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringPreferredNameTypeIec61360", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringPreferredNameTypeIec61360AsSequence); + } + + private static void writeLangStringShortNameTypeIec61360AsSequence( + ILangStringShortNameTypeIec61360 that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringShortNameTypeIec61360", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringShortNameTypeIec61360AsSequence); + } + + private static void writeLangStringDefinitionTypeIec61360AsSequence( + ILangStringDefinitionTypeIec61360 that, XMLStreamWriter writer) { + writeProperty( + "language", + "getLanguage()", + that.getLanguage(), + writer, + XmlCommon::writeStringifiedContent); + + writeProperty( + "text", "getText()", that.getText(), writer, XmlCommon::writeStringifiedContent); + } + + @Override + public void visitLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "langStringDefinitionTypeIec61360", + that, + writer, + withNamespace, + _VisitorWithWriter::writeLangStringDefinitionTypeIec61360AsSequence); + } + + private static void writeDataSpecificationIec61360AsSequence( + IDataSpecificationIec61360 that, XMLStreamWriter writer) { + writeProperty( + "preferredName", + "getPreferredName()", + that.getPreferredName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "shortName", + "getShortName()", + that.getShortName(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "unit", "getUnit()", that.getUnit(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "unitId", + "getUnitId()", + that.getUnitId(), + writer, + _VisitorWithWriter::writeReferenceAsSequence); + + writeOptionalProperty( + "sourceOfDefinition", + "getSourceOfDefinition()", + that.getSourceOfDefinition(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "symbol", "getSymbol()", that.getSymbol(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "dataType", "getDataType()", that.getDataType(), writer, _VisitorWithWriter::writeEnum); + + writeOptionalProperty( + "definition", + "getDefinition()", + that.getDefinition(), + writer, + _VisitorWithWriter::writeListOf_IClass); + + writeOptionalProperty( + "valueFormat", + "getValueFormat()", + that.getValueFormat(), + writer, + XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "valueList", + "getValueList()", + that.getValueList(), + writer, + _VisitorWithWriter::writeValueListAsSequence); + + writeOptionalProperty( + "value", "getValue()", that.getValue(), writer, XmlCommon::writeStringifiedContent); + + writeOptionalProperty( + "levelType", + "getLevelType()", + that.getLevelType(), + writer, + _VisitorWithWriter::writeLevelTypeAsSequence); + } + + @Override + public void visitDataSpecificationIec61360( + IDataSpecificationIec61360 that, XMLStreamWriter writer) { + XmlCommon.writeElement( + "dataSpecificationIec61360", + that, + writer, + withNamespace, + _VisitorWithWriter::writeDataSpecificationIec61360AsSequence); + } + } + + /** Serialize instances of meta-model classes to XML. */ + /** + * + * + *

+   * Here is an example how to serialize an instance of IHasSemantics:
+   * {@code
+   * IClass anInstance = new IHasSemantics(
+   *     ... some constructor arguments ...
+   * );
+   * XMLStreamWriter writer = xmlWriterFactory.createXMLStreamWriter(...some arguments...);
+   * Serialize.to(
+   *   anInstance,
+   *   writer);
+   * }
+   * 
+ */ + public static class Serialize { + /** + * Serialize an instance of the meta-model to XML. + * + *

{@code writer} is flushed exactly once, here at the end. Nothing is flushed in-between, + * which is what lets {@link XMLStreamWriter} buffer, and the single flush at the end is what + * lets a failure of the underlying stream be reported as a {@link XmlCommon.SerializeException} + * from this method -- were it left to the caller, the failure would surface at their own flush, + * after the serialization has long returned. + * + *

The path of a {@link XmlCommon.SerializeException} is rendered as a Java access path, and + * not as the relative XPath the de-serialization reports: the caller invoked this on an + * instance, and not on a document, which has not been written yet. It names the + * getters and the indices leading to the culprit, so that {@code + * getSubmodelElements().get(0).getValue()} can be pasted as it stands. The outermost element is + * deliberately not named, as this method takes any {@link IClass} and the name would say + * nothing the caller does not already know. + */ + public static void to(IClass that, XMLStreamWriter writer) throws XmlCommon.SerializeException { + try { + _VisitorWithWriter.ROOT.visit(that, writer); + writer.flush(); + } catch (XMLStreamException exception) { + throw new XmlCommon.SerializeException("", exception.getMessage()); + } catch (XmlCommon.SerializeFailure failure) { + final Reporting.Error error = failure.getError(); + throw new XmlCommon.SerializeException( + Reporting.generateJavaPath(error.getPathSegments()), error.getCause()); + } + } + } +} + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/Common.java b/src/test/java/Common.java new file mode 100644 index 00000000..e3f88a7e --- /dev/null +++ b/src/test/java/Common.java @@ -0,0 +1,153 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.fail; + +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.types.model.IClass; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.List; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +/** + * Provide common functionality to be re-used across different tests such as reading of environment + * variables. + */ +public class Common { + public static String TEST_DATA_DIR = Paths.get("test_data").toAbsolutePath().toString(); + + public static final String RECORD_MODE_ENVIRONMENT_VARIABLE_NAME = + "AAS_CORE_AAS3_1_TESTS_RECORD_MODE"; + + // NOTE (empwilli): + // It is tedious to record manually all the expected error messages. + // Therefore we include this variable to steer the automatic recording. + // We intentionally inter-twine the recording code with the test code + // to keep them close to each other so that they are easier to maintain. + public static final boolean RECORD_MODE = + System.getenv("AAS_CORE_AAS3_1_TESTS_RECORD_MODE") != null + && (System.getenv(RECORD_MODE_ENVIRONMENT_VARIABLE_NAME).equalsIgnoreCase("true") + || System.getenv(RECORD_MODE_ENVIRONMENT_VARIABLE_NAME).equalsIgnoreCase("on") + || System.getenv(RECORD_MODE_ENVIRONMENT_VARIABLE_NAME).equalsIgnoreCase("1") + || System.getenv(RECORD_MODE_ENVIRONMENT_VARIABLE_NAME).equalsIgnoreCase("yes")); + + @SuppressWarnings("unchecked") + public static T mustFind(IClass container, Class type) { + if (type.isInstance(container)) { + return type.cast(container); + } + for (IClass current : container.descend()) { + if (type.isInstance(current)) { + return type.cast(current); + } + } + throw new IllegalStateException("No instance of " + type.getSimpleName() + " could be found"); + } + + public static List findPaths(Path path, String fileExtension) throws IOException { + if (!Files.isDirectory(path)) { + throw new IllegalArgumentException("Path must be a directory!"); + } + + List result; + try (Stream walk = Files.walk(path)) { + result = + walk.filter(p -> !Files.isDirectory(p)) + .filter(f -> f.toString().endsWith(fileExtension)) + .collect(Collectors.toList()); + } + return result; + } + + public static List findDirs(Path path) throws IOException { + if (!Files.isDirectory(path)) { + throw new IllegalArgumentException("Path must be a directory!"); + } + + List result; + try (Stream walk = Files.walk(path)) { + result = walk.filter(p -> Files.isDirectory(p)).collect(Collectors.toList()); + } + return result; + } + + public static List asList(Iterable iterable) { + return StreamSupport.stream(iterable.spliterator(), false).collect(Collectors.toList()); + } + + public static void assertNoVerificationErrors(List errors, Path path) { + if (!errors.isEmpty()) { + StringBuilder stringBuilder = new StringBuilder(); + stringBuilder + .append("Expected no errors when verifying the instance de-serialized from ") + .append(path.toString()) + .append(", ") + .append("but got ") + .append(errors.size()) + .append(" error(s):") + .append(System.lineSeparator()); + for (Reporting.Error error : errors) { + stringBuilder + .append(Reporting.generateJsonPath(error.getPathSegments())) + .append(": ") + .append(error.getCause()); + } + fail(stringBuilder.toString()); + } + } + + public static void assertEqualsExpectedOrRerecordVerificationErrors( + List errors, Path path) throws IOException { + if (errors.isEmpty()) { + fail("Expected at least one verification error when verifying " + path + ", but got none"); + } + final String got = + errors.stream() + .map( + error -> + Reporting.generateJsonPath(error.getPathSegments()) + ": " + error.getCause()) + .collect(Collectors.joining(";\n")); + final Path errorsPath = Paths.get(path + ".errors"); + if (RECORD_MODE) { + Files.write(errorsPath, got.getBytes(StandardCharsets.UTF_8)); + } else { + if (!Files.exists(errorsPath)) { + throw new FileNotFoundException( + "The file with the recorded errors does not exist: " + + errorsPath + + "; maybe you want to set the environment variable " + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME); + } + final String expected = String.join("\n", Files.readAllLines(errorsPath)); + assertEquals( + expected, + got, + "The expected verification errors do not match the actual ones for the file " + path); + } + } + + public static String trace(IClass instance) { + return instance.getClass().getName(); + } +} // class Common + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/CommonJson.java b/src/test/java/CommonJson.java new file mode 100644 index 00000000..25f1f1b6 --- /dev/null +++ b/src/test/java/CommonJson.java @@ -0,0 +1,100 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import aas_core.aas3_1.jsonization.Jsonization; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import com.fasterxml.jackson.core.JsonParseException; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.*; +import java.io.IOException; +import java.nio.file.Path; + +public final class CommonJson { + public static JsonNode readFromFile(Path path) { + final ObjectMapper objectMapper = new ObjectMapper(); + + JsonNode node; + try { + node = objectMapper.readTree(path.toFile()); + } catch (JsonParseException exception) { + throw new IllegalStateException( + "Expected the file to be a valid JSON, but it was not: " + + path + + "; exception was: " + + exception); + } catch (JsonProcessingException exception) { + throw new IllegalStateException( + "Expected the file to be a valid JSON, but it was not: " + + path + + "; exception was: " + + exception); + } catch (IOException exception) { + throw new IllegalStateException( + "Expected the file to be a valid JSON, but it was not: " + + path + + "; exception was: " + + exception); + } + return node; + } + + /** + * Serialize something to a uniform JSON text such that we can use it for comparisons in the + * tests. + */ + public static JsonNode toJson(Object something) { + if (something instanceof Boolean) { + return BooleanNode.valueOf((Boolean) something); + } else if (something instanceof Integer) { + return IntNode.valueOf((Integer) something); + } else if (something instanceof Double) { + return DoubleNode.valueOf((Double) something); + } else if (something instanceof String) { + return TextNode.valueOf((String) something); + } else if (something instanceof byte[]) { + return BinaryNode.valueOf((byte[]) something); + } else if (something instanceof IClass) { + return Jsonization.Serialize.toJsonObject((IClass) something); + } else if (something instanceof JsonNode) { + return (JsonNode) something; + } else { + throw new IllegalArgumentException( + "The conversion of type " + + something.getClass().toString() + + " to a JSON node has not been defined: " + + something.toString()); + } + } + + /** Infer the node kind of the JSON node. */ + // TODO check whether this is really necessary + private static String getNodeKind(JsonNode node) { + if (node.isArray()) { + return "array"; + } else if (node.isObject()) { + return "object"; + } else if (node.isValueNode()) { + return "value"; + } else { + throw new IllegalStateException("Unhandled JsonNode: " + node.getNodeType().toString()); + } + } +} // public final class CommonJson + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/CommonJsonization.java b/src/test/java/CommonJsonization.java new file mode 100644 index 00000000..08cfc68f --- /dev/null +++ b/src/test/java/CommonJsonization.java @@ -0,0 +1,773 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import aas_core.aas3_1.jsonization.Jsonization; +import aas_core.aas3_1.types.impl.*; +import com.fasterxml.jackson.databind.JsonNode; +import java.io.IOException; +import java.nio.file.Path; +import java.nio.file.Paths; + +/** Provide methods to load instances from JSON test data. */ +public final class CommonJsonization { + public static Extension loadMaximalExtension() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Extension", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeExtension(node); + } // public static Extension loadMaximalExtension + + public static Extension loadMinimalExtension() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Extension", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeExtension(node); + } // public static Extension loadMinimalExtension + + public static AdministrativeInformation loadMaximalAdministrativeInformation() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "AdministrativeInformation", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAdministrativeInformation(node); + } // public static AdministrativeInformation loadMaximalAdministrativeInformation + + public static AdministrativeInformation loadMinimalAdministrativeInformation() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "AdministrativeInformation", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAdministrativeInformation(node); + } // public static AdministrativeInformation loadMinimalAdministrativeInformation + + public static Qualifier loadMaximalQualifier() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Qualifier", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeQualifier(node); + } // public static Qualifier loadMaximalQualifier + + public static Qualifier loadMinimalQualifier() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Qualifier", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeQualifier(node); + } // public static Qualifier loadMinimalQualifier + + public static AssetAdministrationShell loadMaximalAssetAdministrationShell() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShell", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + } // public static AssetAdministrationShell loadMaximalAssetAdministrationShell + + public static AssetAdministrationShell loadMinimalAssetAdministrationShell() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShell", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + } // public static AssetAdministrationShell loadMinimalAssetAdministrationShell + + public static AssetInformation loadMaximalAssetInformation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetInformation", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetInformation(node); + } // public static AssetInformation loadMaximalAssetInformation + + public static AssetInformation loadMinimalAssetInformation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetInformation", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAssetInformation(node); + } // public static AssetInformation loadMinimalAssetInformation + + public static Resource loadMaximalResource() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Resource", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeResource(node); + } // public static Resource loadMaximalResource + + public static Resource loadMinimalResource() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Resource", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeResource(node); + } // public static Resource loadMinimalResource + + public static SpecificAssetId loadMaximalSpecificAssetId() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SpecificAssetId", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSpecificAssetId(node); + } // public static SpecificAssetId loadMaximalSpecificAssetId + + public static SpecificAssetId loadMinimalSpecificAssetId() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SpecificAssetId", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSpecificAssetId(node); + } // public static SpecificAssetId loadMinimalSpecificAssetId + + public static Submodel loadMaximalSubmodel() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Submodel", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodel(node); + } // public static Submodel loadMaximalSubmodel + + public static Submodel loadMinimalSubmodel() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Submodel", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodel(node); + } // public static Submodel loadMinimalSubmodel + + public static RelationshipElement loadMaximalRelationshipElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElement", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRelationshipElement(node); + } // public static RelationshipElement loadMaximalRelationshipElement + + public static RelationshipElement loadMinimalRelationshipElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElement", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRelationshipElement(node); + } // public static RelationshipElement loadMinimalRelationshipElement + + public static SubmodelElementList loadMaximalSubmodelElementList() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementList", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementList(node); + } // public static SubmodelElementList loadMaximalSubmodelElementList + + public static SubmodelElementList loadMinimalSubmodelElementList() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementList", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementList(node); + } // public static SubmodelElementList loadMinimalSubmodelElementList + + public static SubmodelElementCollection loadMaximalSubmodelElementCollection() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementCollection", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + } // public static SubmodelElementCollection loadMaximalSubmodelElementCollection + + public static SubmodelElementCollection loadMinimalSubmodelElementCollection() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementCollection", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + } // public static SubmodelElementCollection loadMinimalSubmodelElementCollection + + public static Property loadMaximalProperty() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Property", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeProperty(node); + } // public static Property loadMaximalProperty + + public static Property loadMinimalProperty() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Property", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeProperty(node); + } // public static Property loadMinimalProperty + + public static MultiLanguageProperty loadMaximalMultiLanguageProperty() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "MultiLanguageProperty", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + } // public static MultiLanguageProperty loadMaximalMultiLanguageProperty + + public static MultiLanguageProperty loadMinimalMultiLanguageProperty() throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "MultiLanguageProperty", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + } // public static MultiLanguageProperty loadMinimalMultiLanguageProperty + + public static Range loadMaximalRange() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Range", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRange(node); + } // public static Range loadMaximalRange + + public static Range loadMinimalRange() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Range", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeRange(node); + } // public static Range loadMinimalRange + + public static ReferenceElement loadMaximalReferenceElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElement", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceElement(node); + } // public static ReferenceElement loadMaximalReferenceElement + + public static ReferenceElement loadMinimalReferenceElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElement", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReferenceElement(node); + } // public static ReferenceElement loadMinimalReferenceElement + + public static Blob loadMaximalBlob() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Blob", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBlob(node); + } // public static Blob loadMaximalBlob + + public static Blob loadMinimalBlob() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Blob", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBlob(node); + } // public static Blob loadMinimalBlob + + public static File loadMaximalFile() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "File", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFile(node); + } // public static File loadMaximalFile + + public static File loadMinimalFile() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "File", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeFile(node); + } // public static File loadMinimalFile + + public static AnnotatedRelationshipElement loadMaximalAnnotatedRelationshipElement() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AnnotatedRelationshipElement", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + } // public static AnnotatedRelationshipElement loadMaximalAnnotatedRelationshipElement + + public static AnnotatedRelationshipElement loadMinimalAnnotatedRelationshipElement() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "AnnotatedRelationshipElement", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + } // public static AnnotatedRelationshipElement loadMinimalAnnotatedRelationshipElement + + public static Entity loadMaximalEntity() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Entity", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEntity(node); + } // public static Entity loadMaximalEntity + + public static Entity loadMinimalEntity() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Entity", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEntity(node); + } // public static Entity loadMinimalEntity + + public static EventPayload loadMaximalEventPayload() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EventPayload", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEventPayload(node); + } // public static EventPayload loadMaximalEventPayload + + public static EventPayload loadMinimalEventPayload() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EventPayload", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEventPayload(node); + } // public static EventPayload loadMinimalEventPayload + + public static BasicEventElement loadMaximalBasicEventElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElement", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBasicEventElement(node); + } // public static BasicEventElement loadMaximalBasicEventElement + + public static BasicEventElement loadMinimalBasicEventElement() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElement", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeBasicEventElement(node); + } // public static BasicEventElement loadMinimalBasicEventElement + + public static Operation loadMaximalOperation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Operation", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperation(node); + } // public static Operation loadMaximalOperation + + public static Operation loadMinimalOperation() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Operation", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperation(node); + } // public static Operation loadMinimalOperation + + public static OperationVariable loadMaximalOperationVariable() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationVariable", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationVariable(node); + } // public static OperationVariable loadMaximalOperationVariable + + public static OperationVariable loadMinimalOperationVariable() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationVariable", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeOperationVariable(node); + } // public static OperationVariable loadMinimalOperationVariable + + public static Capability loadMaximalCapability() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Capability", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeCapability(node); + } // public static Capability loadMaximalCapability + + public static Capability loadMinimalCapability() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Capability", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeCapability(node); + } // public static Capability loadMinimalCapability + + public static ConceptDescription loadMaximalConceptDescription() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ConceptDescription", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeConceptDescription(node); + } // public static ConceptDescription loadMaximalConceptDescription + + public static ConceptDescription loadMinimalConceptDescription() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ConceptDescription", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeConceptDescription(node); + } // public static ConceptDescription loadMinimalConceptDescription + + public static Reference loadMaximalReference() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Reference", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReference(node); + } // public static Reference loadMaximalReference + + public static Reference loadMinimalReference() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Reference", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeReference(node); + } // public static Reference loadMinimalReference + + public static Key loadMaximalKey() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Key", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeKey(node); + } // public static Key loadMaximalKey + + public static Key loadMinimalKey() throws IOException { + final Path path = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Key", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeKey(node); + } // public static Key loadMinimalKey + + public static LangStringNameType loadMaximalLangStringNameType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringNameType", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringNameType(node); + } // public static LangStringNameType loadMaximalLangStringNameType + + public static LangStringNameType loadMinimalLangStringNameType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringNameType", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringNameType(node); + } // public static LangStringNameType loadMinimalLangStringNameType + + public static LangStringTextType loadMaximalLangStringTextType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringTextType", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringTextType(node); + } // public static LangStringTextType loadMaximalLangStringTextType + + public static LangStringTextType loadMinimalLangStringTextType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringTextType", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringTextType(node); + } // public static LangStringTextType loadMinimalLangStringTextType + + public static Environment loadMaximalEnvironment() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Environment", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEnvironment(node); + } // public static Environment loadMaximalEnvironment + + public static Environment loadMinimalEnvironment() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Environment", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEnvironment(node); + } // public static Environment loadMinimalEnvironment + + public static EmbeddedDataSpecification loadMaximalEmbeddedDataSpecification() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "EmbeddedDataSpecification", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + } // public static EmbeddedDataSpecification loadMaximalEmbeddedDataSpecification + + public static EmbeddedDataSpecification loadMinimalEmbeddedDataSpecification() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "EmbeddedDataSpecification", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + } // public static EmbeddedDataSpecification loadMinimalEmbeddedDataSpecification + + public static LevelType loadMaximalLevelType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LevelType", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLevelType(node); + } // public static LevelType loadMaximalLevelType + + public static LevelType loadMinimalLevelType() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LevelType", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLevelType(node); + } // public static LevelType loadMinimalLevelType + + public static ValueReferencePair loadMaximalValueReferencePair() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueReferencePair", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeValueReferencePair(node); + } // public static ValueReferencePair loadMaximalValueReferencePair + + public static ValueReferencePair loadMinimalValueReferencePair() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueReferencePair", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeValueReferencePair(node); + } // public static ValueReferencePair loadMinimalValueReferencePair + + public static ValueList loadMaximalValueList() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueList", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeValueList(node); + } // public static ValueList loadMaximalValueList + + public static ValueList loadMinimalValueList() throws IOException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueList", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeValueList(node); + } // public static ValueList loadMinimalValueList + + public static LangStringPreferredNameTypeIec61360 loadMaximalLangStringPreferredNameTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringPreferredNameTypeIec61360", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + } // public static LangStringPreferredNameTypeIec61360 + + // loadMaximalLangStringPreferredNameTypeIec61360 + + public static LangStringPreferredNameTypeIec61360 loadMinimalLangStringPreferredNameTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringPreferredNameTypeIec61360", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + } // public static LangStringPreferredNameTypeIec61360 + + // loadMinimalLangStringPreferredNameTypeIec61360 + + public static LangStringShortNameTypeIec61360 loadMaximalLangStringShortNameTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringShortNameTypeIec61360", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + } // public static LangStringShortNameTypeIec61360 loadMaximalLangStringShortNameTypeIec61360 + + public static LangStringShortNameTypeIec61360 loadMinimalLangStringShortNameTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringShortNameTypeIec61360", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + } // public static LangStringShortNameTypeIec61360 loadMinimalLangStringShortNameTypeIec61360 + + public static LangStringDefinitionTypeIec61360 loadMaximalLangStringDefinitionTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringDefinitionTypeIec61360", + "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + } // public static LangStringDefinitionTypeIec61360 loadMaximalLangStringDefinitionTypeIec61360 + + public static LangStringDefinitionTypeIec61360 loadMinimalLangStringDefinitionTypeIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, + "Json", + "Expected", + "LangStringDefinitionTypeIec61360", + "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + } // public static LangStringDefinitionTypeIec61360 loadMinimalLangStringDefinitionTypeIec61360 + + public static DataSpecificationIec61360 loadMaximalDataSpecificationIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationIec61360", "maximal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + } // public static DataSpecificationIec61360 loadMaximalDataSpecificationIec61360 + + public static DataSpecificationIec61360 loadMinimalDataSpecificationIec61360() + throws IOException { + final Path path = + Paths.get( + Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationIec61360", "minimal.json"); + + final JsonNode node = CommonJson.readFromFile(path); + + return Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + } // public static DataSpecificationIec61360 loadMinimalDataSpecificationIec61360 +} // class CommonJsonization + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestCopying.java b/src/test/java/TestCopying.java new file mode 100644 index 00000000..bf53e816 --- /dev/null +++ b/src/test/java/TestCopying.java @@ -0,0 +1,2865 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +import aas_core.aas3_1.common.*; +import aas_core.aas3_1.copying.Copying; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.types.model.IClass; +import aas_core.aas3_1.visitation.AbstractTransformerWithContext; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Test; + +public class TestCopying { + private static class _DeepEqualiser extends AbstractTransformerWithContext { + @Override + public Boolean transformExtension(IExtension that, IClass other) { + if (!(other instanceof Extension)) { + return false; + } + + Extension casted = (Extension) other; + + return ((that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && that.getName().equals(casted.getName()) + && that.getValueType().equals(casted.getValueType()) + && that.getValue().equals(casted.getValue()) + && (that.getRefersTo().isPresent() + ? casted.getRefersTo().isPresent() + && deepEqualsListOf_IReference( + that.getRefersTo().get(), casted.getRefersTo().get()) + : !casted.getRefersTo().isPresent())); + } + + @Override + public Boolean transformAdministrativeInformation( + IAdministrativeInformation that, IClass other) { + if (!(other instanceof AdministrativeInformation)) { + return false; + } + + AdministrativeInformation casted = (AdministrativeInformation) other; + + return ((that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getVersion().equals(casted.getVersion()) + && that.getRevision().equals(casted.getRevision()) + && (that.getCreator().isPresent() + ? casted.getCreator().isPresent() + && transform(that.getCreator().get(), casted.getCreator().get()) + : !casted.getCreator().isPresent()) + && that.getTemplateId().equals(casted.getTemplateId())); + } + + @Override + public Boolean transformQualifier(IQualifier that, IClass other) { + if (!(other instanceof Qualifier)) { + return false; + } + + Qualifier casted = (Qualifier) other; + + return ((that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && that.getKind().equals(casted.getKind()) + && that.getType().equals(casted.getType()) + && that.getValueType().equals(casted.getValueType()) + && that.getValue().equals(casted.getValue()) + && (that.getValueId().isPresent() + ? casted.getValueId().isPresent() + && transform(that.getValueId().get(), casted.getValueId().get()) + : !casted.getValueId().isPresent())); + } + + @Override + public Boolean transformAssetAdministrationShell(IAssetAdministrationShell that, IClass other) { + if (!(other instanceof AssetAdministrationShell)) { + return false; + } + + AssetAdministrationShell casted = (AssetAdministrationShell) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getId().equals(casted.getId()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getDerivedFrom().isPresent() + ? casted.getDerivedFrom().isPresent() + && transform(that.getDerivedFrom().get(), casted.getDerivedFrom().get()) + : !casted.getDerivedFrom().isPresent()) + && transform(that.getAssetInformation(), casted.getAssetInformation()) + && (that.getSubmodels().isPresent() + ? casted.getSubmodels().isPresent() + && deepEqualsListOf_IReference( + that.getSubmodels().get(), casted.getSubmodels().get()) + : !casted.getSubmodels().isPresent())); + } + + @Override + public Boolean transformAssetInformation(IAssetInformation that, IClass other) { + if (!(other instanceof AssetInformation)) { + return false; + } + + AssetInformation casted = (AssetInformation) other; + + return (that.getAssetKind().equals(casted.getAssetKind()) + && that.getGlobalAssetId().equals(casted.getGlobalAssetId()) + && (that.getSpecificAssetIds().isPresent() + ? casted.getSpecificAssetIds().isPresent() + && deepEqualsListOf_ISpecificAssetId( + that.getSpecificAssetIds().get(), casted.getSpecificAssetIds().get()) + : !casted.getSpecificAssetIds().isPresent()) + && that.getAssetType().equals(casted.getAssetType()) + && (that.getDefaultThumbnail().isPresent() + ? casted.getDefaultThumbnail().isPresent() + && transform(that.getDefaultThumbnail().get(), casted.getDefaultThumbnail().get()) + : !casted.getDefaultThumbnail().isPresent())); + } + + @Override + public Boolean transformResource(IResource that, IClass other) { + if (!(other instanceof Resource)) { + return false; + } + + Resource casted = (Resource) other; + + return (that.getPath().equals(casted.getPath()) + && that.getContentType().equals(casted.getContentType())); + } + + @Override + public Boolean transformSpecificAssetId(ISpecificAssetId that, IClass other) { + if (!(other instanceof SpecificAssetId)) { + return false; + } + + SpecificAssetId casted = (SpecificAssetId) other; + + return ((that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && that.getName().equals(casted.getName()) + && that.getValue().equals(casted.getValue()) + && (that.getExternalSubjectId().isPresent() + ? casted.getExternalSubjectId().isPresent() + && transform( + that.getExternalSubjectId().get(), casted.getExternalSubjectId().get()) + : !casted.getExternalSubjectId().isPresent())); + } + + @Override + public Boolean transformSubmodel(ISubmodel that, IClass other) { + if (!(other instanceof Submodel)) { + return false; + } + + Submodel casted = (Submodel) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getId().equals(casted.getId()) + && that.getKind().equals(casted.getKind()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getSubmodelElements().isPresent() + ? casted.getSubmodelElements().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getSubmodelElements().get(), casted.getSubmodelElements().get()) + : !casted.getSubmodelElements().isPresent())); + } + + @Override + public Boolean transformRelationshipElement(IRelationshipElement that, IClass other) { + if (!(other instanceof RelationshipElement)) { + return false; + } + + RelationshipElement casted = (RelationshipElement) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getFirst().isPresent() + ? casted.getFirst().isPresent() + && transform(that.getFirst().get(), casted.getFirst().get()) + : !casted.getFirst().isPresent()) + && (that.getSecond().isPresent() + ? casted.getSecond().isPresent() + && transform(that.getSecond().get(), casted.getSecond().get()) + : !casted.getSecond().isPresent())); + } + + @Override + public Boolean transformSubmodelElementList(ISubmodelElementList that, IClass other) { + if (!(other instanceof SubmodelElementList)) { + return false; + } + + SubmodelElementList casted = (SubmodelElementList) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getOrderRelevant().equals(casted.getOrderRelevant()) + && (that.getSemanticIdListElement().isPresent() + ? casted.getSemanticIdListElement().isPresent() + && transform( + that.getSemanticIdListElement().get(), + casted.getSemanticIdListElement().get()) + : !casted.getSemanticIdListElement().isPresent()) + && that.getTypeValueListElement().equals(casted.getTypeValueListElement()) + && that.getValueTypeListElement().equals(casted.getValueTypeListElement()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent())); + } + + @Override + public Boolean transformSubmodelElementCollection( + ISubmodelElementCollection that, IClass other) { + if (!(other instanceof SubmodelElementCollection)) { + return false; + } + + SubmodelElementCollection casted = (SubmodelElementCollection) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent())); + } + + @Override + public Boolean transformProperty(IProperty that, IClass other) { + if (!(other instanceof Property)) { + return false; + } + + Property casted = (Property) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getValueType().equals(casted.getValueType()) + && that.getValue().equals(casted.getValue()) + && (that.getValueId().isPresent() + ? casted.getValueId().isPresent() + && transform(that.getValueId().get(), casted.getValueId().get()) + : !casted.getValueId().isPresent())); + } + + @Override + public Boolean transformMultiLanguageProperty(IMultiLanguageProperty that, IClass other) { + if (!(other instanceof MultiLanguageProperty)) { + return false; + } + + MultiLanguageProperty casted = (MultiLanguageProperty) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent()) + && (that.getValueId().isPresent() + ? casted.getValueId().isPresent() + && transform(that.getValueId().get(), casted.getValueId().get()) + : !casted.getValueId().isPresent())); + } + + @Override + public Boolean transformRange(IRange that, IClass other) { + if (!(other instanceof Range)) { + return false; + } + + Range casted = (Range) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getValueType().equals(casted.getValueType()) + && that.getMin().equals(casted.getMin()) + && that.getMax().equals(casted.getMax())); + } + + @Override + public Boolean transformReferenceElement(IReferenceElement that, IClass other) { + if (!(other instanceof ReferenceElement)) { + return false; + } + + ReferenceElement casted = (ReferenceElement) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && transform(that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent())); + } + + @Override + public Boolean transformBlob(IBlob that, IClass other) { + if (!(other instanceof Blob)) { + return false; + } + + Blob casted = (Blob) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getValue().isPresent() + ? casted.getValue().isPresent() + && Arrays.equals(that.getValue().get(), casted.getValue().get()) + : !casted.getValue().isPresent()) + && that.getContentType().equals(casted.getContentType())); + } + + @Override + public Boolean transformFile(IFile that, IClass other) { + if (!(other instanceof File)) { + return false; + } + + File casted = (File) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && that.getValue().equals(casted.getValue()) + && that.getContentType().equals(casted.getContentType())); + } + + @Override + public Boolean transformAnnotatedRelationshipElement( + IAnnotatedRelationshipElement that, IClass other) { + if (!(other instanceof AnnotatedRelationshipElement)) { + return false; + } + + AnnotatedRelationshipElement casted = (AnnotatedRelationshipElement) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getFirst().isPresent() + ? casted.getFirst().isPresent() + && transform(that.getFirst().get(), casted.getFirst().get()) + : !casted.getFirst().isPresent()) + && (that.getSecond().isPresent() + ? casted.getSecond().isPresent() + && transform(that.getSecond().get(), casted.getSecond().get()) + : !casted.getSecond().isPresent()) + && (that.getAnnotations().isPresent() + ? casted.getAnnotations().isPresent() + && deepEqualsListOf_IDataElement( + that.getAnnotations().get(), casted.getAnnotations().get()) + : !casted.getAnnotations().isPresent())); + } + + @Override + public Boolean transformEntity(IEntity that, IClass other) { + if (!(other instanceof Entity)) { + return false; + } + + Entity casted = (Entity) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getStatements().isPresent() + ? casted.getStatements().isPresent() + && deepEqualsListOf_ISubmodelElement( + that.getStatements().get(), casted.getStatements().get()) + : !casted.getStatements().isPresent()) + && that.getEntityType().equals(casted.getEntityType()) + && that.getGlobalAssetId().equals(casted.getGlobalAssetId()) + && (that.getSpecificAssetIds().isPresent() + ? casted.getSpecificAssetIds().isPresent() + && deepEqualsListOf_ISpecificAssetId( + that.getSpecificAssetIds().get(), casted.getSpecificAssetIds().get()) + : !casted.getSpecificAssetIds().isPresent())); + } + + @Override + public Boolean transformEventPayload(IEventPayload that, IClass other) { + if (!(other instanceof EventPayload)) { + return false; + } + + EventPayload casted = (EventPayload) other; + + return (transform(that.getSource(), casted.getSource()) + && (that.getSourceSemanticId().isPresent() + ? casted.getSourceSemanticId().isPresent() + && transform(that.getSourceSemanticId().get(), casted.getSourceSemanticId().get()) + : !casted.getSourceSemanticId().isPresent()) + && transform(that.getObservableReference(), casted.getObservableReference()) + && (that.getObservableSemanticId().isPresent() + ? casted.getObservableSemanticId().isPresent() + && transform( + that.getObservableSemanticId().get(), casted.getObservableSemanticId().get()) + : !casted.getObservableSemanticId().isPresent()) + && that.getTopic().equals(casted.getTopic()) + && (that.getSubjectId().isPresent() + ? casted.getSubjectId().isPresent() + && transform(that.getSubjectId().get(), casted.getSubjectId().get()) + : !casted.getSubjectId().isPresent()) + && that.getTimeStamp().equals(casted.getTimeStamp()) + && (that.getPayload().isPresent() + ? casted.getPayload().isPresent() + && Arrays.equals(that.getPayload().get(), casted.getPayload().get()) + : !casted.getPayload().isPresent())); + } + + @Override + public Boolean transformBasicEventElement(IBasicEventElement that, IClass other) { + if (!(other instanceof BasicEventElement)) { + return false; + } + + BasicEventElement casted = (BasicEventElement) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && transform(that.getObserved(), casted.getObserved()) + && that.getDirection().equals(casted.getDirection()) + && that.getState().equals(casted.getState()) + && that.getMessageTopic().equals(casted.getMessageTopic()) + && (that.getMessageBroker().isPresent() + ? casted.getMessageBroker().isPresent() + && transform(that.getMessageBroker().get(), casted.getMessageBroker().get()) + : !casted.getMessageBroker().isPresent()) + && that.getLastUpdate().equals(casted.getLastUpdate()) + && that.getMinInterval().equals(casted.getMinInterval()) + && that.getMaxInterval().equals(casted.getMaxInterval())); + } + + @Override + public Boolean transformOperation(IOperation that, IClass other) { + if (!(other instanceof Operation)) { + return false; + } + + Operation casted = (Operation) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getInputVariables().isPresent() + ? casted.getInputVariables().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInputVariables().get(), casted.getInputVariables().get()) + : !casted.getInputVariables().isPresent()) + && (that.getOutputVariables().isPresent() + ? casted.getOutputVariables().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getOutputVariables().get(), casted.getOutputVariables().get()) + : !casted.getOutputVariables().isPresent()) + && (that.getInoutputVariables().isPresent() + ? casted.getInoutputVariables().isPresent() + && deepEqualsListOf_IOperationVariable( + that.getInoutputVariables().get(), casted.getInoutputVariables().get()) + : !casted.getInoutputVariables().isPresent())); + } + + @Override + public Boolean transformOperationVariable(IOperationVariable that, IClass other) { + if (!(other instanceof OperationVariable)) { + return false; + } + + OperationVariable casted = (OperationVariable) other; + + return (transform(that.getValue(), casted.getValue())); + } + + @Override + public Boolean transformCapability(ICapability that, IClass other) { + if (!(other instanceof Capability)) { + return false; + } + + Capability casted = (Capability) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getSemanticId().isPresent() + ? casted.getSemanticId().isPresent() + && transform(that.getSemanticId().get(), casted.getSemanticId().get()) + : !casted.getSemanticId().isPresent()) + && (that.getSupplementalSemanticIds().isPresent() + ? casted.getSupplementalSemanticIds().isPresent() + && deepEqualsListOf_IReference( + that.getSupplementalSemanticIds().get(), + casted.getSupplementalSemanticIds().get()) + : !casted.getSupplementalSemanticIds().isPresent()) + && (that.getQualifiers().isPresent() + ? casted.getQualifiers().isPresent() + && deepEqualsListOf_IQualifier( + that.getQualifiers().get(), casted.getQualifiers().get()) + : !casted.getQualifiers().isPresent()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent())); + } + + @Override + public Boolean transformConceptDescription(IConceptDescription that, IClass other) { + if (!(other instanceof ConceptDescription)) { + return false; + } + + ConceptDescription casted = (ConceptDescription) other; + + return ((that.getExtensions().isPresent() + ? casted.getExtensions().isPresent() + && deepEqualsListOf_IExtension( + that.getExtensions().get(), casted.getExtensions().get()) + : !casted.getExtensions().isPresent()) + && that.getCategory().equals(casted.getCategory()) + && that.getIdShort().equals(casted.getIdShort()) + && (that.getDisplayName().isPresent() + ? casted.getDisplayName().isPresent() + && deepEqualsListOf_ILangStringNameType( + that.getDisplayName().get(), casted.getDisplayName().get()) + : !casted.getDisplayName().isPresent()) + && (that.getDescription().isPresent() + ? casted.getDescription().isPresent() + && deepEqualsListOf_ILangStringTextType( + that.getDescription().get(), casted.getDescription().get()) + : !casted.getDescription().isPresent()) + && (that.getAdministration().isPresent() + ? casted.getAdministration().isPresent() + && transform(that.getAdministration().get(), casted.getAdministration().get()) + : !casted.getAdministration().isPresent()) + && that.getId().equals(casted.getId()) + && (that.getEmbeddedDataSpecifications().isPresent() + ? casted.getEmbeddedDataSpecifications().isPresent() + && deepEqualsListOf_IEmbeddedDataSpecification( + that.getEmbeddedDataSpecifications().get(), + casted.getEmbeddedDataSpecifications().get()) + : !casted.getEmbeddedDataSpecifications().isPresent()) + && (that.getIsCaseOf().isPresent() + ? casted.getIsCaseOf().isPresent() + && deepEqualsListOf_IReference( + that.getIsCaseOf().get(), casted.getIsCaseOf().get()) + : !casted.getIsCaseOf().isPresent())); + } + + @Override + public Boolean transformReference(IReference that, IClass other) { + if (!(other instanceof Reference)) { + return false; + } + + Reference casted = (Reference) other; + + return (that.getType().equals(casted.getType()) + && (that.getReferredSemanticId().isPresent() + ? casted.getReferredSemanticId().isPresent() + && transform( + that.getReferredSemanticId().get(), casted.getReferredSemanticId().get()) + : !casted.getReferredSemanticId().isPresent()) + && deepEqualsListOf_IKey(that.getKeys(), casted.getKeys())); + } + + @Override + public Boolean transformKey(IKey that, IClass other) { + if (!(other instanceof Key)) { + return false; + } + + Key casted = (Key) other; + + return (that.getType().equals(casted.getType()) && that.getValue().equals(casted.getValue())); + } + + @Override + public Boolean transformLangStringNameType(ILangStringNameType that, IClass other) { + if (!(other instanceof LangStringNameType)) { + return false; + } + + LangStringNameType casted = (LangStringNameType) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformLangStringTextType(ILangStringTextType that, IClass other) { + if (!(other instanceof LangStringTextType)) { + return false; + } + + LangStringTextType casted = (LangStringTextType) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformEnvironment(IEnvironment that, IClass other) { + if (!(other instanceof Environment)) { + return false; + } + + Environment casted = (Environment) other; + + return ((that.getAssetAdministrationShells().isPresent() + ? casted.getAssetAdministrationShells().isPresent() + && deepEqualsListOf_IAssetAdministrationShell( + that.getAssetAdministrationShells().get(), + casted.getAssetAdministrationShells().get()) + : !casted.getAssetAdministrationShells().isPresent()) + && (that.getSubmodels().isPresent() + ? casted.getSubmodels().isPresent() + && deepEqualsListOf_ISubmodel( + that.getSubmodels().get(), casted.getSubmodels().get()) + : !casted.getSubmodels().isPresent()) + && (that.getConceptDescriptions().isPresent() + ? casted.getConceptDescriptions().isPresent() + && deepEqualsListOf_IConceptDescription( + that.getConceptDescriptions().get(), casted.getConceptDescriptions().get()) + : !casted.getConceptDescriptions().isPresent())); + } + + @Override + public Boolean transformEmbeddedDataSpecification( + IEmbeddedDataSpecification that, IClass other) { + if (!(other instanceof EmbeddedDataSpecification)) { + return false; + } + + EmbeddedDataSpecification casted = (EmbeddedDataSpecification) other; + + return (transform(that.getDataSpecification(), casted.getDataSpecification()) + && transform(that.getDataSpecificationContent(), casted.getDataSpecificationContent())); + } + + @Override + public Boolean transformLevelType(ILevelType that, IClass other) { + if (!(other instanceof LevelType)) { + return false; + } + + LevelType casted = (LevelType) other; + + return (that.getMin().equals(casted.getMin()) + && that.getNom().equals(casted.getNom()) + && that.getTyp().equals(casted.getTyp()) + && that.getMax().equals(casted.getMax())); + } + + @Override + public Boolean transformValueReferencePair(IValueReferencePair that, IClass other) { + if (!(other instanceof ValueReferencePair)) { + return false; + } + + ValueReferencePair casted = (ValueReferencePair) other; + + return (that.getValue().equals(casted.getValue()) + && (that.getValueId().isPresent() + ? casted.getValueId().isPresent() + && transform(that.getValueId().get(), casted.getValueId().get()) + : !casted.getValueId().isPresent())); + } + + @Override + public Boolean transformValueList(IValueList that, IClass other) { + if (!(other instanceof ValueList)) { + return false; + } + + ValueList casted = (ValueList) other; + + return (deepEqualsListOf_IValueReferencePair( + that.getValueReferencePairs(), casted.getValueReferencePairs())); + } + + @Override + public Boolean transformLangStringPreferredNameTypeIec61360( + ILangStringPreferredNameTypeIec61360 that, IClass other) { + if (!(other instanceof LangStringPreferredNameTypeIec61360)) { + return false; + } + + LangStringPreferredNameTypeIec61360 casted = (LangStringPreferredNameTypeIec61360) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformLangStringShortNameTypeIec61360( + ILangStringShortNameTypeIec61360 that, IClass other) { + if (!(other instanceof LangStringShortNameTypeIec61360)) { + return false; + } + + LangStringShortNameTypeIec61360 casted = (LangStringShortNameTypeIec61360) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformLangStringDefinitionTypeIec61360( + ILangStringDefinitionTypeIec61360 that, IClass other) { + if (!(other instanceof LangStringDefinitionTypeIec61360)) { + return false; + } + + LangStringDefinitionTypeIec61360 casted = (LangStringDefinitionTypeIec61360) other; + + return (that.getLanguage().equals(casted.getLanguage()) + && that.getText().equals(casted.getText())); + } + + @Override + public Boolean transformDataSpecificationIec61360( + IDataSpecificationIec61360 that, IClass other) { + if (!(other instanceof DataSpecificationIec61360)) { + return false; + } + + DataSpecificationIec61360 casted = (DataSpecificationIec61360) other; + + return (deepEqualsListOf_ILangStringPreferredNameTypeIec61360( + that.getPreferredName(), casted.getPreferredName()) + && (that.getShortName().isPresent() + ? casted.getShortName().isPresent() + && deepEqualsListOf_ILangStringShortNameTypeIec61360( + that.getShortName().get(), casted.getShortName().get()) + : !casted.getShortName().isPresent()) + && that.getUnit().equals(casted.getUnit()) + && (that.getUnitId().isPresent() + ? casted.getUnitId().isPresent() + && transform(that.getUnitId().get(), casted.getUnitId().get()) + : !casted.getUnitId().isPresent()) + && that.getSourceOfDefinition().equals(casted.getSourceOfDefinition()) + && that.getSymbol().equals(casted.getSymbol()) + && that.getDataType().equals(casted.getDataType()) + && (that.getDefinition().isPresent() + ? casted.getDefinition().isPresent() + && deepEqualsListOf_ILangStringDefinitionTypeIec61360( + that.getDefinition().get(), casted.getDefinition().get()) + : !casted.getDefinition().isPresent()) + && that.getValueFormat().equals(casted.getValueFormat()) + && (that.getValueList().isPresent() + ? casted.getValueList().isPresent() + && transform(that.getValueList().get(), casted.getValueList().get()) + : !casted.getValueList().isPresent()) + && that.getValue().equals(casted.getValue()) + && (that.getLevelType().isPresent() + ? casted.getLevelType().isPresent() + && transform(that.getLevelType().get(), casted.getLevelType().get()) + : !casted.getLevelType().isPresent())); + } + + private Boolean deepEqualsListOf_IReference(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IEmbeddedDataSpecification( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IExtension(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringNameType( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringTextType( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISpecificAssetId( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IQualifier(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISubmodelElement( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IDataElement( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IOperationVariable( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IKey(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IAssetAdministrationShell( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ISubmodel(List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IConceptDescription( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_IValueReferencePair( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringPreferredNameTypeIec61360( + List that, + List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringShortNameTypeIec61360( + List that, List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + + private Boolean deepEqualsListOf_ILangStringDefinitionTypeIec61360( + List that, + List other) { + if (that.size() != other.size()) { + return false; + } + + for (int i = 0; i < that.size(); i++) { + if (!transform(that.get(i), other.get(i))) { + return false; + } + } + + return true; + } + } // class _DeepEqualiser + + private static final _DeepEqualiser DeepEqualiserInstance = new _DeepEqualiser(); + + private static Boolean ExtensionShallowEquals(Extension that, Extension other) { + return (that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getName().equals(other.getName()) + && that.getValueType().equals(other.getValueType()) + && that.getValue().equals(other.getValue()) + && that.getRefersTo().equals(other.getRefersTo())); + } + + private static Boolean AdministrativeInformationShallowEquals( + AdministrativeInformation that, AdministrativeInformation other) { + return (that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getVersion().equals(other.getVersion()) + && that.getRevision().equals(other.getRevision()) + && that.getCreator().equals(other.getCreator()) + && that.getTemplateId().equals(other.getTemplateId())); + } + + private static Boolean QualifierShallowEquals(Qualifier that, Qualifier other) { + return (that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getKind().equals(other.getKind()) + && that.getType().equals(other.getType()) + && that.getValueType().equals(other.getValueType()) + && that.getValue().equals(other.getValue()) + && that.getValueId().equals(other.getValueId())); + } + + private static Boolean AssetAdministrationShellShallowEquals( + AssetAdministrationShell that, AssetAdministrationShell other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getAdministration().equals(other.getAdministration()) + && that.getId().equals(other.getId()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getDerivedFrom().equals(other.getDerivedFrom()) + && that.getAssetInformation().equals(other.getAssetInformation()) + && that.getSubmodels().equals(other.getSubmodels())); + } + + private static Boolean AssetInformationShallowEquals( + AssetInformation that, AssetInformation other) { + return (that.getAssetKind().equals(other.getAssetKind()) + && that.getGlobalAssetId().equals(other.getGlobalAssetId()) + && that.getSpecificAssetIds().equals(other.getSpecificAssetIds()) + && that.getAssetType().equals(other.getAssetType()) + && that.getDefaultThumbnail().equals(other.getDefaultThumbnail())); + } + + private static Boolean ResourceShallowEquals(Resource that, Resource other) { + return (that.getPath().equals(other.getPath()) + && that.getContentType().equals(other.getContentType())); + } + + private static Boolean SpecificAssetIdShallowEquals(SpecificAssetId that, SpecificAssetId other) { + return (that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getName().equals(other.getName()) + && that.getValue().equals(other.getValue()) + && that.getExternalSubjectId().equals(other.getExternalSubjectId())); + } + + private static Boolean SubmodelShallowEquals(Submodel that, Submodel other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getAdministration().equals(other.getAdministration()) + && that.getId().equals(other.getId()) + && that.getKind().equals(other.getKind()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getSubmodelElements().equals(other.getSubmodelElements())); + } + + private static Boolean RelationshipElementShallowEquals( + RelationshipElement that, RelationshipElement other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getFirst().equals(other.getFirst()) + && that.getSecond().equals(other.getSecond())); + } + + private static Boolean SubmodelElementListShallowEquals( + SubmodelElementList that, SubmodelElementList other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getOrderRelevant().equals(other.getOrderRelevant()) + && that.getSemanticIdListElement().equals(other.getSemanticIdListElement()) + && that.getTypeValueListElement().equals(other.getTypeValueListElement()) + && that.getValueTypeListElement().equals(other.getValueTypeListElement()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean SubmodelElementCollectionShallowEquals( + SubmodelElementCollection that, SubmodelElementCollection other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean PropertyShallowEquals(Property that, Property other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValueType().equals(other.getValueType()) + && that.getValue().equals(other.getValue()) + && that.getValueId().equals(other.getValueId())); + } + + private static Boolean MultiLanguagePropertyShallowEquals( + MultiLanguageProperty that, MultiLanguageProperty other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue()) + && that.getValueId().equals(other.getValueId())); + } + + private static Boolean RangeShallowEquals(Range that, Range other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValueType().equals(other.getValueType()) + && that.getMin().equals(other.getMin()) + && that.getMax().equals(other.getMax())); + } + + private static Boolean ReferenceElementShallowEquals( + ReferenceElement that, ReferenceElement other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue())); + } + + private static Boolean BlobShallowEquals(Blob that, Blob other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue()) + && that.getContentType().equals(other.getContentType())); + } + + private static Boolean FileShallowEquals(File that, File other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getValue().equals(other.getValue()) + && that.getContentType().equals(other.getContentType())); + } + + private static Boolean AnnotatedRelationshipElementShallowEquals( + AnnotatedRelationshipElement that, AnnotatedRelationshipElement other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getFirst().equals(other.getFirst()) + && that.getSecond().equals(other.getSecond()) + && that.getAnnotations().equals(other.getAnnotations())); + } + + private static Boolean EntityShallowEquals(Entity that, Entity other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getStatements().equals(other.getStatements()) + && that.getEntityType().equals(other.getEntityType()) + && that.getGlobalAssetId().equals(other.getGlobalAssetId()) + && that.getSpecificAssetIds().equals(other.getSpecificAssetIds())); + } + + private static Boolean EventPayloadShallowEquals(EventPayload that, EventPayload other) { + return (that.getSource().equals(other.getSource()) + && that.getSourceSemanticId().equals(other.getSourceSemanticId()) + && that.getObservableReference().equals(other.getObservableReference()) + && that.getObservableSemanticId().equals(other.getObservableSemanticId()) + && that.getTopic().equals(other.getTopic()) + && that.getSubjectId().equals(other.getSubjectId()) + && that.getTimeStamp().equals(other.getTimeStamp()) + && that.getPayload().equals(other.getPayload())); + } + + private static Boolean BasicEventElementShallowEquals( + BasicEventElement that, BasicEventElement other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getObserved().equals(other.getObserved()) + && that.getDirection().equals(other.getDirection()) + && that.getState().equals(other.getState()) + && that.getMessageTopic().equals(other.getMessageTopic()) + && that.getMessageBroker().equals(other.getMessageBroker()) + && that.getLastUpdate().equals(other.getLastUpdate()) + && that.getMinInterval().equals(other.getMinInterval()) + && that.getMaxInterval().equals(other.getMaxInterval())); + } + + private static Boolean OperationShallowEquals(Operation that, Operation other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getInputVariables().equals(other.getInputVariables()) + && that.getOutputVariables().equals(other.getOutputVariables()) + && that.getInoutputVariables().equals(other.getInoutputVariables())); + } + + private static Boolean OperationVariableShallowEquals( + OperationVariable that, OperationVariable other) { + return that.getValue().equals(other.getValue()); + } + + private static Boolean CapabilityShallowEquals(Capability that, Capability other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getSemanticId().equals(other.getSemanticId()) + && that.getSupplementalSemanticIds().equals(other.getSupplementalSemanticIds()) + && that.getQualifiers().equals(other.getQualifiers()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications())); + } + + private static Boolean ConceptDescriptionShallowEquals( + ConceptDescription that, ConceptDescription other) { + return (that.getExtensions().equals(other.getExtensions()) + && that.getCategory().equals(other.getCategory()) + && that.getIdShort().equals(other.getIdShort()) + && that.getDisplayName().equals(other.getDisplayName()) + && that.getDescription().equals(other.getDescription()) + && that.getAdministration().equals(other.getAdministration()) + && that.getId().equals(other.getId()) + && that.getEmbeddedDataSpecifications().equals(other.getEmbeddedDataSpecifications()) + && that.getIsCaseOf().equals(other.getIsCaseOf())); + } + + private static Boolean ReferenceShallowEquals(Reference that, Reference other) { + return (that.getType().equals(other.getType()) + && that.getReferredSemanticId().equals(other.getReferredSemanticId()) + && that.getKeys().equals(other.getKeys())); + } + + private static Boolean KeyShallowEquals(Key that, Key other) { + return (that.getType().equals(other.getType()) && that.getValue().equals(other.getValue())); + } + + private static Boolean LangStringNameTypeShallowEquals( + LangStringNameType that, LangStringNameType other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean LangStringTextTypeShallowEquals( + LangStringTextType that, LangStringTextType other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean EnvironmentShallowEquals(Environment that, Environment other) { + return (that.getAssetAdministrationShells().equals(other.getAssetAdministrationShells()) + && that.getSubmodels().equals(other.getSubmodels()) + && that.getConceptDescriptions().equals(other.getConceptDescriptions())); + } + + private static Boolean EmbeddedDataSpecificationShallowEquals( + EmbeddedDataSpecification that, EmbeddedDataSpecification other) { + return (that.getDataSpecification().equals(other.getDataSpecification()) + && that.getDataSpecificationContent().equals(other.getDataSpecificationContent())); + } + + private static Boolean LevelTypeShallowEquals(LevelType that, LevelType other) { + return (that.getMin().equals(other.getMin()) + && that.getNom().equals(other.getNom()) + && that.getTyp().equals(other.getTyp()) + && that.getMax().equals(other.getMax())); + } + + private static Boolean ValueReferencePairShallowEquals( + ValueReferencePair that, ValueReferencePair other) { + return (that.getValue().equals(other.getValue()) + && that.getValueId().equals(other.getValueId())); + } + + private static Boolean ValueListShallowEquals(ValueList that, ValueList other) { + return that.getValueReferencePairs().equals(other.getValueReferencePairs()); + } + + private static Boolean LangStringPreferredNameTypeIec61360ShallowEquals( + LangStringPreferredNameTypeIec61360 that, LangStringPreferredNameTypeIec61360 other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean LangStringShortNameTypeIec61360ShallowEquals( + LangStringShortNameTypeIec61360 that, LangStringShortNameTypeIec61360 other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean LangStringDefinitionTypeIec61360ShallowEquals( + LangStringDefinitionTypeIec61360 that, LangStringDefinitionTypeIec61360 other) { + return (that.getLanguage().equals(other.getLanguage()) + && that.getText().equals(other.getText())); + } + + private static Boolean DataSpecificationIec61360ShallowEquals( + DataSpecificationIec61360 that, DataSpecificationIec61360 other) { + return (that.getPreferredName().equals(other.getPreferredName()) + && that.getShortName().equals(other.getShortName()) + && that.getUnit().equals(other.getUnit()) + && that.getUnitId().equals(other.getUnitId()) + && that.getSourceOfDefinition().equals(other.getSourceOfDefinition()) + && that.getSymbol().equals(other.getSymbol()) + && that.getDataType().equals(other.getDataType()) + && that.getDefinition().equals(other.getDefinition()) + && that.getValueFormat().equals(other.getValueFormat()) + && that.getValueList().equals(other.getValueList()) + && that.getValue().equals(other.getValue()) + && that.getLevelType().equals(other.getLevelType())); + } + + private static Boolean ExtensionDeepEquals(Extension that, Extension other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AdministrativeInformationDeepEquals( + AdministrativeInformation that, AdministrativeInformation other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean QualifierDeepEquals(Qualifier that, Qualifier other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AssetAdministrationShellDeepEquals( + AssetAdministrationShell that, AssetAdministrationShell other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AssetInformationDeepEquals(AssetInformation that, AssetInformation other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ResourceDeepEquals(Resource that, Resource other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SpecificAssetIdDeepEquals(SpecificAssetId that, SpecificAssetId other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelDeepEquals(Submodel that, Submodel other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RelationshipElementDeepEquals( + RelationshipElement that, RelationshipElement other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelElementListDeepEquals( + SubmodelElementList that, SubmodelElementList other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean SubmodelElementCollectionDeepEquals( + SubmodelElementCollection that, SubmodelElementCollection other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean PropertyDeepEquals(Property that, Property other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean MultiLanguagePropertyDeepEquals( + MultiLanguageProperty that, MultiLanguageProperty other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean RangeDeepEquals(Range that, Range other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ReferenceElementDeepEquals(ReferenceElement that, ReferenceElement other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BlobDeepEquals(Blob that, Blob other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean FileDeepEquals(File that, File other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean AnnotatedRelationshipElementDeepEquals( + AnnotatedRelationshipElement that, AnnotatedRelationshipElement other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EntityDeepEquals(Entity that, Entity other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EventPayloadDeepEquals(EventPayload that, EventPayload other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean BasicEventElementDeepEquals( + BasicEventElement that, BasicEventElement other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationDeepEquals(Operation that, Operation other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean OperationVariableDeepEquals( + OperationVariable that, OperationVariable other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean CapabilityDeepEquals(Capability that, Capability other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ConceptDescriptionDeepEquals( + ConceptDescription that, ConceptDescription other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ReferenceDeepEquals(Reference that, Reference other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean KeyDeepEquals(Key that, Key other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringNameTypeDeepEquals( + LangStringNameType that, LangStringNameType other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringTextTypeDeepEquals( + LangStringTextType that, LangStringTextType other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EnvironmentDeepEquals(Environment that, Environment other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean EmbeddedDataSpecificationDeepEquals( + EmbeddedDataSpecification that, EmbeddedDataSpecification other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LevelTypeDeepEquals(LevelType that, LevelType other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ValueReferencePairDeepEquals( + ValueReferencePair that, ValueReferencePair other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean ValueListDeepEquals(ValueList that, ValueList other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringPreferredNameTypeIec61360DeepEquals( + LangStringPreferredNameTypeIec61360 that, LangStringPreferredNameTypeIec61360 other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringShortNameTypeIec61360DeepEquals( + LangStringShortNameTypeIec61360 that, LangStringShortNameTypeIec61360 other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean LangStringDefinitionTypeIec61360DeepEquals( + LangStringDefinitionTypeIec61360 that, LangStringDefinitionTypeIec61360 other) { + return DeepEqualiserInstance.transform(that, other); + } + + private static Boolean DataSpecificationIec61360DeepEquals( + DataSpecificationIec61360 that, DataSpecificationIec61360 other) { + return DeepEqualiserInstance.transform(that, other); + } + + @Test + public void testExtensionShallowCopy() throws IOException { + final Extension instance = CommonJsonization.loadMaximalExtension(); + final Extension instanceCopy = Copying.shallow(instance); + + assertTrue(ExtensionShallowEquals(instance, instanceCopy), "Extension"); + } // public void testExtensionShallowCopy + + @Test + public void testExtensionDeepCopy() throws IOException { + final Extension instance = CommonJsonization.loadMaximalExtension(); + final Extension instanceCopy = Copying.deep(instance); + + assertTrue(ExtensionDeepEquals(instance, instanceCopy), "Extension"); + } // public void testExtensionDeepCopy + + @Test + public void testAdministrativeInformationShallowCopy() throws IOException { + final AdministrativeInformation instance = + CommonJsonization.loadMaximalAdministrativeInformation(); + final AdministrativeInformation instanceCopy = Copying.shallow(instance); + + assertTrue( + AdministrativeInformationShallowEquals(instance, instanceCopy), + "AdministrativeInformation"); + } // public void testAdministrativeInformationShallowCopy + + @Test + public void testAdministrativeInformationDeepCopy() throws IOException { + final AdministrativeInformation instance = + CommonJsonization.loadMaximalAdministrativeInformation(); + final AdministrativeInformation instanceCopy = Copying.deep(instance); + + assertTrue( + AdministrativeInformationDeepEquals(instance, instanceCopy), "AdministrativeInformation"); + } // public void testAdministrativeInformationDeepCopy + + @Test + public void testQualifierShallowCopy() throws IOException { + final Qualifier instance = CommonJsonization.loadMaximalQualifier(); + final Qualifier instanceCopy = Copying.shallow(instance); + + assertTrue(QualifierShallowEquals(instance, instanceCopy), "Qualifier"); + } // public void testQualifierShallowCopy + + @Test + public void testQualifierDeepCopy() throws IOException { + final Qualifier instance = CommonJsonization.loadMaximalQualifier(); + final Qualifier instanceCopy = Copying.deep(instance); + + assertTrue(QualifierDeepEquals(instance, instanceCopy), "Qualifier"); + } // public void testQualifierDeepCopy + + @Test + public void testAssetAdministrationShellShallowCopy() throws IOException { + final AssetAdministrationShell instance = + CommonJsonization.loadMaximalAssetAdministrationShell(); + final AssetAdministrationShell instanceCopy = Copying.shallow(instance); + + assertTrue( + AssetAdministrationShellShallowEquals(instance, instanceCopy), "AssetAdministrationShell"); + } // public void testAssetAdministrationShellShallowCopy + + @Test + public void testAssetAdministrationShellDeepCopy() throws IOException { + final AssetAdministrationShell instance = + CommonJsonization.loadMaximalAssetAdministrationShell(); + final AssetAdministrationShell instanceCopy = Copying.deep(instance); + + assertTrue( + AssetAdministrationShellDeepEquals(instance, instanceCopy), "AssetAdministrationShell"); + } // public void testAssetAdministrationShellDeepCopy + + @Test + public void testAssetInformationShallowCopy() throws IOException { + final AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + final AssetInformation instanceCopy = Copying.shallow(instance); + + assertTrue(AssetInformationShallowEquals(instance, instanceCopy), "AssetInformation"); + } // public void testAssetInformationShallowCopy + + @Test + public void testAssetInformationDeepCopy() throws IOException { + final AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + final AssetInformation instanceCopy = Copying.deep(instance); + + assertTrue(AssetInformationDeepEquals(instance, instanceCopy), "AssetInformation"); + } // public void testAssetInformationDeepCopy + + @Test + public void testResourceShallowCopy() throws IOException { + final Resource instance = CommonJsonization.loadMaximalResource(); + final Resource instanceCopy = Copying.shallow(instance); + + assertTrue(ResourceShallowEquals(instance, instanceCopy), "Resource"); + } // public void testResourceShallowCopy + + @Test + public void testResourceDeepCopy() throws IOException { + final Resource instance = CommonJsonization.loadMaximalResource(); + final Resource instanceCopy = Copying.deep(instance); + + assertTrue(ResourceDeepEquals(instance, instanceCopy), "Resource"); + } // public void testResourceDeepCopy + + @Test + public void testSpecificAssetIdShallowCopy() throws IOException { + final SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + final SpecificAssetId instanceCopy = Copying.shallow(instance); + + assertTrue(SpecificAssetIdShallowEquals(instance, instanceCopy), "SpecificAssetId"); + } // public void testSpecificAssetIdShallowCopy + + @Test + public void testSpecificAssetIdDeepCopy() throws IOException { + final SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + final SpecificAssetId instanceCopy = Copying.deep(instance); + + assertTrue(SpecificAssetIdDeepEquals(instance, instanceCopy), "SpecificAssetId"); + } // public void testSpecificAssetIdDeepCopy + + @Test + public void testSubmodelShallowCopy() throws IOException { + final Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final Submodel instanceCopy = Copying.shallow(instance); + + assertTrue(SubmodelShallowEquals(instance, instanceCopy), "Submodel"); + } // public void testSubmodelShallowCopy + + @Test + public void testSubmodelDeepCopy() throws IOException { + final Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final Submodel instanceCopy = Copying.deep(instance); + + assertTrue(SubmodelDeepEquals(instance, instanceCopy), "Submodel"); + } // public void testSubmodelDeepCopy + + @Test + public void testRelationshipElementShallowCopy() throws IOException { + final RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final RelationshipElement instanceCopy = Copying.shallow(instance); + + assertTrue(RelationshipElementShallowEquals(instance, instanceCopy), "RelationshipElement"); + } // public void testRelationshipElementShallowCopy + + @Test + public void testRelationshipElementDeepCopy() throws IOException { + final RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final RelationshipElement instanceCopy = Copying.deep(instance); + + assertTrue(RelationshipElementDeepEquals(instance, instanceCopy), "RelationshipElement"); + } // public void testRelationshipElementDeepCopy + + @Test + public void testSubmodelElementListShallowCopy() throws IOException { + final SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final SubmodelElementList instanceCopy = Copying.shallow(instance); + + assertTrue(SubmodelElementListShallowEquals(instance, instanceCopy), "SubmodelElementList"); + } // public void testSubmodelElementListShallowCopy + + @Test + public void testSubmodelElementListDeepCopy() throws IOException { + final SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final SubmodelElementList instanceCopy = Copying.deep(instance); + + assertTrue(SubmodelElementListDeepEquals(instance, instanceCopy), "SubmodelElementList"); + } // public void testSubmodelElementListDeepCopy + + @Test + public void testSubmodelElementCollectionShallowCopy() throws IOException { + final SubmodelElementCollection instance = + CommonJsonization.loadMaximalSubmodelElementCollection(); + final SubmodelElementCollection instanceCopy = Copying.shallow(instance); + + assertTrue( + SubmodelElementCollectionShallowEquals(instance, instanceCopy), + "SubmodelElementCollection"); + } // public void testSubmodelElementCollectionShallowCopy + + @Test + public void testSubmodelElementCollectionDeepCopy() throws IOException { + final SubmodelElementCollection instance = + CommonJsonization.loadMaximalSubmodelElementCollection(); + final SubmodelElementCollection instanceCopy = Copying.deep(instance); + + assertTrue( + SubmodelElementCollectionDeepEquals(instance, instanceCopy), "SubmodelElementCollection"); + } // public void testSubmodelElementCollectionDeepCopy + + @Test + public void testPropertyShallowCopy() throws IOException { + final Property instance = CommonJsonization.loadMaximalProperty(); + final Property instanceCopy = Copying.shallow(instance); + + assertTrue(PropertyShallowEquals(instance, instanceCopy), "Property"); + } // public void testPropertyShallowCopy + + @Test + public void testPropertyDeepCopy() throws IOException { + final Property instance = CommonJsonization.loadMaximalProperty(); + final Property instanceCopy = Copying.deep(instance); + + assertTrue(PropertyDeepEquals(instance, instanceCopy), "Property"); + } // public void testPropertyDeepCopy + + @Test + public void testMultiLanguagePropertyShallowCopy() throws IOException { + final MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final MultiLanguageProperty instanceCopy = Copying.shallow(instance); + + assertTrue(MultiLanguagePropertyShallowEquals(instance, instanceCopy), "MultiLanguageProperty"); + } // public void testMultiLanguagePropertyShallowCopy + + @Test + public void testMultiLanguagePropertyDeepCopy() throws IOException { + final MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final MultiLanguageProperty instanceCopy = Copying.deep(instance); + + assertTrue(MultiLanguagePropertyDeepEquals(instance, instanceCopy), "MultiLanguageProperty"); + } // public void testMultiLanguagePropertyDeepCopy + + @Test + public void testRangeShallowCopy() throws IOException { + final Range instance = CommonJsonization.loadMaximalRange(); + final Range instanceCopy = Copying.shallow(instance); + + assertTrue(RangeShallowEquals(instance, instanceCopy), "Range"); + } // public void testRangeShallowCopy + + @Test + public void testRangeDeepCopy() throws IOException { + final Range instance = CommonJsonization.loadMaximalRange(); + final Range instanceCopy = Copying.deep(instance); + + assertTrue(RangeDeepEquals(instance, instanceCopy), "Range"); + } // public void testRangeDeepCopy + + @Test + public void testReferenceElementShallowCopy() throws IOException { + final ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final ReferenceElement instanceCopy = Copying.shallow(instance); + + assertTrue(ReferenceElementShallowEquals(instance, instanceCopy), "ReferenceElement"); + } // public void testReferenceElementShallowCopy + + @Test + public void testReferenceElementDeepCopy() throws IOException { + final ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final ReferenceElement instanceCopy = Copying.deep(instance); + + assertTrue(ReferenceElementDeepEquals(instance, instanceCopy), "ReferenceElement"); + } // public void testReferenceElementDeepCopy + + @Test + public void testBlobShallowCopy() throws IOException { + final Blob instance = CommonJsonization.loadMaximalBlob(); + final Blob instanceCopy = Copying.shallow(instance); + + assertTrue(BlobShallowEquals(instance, instanceCopy), "Blob"); + } // public void testBlobShallowCopy + + @Test + public void testBlobDeepCopy() throws IOException { + final Blob instance = CommonJsonization.loadMaximalBlob(); + final Blob instanceCopy = Copying.deep(instance); + + assertTrue(BlobDeepEquals(instance, instanceCopy), "Blob"); + } // public void testBlobDeepCopy + + @Test + public void testFileShallowCopy() throws IOException { + final File instance = CommonJsonization.loadMaximalFile(); + final File instanceCopy = Copying.shallow(instance); + + assertTrue(FileShallowEquals(instance, instanceCopy), "File"); + } // public void testFileShallowCopy + + @Test + public void testFileDeepCopy() throws IOException { + final File instance = CommonJsonization.loadMaximalFile(); + final File instanceCopy = Copying.deep(instance); + + assertTrue(FileDeepEquals(instance, instanceCopy), "File"); + } // public void testFileDeepCopy + + @Test + public void testAnnotatedRelationshipElementShallowCopy() throws IOException { + final AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final AnnotatedRelationshipElement instanceCopy = Copying.shallow(instance); + + assertTrue( + AnnotatedRelationshipElementShallowEquals(instance, instanceCopy), + "AnnotatedRelationshipElement"); + } // public void testAnnotatedRelationshipElementShallowCopy + + @Test + public void testAnnotatedRelationshipElementDeepCopy() throws IOException { + final AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final AnnotatedRelationshipElement instanceCopy = Copying.deep(instance); + + assertTrue( + AnnotatedRelationshipElementDeepEquals(instance, instanceCopy), + "AnnotatedRelationshipElement"); + } // public void testAnnotatedRelationshipElementDeepCopy + + @Test + public void testEntityShallowCopy() throws IOException { + final Entity instance = CommonJsonization.loadMaximalEntity(); + final Entity instanceCopy = Copying.shallow(instance); + + assertTrue(EntityShallowEquals(instance, instanceCopy), "Entity"); + } // public void testEntityShallowCopy + + @Test + public void testEntityDeepCopy() throws IOException { + final Entity instance = CommonJsonization.loadMaximalEntity(); + final Entity instanceCopy = Copying.deep(instance); + + assertTrue(EntityDeepEquals(instance, instanceCopy), "Entity"); + } // public void testEntityDeepCopy + + @Test + public void testEventPayloadShallowCopy() throws IOException { + final EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + final EventPayload instanceCopy = Copying.shallow(instance); + + assertTrue(EventPayloadShallowEquals(instance, instanceCopy), "EventPayload"); + } // public void testEventPayloadShallowCopy + + @Test + public void testEventPayloadDeepCopy() throws IOException { + final EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + final EventPayload instanceCopy = Copying.deep(instance); + + assertTrue(EventPayloadDeepEquals(instance, instanceCopy), "EventPayload"); + } // public void testEventPayloadDeepCopy + + @Test + public void testBasicEventElementShallowCopy() throws IOException { + final BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final BasicEventElement instanceCopy = Copying.shallow(instance); + + assertTrue(BasicEventElementShallowEquals(instance, instanceCopy), "BasicEventElement"); + } // public void testBasicEventElementShallowCopy + + @Test + public void testBasicEventElementDeepCopy() throws IOException { + final BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final BasicEventElement instanceCopy = Copying.deep(instance); + + assertTrue(BasicEventElementDeepEquals(instance, instanceCopy), "BasicEventElement"); + } // public void testBasicEventElementDeepCopy + + @Test + public void testOperationShallowCopy() throws IOException { + final Operation instance = CommonJsonization.loadMaximalOperation(); + final Operation instanceCopy = Copying.shallow(instance); + + assertTrue(OperationShallowEquals(instance, instanceCopy), "Operation"); + } // public void testOperationShallowCopy + + @Test + public void testOperationDeepCopy() throws IOException { + final Operation instance = CommonJsonization.loadMaximalOperation(); + final Operation instanceCopy = Copying.deep(instance); + + assertTrue(OperationDeepEquals(instance, instanceCopy), "Operation"); + } // public void testOperationDeepCopy + + @Test + public void testOperationVariableShallowCopy() throws IOException { + final OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + final OperationVariable instanceCopy = Copying.shallow(instance); + + assertTrue(OperationVariableShallowEquals(instance, instanceCopy), "OperationVariable"); + } // public void testOperationVariableShallowCopy + + @Test + public void testOperationVariableDeepCopy() throws IOException { + final OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + final OperationVariable instanceCopy = Copying.deep(instance); + + assertTrue(OperationVariableDeepEquals(instance, instanceCopy), "OperationVariable"); + } // public void testOperationVariableDeepCopy + + @Test + public void testCapabilityShallowCopy() throws IOException { + final Capability instance = CommonJsonization.loadMaximalCapability(); + final Capability instanceCopy = Copying.shallow(instance); + + assertTrue(CapabilityShallowEquals(instance, instanceCopy), "Capability"); + } // public void testCapabilityShallowCopy + + @Test + public void testCapabilityDeepCopy() throws IOException { + final Capability instance = CommonJsonization.loadMaximalCapability(); + final Capability instanceCopy = Copying.deep(instance); + + assertTrue(CapabilityDeepEquals(instance, instanceCopy), "Capability"); + } // public void testCapabilityDeepCopy + + @Test + public void testConceptDescriptionShallowCopy() throws IOException { + final ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final ConceptDescription instanceCopy = Copying.shallow(instance); + + assertTrue(ConceptDescriptionShallowEquals(instance, instanceCopy), "ConceptDescription"); + } // public void testConceptDescriptionShallowCopy + + @Test + public void testConceptDescriptionDeepCopy() throws IOException { + final ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final ConceptDescription instanceCopy = Copying.deep(instance); + + assertTrue(ConceptDescriptionDeepEquals(instance, instanceCopy), "ConceptDescription"); + } // public void testConceptDescriptionDeepCopy + + @Test + public void testReferenceShallowCopy() throws IOException { + final Reference instance = CommonJsonization.loadMaximalReference(); + final Reference instanceCopy = Copying.shallow(instance); + + assertTrue(ReferenceShallowEquals(instance, instanceCopy), "Reference"); + } // public void testReferenceShallowCopy + + @Test + public void testReferenceDeepCopy() throws IOException { + final Reference instance = CommonJsonization.loadMaximalReference(); + final Reference instanceCopy = Copying.deep(instance); + + assertTrue(ReferenceDeepEquals(instance, instanceCopy), "Reference"); + } // public void testReferenceDeepCopy + + @Test + public void testKeyShallowCopy() throws IOException { + final Key instance = CommonJsonization.loadMaximalKey(); + final Key instanceCopy = Copying.shallow(instance); + + assertTrue(KeyShallowEquals(instance, instanceCopy), "Key"); + } // public void testKeyShallowCopy + + @Test + public void testKeyDeepCopy() throws IOException { + final Key instance = CommonJsonization.loadMaximalKey(); + final Key instanceCopy = Copying.deep(instance); + + assertTrue(KeyDeepEquals(instance, instanceCopy), "Key"); + } // public void testKeyDeepCopy + + @Test + public void testLangStringNameTypeShallowCopy() throws IOException { + final LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + final LangStringNameType instanceCopy = Copying.shallow(instance); + + assertTrue(LangStringNameTypeShallowEquals(instance, instanceCopy), "LangStringNameType"); + } // public void testLangStringNameTypeShallowCopy + + @Test + public void testLangStringNameTypeDeepCopy() throws IOException { + final LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + final LangStringNameType instanceCopy = Copying.deep(instance); + + assertTrue(LangStringNameTypeDeepEquals(instance, instanceCopy), "LangStringNameType"); + } // public void testLangStringNameTypeDeepCopy + + @Test + public void testLangStringTextTypeShallowCopy() throws IOException { + final LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + final LangStringTextType instanceCopy = Copying.shallow(instance); + + assertTrue(LangStringTextTypeShallowEquals(instance, instanceCopy), "LangStringTextType"); + } // public void testLangStringTextTypeShallowCopy + + @Test + public void testLangStringTextTypeDeepCopy() throws IOException { + final LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + final LangStringTextType instanceCopy = Copying.deep(instance); + + assertTrue(LangStringTextTypeDeepEquals(instance, instanceCopy), "LangStringTextType"); + } // public void testLangStringTextTypeDeepCopy + + @Test + public void testEnvironmentShallowCopy() throws IOException { + final Environment instance = CommonJsonization.loadMaximalEnvironment(); + final Environment instanceCopy = Copying.shallow(instance); + + assertTrue(EnvironmentShallowEquals(instance, instanceCopy), "Environment"); + } // public void testEnvironmentShallowCopy + + @Test + public void testEnvironmentDeepCopy() throws IOException { + final Environment instance = CommonJsonization.loadMaximalEnvironment(); + final Environment instanceCopy = Copying.deep(instance); + + assertTrue(EnvironmentDeepEquals(instance, instanceCopy), "Environment"); + } // public void testEnvironmentDeepCopy + + @Test + public void testEmbeddedDataSpecificationShallowCopy() throws IOException { + final EmbeddedDataSpecification instance = + CommonJsonization.loadMaximalEmbeddedDataSpecification(); + final EmbeddedDataSpecification instanceCopy = Copying.shallow(instance); + + assertTrue( + EmbeddedDataSpecificationShallowEquals(instance, instanceCopy), + "EmbeddedDataSpecification"); + } // public void testEmbeddedDataSpecificationShallowCopy + + @Test + public void testEmbeddedDataSpecificationDeepCopy() throws IOException { + final EmbeddedDataSpecification instance = + CommonJsonization.loadMaximalEmbeddedDataSpecification(); + final EmbeddedDataSpecification instanceCopy = Copying.deep(instance); + + assertTrue( + EmbeddedDataSpecificationDeepEquals(instance, instanceCopy), "EmbeddedDataSpecification"); + } // public void testEmbeddedDataSpecificationDeepCopy + + @Test + public void testLevelTypeShallowCopy() throws IOException { + final LevelType instance = CommonJsonization.loadMaximalLevelType(); + final LevelType instanceCopy = Copying.shallow(instance); + + assertTrue(LevelTypeShallowEquals(instance, instanceCopy), "LevelType"); + } // public void testLevelTypeShallowCopy + + @Test + public void testLevelTypeDeepCopy() throws IOException { + final LevelType instance = CommonJsonization.loadMaximalLevelType(); + final LevelType instanceCopy = Copying.deep(instance); + + assertTrue(LevelTypeDeepEquals(instance, instanceCopy), "LevelType"); + } // public void testLevelTypeDeepCopy + + @Test + public void testValueReferencePairShallowCopy() throws IOException { + final ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + final ValueReferencePair instanceCopy = Copying.shallow(instance); + + assertTrue(ValueReferencePairShallowEquals(instance, instanceCopy), "ValueReferencePair"); + } // public void testValueReferencePairShallowCopy + + @Test + public void testValueReferencePairDeepCopy() throws IOException { + final ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + final ValueReferencePair instanceCopy = Copying.deep(instance); + + assertTrue(ValueReferencePairDeepEquals(instance, instanceCopy), "ValueReferencePair"); + } // public void testValueReferencePairDeepCopy + + @Test + public void testValueListShallowCopy() throws IOException { + final ValueList instance = CommonJsonization.loadMaximalValueList(); + final ValueList instanceCopy = Copying.shallow(instance); + + assertTrue(ValueListShallowEquals(instance, instanceCopy), "ValueList"); + } // public void testValueListShallowCopy + + @Test + public void testValueListDeepCopy() throws IOException { + final ValueList instance = CommonJsonization.loadMaximalValueList(); + final ValueList instanceCopy = Copying.deep(instance); + + assertTrue(ValueListDeepEquals(instance, instanceCopy), "ValueList"); + } // public void testValueListDeepCopy + + @Test + public void testLangStringPreferredNameTypeIec61360ShallowCopy() throws IOException { + final LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + final LangStringPreferredNameTypeIec61360 instanceCopy = Copying.shallow(instance); + + assertTrue( + LangStringPreferredNameTypeIec61360ShallowEquals(instance, instanceCopy), + "LangStringPreferredNameTypeIec61360"); + } // public void testLangStringPreferredNameTypeIec61360ShallowCopy + + @Test + public void testLangStringPreferredNameTypeIec61360DeepCopy() throws IOException { + final LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + final LangStringPreferredNameTypeIec61360 instanceCopy = Copying.deep(instance); + + assertTrue( + LangStringPreferredNameTypeIec61360DeepEquals(instance, instanceCopy), + "LangStringPreferredNameTypeIec61360"); + } // public void testLangStringPreferredNameTypeIec61360DeepCopy + + @Test + public void testLangStringShortNameTypeIec61360ShallowCopy() throws IOException { + final LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + final LangStringShortNameTypeIec61360 instanceCopy = Copying.shallow(instance); + + assertTrue( + LangStringShortNameTypeIec61360ShallowEquals(instance, instanceCopy), + "LangStringShortNameTypeIec61360"); + } // public void testLangStringShortNameTypeIec61360ShallowCopy + + @Test + public void testLangStringShortNameTypeIec61360DeepCopy() throws IOException { + final LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + final LangStringShortNameTypeIec61360 instanceCopy = Copying.deep(instance); + + assertTrue( + LangStringShortNameTypeIec61360DeepEquals(instance, instanceCopy), + "LangStringShortNameTypeIec61360"); + } // public void testLangStringShortNameTypeIec61360DeepCopy + + @Test + public void testLangStringDefinitionTypeIec61360ShallowCopy() throws IOException { + final LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + final LangStringDefinitionTypeIec61360 instanceCopy = Copying.shallow(instance); + + assertTrue( + LangStringDefinitionTypeIec61360ShallowEquals(instance, instanceCopy), + "LangStringDefinitionTypeIec61360"); + } // public void testLangStringDefinitionTypeIec61360ShallowCopy + + @Test + public void testLangStringDefinitionTypeIec61360DeepCopy() throws IOException { + final LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + final LangStringDefinitionTypeIec61360 instanceCopy = Copying.deep(instance); + + assertTrue( + LangStringDefinitionTypeIec61360DeepEquals(instance, instanceCopy), + "LangStringDefinitionTypeIec61360"); + } // public void testLangStringDefinitionTypeIec61360DeepCopy + + @Test + public void testDataSpecificationIec61360ShallowCopy() throws IOException { + final DataSpecificationIec61360 instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + final DataSpecificationIec61360 instanceCopy = Copying.shallow(instance); + + assertTrue( + DataSpecificationIec61360ShallowEquals(instance, instanceCopy), + "DataSpecificationIec61360"); + } // public void testDataSpecificationIec61360ShallowCopy + + @Test + public void testDataSpecificationIec61360DeepCopy() throws IOException { + final DataSpecificationIec61360 instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + final DataSpecificationIec61360 instanceCopy = Copying.deep(instance); + + assertTrue( + DataSpecificationIec61360DeepEquals(instance, instanceCopy), "DataSpecificationIec61360"); + } // public void testDataSpecificationIec61360DeepCopy +} // class TestCopying + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestDescendAndVisitorThrough.java b/src/test/java/TestDescendAndVisitorThrough.java new file mode 100644 index 00000000..fb99bc19 --- /dev/null +++ b/src/test/java/TestDescendAndVisitorThrough.java @@ -0,0 +1,710 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.*; + +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.IClass; +import aas_core.aas3_1.visitation.VisitorThrough; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Collectors; +import org.junit.jupiter.api.Test; + +public class TestDescendAndVisitorThrough { + private class _TracingVisitorThrough extends VisitorThrough { + public final List log = new ArrayList<>(); + + @Override + public void visit(IClass that) { + log.add(Common.trace(that)); + super.visit(that); + } + } + + private void assertDescendAndVisitorThroughSame(IClass instance) { + final List logFromDescend = new ArrayList<>(); + + for (IClass subInstance : instance.descend()) { + logFromDescend.add(Common.trace(subInstance)); + } + + final _TracingVisitorThrough visitor = new _TracingVisitorThrough(); + visitor.visit(instance); + final List traceFromVisitor = visitor.log; + + assertFalse(traceFromVisitor.isEmpty()); + + assertEquals(Common.trace(instance), traceFromVisitor.get(0)); + + traceFromVisitor.remove(0); + + assertTrue(traceFromVisitor.equals(logFromDescend)); + } + + private void compareOrRerecordTrace(IClass instance, Path expectedPath) throws IOException { + final StringBuilder stringBuilder = new StringBuilder(); + for (IClass descendant : instance.descend()) { + stringBuilder.append(Common.trace(descendant)); + } + + final String got = stringBuilder.toString(); + if (Common.RECORD_MODE) { + Files.createDirectories(expectedPath.getParent()); + Files.write(expectedPath, got.getBytes()); + } else { + if (!Files.exists(expectedPath)) { + throw new FileNotFoundException( + "The file with the recorded value does not exist: " + expectedPath); + } + final String expected = + Files.readAllLines(expectedPath).stream().collect(Collectors.joining("\n")); + assertEquals(expected.replace("\n", ""), got.replace("\n", "")); + } + } + + @Test + public void testDescendOfExtension() throws IOException { + final Extension instance = CommonJsonization.loadMaximalExtension(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Extension", "maximal.json.trace")); + } // public void testDescendOfExtension + + @Test + public void testDescendAgainstVisitorThroughForExtension() throws IOException { + Extension instance = (CommonJsonization.loadMaximalExtension()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForExtension + + @Test + public void testDescendOfAdministrativeInformation() throws IOException { + final AdministrativeInformation instance = + CommonJsonization.loadMaximalAdministrativeInformation(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "AdministrativeInformation", "maximal.json.trace")); + } // public void testDescendOfAdministrativeInformation + + @Test + public void testDescendAgainstVisitorThroughForAdministrativeInformation() throws IOException { + AdministrativeInformation instance = (CommonJsonization.loadMaximalAdministrativeInformation()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAdministrativeInformation + + @Test + public void testDescendOfQualifier() throws IOException { + final Qualifier instance = CommonJsonization.loadMaximalQualifier(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Qualifier", "maximal.json.trace")); + } // public void testDescendOfQualifier + + @Test + public void testDescendAgainstVisitorThroughForQualifier() throws IOException { + Qualifier instance = (CommonJsonization.loadMaximalQualifier()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForQualifier + + @Test + public void testDescendOfAssetAdministrationShell() throws IOException { + final AssetAdministrationShell instance = + CommonJsonization.loadMaximalAssetAdministrationShell(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "AssetAdministrationShell", "maximal.json.trace")); + } // public void testDescendOfAssetAdministrationShell + + @Test + public void testDescendAgainstVisitorThroughForAssetAdministrationShell() throws IOException { + AssetAdministrationShell instance = (CommonJsonization.loadMaximalAssetAdministrationShell()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAssetAdministrationShell + + @Test + public void testDescendOfAssetInformation() throws IOException { + final AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "AssetInformation", "maximal.json.trace")); + } // public void testDescendOfAssetInformation + + @Test + public void testDescendAgainstVisitorThroughForAssetInformation() throws IOException { + AssetInformation instance = (CommonJsonization.loadMaximalAssetInformation()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAssetInformation + + @Test + public void testDescendOfResource() throws IOException { + final Resource instance = CommonJsonization.loadMaximalResource(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Resource", "maximal.json.trace")); + } // public void testDescendOfResource + + @Test + public void testDescendAgainstVisitorThroughForResource() throws IOException { + Resource instance = (CommonJsonization.loadMaximalResource()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForResource + + @Test + public void testDescendOfSpecificAssetId() throws IOException { + final SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "SpecificAssetId", "maximal.json.trace")); + } // public void testDescendOfSpecificAssetId + + @Test + public void testDescendAgainstVisitorThroughForSpecificAssetId() throws IOException { + SpecificAssetId instance = (CommonJsonization.loadMaximalSpecificAssetId()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSpecificAssetId + + @Test + public void testDescendOfSubmodel() throws IOException { + final Submodel instance = CommonJsonization.loadMaximalSubmodel(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Submodel", "maximal.json.trace")); + } // public void testDescendOfSubmodel + + @Test + public void testDescendAgainstVisitorThroughForSubmodel() throws IOException { + Submodel instance = (CommonJsonization.loadMaximalSubmodel()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodel + + @Test + public void testDescendOfRelationshipElement() throws IOException { + final RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "RelationshipElement", "maximal.json.trace")); + } // public void testDescendOfRelationshipElement + + @Test + public void testDescendAgainstVisitorThroughForRelationshipElement() throws IOException { + RelationshipElement instance = (CommonJsonization.loadMaximalRelationshipElement()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRelationshipElement + + @Test + public void testDescendOfSubmodelElementList() throws IOException { + final SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "SubmodelElementList", "maximal.json.trace")); + } // public void testDescendOfSubmodelElementList + + @Test + public void testDescendAgainstVisitorThroughForSubmodelElementList() throws IOException { + SubmodelElementList instance = (CommonJsonization.loadMaximalSubmodelElementList()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelElementList + + @Test + public void testDescendOfSubmodelElementCollection() throws IOException { + final SubmodelElementCollection instance = + CommonJsonization.loadMaximalSubmodelElementCollection(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "SubmodelElementCollection", "maximal.json.trace")); + } // public void testDescendOfSubmodelElementCollection + + @Test + public void testDescendAgainstVisitorThroughForSubmodelElementCollection() throws IOException { + SubmodelElementCollection instance = (CommonJsonization.loadMaximalSubmodelElementCollection()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForSubmodelElementCollection + + @Test + public void testDescendOfProperty() throws IOException { + final Property instance = CommonJsonization.loadMaximalProperty(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Property", "maximal.json.trace")); + } // public void testDescendOfProperty + + @Test + public void testDescendAgainstVisitorThroughForProperty() throws IOException { + Property instance = (CommonJsonization.loadMaximalProperty()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForProperty + + @Test + public void testDescendOfMultiLanguageProperty() throws IOException { + final MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "MultiLanguageProperty", "maximal.json.trace")); + } // public void testDescendOfMultiLanguageProperty + + @Test + public void testDescendAgainstVisitorThroughForMultiLanguageProperty() throws IOException { + MultiLanguageProperty instance = (CommonJsonization.loadMaximalMultiLanguageProperty()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForMultiLanguageProperty + + @Test + public void testDescendOfRange() throws IOException { + final Range instance = CommonJsonization.loadMaximalRange(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Range", "maximal.json.trace")); + } // public void testDescendOfRange + + @Test + public void testDescendAgainstVisitorThroughForRange() throws IOException { + Range instance = (CommonJsonization.loadMaximalRange()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForRange + + @Test + public void testDescendOfReferenceElement() throws IOException { + final ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ReferenceElement", "maximal.json.trace")); + } // public void testDescendOfReferenceElement + + @Test + public void testDescendAgainstVisitorThroughForReferenceElement() throws IOException { + ReferenceElement instance = (CommonJsonization.loadMaximalReferenceElement()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForReferenceElement + + @Test + public void testDescendOfBlob() throws IOException { + final Blob instance = CommonJsonization.loadMaximalBlob(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Blob", "maximal.json.trace")); + } // public void testDescendOfBlob + + @Test + public void testDescendAgainstVisitorThroughForBlob() throws IOException { + Blob instance = (CommonJsonization.loadMaximalBlob()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBlob + + @Test + public void testDescendOfFile() throws IOException { + final File instance = CommonJsonization.loadMaximalFile(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "File", "maximal.json.trace")); + } // public void testDescendOfFile + + @Test + public void testDescendAgainstVisitorThroughForFile() throws IOException { + File instance = (CommonJsonization.loadMaximalFile()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForFile + + @Test + public void testDescendOfAnnotatedRelationshipElement() throws IOException { + final AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "AnnotatedRelationshipElement", "maximal.json.trace")); + } // public void testDescendOfAnnotatedRelationshipElement + + @Test + public void testDescendAgainstVisitorThroughForAnnotatedRelationshipElement() throws IOException { + AnnotatedRelationshipElement instance = + (CommonJsonization.loadMaximalAnnotatedRelationshipElement()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForAnnotatedRelationshipElement + + @Test + public void testDescendOfEntity() throws IOException { + final Entity instance = CommonJsonization.loadMaximalEntity(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Entity", "maximal.json.trace")); + } // public void testDescendOfEntity + + @Test + public void testDescendAgainstVisitorThroughForEntity() throws IOException { + Entity instance = (CommonJsonization.loadMaximalEntity()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEntity + + @Test + public void testDescendOfEventPayload() throws IOException { + final EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "EventPayload", "maximal.json.trace")); + } // public void testDescendOfEventPayload + + @Test + public void testDescendAgainstVisitorThroughForEventPayload() throws IOException { + EventPayload instance = (CommonJsonization.loadMaximalEventPayload()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEventPayload + + @Test + public void testDescendOfBasicEventElement() throws IOException { + final BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "BasicEventElement", "maximal.json.trace")); + } // public void testDescendOfBasicEventElement + + @Test + public void testDescendAgainstVisitorThroughForBasicEventElement() throws IOException { + BasicEventElement instance = (CommonJsonization.loadMaximalBasicEventElement()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForBasicEventElement + + @Test + public void testDescendOfOperation() throws IOException { + final Operation instance = CommonJsonization.loadMaximalOperation(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Operation", "maximal.json.trace")); + } // public void testDescendOfOperation + + @Test + public void testDescendAgainstVisitorThroughForOperation() throws IOException { + Operation instance = (CommonJsonization.loadMaximalOperation()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperation + + @Test + public void testDescendOfOperationVariable() throws IOException { + final OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "OperationVariable", "maximal.json.trace")); + } // public void testDescendOfOperationVariable + + @Test + public void testDescendAgainstVisitorThroughForOperationVariable() throws IOException { + OperationVariable instance = (CommonJsonization.loadMaximalOperationVariable()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForOperationVariable + + @Test + public void testDescendOfCapability() throws IOException { + final Capability instance = CommonJsonization.loadMaximalCapability(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Capability", "maximal.json.trace")); + } // public void testDescendOfCapability + + @Test + public void testDescendAgainstVisitorThroughForCapability() throws IOException { + Capability instance = (CommonJsonization.loadMaximalCapability()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForCapability + + @Test + public void testDescendOfConceptDescription() throws IOException { + final ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ConceptDescription", "maximal.json.trace")); + } // public void testDescendOfConceptDescription + + @Test + public void testDescendAgainstVisitorThroughForConceptDescription() throws IOException { + ConceptDescription instance = (CommonJsonization.loadMaximalConceptDescription()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForConceptDescription + + @Test + public void testDescendOfReference() throws IOException { + final Reference instance = CommonJsonization.loadMaximalReference(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Reference", "maximal.json.trace")); + } // public void testDescendOfReference + + @Test + public void testDescendAgainstVisitorThroughForReference() throws IOException { + Reference instance = (CommonJsonization.loadMaximalReference()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForReference + + @Test + public void testDescendOfKey() throws IOException { + final Key instance = CommonJsonization.loadMaximalKey(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Key", "maximal.json.trace")); + } // public void testDescendOfKey + + @Test + public void testDescendAgainstVisitorThroughForKey() throws IOException { + Key instance = (CommonJsonization.loadMaximalKey()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForKey + + @Test + public void testDescendOfLangStringNameType() throws IOException { + final LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "LangStringNameType", "maximal.json.trace")); + } // public void testDescendOfLangStringNameType + + @Test + public void testDescendAgainstVisitorThroughForLangStringNameType() throws IOException { + LangStringNameType instance = (CommonJsonization.loadMaximalLangStringNameType()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringNameType + + @Test + public void testDescendOfLangStringTextType() throws IOException { + final LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "LangStringTextType", "maximal.json.trace")); + } // public void testDescendOfLangStringTextType + + @Test + public void testDescendAgainstVisitorThroughForLangStringTextType() throws IOException { + LangStringTextType instance = (CommonJsonization.loadMaximalLangStringTextType()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringTextType + + @Test + public void testDescendOfEnvironment() throws IOException { + final Environment instance = CommonJsonization.loadMaximalEnvironment(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "Environment", "maximal.json.trace")); + } // public void testDescendOfEnvironment + + @Test + public void testDescendAgainstVisitorThroughForEnvironment() throws IOException { + Environment instance = (CommonJsonization.loadMaximalEnvironment()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEnvironment + + @Test + public void testDescendOfEmbeddedDataSpecification() throws IOException { + final EmbeddedDataSpecification instance = + CommonJsonization.loadMaximalEmbeddedDataSpecification(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "EmbeddedDataSpecification", "maximal.json.trace")); + } // public void testDescendOfEmbeddedDataSpecification + + @Test + public void testDescendAgainstVisitorThroughForEmbeddedDataSpecification() throws IOException { + EmbeddedDataSpecification instance = (CommonJsonization.loadMaximalEmbeddedDataSpecification()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForEmbeddedDataSpecification + + @Test + public void testDescendOfLevelType() throws IOException { + final LevelType instance = CommonJsonization.loadMaximalLevelType(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "LevelType", "maximal.json.trace")); + } // public void testDescendOfLevelType + + @Test + public void testDescendAgainstVisitorThroughForLevelType() throws IOException { + LevelType instance = (CommonJsonization.loadMaximalLevelType()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLevelType + + @Test + public void testDescendOfValueReferencePair() throws IOException { + final ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "Descend", "ValueReferencePair", "maximal.json.trace")); + } // public void testDescendOfValueReferencePair + + @Test + public void testDescendAgainstVisitorThroughForValueReferencePair() throws IOException { + ValueReferencePair instance = (CommonJsonization.loadMaximalValueReferencePair()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForValueReferencePair + + @Test + public void testDescendOfValueList() throws IOException { + final ValueList instance = CommonJsonization.loadMaximalValueList(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "Descend", "ValueList", "maximal.json.trace")); + } // public void testDescendOfValueList + + @Test + public void testDescendAgainstVisitorThroughForValueList() throws IOException { + ValueList instance = (CommonJsonization.loadMaximalValueList()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForValueList + + @Test + public void testDescendOfLangStringPreferredNameTypeIec61360() throws IOException { + final LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "LangStringPreferredNameTypeIec61360", + "maximal.json.trace")); + } // public void testDescendOfLangStringPreferredNameTypeIec61360 + + @Test + public void testDescendAgainstVisitorThroughForLangStringPreferredNameTypeIec61360() + throws IOException { + LangStringPreferredNameTypeIec61360 instance = + (CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringPreferredNameTypeIec61360 + + @Test + public void testDescendOfLangStringShortNameTypeIec61360() throws IOException { + final LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "LangStringShortNameTypeIec61360", + "maximal.json.trace")); + } // public void testDescendOfLangStringShortNameTypeIec61360 + + @Test + public void testDescendAgainstVisitorThroughForLangStringShortNameTypeIec61360() + throws IOException { + LangStringShortNameTypeIec61360 instance = + (CommonJsonization.loadMaximalLangStringShortNameTypeIec61360()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringShortNameTypeIec61360 + + @Test + public void testDescendOfLangStringDefinitionTypeIec61360() throws IOException { + final LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "Descend", + "LangStringDefinitionTypeIec61360", + "maximal.json.trace")); + } // public void testDescendOfLangStringDefinitionTypeIec61360 + + @Test + public void testDescendAgainstVisitorThroughForLangStringDefinitionTypeIec61360() + throws IOException { + LangStringDefinitionTypeIec61360 instance = + (CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForLangStringDefinitionTypeIec61360 + + @Test + public void testDescendOfDataSpecificationIec61360() throws IOException { + final DataSpecificationIec61360 instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "Descend", "DataSpecificationIec61360", "maximal.json.trace")); + } // public void testDescendOfDataSpecificationIec61360 + + @Test + public void testDescendAgainstVisitorThroughForDataSpecificationIec61360() throws IOException { + DataSpecificationIec61360 instance = (CommonJsonization.loadMaximalDataSpecificationIec61360()); + + assertDescendAndVisitorThroughSame(instance); + } // public void testDescendAgainstVisitorThroughForDataSpecificationIec61360 +} // class TestDescendAndVisitorThrough + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestDescendOnce.java b/src/test/java/TestDescendOnce.java new file mode 100644 index 00000000..45dc15ea --- /dev/null +++ b/src/test/java/TestDescendOnce.java @@ -0,0 +1,431 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.IClass; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.stream.Collectors; +import org.junit.jupiter.api.Test; + +public class TestDescendOnce { + private static void compareOrRerecordTrace(IClass instance, Path expectedPath) + throws IOException, FileNotFoundException { + final StringBuilder stringBuilder = new StringBuilder(); + for (IClass descendant : instance.descendOnce()) { + stringBuilder.append(Common.trace(descendant)); + } + + final String got = stringBuilder.toString(); + + if (Common.RECORD_MODE) { + Files.createDirectories(expectedPath.getParent()); + Files.write(expectedPath, got.getBytes()); + } else { + if (!Files.exists(expectedPath)) { + throw new FileNotFoundException( + "The file with the recorded trace does not exist: " + + expectedPath + + "; maybe you want to set the environment variable " + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME); + } + final String expected = + Files.readAllLines(expectedPath).stream().collect(Collectors.joining("\n")); + assertEquals(expected.replace("\n", ""), got.replace("\n", "")); + } + } + + @Test + public void testExtension() throws IOException { + Extension instance = CommonJsonization.loadMaximalExtension(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Extension", "maximal.json.trace")); + } // public void testExtension + + @Test + public void testAdministrativeInformation() throws IOException { + AdministrativeInformation instance = CommonJsonization.loadMaximalAdministrativeInformation(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AdministrativeInformation", + "maximal.json.trace")); + } // public void testAdministrativeInformation + + @Test + public void testQualifier() throws IOException { + Qualifier instance = CommonJsonization.loadMaximalQualifier(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Qualifier", "maximal.json.trace")); + } // public void testQualifier + + @Test + public void testAssetAdministrationShell() throws IOException { + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "AssetAdministrationShell", "maximal.json.trace")); + } // public void testAssetAdministrationShell + + @Test + public void testAssetInformation() throws IOException { + AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "AssetInformation", "maximal.json.trace")); + } // public void testAssetInformation + + @Test + public void testResource() throws IOException { + Resource instance = CommonJsonization.loadMaximalResource(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Resource", "maximal.json.trace")); + } // public void testResource + + @Test + public void testSpecificAssetId() throws IOException { + SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "SpecificAssetId", "maximal.json.trace")); + } // public void testSpecificAssetId + + @Test + public void testSubmodel() throws IOException { + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Submodel", "maximal.json.trace")); + } // public void testSubmodel + + @Test + public void testRelationshipElement() throws IOException { + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "RelationshipElement", "maximal.json.trace")); + } // public void testRelationshipElement + + @Test + public void testSubmodelElementList() throws IOException { + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "SubmodelElementList", "maximal.json.trace")); + } // public void testSubmodelElementList + + @Test + public void testSubmodelElementCollection() throws IOException { + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "SubmodelElementCollection", + "maximal.json.trace")); + } // public void testSubmodelElementCollection + + @Test + public void testProperty() throws IOException { + Property instance = CommonJsonization.loadMaximalProperty(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Property", "maximal.json.trace")); + } // public void testProperty + + @Test + public void testMultiLanguageProperty() throws IOException { + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, "DescendOnce", "MultiLanguageProperty", "maximal.json.trace")); + } // public void testMultiLanguageProperty + + @Test + public void testRange() throws IOException { + Range instance = CommonJsonization.loadMaximalRange(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Range", "maximal.json.trace")); + } // public void testRange + + @Test + public void testReferenceElement() throws IOException { + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ReferenceElement", "maximal.json.trace")); + } // public void testReferenceElement + + @Test + public void testBlob() throws IOException { + Blob instance = CommonJsonization.loadMaximalBlob(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Blob", "maximal.json.trace")); + } // public void testBlob + + @Test + public void testFile() throws IOException { + File instance = CommonJsonization.loadMaximalFile(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "File", "maximal.json.trace")); + } // public void testFile + + @Test + public void testAnnotatedRelationshipElement() throws IOException { + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "AnnotatedRelationshipElement", + "maximal.json.trace")); + } // public void testAnnotatedRelationshipElement + + @Test + public void testEntity() throws IOException { + Entity instance = CommonJsonization.loadMaximalEntity(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Entity", "maximal.json.trace")); + } // public void testEntity + + @Test + public void testEventPayload() throws IOException { + EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "EventPayload", "maximal.json.trace")); + } // public void testEventPayload + + @Test + public void testBasicEventElement() throws IOException { + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "BasicEventElement", "maximal.json.trace")); + } // public void testBasicEventElement + + @Test + public void testOperation() throws IOException { + Operation instance = CommonJsonization.loadMaximalOperation(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Operation", "maximal.json.trace")); + } // public void testOperation + + @Test + public void testOperationVariable() throws IOException { + OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "OperationVariable", "maximal.json.trace")); + } // public void testOperationVariable + + @Test + public void testCapability() throws IOException { + Capability instance = CommonJsonization.loadMaximalCapability(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Capability", "maximal.json.trace")); + } // public void testCapability + + @Test + public void testConceptDescription() throws IOException { + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ConceptDescription", "maximal.json.trace")); + } // public void testConceptDescription + + @Test + public void testReference() throws IOException { + Reference instance = CommonJsonization.loadMaximalReference(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Reference", "maximal.json.trace")); + } // public void testReference + + @Test + public void testKey() throws IOException { + Key instance = CommonJsonization.loadMaximalKey(); + + compareOrRerecordTrace( + instance, Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Key", "maximal.json.trace")); + } // public void testKey + + @Test + public void testLangStringNameType() throws IOException { + LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "LangStringNameType", "maximal.json.trace")); + } // public void testLangStringNameType + + @Test + public void testLangStringTextType() throws IOException { + LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "LangStringTextType", "maximal.json.trace")); + } // public void testLangStringTextType + + @Test + public void testEnvironment() throws IOException { + Environment instance = CommonJsonization.loadMaximalEnvironment(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "Environment", "maximal.json.trace")); + } // public void testEnvironment + + @Test + public void testEmbeddedDataSpecification() throws IOException { + EmbeddedDataSpecification instance = CommonJsonization.loadMaximalEmbeddedDataSpecification(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "EmbeddedDataSpecification", + "maximal.json.trace")); + } // public void testEmbeddedDataSpecification + + @Test + public void testLevelType() throws IOException { + LevelType instance = CommonJsonization.loadMaximalLevelType(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "LevelType", "maximal.json.trace")); + } // public void testLevelType + + @Test + public void testValueReferencePair() throws IOException { + ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ValueReferencePair", "maximal.json.trace")); + } // public void testValueReferencePair + + @Test + public void testValueList() throws IOException { + ValueList instance = CommonJsonization.loadMaximalValueList(); + + compareOrRerecordTrace( + instance, + Paths.get(Common.TEST_DATA_DIR, "DescendOnce", "ValueList", "maximal.json.trace")); + } // public void testValueList + + @Test + public void testLangStringPreferredNameTypeIec61360() throws IOException { + LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "LangStringPreferredNameTypeIec61360", + "maximal.json.trace")); + } // public void testLangStringPreferredNameTypeIec61360 + + @Test + public void testLangStringShortNameTypeIec61360() throws IOException { + LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "LangStringShortNameTypeIec61360", + "maximal.json.trace")); + } // public void testLangStringShortNameTypeIec61360 + + @Test + public void testLangStringDefinitionTypeIec61360() throws IOException { + LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "LangStringDefinitionTypeIec61360", + "maximal.json.trace")); + } // public void testLangStringDefinitionTypeIec61360 + + @Test + public void testDataSpecificationIec61360() throws IOException { + DataSpecificationIec61360 instance = CommonJsonization.loadMaximalDataSpecificationIec61360(); + + compareOrRerecordTrace( + instance, + Paths.get( + Common.TEST_DATA_DIR, + "DescendOnce", + "DataSpecificationIec61360", + "maximal.json.trace")); + } // public void testDataSpecificationIec61360 +} // class TestDescendOnce + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestEnhancing.java b/src/test/java/TestEnhancing.java new file mode 100644 index 00000000..1cf8fea8 --- /dev/null +++ b/src/test/java/TestEnhancing.java @@ -0,0 +1,1236 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.*; + +import aas_core.aas3_1.enhancing.Enhancer; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.IClass; +import java.io.IOException; +import java.util.Comparator; +import java.util.HashSet; +import java.util.Optional; +import java.util.Set; +import java.util.concurrent.atomic.AtomicLong; +import java.util.function.Function; +import org.junit.jupiter.api.Test; + +public class TestEnhancing { + public static class _Enhancement { + public final long someCustomId; + + public _Enhancement(long someCustomId) { + this.someCustomId = someCustomId; + } + } + + private Enhancer<_Enhancement> createEnhancer() { + AtomicLong lastCustomId = new AtomicLong(); + + Function> enhancementFactory = + iClass -> Optional.of(new _Enhancement(lastCustomId.incrementAndGet())); + + return new Enhancer<>(enhancementFactory); + } + + @Test + public void testExtension() throws IOException { + final Extension instance = CommonJsonization.loadMaximalExtension(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testExtension + + @Test + public void testAdministrativeInformation() throws IOException { + final AdministrativeInformation instance = + CommonJsonization.loadMaximalAdministrativeInformation(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAdministrativeInformation + + @Test + public void testQualifier() throws IOException { + final Qualifier instance = CommonJsonization.loadMaximalQualifier(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testQualifier + + @Test + public void testAssetAdministrationShell() throws IOException { + final AssetAdministrationShell instance = + CommonJsonization.loadMaximalAssetAdministrationShell(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAssetAdministrationShell + + @Test + public void testAssetInformation() throws IOException { + final AssetInformation instance = CommonJsonization.loadMaximalAssetInformation(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAssetInformation + + @Test + public void testResource() throws IOException { + final Resource instance = CommonJsonization.loadMaximalResource(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testResource + + @Test + public void testSpecificAssetId() throws IOException { + final SpecificAssetId instance = CommonJsonization.loadMaximalSpecificAssetId(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSpecificAssetId + + @Test + public void testSubmodel() throws IOException { + final Submodel instance = CommonJsonization.loadMaximalSubmodel(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodel + + @Test + public void testRelationshipElement() throws IOException { + final RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRelationshipElement + + @Test + public void testSubmodelElementList() throws IOException { + final SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelElementList + + @Test + public void testSubmodelElementCollection() throws IOException { + final SubmodelElementCollection instance = + CommonJsonization.loadMaximalSubmodelElementCollection(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testSubmodelElementCollection + + @Test + public void testProperty() throws IOException { + final Property instance = CommonJsonization.loadMaximalProperty(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testProperty + + @Test + public void testMultiLanguageProperty() throws IOException { + final MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testMultiLanguageProperty + + @Test + public void testRange() throws IOException { + final Range instance = CommonJsonization.loadMaximalRange(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testRange + + @Test + public void testReferenceElement() throws IOException { + final ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testReferenceElement + + @Test + public void testBlob() throws IOException { + final Blob instance = CommonJsonization.loadMaximalBlob(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBlob + + @Test + public void testFile() throws IOException { + final File instance = CommonJsonization.loadMaximalFile(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testFile + + @Test + public void testAnnotatedRelationshipElement() throws IOException { + final AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testAnnotatedRelationshipElement + + @Test + public void testEntity() throws IOException { + final Entity instance = CommonJsonization.loadMaximalEntity(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEntity + + @Test + public void testEventPayload() throws IOException { + final EventPayload instance = CommonJsonization.loadMaximalEventPayload(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEventPayload + + @Test + public void testBasicEventElement() throws IOException { + final BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testBasicEventElement + + @Test + public void testOperation() throws IOException { + final Operation instance = CommonJsonization.loadMaximalOperation(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperation + + @Test + public void testOperationVariable() throws IOException { + final OperationVariable instance = CommonJsonization.loadMaximalOperationVariable(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testOperationVariable + + @Test + public void testCapability() throws IOException { + final Capability instance = CommonJsonization.loadMaximalCapability(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testCapability + + @Test + public void testConceptDescription() throws IOException { + final ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testConceptDescription + + @Test + public void testReference() throws IOException { + final Reference instance = CommonJsonization.loadMaximalReference(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testReference + + @Test + public void testKey() throws IOException { + final Key instance = CommonJsonization.loadMaximalKey(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testKey + + @Test + public void testLangStringNameType() throws IOException { + final LangStringNameType instance = CommonJsonization.loadMaximalLangStringNameType(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringNameType + + @Test + public void testLangStringTextType() throws IOException { + final LangStringTextType instance = CommonJsonization.loadMaximalLangStringTextType(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringTextType + + @Test + public void testEnvironment() throws IOException { + final Environment instance = CommonJsonization.loadMaximalEnvironment(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEnvironment + + @Test + public void testEmbeddedDataSpecification() throws IOException { + final EmbeddedDataSpecification instance = + CommonJsonization.loadMaximalEmbeddedDataSpecification(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testEmbeddedDataSpecification + + @Test + public void testLevelType() throws IOException { + final LevelType instance = CommonJsonization.loadMaximalLevelType(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLevelType + + @Test + public void testValueReferencePair() throws IOException { + final ValueReferencePair instance = CommonJsonization.loadMaximalValueReferencePair(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testValueReferencePair + + @Test + public void testValueList() throws IOException { + final ValueList instance = CommonJsonization.loadMaximalValueList(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testValueList + + @Test + public void testLangStringPreferredNameTypeIec61360() throws IOException { + final LangStringPreferredNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringPreferredNameTypeIec61360(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringPreferredNameTypeIec61360 + + @Test + public void testLangStringShortNameTypeIec61360() throws IOException { + final LangStringShortNameTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringShortNameTypeIec61360(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringShortNameTypeIec61360 + + @Test + public void testLangStringDefinitionTypeIec61360() throws IOException { + final LangStringDefinitionTypeIec61360 instance = + CommonJsonization.loadMaximalLangStringDefinitionTypeIec61360(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testLangStringDefinitionTypeIec61360 + + @Test + public void testDataSpecificationIec61360() throws IOException { + final DataSpecificationIec61360 instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + + final Enhancer<_Enhancement> enhancer = createEnhancer(); + + assert !enhancer.unwrap(instance).isPresent(); + + final IClass wrapped = enhancer.wrap(instance); + assertNotNull(wrapped); + + final Set idSet = new HashSet<>(); + idSet.add(enhancer.mustUnwrap(wrapped).someCustomId); + wrapped + .descend() + .forEach(descendant -> idSet.add(enhancer.mustUnwrap(descendant).someCustomId)); + + assertFalse(enhancer.unwrap(instance).isPresent()); + assertNotNull(wrapped); + assertEquals( + 1L, + idSet.stream() + .min(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing min value for wrapped."))); + assertEquals( + idSet.size(), + idSet.stream() + .max(Comparator.comparing(Long::valueOf)) + .orElseThrow(() -> new IllegalStateException("Missing max value for wrapped."))); + } // public void testDataSpecificationIec61360 +} // class TestEnhancing +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestJsonizationOfConcreteClasses.java b/src/test/java/TestJsonizationOfConcreteClasses.java new file mode 100644 index 00000000..95dea969 --- /dev/null +++ b/src/test/java/TestJsonizationOfConcreteClasses.java @@ -0,0 +1,3370 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.fail; + +import aas_core.aas3_1.jsonization.Jsonization; +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.IClass; +import aas_core.aas3_1.verification.Verification; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.List; +import java.util.stream.Collectors; +import org.junit.jupiter.api.Test; + +public class TestJsonizationOfConcreteClasses { + private static void assertSerializeDeserializeEqualsOriginal( + JsonNode originalNode, IClass instance, Path path) throws JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + JsonNode serialized = null; + try { + serialized = Jsonization.Serialize.toJsonObject(instance); + } catch (Exception exception) { + fail( + "Expected no exception upon serialization of an instance " + + "de-serialized from " + + path + + ", but got: " + + exception); + } + + if (serialized == null) { + fail("Unexpected null serialization of an instance from " + path); + } + + assertEquals( + objectMapper.readTree(originalNode.toString()), + objectMapper.readTree(serialized.toString())); + } + + private static void assertEqualsExpectedOrRerecordDeserializationException( + Jsonization.DeserializeException exception, Path path) + throws FileNotFoundException, IOException { + if (exception == null) { + fail("Expected a Jsonization exception when de-serializing " + path + ", but got none."); + } else { + final Path exceptionPath = Paths.get(path + ".exception"); + final String got = exception.getMessage(); + if (Common.RECORD_MODE) { + Files.write(exceptionPath, got.getBytes(StandardCharsets.UTF_8)); + } else { + if (!Files.exists(exceptionPath)) { + throw new FileNotFoundException( + "The file with the recorded errors does not exist: " + + exceptionPath + + "; maybe you want to set the environment variable " + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME); + } + final String expected = + Files.readAllLines(exceptionPath).stream().collect(Collectors.joining("\n")); + assertEquals( + expected, + got, + "The expected exception does not match the actual one for the file " + path); + } + } + } + + @Test + public void testExtensionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Extension"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Extension instance = Jsonization.Deserialize.deserializeExtension(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testExtensionOk + + @Test + public void testExtensionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Extension unused = Jsonization.Deserialize.deserializeExtension(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testExtensionDeserializationFromNonObjectFail + + @Test + public void testExtensionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Extension"); + + if (!Files.exists(clsDir)) { + // No examples of Extension for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Extension var = Jsonization.Deserialize.deserializeExtension(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testExtensionDeserializationFail + + @Test + public void testExtensionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Extension"); + + if (!Files.exists(clsDir)) { + // No examples of Extension for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Extension instance = Jsonization.Deserialize.deserializeExtension(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testExtensionVerificationFail + + @Test + public void testAdministrativeInformationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AdministrativeInformation"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AdministrativeInformation instance = + Jsonization.Deserialize.deserializeAdministrativeInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAdministrativeInformationOk + + @Test + public void testAdministrativeInformationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AdministrativeInformation unused = + Jsonization.Deserialize.deserializeAdministrativeInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAdministrativeInformationDeserializationFromNonObjectFail + + @Test + public void testAdministrativeInformationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AdministrativeInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AdministrativeInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AdministrativeInformation var = + Jsonization.Deserialize.deserializeAdministrativeInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAdministrativeInformationDeserializationFail + + @Test + public void testAdministrativeInformationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AdministrativeInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AdministrativeInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AdministrativeInformation instance = + Jsonization.Deserialize.deserializeAdministrativeInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAdministrativeInformationVerificationFail + + @Test + public void testQualifierOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Qualifier"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Qualifier instance = Jsonization.Deserialize.deserializeQualifier(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testQualifierOk + + @Test + public void testQualifierDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Qualifier unused = Jsonization.Deserialize.deserializeQualifier(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testQualifierDeserializationFromNonObjectFail + + @Test + public void testQualifierDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Qualifier"); + + if (!Files.exists(clsDir)) { + // No examples of Qualifier for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Qualifier var = Jsonization.Deserialize.deserializeQualifier(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testQualifierDeserializationFail + + @Test + public void testQualifierVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Qualifier"); + + if (!Files.exists(clsDir)) { + // No examples of Qualifier for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Qualifier instance = Jsonization.Deserialize.deserializeQualifier(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testQualifierVerificationFail + + @Test + public void testAssetAdministrationShellOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetAdministrationShell"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AssetAdministrationShell instance = + Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAssetAdministrationShellOk + + @Test + public void testAssetAdministrationShellDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShell unused = + Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAssetAdministrationShellDeserializationFromNonObjectFail + + @Test + public void testAssetAdministrationShellDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShell"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShell for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AssetAdministrationShell var = + Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellDeserializationFail + + @Test + public void testAssetAdministrationShellVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AssetAdministrationShell"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShell for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AssetAdministrationShell instance = + Jsonization.Deserialize.deserializeAssetAdministrationShell(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellVerificationFail + + @Test + public void testAssetInformationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AssetInformation"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AssetInformation instance = Jsonization.Deserialize.deserializeAssetInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAssetInformationOk + + @Test + public void testAssetInformationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AssetInformation unused = Jsonization.Deserialize.deserializeAssetInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAssetInformationDeserializationFromNonObjectFail + + @Test + public void testAssetInformationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AssetInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AssetInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AssetInformation var = Jsonization.Deserialize.deserializeAssetInformation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetInformationDeserializationFail + + @Test + public void testAssetInformationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AssetInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AssetInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AssetInformation instance = Jsonization.Deserialize.deserializeAssetInformation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetInformationVerificationFail + + @Test + public void testResourceOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Resource"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Resource instance = Jsonization.Deserialize.deserializeResource(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testResourceOk + + @Test + public void testResourceDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Resource unused = Jsonization.Deserialize.deserializeResource(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testResourceDeserializationFromNonObjectFail + + @Test + public void testResourceDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Resource"); + + if (!Files.exists(clsDir)) { + // No examples of Resource for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Resource var = Jsonization.Deserialize.deserializeResource(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testResourceDeserializationFail + + @Test + public void testResourceVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Resource"); + + if (!Files.exists(clsDir)) { + // No examples of Resource for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Resource instance = Jsonization.Deserialize.deserializeResource(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testResourceVerificationFail + + @Test + public void testSpecificAssetIdOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SpecificAssetId"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SpecificAssetId instance = Jsonization.Deserialize.deserializeSpecificAssetId(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSpecificAssetIdOk + + @Test + public void testSpecificAssetIdDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SpecificAssetId unused = Jsonization.Deserialize.deserializeSpecificAssetId(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSpecificAssetIdDeserializationFromNonObjectFail + + @Test + public void testSpecificAssetIdDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SpecificAssetId"); + + if (!Files.exists(clsDir)) { + // No examples of SpecificAssetId for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SpecificAssetId var = Jsonization.Deserialize.deserializeSpecificAssetId(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSpecificAssetIdDeserializationFail + + @Test + public void testSpecificAssetIdVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SpecificAssetId"); + + if (!Files.exists(clsDir)) { + // No examples of SpecificAssetId for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SpecificAssetId instance = Jsonization.Deserialize.deserializeSpecificAssetId(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSpecificAssetIdVerificationFail + + @Test + public void testSubmodelOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Submodel"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Submodel instance = Jsonization.Deserialize.deserializeSubmodel(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelOk + + @Test + public void testSubmodelDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Submodel unused = Jsonization.Deserialize.deserializeSubmodel(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelDeserializationFromNonObjectFail + + @Test + public void testSubmodelDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Submodel"); + + if (!Files.exists(clsDir)) { + // No examples of Submodel for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Submodel var = Jsonization.Deserialize.deserializeSubmodel(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelDeserializationFail + + @Test + public void testSubmodelVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Submodel"); + + if (!Files.exists(clsDir)) { + // No examples of Submodel for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Submodel instance = Jsonization.Deserialize.deserializeSubmodel(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelVerificationFail + + @Test + public void testRelationshipElementOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "RelationshipElement"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final RelationshipElement instance = + Jsonization.Deserialize.deserializeRelationshipElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRelationshipElementOk + + @Test + public void testRelationshipElementDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final RelationshipElement unused = + Jsonization.Deserialize.deserializeRelationshipElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRelationshipElementDeserializationFromNonObjectFail + + @Test + public void testRelationshipElementDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("RelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final RelationshipElement var = + Jsonization.Deserialize.deserializeRelationshipElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRelationshipElementDeserializationFail + + @Test + public void testRelationshipElementVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("RelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final RelationshipElement instance = + Jsonization.Deserialize.deserializeRelationshipElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRelationshipElementVerificationFail + + @Test + public void testSubmodelElementListOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementList"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelElementList instance = + Jsonization.Deserialize.deserializeSubmodelElementList(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelElementListOk + + @Test + public void testSubmodelElementListDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementList unused = + Jsonization.Deserialize.deserializeSubmodelElementList(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelElementListDeserializationFromNonObjectFail + + @Test + public void testSubmodelElementListDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelElementList"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementList var = + Jsonization.Deserialize.deserializeSubmodelElementList(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementListDeserializationFail + + @Test + public void testSubmodelElementListVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelElementList"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelElementList instance = + Jsonization.Deserialize.deserializeSubmodelElementList(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementListVerificationFail + + @Test + public void testSubmodelElementCollectionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "SubmodelElementCollection"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final SubmodelElementCollection instance = + Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testSubmodelElementCollectionOk + + @Test + public void testSubmodelElementCollectionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementCollection unused = + Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testSubmodelElementCollectionDeserializationFromNonObjectFail + + @Test + public void testSubmodelElementCollectionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("SubmodelElementCollection"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollection for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final SubmodelElementCollection var = + Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementCollectionDeserializationFail + + @Test + public void testSubmodelElementCollectionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("SubmodelElementCollection"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollection for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final SubmodelElementCollection instance = + Jsonization.Deserialize.deserializeSubmodelElementCollection(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementCollectionVerificationFail + + @Test + public void testPropertyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Property"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Property instance = Jsonization.Deserialize.deserializeProperty(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testPropertyOk + + @Test + public void testPropertyDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Property unused = Jsonization.Deserialize.deserializeProperty(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testPropertyDeserializationFromNonObjectFail + + @Test + public void testPropertyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Property"); + + if (!Files.exists(clsDir)) { + // No examples of Property for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Property var = Jsonization.Deserialize.deserializeProperty(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPropertyDeserializationFail + + @Test + public void testPropertyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Property"); + + if (!Files.exists(clsDir)) { + // No examples of Property for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Property instance = Jsonization.Deserialize.deserializeProperty(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPropertyVerificationFail + + @Test + public void testMultiLanguagePropertyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "MultiLanguageProperty"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final MultiLanguageProperty instance = + Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testMultiLanguagePropertyOk + + @Test + public void testMultiLanguagePropertyDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final MultiLanguageProperty unused = + Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testMultiLanguagePropertyDeserializationFromNonObjectFail + + @Test + public void testMultiLanguagePropertyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("MultiLanguageProperty"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguageProperty for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final MultiLanguageProperty var = + Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMultiLanguagePropertyDeserializationFail + + @Test + public void testMultiLanguagePropertyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("MultiLanguageProperty"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguageProperty for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final MultiLanguageProperty instance = + Jsonization.Deserialize.deserializeMultiLanguageProperty(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMultiLanguagePropertyVerificationFail + + @Test + public void testRangeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Range"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Range instance = Jsonization.Deserialize.deserializeRange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testRangeOk + + @Test + public void testRangeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Range unused = Jsonization.Deserialize.deserializeRange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testRangeDeserializationFromNonObjectFail + + @Test + public void testRangeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Range"); + + if (!Files.exists(clsDir)) { + // No examples of Range for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Range var = Jsonization.Deserialize.deserializeRange(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRangeDeserializationFail + + @Test + public void testRangeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Range"); + + if (!Files.exists(clsDir)) { + // No examples of Range for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Range instance = Jsonization.Deserialize.deserializeRange(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRangeVerificationFail + + @Test + public void testReferenceElementOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ReferenceElement"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ReferenceElement instance = Jsonization.Deserialize.deserializeReferenceElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testReferenceElementOk + + @Test + public void testReferenceElementDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceElement unused = Jsonization.Deserialize.deserializeReferenceElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testReferenceElementDeserializationFromNonObjectFail + + @Test + public void testReferenceElementDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ReferenceElement"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ReferenceElement var = Jsonization.Deserialize.deserializeReferenceElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceElementDeserializationFail + + @Test + public void testReferenceElementVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ReferenceElement"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ReferenceElement instance = Jsonization.Deserialize.deserializeReferenceElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceElementVerificationFail + + @Test + public void testBlobOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Blob"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Blob instance = Jsonization.Deserialize.deserializeBlob(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBlobOk + + @Test + public void testBlobDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Blob unused = Jsonization.Deserialize.deserializeBlob(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBlobDeserializationFromNonObjectFail + + @Test + public void testBlobDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Blob"); + + if (!Files.exists(clsDir)) { + // No examples of Blob for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Blob var = Jsonization.Deserialize.deserializeBlob(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBlobDeserializationFail + + @Test + public void testBlobVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Blob"); + + if (!Files.exists(clsDir)) { + // No examples of Blob for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Blob instance = Jsonization.Deserialize.deserializeBlob(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBlobVerificationFail + + @Test + public void testFileOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "File"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final File instance = Jsonization.Deserialize.deserializeFile(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testFileOk + + @Test + public void testFileDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final File unused = Jsonization.Deserialize.deserializeFile(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testFileDeserializationFromNonObjectFail + + @Test + public void testFileDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("File"); + + if (!Files.exists(clsDir)) { + // No examples of File for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final File var = Jsonization.Deserialize.deserializeFile(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFileDeserializationFail + + @Test + public void testFileVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("File"); + + if (!Files.exists(clsDir)) { + // No examples of File for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final File instance = Jsonization.Deserialize.deserializeFile(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFileVerificationFail + + @Test + public void testAnnotatedRelationshipElementOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "AnnotatedRelationshipElement"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final AnnotatedRelationshipElement instance = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testAnnotatedRelationshipElementOk + + @Test + public void testAnnotatedRelationshipElementDeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final AnnotatedRelationshipElement unused = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testAnnotatedRelationshipElementDeserializationFromNonObjectFail + + @Test + public void testAnnotatedRelationshipElementDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("AnnotatedRelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final AnnotatedRelationshipElement var = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAnnotatedRelationshipElementDeserializationFail + + @Test + public void testAnnotatedRelationshipElementVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("AnnotatedRelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final AnnotatedRelationshipElement instance = + Jsonization.Deserialize.deserializeAnnotatedRelationshipElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAnnotatedRelationshipElementVerificationFail + + @Test + public void testEntityOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Entity"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Entity instance = Jsonization.Deserialize.deserializeEntity(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEntityOk + + @Test + public void testEntityDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Entity unused = Jsonization.Deserialize.deserializeEntity(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEntityDeserializationFromNonObjectFail + + @Test + public void testEntityDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Entity"); + + if (!Files.exists(clsDir)) { + // No examples of Entity for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Entity var = Jsonization.Deserialize.deserializeEntity(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEntityDeserializationFail + + @Test + public void testEntityVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Entity"); + + if (!Files.exists(clsDir)) { + // No examples of Entity for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Entity instance = Jsonization.Deserialize.deserializeEntity(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEntityVerificationFail + + @Test + public void testEventPayloadOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EventPayload"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final EventPayload instance = Jsonization.Deserialize.deserializeEventPayload(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEventPayloadOk + + @Test + public void testEventPayloadDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final EventPayload unused = Jsonization.Deserialize.deserializeEventPayload(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEventPayloadDeserializationFromNonObjectFail + + @Test + public void testEventPayloadDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("EventPayload"); + + if (!Files.exists(clsDir)) { + // No examples of EventPayload for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final EventPayload var = Jsonization.Deserialize.deserializeEventPayload(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEventPayloadDeserializationFail + + @Test + public void testEventPayloadVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("EventPayload"); + + if (!Files.exists(clsDir)) { + // No examples of EventPayload for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final EventPayload instance = Jsonization.Deserialize.deserializeEventPayload(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEventPayloadVerificationFail + + @Test + public void testBasicEventElementOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "BasicEventElement"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final BasicEventElement instance = Jsonization.Deserialize.deserializeBasicEventElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testBasicEventElementOk + + @Test + public void testBasicEventElementDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final BasicEventElement unused = Jsonization.Deserialize.deserializeBasicEventElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testBasicEventElementDeserializationFromNonObjectFail + + @Test + public void testBasicEventElementDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("BasicEventElement"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final BasicEventElement var = Jsonization.Deserialize.deserializeBasicEventElement(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBasicEventElementDeserializationFail + + @Test + public void testBasicEventElementVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("BasicEventElement"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final BasicEventElement instance = + Jsonization.Deserialize.deserializeBasicEventElement(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBasicEventElementVerificationFail + + @Test + public void testOperationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Operation"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Operation instance = Jsonization.Deserialize.deserializeOperation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationOk + + @Test + public void testOperationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Operation unused = Jsonization.Deserialize.deserializeOperation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationDeserializationFromNonObjectFail + + @Test + public void testOperationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Operation"); + + if (!Files.exists(clsDir)) { + // No examples of Operation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Operation var = Jsonization.Deserialize.deserializeOperation(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationDeserializationFail + + @Test + public void testOperationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Operation"); + + if (!Files.exists(clsDir)) { + // No examples of Operation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Operation instance = Jsonization.Deserialize.deserializeOperation(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationVerificationFail + + @Test + public void testOperationVariableOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "OperationVariable"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final OperationVariable instance = Jsonization.Deserialize.deserializeOperationVariable(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testOperationVariableOk + + @Test + public void testOperationVariableDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final OperationVariable unused = Jsonization.Deserialize.deserializeOperationVariable(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testOperationVariableDeserializationFromNonObjectFail + + @Test + public void testOperationVariableDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("OperationVariable"); + + if (!Files.exists(clsDir)) { + // No examples of OperationVariable for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final OperationVariable var = Jsonization.Deserialize.deserializeOperationVariable(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationVariableDeserializationFail + + @Test + public void testOperationVariableVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("OperationVariable"); + + if (!Files.exists(clsDir)) { + // No examples of OperationVariable for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final OperationVariable instance = + Jsonization.Deserialize.deserializeOperationVariable(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationVariableVerificationFail + + @Test + public void testCapabilityOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Capability"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Capability instance = Jsonization.Deserialize.deserializeCapability(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testCapabilityOk + + @Test + public void testCapabilityDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Capability unused = Jsonization.Deserialize.deserializeCapability(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testCapabilityDeserializationFromNonObjectFail + + @Test + public void testCapabilityDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Capability"); + + if (!Files.exists(clsDir)) { + // No examples of Capability for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Capability var = Jsonization.Deserialize.deserializeCapability(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testCapabilityDeserializationFail + + @Test + public void testCapabilityVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Capability"); + + if (!Files.exists(clsDir)) { + // No examples of Capability for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Capability instance = Jsonization.Deserialize.deserializeCapability(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testCapabilityVerificationFail + + @Test + public void testConceptDescriptionOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ConceptDescription"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ConceptDescription instance = + Jsonization.Deserialize.deserializeConceptDescription(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testConceptDescriptionOk + + @Test + public void testConceptDescriptionDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ConceptDescription unused = Jsonization.Deserialize.deserializeConceptDescription(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testConceptDescriptionDeserializationFromNonObjectFail + + @Test + public void testConceptDescriptionDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ConceptDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ConceptDescription var = + Jsonization.Deserialize.deserializeConceptDescription(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testConceptDescriptionDeserializationFail + + @Test + public void testConceptDescriptionVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ConceptDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ConceptDescription instance = + Jsonization.Deserialize.deserializeConceptDescription(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testConceptDescriptionVerificationFail + + @Test + public void testReferenceOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Reference"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Reference instance = Jsonization.Deserialize.deserializeReference(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testReferenceOk + + @Test + public void testReferenceDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Reference unused = Jsonization.Deserialize.deserializeReference(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testReferenceDeserializationFromNonObjectFail + + @Test + public void testReferenceDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Reference"); + + if (!Files.exists(clsDir)) { + // No examples of Reference for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Reference var = Jsonization.Deserialize.deserializeReference(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceDeserializationFail + + @Test + public void testReferenceVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Reference"); + + if (!Files.exists(clsDir)) { + // No examples of Reference for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Reference instance = Jsonization.Deserialize.deserializeReference(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceVerificationFail + + @Test + public void testKeyOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Key"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Key instance = Jsonization.Deserialize.deserializeKey(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testKeyOk + + @Test + public void testKeyDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Key unused = Jsonization.Deserialize.deserializeKey(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testKeyDeserializationFromNonObjectFail + + @Test + public void testKeyDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Key"); + + if (!Files.exists(clsDir)) { + // No examples of Key for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Key var = Jsonization.Deserialize.deserializeKey(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testKeyDeserializationFail + + @Test + public void testKeyVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Key"); + + if (!Files.exists(clsDir)) { + // No examples of Key for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Key instance = Jsonization.Deserialize.deserializeKey(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testKeyVerificationFail + + @Test + public void testLangStringNameTypeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringNameType"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringNameType instance = + Jsonization.Deserialize.deserializeLangStringNameType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringNameTypeOk + + @Test + public void testLangStringNameTypeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringNameType unused = Jsonization.Deserialize.deserializeLangStringNameType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringNameTypeDeserializationFromNonObjectFail + + @Test + public void testLangStringNameTypeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringNameType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringNameType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringNameType var = + Jsonization.Deserialize.deserializeLangStringNameType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringNameTypeDeserializationFail + + @Test + public void testLangStringNameTypeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringNameType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringNameType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringNameType instance = + Jsonization.Deserialize.deserializeLangStringNameType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringNameTypeVerificationFail + + @Test + public void testLangStringTextTypeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringTextType"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringTextType instance = + Jsonization.Deserialize.deserializeLangStringTextType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringTextTypeOk + + @Test + public void testLangStringTextTypeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringTextType unused = Jsonization.Deserialize.deserializeLangStringTextType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringTextTypeDeserializationFromNonObjectFail + + @Test + public void testLangStringTextTypeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringTextType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringTextType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringTextType var = + Jsonization.Deserialize.deserializeLangStringTextType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringTextTypeDeserializationFail + + @Test + public void testLangStringTextTypeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringTextType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringTextType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringTextType instance = + Jsonization.Deserialize.deserializeLangStringTextType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringTextTypeVerificationFail + + @Test + public void testEnvironmentOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "Environment"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final Environment instance = Jsonization.Deserialize.deserializeEnvironment(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEnvironmentOk + + @Test + public void testEnvironmentDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final Environment unused = Jsonization.Deserialize.deserializeEnvironment(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEnvironmentDeserializationFromNonObjectFail + + @Test + public void testEnvironmentDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("Environment"); + + if (!Files.exists(clsDir)) { + // No examples of Environment for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final Environment var = Jsonization.Deserialize.deserializeEnvironment(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEnvironmentDeserializationFail + + @Test + public void testEnvironmentVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("Environment"); + + if (!Files.exists(clsDir)) { + // No examples of Environment for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final Environment instance = Jsonization.Deserialize.deserializeEnvironment(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEnvironmentVerificationFail + + @Test + public void testEmbeddedDataSpecificationOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "EmbeddedDataSpecification"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final EmbeddedDataSpecification instance = + Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testEmbeddedDataSpecificationOk + + @Test + public void testEmbeddedDataSpecificationDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final EmbeddedDataSpecification unused = + Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testEmbeddedDataSpecificationDeserializationFromNonObjectFail + + @Test + public void testEmbeddedDataSpecificationDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("EmbeddedDataSpecification"); + + if (!Files.exists(clsDir)) { + // No examples of EmbeddedDataSpecification for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final EmbeddedDataSpecification var = + Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEmbeddedDataSpecificationDeserializationFail + + @Test + public void testEmbeddedDataSpecificationVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("EmbeddedDataSpecification"); + + if (!Files.exists(clsDir)) { + // No examples of EmbeddedDataSpecification for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final EmbeddedDataSpecification instance = + Jsonization.Deserialize.deserializeEmbeddedDataSpecification(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEmbeddedDataSpecificationVerificationFail + + @Test + public void testLevelTypeOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LevelType"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LevelType instance = Jsonization.Deserialize.deserializeLevelType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLevelTypeOk + + @Test + public void testLevelTypeDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LevelType unused = Jsonization.Deserialize.deserializeLevelType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLevelTypeDeserializationFromNonObjectFail + + @Test + public void testLevelTypeDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LevelType"); + + if (!Files.exists(clsDir)) { + // No examples of LevelType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LevelType var = Jsonization.Deserialize.deserializeLevelType(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLevelTypeDeserializationFail + + @Test + public void testLevelTypeVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LevelType"); + + if (!Files.exists(clsDir)) { + // No examples of LevelType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LevelType instance = Jsonization.Deserialize.deserializeLevelType(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLevelTypeVerificationFail + + @Test + public void testValueReferencePairOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueReferencePair"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ValueReferencePair instance = + Jsonization.Deserialize.deserializeValueReferencePair(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testValueReferencePairOk + + @Test + public void testValueReferencePairDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ValueReferencePair unused = Jsonization.Deserialize.deserializeValueReferencePair(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testValueReferencePairDeserializationFromNonObjectFail + + @Test + public void testValueReferencePairDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ValueReferencePair"); + + if (!Files.exists(clsDir)) { + // No examples of ValueReferencePair for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ValueReferencePair var = + Jsonization.Deserialize.deserializeValueReferencePair(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testValueReferencePairDeserializationFail + + @Test + public void testValueReferencePairVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ValueReferencePair"); + + if (!Files.exists(clsDir)) { + // No examples of ValueReferencePair for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ValueReferencePair instance = + Jsonization.Deserialize.deserializeValueReferencePair(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testValueReferencePairVerificationFail + + @Test + public void testValueListOk() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "ValueList"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final ValueList instance = Jsonization.Deserialize.deserializeValueList(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testValueListOk + + @Test + public void testValueListDeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final ValueList unused = Jsonization.Deserialize.deserializeValueList(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testValueListDeserializationFromNonObjectFail + + @Test + public void testValueListDeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("ValueList"); + + if (!Files.exists(clsDir)) { + // No examples of ValueList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final ValueList var = Jsonization.Deserialize.deserializeValueList(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testValueListDeserializationFail + + @Test + public void testValueListVerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("ValueList"); + + if (!Files.exists(clsDir)) { + // No examples of ValueList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final ValueList instance = Jsonization.Deserialize.deserializeValueList(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testValueListVerificationFail + + @Test + public void testLangStringPreferredNameTypeIec61360Ok() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringPreferredNameTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringPreferredNameTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringPreferredNameTypeIec61360Ok + + @Test + public void testLangStringPreferredNameTypeIec61360DeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringPreferredNameTypeIec61360 unused = + Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringPreferredNameTypeIec61360DeserializationFromNonObjectFail + + @Test + public void testLangStringPreferredNameTypeIec61360DeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringPreferredNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringPreferredNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringPreferredNameTypeIec61360 var = + Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringPreferredNameTypeIec61360DeserializationFail + + @Test + public void testLangStringPreferredNameTypeIec61360VerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringPreferredNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringPreferredNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringPreferredNameTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringPreferredNameTypeIec61360VerificationFail + + @Test + public void testLangStringShortNameTypeIec61360Ok() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringShortNameTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringShortNameTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringShortNameTypeIec61360Ok + + @Test + public void testLangStringShortNameTypeIec61360DeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringShortNameTypeIec61360 unused = + Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringShortNameTypeIec61360DeserializationFromNonObjectFail + + @Test + public void testLangStringShortNameTypeIec61360DeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringShortNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringShortNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringShortNameTypeIec61360 var = + Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringShortNameTypeIec61360DeserializationFail + + @Test + public void testLangStringShortNameTypeIec61360VerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringShortNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringShortNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringShortNameTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringShortNameTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringShortNameTypeIec61360VerificationFail + + @Test + public void testLangStringDefinitionTypeIec61360Ok() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "LangStringDefinitionTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final LangStringDefinitionTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testLangStringDefinitionTypeIec61360Ok + + @Test + public void testLangStringDefinitionTypeIec61360DeserializationFromNonObjectFail() + throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final LangStringDefinitionTypeIec61360 unused = + Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testLangStringDefinitionTypeIec61360DeserializationFromNonObjectFail + + @Test + public void testLangStringDefinitionTypeIec61360DeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("LangStringDefinitionTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringDefinitionTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final LangStringDefinitionTypeIec61360 var = + Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringDefinitionTypeIec61360DeserializationFail + + @Test + public void testLangStringDefinitionTypeIec61360VerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("LangStringDefinitionTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringDefinitionTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final LangStringDefinitionTypeIec61360 instance = + Jsonization.Deserialize.deserializeLangStringDefinitionTypeIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringDefinitionTypeIec61360VerificationFail + + @Test + public void testDataSpecificationIec61360Ok() throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Json", "Expected", "DataSpecificationIec61360"); + final List paths = Common.findPaths(searchPath, ".json"); + + for (Path path : paths) { + final JsonNode node = objectMapper.readTree(path.toFile()); + final DataSpecificationIec61360 instance = + Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + } + } // public void testDataSpecificationIec61360Ok + + @Test + public void testDataSpecificationIec61360DeserializationFromNonObjectFail() throws IOException { + final JsonNode node = JsonNodeFactory.instance.textNode("INVALID"); + + Jsonization.DeserializeException exception = null; + try { + final DataSpecificationIec61360 unused = + Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assert exception != null : "Expected an exception, but got none"; + assert exception.getMessage().startsWith("Expected a JsonObject, but got ") + : "Unexpected exception message: " + exception.getMessage(); + } // public void testDataSpecificationIec61360DeserializationFromNonObjectFail + + @Test + public void testDataSpecificationIec61360DeserializationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("DataSpecificationIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + Jsonization.DeserializeException exception = null; + try { + final DataSpecificationIec61360 var = + Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + } catch (Jsonization.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDataSpecificationIec61360DeserializationFail + + @Test + public void testDataSpecificationIec61360VerificationFail() throws IOException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Json", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("DataSpecificationIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".json"); + for (Path path : paths) { + final JsonNode node = CommonJson.readFromFile(path); + + final DataSpecificationIec61360 instance = + Jsonization.Deserialize.deserializeDataSpecificationIec61360(node); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDataSpecificationIec61360VerificationFail +} // class TestJsonizationOfConcreteClasses + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestJsonizationOfEnums.java b/src/test/java/TestJsonizationOfEnums.java new file mode 100644 index 00000000..8a4177b9 --- /dev/null +++ b/src/test/java/TestJsonizationOfEnums.java @@ -0,0 +1,148 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_1.jsonization.Jsonization; +import aas_core.aas3_1.types.enums.*; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.node.JsonNodeFactory; +import org.junit.jupiter.api.Test; + +public class TestJsonizationOfEnums { + @Test + public void testRoundTripModellingKind() { + final JsonNode node = JsonNodeFactory.instance.textNode("Template"); + + final ModellingKind parsed = Jsonization.Deserialize.deserializeModellingKind(node); + + final JsonNode serialized = Jsonization.Serialize.modellingKindToJsonValue(parsed); + + assertEquals("\"Template\"", serialized.toString()); + } // void testRoundTripModellingKind + + @Test + public void testRoundTripQualifierKind() { + final JsonNode node = JsonNodeFactory.instance.textNode("ValueQualifier"); + + final QualifierKind parsed = Jsonization.Deserialize.deserializeQualifierKind(node); + + final JsonNode serialized = Jsonization.Serialize.qualifierKindToJsonValue(parsed); + + assertEquals("\"ValueQualifier\"", serialized.toString()); + } // void testRoundTripQualifierKind + + @Test + public void testRoundTripAssetKind() { + final JsonNode node = JsonNodeFactory.instance.textNode("Type"); + + final AssetKind parsed = Jsonization.Deserialize.deserializeAssetKind(node); + + final JsonNode serialized = Jsonization.Serialize.assetKindToJsonValue(parsed); + + assertEquals("\"Type\"", serialized.toString()); + } // void testRoundTripAssetKind + + @Test + public void testRoundTripAasSubmodelElements() { + final JsonNode node = JsonNodeFactory.instance.textNode("AnnotatedRelationshipElement"); + + final AasSubmodelElements parsed = Jsonization.Deserialize.deserializeAasSubmodelElements(node); + + final JsonNode serialized = Jsonization.Serialize.aasSubmodelElementsToJsonValue(parsed); + + assertEquals("\"AnnotatedRelationshipElement\"", serialized.toString()); + } // void testRoundTripAasSubmodelElements + + @Test + public void testRoundTripEntityType() { + final JsonNode node = JsonNodeFactory.instance.textNode("CoManagedEntity"); + + final EntityType parsed = Jsonization.Deserialize.deserializeEntityType(node); + + final JsonNode serialized = Jsonization.Serialize.entityTypeToJsonValue(parsed); + + assertEquals("\"CoManagedEntity\"", serialized.toString()); + } // void testRoundTripEntityType + + @Test + public void testRoundTripDirection() { + final JsonNode node = JsonNodeFactory.instance.textNode("input"); + + final Direction parsed = Jsonization.Deserialize.deserializeDirection(node); + + final JsonNode serialized = Jsonization.Serialize.directionToJsonValue(parsed); + + assertEquals("\"input\"", serialized.toString()); + } // void testRoundTripDirection + + @Test + public void testRoundTripStateOfEvent() { + final JsonNode node = JsonNodeFactory.instance.textNode("on"); + + final StateOfEvent parsed = Jsonization.Deserialize.deserializeStateOfEvent(node); + + final JsonNode serialized = Jsonization.Serialize.stateOfEventToJsonValue(parsed); + + assertEquals("\"on\"", serialized.toString()); + } // void testRoundTripStateOfEvent + + @Test + public void testRoundTripReferenceTypes() { + final JsonNode node = JsonNodeFactory.instance.textNode("ExternalReference"); + + final ReferenceTypes parsed = Jsonization.Deserialize.deserializeReferenceTypes(node); + + final JsonNode serialized = Jsonization.Serialize.referenceTypesToJsonValue(parsed); + + assertEquals("\"ExternalReference\"", serialized.toString()); + } // void testRoundTripReferenceTypes + + @Test + public void testRoundTripKeyTypes() { + final JsonNode node = JsonNodeFactory.instance.textNode("AnnotatedRelationshipElement"); + + final KeyTypes parsed = Jsonization.Deserialize.deserializeKeyTypes(node); + + final JsonNode serialized = Jsonization.Serialize.keyTypesToJsonValue(parsed); + + assertEquals("\"AnnotatedRelationshipElement\"", serialized.toString()); + } // void testRoundTripKeyTypes + + @Test + public void testRoundTripDataTypeDefXsd() { + final JsonNode node = JsonNodeFactory.instance.textNode("xs:anyURI"); + + final DataTypeDefXsd parsed = Jsonization.Deserialize.deserializeDataTypeDefXsd(node); + + final JsonNode serialized = Jsonization.Serialize.dataTypeDefXsdToJsonValue(parsed); + + assertEquals("\"xs:anyURI\"", serialized.toString()); + } // void testRoundTripDataTypeDefXsd + + @Test + public void testRoundTripDataTypeIec61360() { + final JsonNode node = JsonNodeFactory.instance.textNode("DATE"); + + final DataTypeIec61360 parsed = Jsonization.Deserialize.deserializeDataTypeIec61360(node); + + final JsonNode serialized = Jsonization.Serialize.dataTypeIec61360ToJsonValue(parsed); + + assertEquals("\"DATE\"", serialized.toString()); + } // void testRoundTripDataTypeIec61360 +} // class TestJsonizationOfEnums + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestJsonizationOfInterfaces.java b/src/test/java/TestJsonizationOfInterfaces.java new file mode 100644 index 00000000..e8706d26 --- /dev/null +++ b/src/test/java/TestJsonizationOfInterfaces.java @@ -0,0 +1,1782 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_1.jsonization.Jsonization; +import aas_core.aas3_1.reporting.*; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import java.io.IOException; +import org.junit.jupiter.api.Test; + +public class TestJsonizationOfInterfaces { + @Test + public void testRoundTripIHasSemanticsFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromRelationshipElement + + @Test + public void testRoundTripIHasSemanticsFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasSemanticsFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromBasicEventElement + + @Test + public void testRoundTripIHasSemanticsFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromBlob + + @Test + public void testRoundTripIHasSemanticsFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromCapability + + @Test + public void testRoundTripIHasSemanticsFromEntity() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromEntity + + @Test + public void testRoundTripIHasSemanticsFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromFile + + @Test + public void testRoundTripIHasSemanticsFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromMultiLanguageProperty + + @Test + public void testRoundTripIHasSemanticsFromOperation() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromOperation + + @Test + public void testRoundTripIHasSemanticsFromProperty() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromProperty + + @Test + public void testRoundTripIHasSemanticsFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromRange + + @Test + public void testRoundTripIHasSemanticsFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromReferenceElement + + @Test + public void testRoundTripIHasSemanticsFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodel + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodelElementCollection + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasSemantics anotherInstance = Jsonization.Deserialize.deserializeIHasSemantics(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasSemanticsFromSubmodelElementList + + @Test + public void testRoundTripIHasExtensionsFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromRelationshipElement + + @Test + public void testRoundTripIHasExtensionsFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasExtensionsFromAssetAdministrationShell() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromAssetAdministrationShell + + @Test + public void testRoundTripIHasExtensionsFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromBasicEventElement + + @Test + public void testRoundTripIHasExtensionsFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromBlob + + @Test + public void testRoundTripIHasExtensionsFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromCapability + + @Test + public void testRoundTripIHasExtensionsFromConceptDescription() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromConceptDescription + + @Test + public void testRoundTripIHasExtensionsFromEntity() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromEntity + + @Test + public void testRoundTripIHasExtensionsFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromFile + + @Test + public void testRoundTripIHasExtensionsFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromMultiLanguageProperty + + @Test + public void testRoundTripIHasExtensionsFromOperation() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromOperation + + @Test + public void testRoundTripIHasExtensionsFromProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromProperty + + @Test + public void testRoundTripIHasExtensionsFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromRange + + @Test + public void testRoundTripIHasExtensionsFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromReferenceElement + + @Test + public void testRoundTripIHasExtensionsFromSubmodel() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodel + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodelElementCollection + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasExtensions anotherInstance = Jsonization.Deserialize.deserializeIHasExtensions(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasExtensionsFromSubmodelElementList + + @Test + public void testRoundTripIReferableFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromRelationshipElement + + @Test + public void testRoundTripIReferableFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIReferableFromAssetAdministrationShell() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromAssetAdministrationShell + + @Test + public void testRoundTripIReferableFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromBasicEventElement + + @Test + public void testRoundTripIReferableFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromBlob + + @Test + public void testRoundTripIReferableFromCapability() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromCapability + + @Test + public void testRoundTripIReferableFromConceptDescription() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromConceptDescription + + @Test + public void testRoundTripIReferableFromEntity() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromEntity + + @Test + public void testRoundTripIReferableFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromFile + + @Test + public void testRoundTripIReferableFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromMultiLanguageProperty + + @Test + public void testRoundTripIReferableFromOperation() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromOperation + + @Test + public void testRoundTripIReferableFromProperty() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromProperty + + @Test + public void testRoundTripIReferableFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromRange + + @Test + public void testRoundTripIReferableFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromReferenceElement + + @Test + public void testRoundTripIReferableFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodel + + @Test + public void testRoundTripIReferableFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodelElementCollection + + @Test + public void testRoundTripIReferableFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IReferable anotherInstance = Jsonization.Deserialize.deserializeIReferable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIReferableFromSubmodelElementList + + @Test + public void testRoundTripIIdentifiableFromAssetAdministrationShell() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IIdentifiable anotherInstance = Jsonization.Deserialize.deserializeIIdentifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIIdentifiableFromAssetAdministrationShell + + @Test + public void testRoundTripIIdentifiableFromConceptDescription() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IIdentifiable anotherInstance = Jsonization.Deserialize.deserializeIIdentifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIIdentifiableFromConceptDescription + + @Test + public void testRoundTripIIdentifiableFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IIdentifiable anotherInstance = Jsonization.Deserialize.deserializeIIdentifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIIdentifiableFromSubmodel + + @Test + public void testRoundTripIHasKindFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasKind anotherInstance = Jsonization.Deserialize.deserializeIHasKind(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasKindFromSubmodel + + @Test + public void testRoundTripIHasDataSpecificationFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromRelationshipElement + + @Test + public void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasDataSpecificationFromAssetAdministrationShell() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AssetAdministrationShell instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromAssetAdministrationShell + + @Test + public void testRoundTripIHasDataSpecificationFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromBasicEventElement + + @Test + public void testRoundTripIHasDataSpecificationFromBlob() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromBlob + + @Test + public void testRoundTripIHasDataSpecificationFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromCapability + + @Test + public void testRoundTripIHasDataSpecificationFromConceptDescription() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ConceptDescription instance = CommonJsonization.loadMaximalConceptDescription(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromConceptDescription + + @Test + public void testRoundTripIHasDataSpecificationFromEntity() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromEntity + + @Test + public void testRoundTripIHasDataSpecificationFromFile() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromFile + + @Test + public void testRoundTripIHasDataSpecificationFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromMultiLanguageProperty + + @Test + public void testRoundTripIHasDataSpecificationFromOperation() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromOperation + + @Test + public void testRoundTripIHasDataSpecificationFromProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromProperty + + @Test + public void testRoundTripIHasDataSpecificationFromRange() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromRange + + @Test + public void testRoundTripIHasDataSpecificationFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromReferenceElement + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodel() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodel + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementCollection + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IHasDataSpecification anotherInstance = + Jsonization.Deserialize.deserializeIHasDataSpecification(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementList + + @Test + public void testRoundTripIQualifiableFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromRelationshipElement + + @Test + public void testRoundTripIQualifiableFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIQualifiableFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromBasicEventElement + + @Test + public void testRoundTripIQualifiableFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromBlob + + @Test + public void testRoundTripIQualifiableFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromCapability + + @Test + public void testRoundTripIQualifiableFromEntity() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromEntity + + @Test + public void testRoundTripIQualifiableFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromFile + + @Test + public void testRoundTripIQualifiableFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromMultiLanguageProperty + + @Test + public void testRoundTripIQualifiableFromOperation() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromOperation + + @Test + public void testRoundTripIQualifiableFromProperty() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromProperty + + @Test + public void testRoundTripIQualifiableFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromRange + + @Test + public void testRoundTripIQualifiableFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromReferenceElement + + @Test + public void testRoundTripIQualifiableFromSubmodel() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodel + + @Test + public void testRoundTripIQualifiableFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodelElementCollection + + @Test + public void testRoundTripIQualifiableFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IQualifiable anotherInstance = Jsonization.Deserialize.deserializeIQualifiable(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIQualifiableFromSubmodelElementList + + @Test + public void testRoundTripISubmodelElementFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromRelationshipElement + + @Test + public void testRoundTripISubmodelElementFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromAnnotatedRelationshipElement + + @Test + public void testRoundTripISubmodelElementFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromBasicEventElement + + @Test + public void testRoundTripISubmodelElementFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromBlob + + @Test + public void testRoundTripISubmodelElementFromCapability() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Capability instance = CommonJsonization.loadMaximalCapability(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromCapability + + @Test + public void testRoundTripISubmodelElementFromEntity() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Entity instance = CommonJsonization.loadMaximalEntity(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromEntity + + @Test + public void testRoundTripISubmodelElementFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromFile + + @Test + public void testRoundTripISubmodelElementFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromMultiLanguageProperty + + @Test + public void testRoundTripISubmodelElementFromOperation() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Operation instance = CommonJsonization.loadMaximalOperation(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromOperation + + @Test + public void testRoundTripISubmodelElementFromProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromProperty + + @Test + public void testRoundTripISubmodelElementFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromRange + + @Test + public void testRoundTripISubmodelElementFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromReferenceElement + + @Test + public void testRoundTripISubmodelElementFromSubmodelElementCollection() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementCollection instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromSubmodelElementCollection + + @Test + public void testRoundTripISubmodelElementFromSubmodelElementList() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + ISubmodelElement anotherInstance = + Jsonization.Deserialize.deserializeISubmodelElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripISubmodelElementFromSubmodelElementList + + @Test + public void testRoundTripIRelationshipElementFromAnnotatedRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + AnnotatedRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IRelationshipElement anotherInstance = + Jsonization.Deserialize.deserializeIRelationshipElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIRelationshipElementFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIRelationshipElementFromRelationshipElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + RelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IRelationshipElement anotherInstance = + Jsonization.Deserialize.deserializeIRelationshipElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIRelationshipElementFromRelationshipElement + + @Test + public void testRoundTripIDataElementFromBlob() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Blob instance = CommonJsonization.loadMaximalBlob(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromBlob + + @Test + public void testRoundTripIDataElementFromFile() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + File instance = CommonJsonization.loadMaximalFile(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromFile + + @Test + public void testRoundTripIDataElementFromMultiLanguageProperty() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + MultiLanguageProperty instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromMultiLanguageProperty + + @Test + public void testRoundTripIDataElementFromProperty() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Property instance = CommonJsonization.loadMaximalProperty(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromProperty + + @Test + public void testRoundTripIDataElementFromRange() throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + Range instance = CommonJsonization.loadMaximalRange(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromRange + + @Test + public void testRoundTripIDataElementFromReferenceElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + ReferenceElement instance = CommonJsonization.loadMaximalReferenceElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataElement anotherInstance = Jsonization.Deserialize.deserializeIDataElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataElementFromReferenceElement + + @Test + public void testRoundTripIEventElementFromBasicEventElement() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + BasicEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IEventElement anotherInstance = Jsonization.Deserialize.deserializeIEventElement(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIEventElementFromBasicEventElement + + @Test + public void testRoundTripIDataSpecificationContentFromDataSpecificationIec61360() + throws IOException, JsonProcessingException { + final ObjectMapper objectMapper = new ObjectMapper(); + + DataSpecificationIec61360 instance = CommonJsonization.loadMaximalDataSpecificationIec61360(); + final JsonNode jsonObject = Jsonization.Serialize.toJsonObject(instance); + + IDataSpecificationContent anotherInstance = + Jsonization.Deserialize.deserializeIDataSpecificationContent(jsonObject); + final JsonNode anotherJsonObject = Jsonization.Serialize.toJsonObject(anotherInstance); + + assertEquals( + objectMapper.readTree(jsonObject.toString()), + objectMapper.readTree(anotherJsonObject.toString())); + } // void testRoundTripIDataSpecificationContentFromDataSpecificationIec61360 +} // class TestJsonizationOfInterfaces + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestOverXOrEmpty.java b/src/test/java/TestOverXOrEmpty.java new file mode 100644 index 00000000..97abbb64 --- /dev/null +++ b/src/test/java/TestOverXOrEmpty.java @@ -0,0 +1,1630 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import java.io.IOException; +import java.util.concurrent.atomic.AtomicInteger; +import org.junit.jupiter.api.Test; + +public class TestOverXOrEmpty { + @Test + public void testExtensionOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Extension instance : + new Extension[] { + CommonJsonization.loadMinimalExtension(), CommonJsonization.loadMaximalExtension() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testExtensionoverSupplementalSemanticIdsOrEmpty + + @Test + public void testExtensionOverRefersToOrEmpty() throws IOException { + for (Extension instance : + new Extension[] { + CommonJsonization.loadMinimalExtension(), CommonJsonization.loadMaximalExtension() + }) { + int length = instance.getRefersTo().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overRefersToOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testExtensionoverRefersToOrEmpty + + @Test + public void testAdministrativeInformationOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (AdministrativeInformation instance : + new AdministrativeInformation[] { + CommonJsonization.loadMinimalAdministrativeInformation(), + CommonJsonization.loadMaximalAdministrativeInformation() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAdministrativeInformationoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testQualifierOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Qualifier instance : + new Qualifier[] { + CommonJsonization.loadMinimalQualifier(), CommonJsonization.loadMaximalQualifier() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testQualifieroverSupplementalSemanticIdsOrEmpty + + @Test + public void testAssetAdministrationShellOverExtensionsOrEmpty() throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverExtensionsOrEmpty + + @Test + public void testAssetAdministrationShellOverDisplayNameOrEmpty() throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverDisplayNameOrEmpty + + @Test + public void testAssetAdministrationShellOverDescriptionOrEmpty() throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverDescriptionOrEmpty + + @Test + public void testAssetAdministrationShellOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testAssetAdministrationShellOverSubmodelsOrEmpty() throws IOException { + for (AssetAdministrationShell instance : + new AssetAdministrationShell[] { + CommonJsonization.loadMinimalAssetAdministrationShell(), + CommonJsonization.loadMaximalAssetAdministrationShell() + }) { + int length = instance.getSubmodels().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSubmodelsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetAdministrationShelloverSubmodelsOrEmpty + + @Test + public void testAssetInformationOverSpecificAssetIdsOrEmpty() throws IOException { + for (AssetInformation instance : + new AssetInformation[] { + CommonJsonization.loadMinimalAssetInformation(), + CommonJsonization.loadMaximalAssetInformation() + }) { + int length = instance.getSpecificAssetIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSpecificAssetIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAssetInformationoverSpecificAssetIdsOrEmpty + + @Test + public void testSpecificAssetIdOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SpecificAssetId instance : + new SpecificAssetId[] { + CommonJsonization.loadMinimalSpecificAssetId(), + CommonJsonization.loadMaximalSpecificAssetId() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSpecificAssetIdoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelOverExtensionsOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverExtensionsOrEmpty + + @Test + public void testSubmodelOverDisplayNameOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverDisplayNameOrEmpty + + @Test + public void testSubmodelOverDescriptionOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverDescriptionOrEmpty + + @Test + public void testSubmodelOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelOverQualifiersOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverQualifiersOrEmpty + + @Test + public void testSubmodelOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelOverSubmodelElementsOrEmpty() throws IOException { + for (Submodel instance : + new Submodel[] { + CommonJsonization.loadMinimalSubmodel(), CommonJsonization.loadMaximalSubmodel() + }) { + int length = instance.getSubmodelElements().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSubmodelElementsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodeloverSubmodelElementsOrEmpty + + @Test + public void testRelationshipElementOverExtensionsOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverExtensionsOrEmpty + + @Test + public void testRelationshipElementOverDisplayNameOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverDisplayNameOrEmpty + + @Test + public void testRelationshipElementOverDescriptionOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverDescriptionOrEmpty + + @Test + public void testRelationshipElementOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverSupplementalSemanticIdsOrEmpty + + @Test + public void testRelationshipElementOverQualifiersOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverQualifiersOrEmpty + + @Test + public void testRelationshipElementOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (RelationshipElement instance : + new RelationshipElement[] { + CommonJsonization.loadMinimalRelationshipElement(), + CommonJsonization.loadMaximalRelationshipElement() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRelationshipElementoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelElementListOverExtensionsOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverExtensionsOrEmpty + + @Test + public void testSubmodelElementListOverDisplayNameOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverDisplayNameOrEmpty + + @Test + public void testSubmodelElementListOverDescriptionOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverDescriptionOrEmpty + + @Test + public void testSubmodelElementListOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelElementListOverQualifiersOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverQualifiersOrEmpty + + @Test + public void testSubmodelElementListOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelElementListOverValueOrEmpty() throws IOException { + for (SubmodelElementList instance : + new SubmodelElementList[] { + CommonJsonization.loadMinimalSubmodelElementList(), + CommonJsonization.loadMaximalSubmodelElementList() + }) { + int length = instance.getValue().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overValueOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementListoverValueOrEmpty + + @Test + public void testSubmodelElementCollectionOverExtensionsOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverExtensionsOrEmpty + + @Test + public void testSubmodelElementCollectionOverDisplayNameOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverDisplayNameOrEmpty + + @Test + public void testSubmodelElementCollectionOverDescriptionOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverDescriptionOrEmpty + + @Test + public void testSubmodelElementCollectionOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverSupplementalSemanticIdsOrEmpty + + @Test + public void testSubmodelElementCollectionOverQualifiersOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverQualifiersOrEmpty + + @Test + public void testSubmodelElementCollectionOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testSubmodelElementCollectionOverValueOrEmpty() throws IOException { + for (SubmodelElementCollection instance : + new SubmodelElementCollection[] { + CommonJsonization.loadMinimalSubmodelElementCollection(), + CommonJsonization.loadMaximalSubmodelElementCollection() + }) { + int length = instance.getValue().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overValueOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testSubmodelElementCollectionoverValueOrEmpty + + @Test + public void testPropertyOverExtensionsOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverExtensionsOrEmpty + + @Test + public void testPropertyOverDisplayNameOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverDisplayNameOrEmpty + + @Test + public void testPropertyOverDescriptionOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverDescriptionOrEmpty + + @Test + public void testPropertyOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverSupplementalSemanticIdsOrEmpty + + @Test + public void testPropertyOverQualifiersOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverQualifiersOrEmpty + + @Test + public void testPropertyOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Property instance : + new Property[] { + CommonJsonization.loadMinimalProperty(), CommonJsonization.loadMaximalProperty() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testPropertyoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testMultiLanguagePropertyOverExtensionsOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverExtensionsOrEmpty + + @Test + public void testMultiLanguagePropertyOverDisplayNameOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverDisplayNameOrEmpty + + @Test + public void testMultiLanguagePropertyOverDescriptionOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverDescriptionOrEmpty + + @Test + public void testMultiLanguagePropertyOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverSupplementalSemanticIdsOrEmpty + + @Test + public void testMultiLanguagePropertyOverQualifiersOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverQualifiersOrEmpty + + @Test + public void testMultiLanguagePropertyOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testMultiLanguagePropertyOverValueOrEmpty() throws IOException { + for (MultiLanguageProperty instance : + new MultiLanguageProperty[] { + CommonJsonization.loadMinimalMultiLanguageProperty(), + CommonJsonization.loadMaximalMultiLanguageProperty() + }) { + int length = instance.getValue().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overValueOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testMultiLanguagePropertyoverValueOrEmpty + + @Test + public void testRangeOverExtensionsOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverExtensionsOrEmpty + + @Test + public void testRangeOverDisplayNameOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverDisplayNameOrEmpty + + @Test + public void testRangeOverDescriptionOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverDescriptionOrEmpty + + @Test + public void testRangeOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverSupplementalSemanticIdsOrEmpty + + @Test + public void testRangeOverQualifiersOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverQualifiersOrEmpty + + @Test + public void testRangeOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Range instance : + new Range[] {CommonJsonization.loadMinimalRange(), CommonJsonization.loadMaximalRange()}) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testRangeoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testReferenceElementOverExtensionsOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverExtensionsOrEmpty + + @Test + public void testReferenceElementOverDisplayNameOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverDisplayNameOrEmpty + + @Test + public void testReferenceElementOverDescriptionOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverDescriptionOrEmpty + + @Test + public void testReferenceElementOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverSupplementalSemanticIdsOrEmpty + + @Test + public void testReferenceElementOverQualifiersOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverQualifiersOrEmpty + + @Test + public void testReferenceElementOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (ReferenceElement instance : + new ReferenceElement[] { + CommonJsonization.loadMinimalReferenceElement(), + CommonJsonization.loadMaximalReferenceElement() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testReferenceElementoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testBlobOverExtensionsOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverExtensionsOrEmpty + + @Test + public void testBlobOverDisplayNameOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverDisplayNameOrEmpty + + @Test + public void testBlobOverDescriptionOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverDescriptionOrEmpty + + @Test + public void testBlobOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverSupplementalSemanticIdsOrEmpty + + @Test + public void testBlobOverQualifiersOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverQualifiersOrEmpty + + @Test + public void testBlobOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Blob instance : + new Blob[] {CommonJsonization.loadMinimalBlob(), CommonJsonization.loadMaximalBlob()}) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBloboverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testFileOverExtensionsOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverExtensionsOrEmpty + + @Test + public void testFileOverDisplayNameOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverDisplayNameOrEmpty + + @Test + public void testFileOverDescriptionOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverDescriptionOrEmpty + + @Test + public void testFileOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverSupplementalSemanticIdsOrEmpty + + @Test + public void testFileOverQualifiersOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverQualifiersOrEmpty + + @Test + public void testFileOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (File instance : + new File[] {CommonJsonization.loadMinimalFile(), CommonJsonization.loadMaximalFile()}) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testFileoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverExtensionsOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverExtensionsOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverDisplayNameOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverDisplayNameOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverDescriptionOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverDescriptionOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverSupplementalSemanticIdsOrEmpty() + throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverSupplementalSemanticIdsOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverQualifiersOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverQualifiersOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverEmbeddedDataSpecificationsOrEmpty() + throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testAnnotatedRelationshipElementOverAnnotationsOrEmpty() throws IOException { + for (AnnotatedRelationshipElement instance : + new AnnotatedRelationshipElement[] { + CommonJsonization.loadMinimalAnnotatedRelationshipElement(), + CommonJsonization.loadMaximalAnnotatedRelationshipElement() + }) { + int length = instance.getAnnotations().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overAnnotationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testAnnotatedRelationshipElementoverAnnotationsOrEmpty + + @Test + public void testEntityOverExtensionsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverExtensionsOrEmpty + + @Test + public void testEntityOverDisplayNameOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverDisplayNameOrEmpty + + @Test + public void testEntityOverDescriptionOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverDescriptionOrEmpty + + @Test + public void testEntityOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverSupplementalSemanticIdsOrEmpty + + @Test + public void testEntityOverQualifiersOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverQualifiersOrEmpty + + @Test + public void testEntityOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testEntityOverStatementsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getStatements().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overStatementsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverStatementsOrEmpty + + @Test + public void testEntityOverSpecificAssetIdsOrEmpty() throws IOException { + for (Entity instance : + new Entity[] { + CommonJsonization.loadMinimalEntity(), CommonJsonization.loadMaximalEntity() + }) { + int length = instance.getSpecificAssetIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSpecificAssetIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEntityoverSpecificAssetIdsOrEmpty + + @Test + public void testBasicEventElementOverExtensionsOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverExtensionsOrEmpty + + @Test + public void testBasicEventElementOverDisplayNameOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverDisplayNameOrEmpty + + @Test + public void testBasicEventElementOverDescriptionOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverDescriptionOrEmpty + + @Test + public void testBasicEventElementOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverSupplementalSemanticIdsOrEmpty + + @Test + public void testBasicEventElementOverQualifiersOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverQualifiersOrEmpty + + @Test + public void testBasicEventElementOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (BasicEventElement instance : + new BasicEventElement[] { + CommonJsonization.loadMinimalBasicEventElement(), + CommonJsonization.loadMaximalBasicEventElement() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testBasicEventElementoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testOperationOverExtensionsOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverExtensionsOrEmpty + + @Test + public void testOperationOverDisplayNameOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverDisplayNameOrEmpty + + @Test + public void testOperationOverDescriptionOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverDescriptionOrEmpty + + @Test + public void testOperationOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverSupplementalSemanticIdsOrEmpty + + @Test + public void testOperationOverQualifiersOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverQualifiersOrEmpty + + @Test + public void testOperationOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testOperationOverInputVariablesOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getInputVariables().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInputVariablesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverInputVariablesOrEmpty + + @Test + public void testOperationOverOutputVariablesOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getOutputVariables().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overOutputVariablesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverOutputVariablesOrEmpty + + @Test + public void testOperationOverInoutputVariablesOrEmpty() throws IOException { + for (Operation instance : + new Operation[] { + CommonJsonization.loadMinimalOperation(), CommonJsonization.loadMaximalOperation() + }) { + int length = instance.getInoutputVariables().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overInoutputVariablesOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testOperationoverInoutputVariablesOrEmpty + + @Test + public void testCapabilityOverExtensionsOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverExtensionsOrEmpty + + @Test + public void testCapabilityOverDisplayNameOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverDisplayNameOrEmpty + + @Test + public void testCapabilityOverDescriptionOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverDescriptionOrEmpty + + @Test + public void testCapabilityOverSupplementalSemanticIdsOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getSupplementalSemanticIds().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSupplementalSemanticIdsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverSupplementalSemanticIdsOrEmpty + + @Test + public void testCapabilityOverQualifiersOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getQualifiers().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overQualifiersOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverQualifiersOrEmpty + + @Test + public void testCapabilityOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (Capability instance : + new Capability[] { + CommonJsonization.loadMinimalCapability(), CommonJsonization.loadMaximalCapability() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testCapabilityoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testConceptDescriptionOverExtensionsOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getExtensions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overExtensionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverExtensionsOrEmpty + + @Test + public void testConceptDescriptionOverDisplayNameOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getDisplayName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDisplayNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverDisplayNameOrEmpty + + @Test + public void testConceptDescriptionOverDescriptionOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getDescription().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDescriptionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverDescriptionOrEmpty + + @Test + public void testConceptDescriptionOverEmbeddedDataSpecificationsOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getEmbeddedDataSpecifications().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overEmbeddedDataSpecificationsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverEmbeddedDataSpecificationsOrEmpty + + @Test + public void testConceptDescriptionOverIsCaseOfOrEmpty() throws IOException { + for (ConceptDescription instance : + new ConceptDescription[] { + CommonJsonization.loadMinimalConceptDescription(), + CommonJsonization.loadMaximalConceptDescription() + }) { + int length = instance.getIsCaseOf().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overIsCaseOfOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testConceptDescriptionoverIsCaseOfOrEmpty + + @Test + public void testEnvironmentOverAssetAdministrationShellsOrEmpty() throws IOException { + for (Environment instance : + new Environment[] { + CommonJsonization.loadMinimalEnvironment(), CommonJsonization.loadMaximalEnvironment() + }) { + int length = instance.getAssetAdministrationShells().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overAssetAdministrationShellsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEnvironmentoverAssetAdministrationShellsOrEmpty + + @Test + public void testEnvironmentOverSubmodelsOrEmpty() throws IOException { + for (Environment instance : + new Environment[] { + CommonJsonization.loadMinimalEnvironment(), CommonJsonization.loadMaximalEnvironment() + }) { + int length = instance.getSubmodels().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overSubmodelsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEnvironmentoverSubmodelsOrEmpty + + @Test + public void testEnvironmentOverConceptDescriptionsOrEmpty() throws IOException { + for (Environment instance : + new Environment[] { + CommonJsonization.loadMinimalEnvironment(), CommonJsonization.loadMaximalEnvironment() + }) { + int length = instance.getConceptDescriptions().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overConceptDescriptionsOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testEnvironmentoverConceptDescriptionsOrEmpty + + @Test + public void testDataSpecificationIec61360OverShortNameOrEmpty() throws IOException { + for (DataSpecificationIec61360 instance : + new DataSpecificationIec61360[] { + CommonJsonization.loadMinimalDataSpecificationIec61360(), + CommonJsonization.loadMaximalDataSpecificationIec61360() + }) { + int length = instance.getShortName().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overShortNameOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testDataSpecificationIec61360overShortNameOrEmpty + + @Test + public void testDataSpecificationIec61360OverDefinitionOrEmpty() throws IOException { + for (DataSpecificationIec61360 instance : + new DataSpecificationIec61360[] { + CommonJsonization.loadMinimalDataSpecificationIec61360(), + CommonJsonization.loadMaximalDataSpecificationIec61360() + }) { + int length = instance.getDefinition().map(elem -> elem.size()).orElse(0); + AtomicInteger count = new AtomicInteger(); + instance.overDefinitionOrEmpty().forEach(i -> count.getAndIncrement()); + assertEquals(length, count.get()); + } + } // public void testDataSpecificationIec61360overDefinitionOrEmpty +} // class TestOverXOrEmpty + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestStringHelpers.java b/src/test/java/TestStringHelpers.java new file mode 100644 index 00000000..09f737e5 --- /dev/null +++ b/src/test/java/TestStringHelpers.java @@ -0,0 +1,63 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_1.common.StringHelpers; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +/** + * Test the operations on strings. + * + *

The operations follow the Python implementation, since Python is the language of the + * meta-model specifications. Hence, they work on the characters (code points) of the strings. The + * expected values have been computed with Python, and all the SDKs test against the very same + * cases. + */ +public class TestStringHelpers { + @Test + @DisplayName("len(\'\') gives 0: empty text") + public void testLenEmptyText() { + assertEquals(0, StringHelpers.len("")); + } + + @Test + @DisplayName("len(\'abc\') gives 3: ASCII text") + public void testLenAsciiText() { + assertEquals(3, StringHelpers.len("abc")); + } + + @Test + @DisplayName("len(\'é-\') gives 2: character of two UTF-8 bytes") + public void testLenCharacterOfTwoUtf8Bytes() { + assertEquals(2, StringHelpers.len("é-")); + } + + @Test + @DisplayName("len(\'😀-\') gives 2: character beyond the Basic Multilingual Plane") + public void testLenCharacterBeyondTheBasicMultilingualPlane() { + assertEquals(2, StringHelpers.len("😀-")); + } + + @Test + @DisplayName("len(\'aé😀b😀\') gives 5: mixed characters") + public void testLenMixedCharacters() { + assertEquals(5, StringHelpers.len("aé😀b😀")); + } +} // class TestStringHelpers + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestVerificationOfEnums.java b/src/test/java/TestVerificationOfEnums.java new file mode 100644 index 00000000..4bcb3f4f --- /dev/null +++ b/src/test/java/TestVerificationOfEnums.java @@ -0,0 +1,230 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.verification.Verification; +import java.util.List; +import java.util.stream.Collectors; +import org.junit.jupiter.api.Test; + +public class TestVerificationOfEnums { + @Test + public void testModellingKindValid() { + final List errors = + Verification.verifyModellingKind(ModellingKind.TEMPLATE).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testModellingKindValid + + @Test + public void testModellingKindInvalid() { + final ModellingKind value = null; + final List errors = + Verification.verifyModellingKind(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid ModellingKind: null", errors.get(0).getCause()); + } // void testModellingKindInvalid + + @Test + public void testQualifierKindValid() { + final List errors = + Verification.verifyQualifierKind(QualifierKind.VALUE_QUALIFIER) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testQualifierKindValid + + @Test + public void testQualifierKindInvalid() { + final QualifierKind value = null; + final List errors = + Verification.verifyQualifierKind(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid QualifierKind: null", errors.get(0).getCause()); + } // void testQualifierKindInvalid + + @Test + public void testAssetKindValid() { + final List errors = + Verification.verifyAssetKind(AssetKind.TYPE).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testAssetKindValid + + @Test + public void testAssetKindInvalid() { + final AssetKind value = null; + final List errors = + Verification.verifyAssetKind(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid AssetKind: null", errors.get(0).getCause()); + } // void testAssetKindInvalid + + @Test + public void testAasSubmodelElementsValid() { + final List errors = + Verification.verifyAasSubmodelElements(AasSubmodelElements.ANNOTATED_RELATIONSHIP_ELEMENT) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testAasSubmodelElementsValid + + @Test + public void testAasSubmodelElementsInvalid() { + final AasSubmodelElements value = null; + final List errors = + Verification.verifyAasSubmodelElements(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid AasSubmodelElements: null", errors.get(0).getCause()); + } // void testAasSubmodelElementsInvalid + + @Test + public void testEntityTypeValid() { + final List errors = + Verification.verifyEntityType(EntityType.CO_MANAGED_ENTITY).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testEntityTypeValid + + @Test + public void testEntityTypeInvalid() { + final EntityType value = null; + final List errors = + Verification.verifyEntityType(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid EntityType: null", errors.get(0).getCause()); + } // void testEntityTypeInvalid + + @Test + public void testDirectionValid() { + final List errors = + Verification.verifyDirection(Direction.INPUT).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testDirectionValid + + @Test + public void testDirectionInvalid() { + final Direction value = null; + final List errors = + Verification.verifyDirection(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid Direction: null", errors.get(0).getCause()); + } // void testDirectionInvalid + + @Test + public void testStateOfEventValid() { + final List errors = + Verification.verifyStateOfEvent(StateOfEvent.ON).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testStateOfEventValid + + @Test + public void testStateOfEventInvalid() { + final StateOfEvent value = null; + final List errors = + Verification.verifyStateOfEvent(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid StateOfEvent: null", errors.get(0).getCause()); + } // void testStateOfEventInvalid + + @Test + public void testReferenceTypesValid() { + final List errors = + Verification.verifyReferenceTypes(ReferenceTypes.EXTERNAL_REFERENCE) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testReferenceTypesValid + + @Test + public void testReferenceTypesInvalid() { + final ReferenceTypes value = null; + final List errors = + Verification.verifyReferenceTypes(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid ReferenceTypes: null", errors.get(0).getCause()); + } // void testReferenceTypesInvalid + + @Test + public void testKeyTypesValid() { + final List errors = + Verification.verifyKeyTypes(KeyTypes.ANNOTATED_RELATIONSHIP_ELEMENT) + .collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testKeyTypesValid + + @Test + public void testKeyTypesInvalid() { + final KeyTypes value = null; + final List errors = + Verification.verifyKeyTypes(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid KeyTypes: null", errors.get(0).getCause()); + } // void testKeyTypesInvalid + + @Test + public void testDataTypeDefXsdValid() { + final List errors = + Verification.verifyDataTypeDefXsd(DataTypeDefXsd.ANY_URI).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testDataTypeDefXsdValid + + @Test + public void testDataTypeDefXsdInvalid() { + final DataTypeDefXsd value = null; + final List errors = + Verification.verifyDataTypeDefXsd(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid DataTypeDefXsd: null", errors.get(0).getCause()); + } // void testDataTypeDefXsdInvalid + + @Test + public void testDataTypeIec61360Valid() { + final List errors = + Verification.verifyDataTypeIec61360(DataTypeIec61360.DATE).collect(Collectors.toList()); + + assertEquals(0, errors.size()); + } // void testDataTypeIec61360Valid + + @Test + public void testDataTypeIec61360Invalid() { + final DataTypeIec61360 value = null; + final List errors = + Verification.verifyDataTypeIec61360(value).collect(Collectors.toList()); + + assertEquals(1, errors.size()); + assertEquals("Invalid DataTypeIec61360: null", errors.get(0).getCause()); + } // void testDataTypeIec61360Invalid +} // class TestVerificationOfEnums + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestXOrDefault.java b/src/test/java/TestXOrDefault.java new file mode 100644 index 00000000..f1fd100c --- /dev/null +++ b/src/test/java/TestXOrDefault.java @@ -0,0 +1,204 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_1.reporting.*; +import aas_core.aas3_1.stringification.Stringification; +import aas_core.aas3_1.types.enums.*; +import aas_core.aas3_1.types.impl.*; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Optional; +import org.junit.jupiter.api.Test; + +public class TestXOrDefault { + private static void compareOrRerecordValue(Object value, Path expectedPath) throws IOException { + final ObjectMapper objectMapper = new ObjectMapper(); + JsonNode got = CommonJson.toJson(value); + + if (Common.RECORD_MODE) { + Files.createDirectories(expectedPath.getParent()); + Files.write(expectedPath, got.toString().getBytes()); + } else { + if (!Files.exists(expectedPath)) { + throw new FileNotFoundException( + "The file with the recorded value does not exist: " + + expectedPath + + "; " + + "maybe you want to set the environment variable " + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME + + "?"); + } + + final JsonNode expected = objectMapper.readTree(expectedPath.toFile()); + assertEquals( + objectMapper.readTree(expected.toString()), objectMapper.readTree(got.toString())); + } + } + + @Test + public void testExtensionValueTypeOrDefaultNonDefault() throws IOException { + Extension instance = CommonJsonization.loadMaximalExtension(); + + final DataTypeDefXsd enumValue = instance.valueTypeOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, + "XOrDefault", + "Extension", + "valueTypeOrDefault.non-default.json")); + } // public void testExtensionvalueTypeOrDefaultNonDefault + + @Test + public void testExtensionvalueTypeOrDefaultDefault() throws IOException { + Extension instance = CommonJsonization.loadMinimalExtension(); + + final DataTypeDefXsd enumValue = instance.valueTypeOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, "XOrDefault", "Extension", "valueTypeOrDefault.default.json")); + } // public void testExtensionvalueTypeOrDefaultDefault + + @Test + public void testQualifierKindOrDefaultNonDefault() throws IOException { + Qualifier instance = CommonJsonization.loadMaximalQualifier(); + + final QualifierKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, "XOrDefault", "Qualifier", "kindOrDefault.non-default.json")); + } // public void testQualifierkindOrDefaultNonDefault + + @Test + public void testQualifierkindOrDefaultDefault() throws IOException { + Qualifier instance = CommonJsonization.loadMinimalQualifier(); + + final QualifierKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get(Common.TEST_DATA_DIR, "XOrDefault", "Qualifier", "kindOrDefault.default.json")); + } // public void testQualifierkindOrDefaultDefault + + @Test + public void testSubmodelKindOrDefaultNonDefault() throws IOException { + Submodel instance = CommonJsonization.loadMaximalSubmodel(); + + final ModellingKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, "XOrDefault", "Submodel", "kindOrDefault.non-default.json")); + } // public void testSubmodelkindOrDefaultNonDefault + + @Test + public void testSubmodelkindOrDefaultDefault() throws IOException { + Submodel instance = CommonJsonization.loadMinimalSubmodel(); + + final ModellingKind enumValue = instance.kindOrDefault(); + if (enumValue == null) { + throw new IllegalStateException("Failed to stringify the enum"); + } + + final Optional valueOptional = Stringification.toString(enumValue); + assertEquals(true, valueOptional.isPresent()); + final String value = valueOptional.get(); + + compareOrRerecordValue( + value, + Paths.get(Common.TEST_DATA_DIR, "XOrDefault", "Submodel", "kindOrDefault.default.json")); + } // public void testSubmodelkindOrDefaultDefault + + @Test + public void testSubmodelElementListOrderRelevantOrDefaultNonDefault() throws IOException { + SubmodelElementList instance = CommonJsonization.loadMaximalSubmodelElementList(); + + final Object value = instance.orderRelevantOrDefault(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, + "XOrDefault", + "SubmodelElementList", + "orderRelevantOrDefault.non-default.json")); + } // public void testSubmodelElementListorderRelevantOrDefaultNonDefault + + @Test + public void testSubmodelElementListorderRelevantOrDefaultDefault() throws IOException { + SubmodelElementList instance = CommonJsonization.loadMinimalSubmodelElementList(); + + final Object value = instance.orderRelevantOrDefault(); + + compareOrRerecordValue( + value, + Paths.get( + Common.TEST_DATA_DIR, + "XOrDefault", + "SubmodelElementList", + "orderRelevantOrDefault.default.json")); + } // public void testSubmodelElementListorderRelevantOrDefaultDefault +} // class TestXOrDefault + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestXmlizationOfConcreteClasses.java b/src/test/java/TestXmlizationOfConcreteClasses.java new file mode 100644 index 00000000..a4c0e6d7 --- /dev/null +++ b/src/test/java/TestXmlizationOfConcreteClasses.java @@ -0,0 +1,3290 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; + +import aas_core.aas3_1.reporting.Reporting; +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.IClass; +import aas_core.aas3_1.verification.Verification; +import aas_core.aas3_1.xmlcommon.XmlCommon; +import aas_core.aas3_1.xmlization.Xmlization; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.StringReader; +import java.io.StringWriter; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import javax.xml.stream.*; +import javax.xml.stream.events.XMLEvent; +import org.junit.jupiter.api.Test; + +public class TestXmlizationOfConcreteClasses { + public static Optional checkElementsEqual( + XMLEvent expected, String expectedContent, Map outputMap) { + switch (expected.getEventType()) { + case XMLStreamConstants.START_ELEMENT: + { + final String expectedName = expected.asStartElement().getName().getLocalPart(); + final Optional> got = + outputMap.entrySet().stream() + .filter( + entry -> + entry.getKey().isStartElement() + && entry + .getKey() + .asStartElement() + .getName() + .getLocalPart() + .equals(expectedName)) + .filter(entry -> entry.getValue().equals(expectedContent)) + .findAny(); + if (!got.isPresent()) { + final Reporting.Error error = + new Reporting.Error( + "Missing start element " + + expectedName + + " in with content: " + + expectedContent); + return Optional.of(error); + } + outputMap.remove(got.get().getKey()); + return Optional.empty(); + } + case XMLStreamConstants.END_ELEMENT: + { + final String expectedName = expected.asEndElement().getName().getLocalPart(); + final Optional> got = + outputMap.entrySet().stream() + .filter( + entry -> + entry.getKey().isEndElement() + && entry + .getKey() + .asEndElement() + .getName() + .getLocalPart() + .equals(expectedName)) + .findAny(); + if (!got.isPresent()) { + final Reporting.Error error = + new Reporting.Error("Missing end element " + expectedName); + return Optional.of(error); + } + outputMap.remove(got.get().getKey()); + return Optional.empty(); + } + default: + { + throw new IllegalStateException("Unexpected event type in check elements equal."); + } + } + } + + private static String readContent(XMLEventReader reader) throws XMLStreamException { + final StringBuilder content = new StringBuilder(); + while (reader.hasNext() + && reader.peek().isCharacters() + && !reader.peek().asCharacters().isWhiteSpace() + || reader.peek().getEventType() == XMLStreamConstants.COMMENT) { + + if (reader.peek().isCharacters()) { + content.append(reader.peek().asCharacters().getData()); + } + reader.nextEvent(); + } + return content.toString(); + } + + private static Map buildElementsMap(XMLEventReader reader) + throws XMLStreamException { + final Map result = new LinkedHashMap<>(); + while (reader.hasNext()) { + final XMLEvent current = reader.nextEvent(); + if (current.isStartElement()) { + result.put(current, readContent(reader)); + } else if (current.isEndElement()) { + result.put(current, ""); + } + } + return result; + } + + private static void assertSerializeDeserializeEqualsOriginal(IClass instance, Path path) + throws XMLStreamException, IOException { + // Serialize + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlStreamWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlStreamWriter); + + final String outputText = stringOut.toString(); + + // Compare expected == output + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader outputReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final Map outputMap = buildElementsMap(outputReader); + + // check the namespace of the output + for (XMLEvent event : outputMap.keySet()) { + if (event.isStartElement()) { + assertTrue( + Xmlization.NAMESPACE.equals(event.asStartElement().getName().getNamespaceURI()), + "Unexpected namespace of " + event.asStartElement().getName()); + } + if (event.isEndElement()) { + assertTrue( + Xmlization.NAMESPACE.equals(event.asEndElement().getName().getNamespaceURI()), + "Unexpected namespace of " + event.asEndElement().getName()); + } + } + + final XMLEventReader expectedReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + final Map expectedMap = buildElementsMap(expectedReader); + + if (expectedMap.size() != outputMap.size()) { + fail( + "Mismatch in element size expected " + + expectedMap.size() + + " but got " + + outputMap.size()); + } + + expectedMap.forEach( + (xmlEvent, content) -> { + final Optional inequalityError = + checkElementsEqual(xmlEvent, content, outputMap); + inequalityError.ifPresent( + error -> + fail( + "The original XML from " + + path + + " is unequal the serialized XML: " + + error.getCause())); + }); + } + + private static void assertEqualsExpectedOrRerecordDeserializationException( + XmlCommon.DeserializeException exception, Path path) throws IOException { + if (exception == null) { + fail("Expected a Xmlization exception when de-serializing " + path + ", but got none."); + } else { + final Path exceptionPath = Paths.get(path + ".exception"); + final String got = exception.getMessage(); + if (Common.RECORD_MODE) { + Files.write(exceptionPath, got.getBytes(StandardCharsets.UTF_8)); + } else { + if (!Files.exists(exceptionPath)) { + throw new FileNotFoundException( + "The file with the recorded exception does not exist: " + + exceptionPath + + "; maybe you want to set the environment variable" + + Common.RECORD_MODE_ENVIRONMENT_VARIABLE_NAME + + "?"); + } + + final String expected = String.join("\n", Files.readAllLines(exceptionPath)); + assertEquals( + expected.replace("\n", ""), + got.replace("\n", ""), + "The expected exception does not match the actual one for the file " + path); + } + } + } + + @Test + public void testExtensionOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "extension"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Extension instance = Xmlization.Deserialize.deserializeExtension(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testExtensionOk + + @Test + public void testExtensionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("extension"); + + if (!Files.exists(clsDir)) { + // No examples of Extension for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeExtension(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testExtensionDeserializationFail + + @Test + public void testExtensionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("extension"); + + if (!Files.exists(clsDir)) { + // No examples of Extension for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Extension instance = Xmlization.Deserialize.deserializeExtension(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testExtensionVerificationFail + + @Test + public void testAdministrativeInformationOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "administrativeInformation"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AdministrativeInformation instance = + Xmlization.Deserialize.deserializeAdministrativeInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAdministrativeInformationOk + + @Test + public void testAdministrativeInformationDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("administrativeInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AdministrativeInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAdministrativeInformation(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAdministrativeInformationDeserializationFail + + @Test + public void testAdministrativeInformationVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("administrativeInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AdministrativeInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AdministrativeInformation instance = + Xmlization.Deserialize.deserializeAdministrativeInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAdministrativeInformationVerificationFail + + @Test + public void testQualifierOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "qualifier"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Qualifier instance = Xmlization.Deserialize.deserializeQualifier(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testQualifierOk + + @Test + public void testQualifierDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("qualifier"); + + if (!Files.exists(clsDir)) { + // No examples of Qualifier for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeQualifier(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testQualifierDeserializationFail + + @Test + public void testQualifierVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("qualifier"); + + if (!Files.exists(clsDir)) { + // No examples of Qualifier for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Qualifier instance = Xmlization.Deserialize.deserializeQualifier(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testQualifierVerificationFail + + @Test + public void testAssetAdministrationShellOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "assetAdministrationShell"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShell instance = + Xmlization.Deserialize.deserializeAssetAdministrationShell(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAssetAdministrationShellOk + + @Test + public void testAssetAdministrationShellDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShell"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShell for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAssetAdministrationShell(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetAdministrationShellDeserializationFail + + @Test + public void testAssetAdministrationShellVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("assetAdministrationShell"); + + if (!Files.exists(clsDir)) { + // No examples of AssetAdministrationShell for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetAdministrationShell instance = + Xmlization.Deserialize.deserializeAssetAdministrationShell(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetAdministrationShellVerificationFail + + @Test + public void testAssetInformationOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "assetInformation"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetInformation instance = + Xmlization.Deserialize.deserializeAssetInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAssetInformationOk + + @Test + public void testAssetInformationDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("assetInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AssetInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAssetInformation(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAssetInformationDeserializationFail + + @Test + public void testAssetInformationVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("assetInformation"); + + if (!Files.exists(clsDir)) { + // No examples of AssetInformation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AssetInformation instance = + Xmlization.Deserialize.deserializeAssetInformation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAssetInformationVerificationFail + + @Test + public void testResourceOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "resource"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Resource instance = Xmlization.Deserialize.deserializeResource(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testResourceOk + + @Test + public void testResourceDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("resource"); + + if (!Files.exists(clsDir)) { + // No examples of Resource for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeResource(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testResourceDeserializationFail + + @Test + public void testResourceVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("resource"); + + if (!Files.exists(clsDir)) { + // No examples of Resource for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Resource instance = Xmlization.Deserialize.deserializeResource(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testResourceVerificationFail + + @Test + public void testSpecificAssetIdOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "specificAssetId"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SpecificAssetId instance = Xmlization.Deserialize.deserializeSpecificAssetId(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSpecificAssetIdOk + + @Test + public void testSpecificAssetIdDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("specificAssetId"); + + if (!Files.exists(clsDir)) { + // No examples of SpecificAssetId for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSpecificAssetId(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSpecificAssetIdDeserializationFail + + @Test + public void testSpecificAssetIdVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("specificAssetId"); + + if (!Files.exists(clsDir)) { + // No examples of SpecificAssetId for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SpecificAssetId instance = + Xmlization.Deserialize.deserializeSpecificAssetId(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSpecificAssetIdVerificationFail + + @Test + public void testSubmodelOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodel"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Submodel instance = Xmlization.Deserialize.deserializeSubmodel(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelOk + + @Test + public void testSubmodelDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodel"); + + if (!Files.exists(clsDir)) { + // No examples of Submodel for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodel(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelDeserializationFail + + @Test + public void testSubmodelVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodel"); + + if (!Files.exists(clsDir)) { + // No examples of Submodel for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Submodel instance = Xmlization.Deserialize.deserializeSubmodel(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelVerificationFail + + @Test + public void testRelationshipElementOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "relationshipElement"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RelationshipElement instance = + Xmlization.Deserialize.deserializeRelationshipElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRelationshipElementOk + + @Test + public void testRelationshipElementDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("relationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRelationshipElement(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRelationshipElementDeserializationFail + + @Test + public void testRelationshipElementVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("relationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of RelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final RelationshipElement instance = + Xmlization.Deserialize.deserializeRelationshipElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRelationshipElementVerificationFail + + @Test + public void testSubmodelElementListOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelElementList"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementList instance = + Xmlization.Deserialize.deserializeSubmodelElementList(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelElementListOk + + @Test + public void testSubmodelElementListDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelElementList"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelElementList(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementListDeserializationFail + + @Test + public void testSubmodelElementListVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelElementList"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementList instance = + Xmlization.Deserialize.deserializeSubmodelElementList(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementListVerificationFail + + @Test + public void testSubmodelElementCollectionOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "submodelElementCollection"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementCollection instance = + Xmlization.Deserialize.deserializeSubmodelElementCollection(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testSubmodelElementCollectionOk + + @Test + public void testSubmodelElementCollectionDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("submodelElementCollection"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollection for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeSubmodelElementCollection(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testSubmodelElementCollectionDeserializationFail + + @Test + public void testSubmodelElementCollectionVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("submodelElementCollection"); + + if (!Files.exists(clsDir)) { + // No examples of SubmodelElementCollection for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final SubmodelElementCollection instance = + Xmlization.Deserialize.deserializeSubmodelElementCollection(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testSubmodelElementCollectionVerificationFail + + @Test + public void testPropertyOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "property"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Property instance = Xmlization.Deserialize.deserializeProperty(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testPropertyOk + + @Test + public void testPropertyDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("property"); + + if (!Files.exists(clsDir)) { + // No examples of Property for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeProperty(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testPropertyDeserializationFail + + @Test + public void testPropertyVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("property"); + + if (!Files.exists(clsDir)) { + // No examples of Property for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Property instance = Xmlization.Deserialize.deserializeProperty(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testPropertyVerificationFail + + @Test + public void testMultiLanguagePropertyOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "multiLanguageProperty"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final MultiLanguageProperty instance = + Xmlization.Deserialize.deserializeMultiLanguageProperty(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testMultiLanguagePropertyOk + + @Test + public void testMultiLanguagePropertyDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("multiLanguageProperty"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguageProperty for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeMultiLanguageProperty(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testMultiLanguagePropertyDeserializationFail + + @Test + public void testMultiLanguagePropertyVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("multiLanguageProperty"); + + if (!Files.exists(clsDir)) { + // No examples of MultiLanguageProperty for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final MultiLanguageProperty instance = + Xmlization.Deserialize.deserializeMultiLanguageProperty(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testMultiLanguagePropertyVerificationFail + + @Test + public void testRangeOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "range"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Range instance = Xmlization.Deserialize.deserializeRange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testRangeOk + + @Test + public void testRangeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("range"); + + if (!Files.exists(clsDir)) { + // No examples of Range for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeRange(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testRangeDeserializationFail + + @Test + public void testRangeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("range"); + + if (!Files.exists(clsDir)) { + // No examples of Range for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Range instance = Xmlization.Deserialize.deserializeRange(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testRangeVerificationFail + + @Test + public void testReferenceElementOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "referenceElement"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceElement instance = + Xmlization.Deserialize.deserializeReferenceElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testReferenceElementOk + + @Test + public void testReferenceElementDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("referenceElement"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeReferenceElement(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceElementDeserializationFail + + @Test + public void testReferenceElementVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("referenceElement"); + + if (!Files.exists(clsDir)) { + // No examples of ReferenceElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ReferenceElement instance = + Xmlization.Deserialize.deserializeReferenceElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceElementVerificationFail + + @Test + public void testBlobOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "blob"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Blob instance = Xmlization.Deserialize.deserializeBlob(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBlobOk + + @Test + public void testBlobDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("blob"); + + if (!Files.exists(clsDir)) { + // No examples of Blob for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBlob(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBlobDeserializationFail + + @Test + public void testBlobVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("blob"); + + if (!Files.exists(clsDir)) { + // No examples of Blob for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Blob instance = Xmlization.Deserialize.deserializeBlob(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBlobVerificationFail + + @Test + public void testFileOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "file"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final File instance = Xmlization.Deserialize.deserializeFile(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testFileOk + + @Test + public void testFileDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("file"); + + if (!Files.exists(clsDir)) { + // No examples of File for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeFile(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testFileDeserializationFail + + @Test + public void testFileVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("file"); + + if (!Files.exists(clsDir)) { + // No examples of File for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final File instance = Xmlization.Deserialize.deserializeFile(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testFileVerificationFail + + @Test + public void testAnnotatedRelationshipElementOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "annotatedRelationshipElement"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AnnotatedRelationshipElement instance = + Xmlization.Deserialize.deserializeAnnotatedRelationshipElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testAnnotatedRelationshipElementOk + + @Test + public void testAnnotatedRelationshipElementDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("annotatedRelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeAnnotatedRelationshipElement(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testAnnotatedRelationshipElementDeserializationFail + + @Test + public void testAnnotatedRelationshipElementVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("annotatedRelationshipElement"); + + if (!Files.exists(clsDir)) { + // No examples of AnnotatedRelationshipElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final AnnotatedRelationshipElement instance = + Xmlization.Deserialize.deserializeAnnotatedRelationshipElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testAnnotatedRelationshipElementVerificationFail + + @Test + public void testEntityOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "entity"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Entity instance = Xmlization.Deserialize.deserializeEntity(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEntityOk + + @Test + public void testEntityDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("entity"); + + if (!Files.exists(clsDir)) { + // No examples of Entity for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEntity(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEntityDeserializationFail + + @Test + public void testEntityVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("entity"); + + if (!Files.exists(clsDir)) { + // No examples of Entity for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Entity instance = Xmlization.Deserialize.deserializeEntity(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEntityVerificationFail + + @Test + public void testEventPayloadOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "eventPayload"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EventPayload instance = Xmlization.Deserialize.deserializeEventPayload(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEventPayloadOk + + @Test + public void testEventPayloadDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("eventPayload"); + + if (!Files.exists(clsDir)) { + // No examples of EventPayload for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEventPayload(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEventPayloadDeserializationFail + + @Test + public void testEventPayloadVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("eventPayload"); + + if (!Files.exists(clsDir)) { + // No examples of EventPayload for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EventPayload instance = Xmlization.Deserialize.deserializeEventPayload(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEventPayloadVerificationFail + + @Test + public void testBasicEventElementOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "basicEventElement"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BasicEventElement instance = + Xmlization.Deserialize.deserializeBasicEventElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testBasicEventElementOk + + @Test + public void testBasicEventElementDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("basicEventElement"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeBasicEventElement(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testBasicEventElementDeserializationFail + + @Test + public void testBasicEventElementVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("basicEventElement"); + + if (!Files.exists(clsDir)) { + // No examples of BasicEventElement for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final BasicEventElement instance = + Xmlization.Deserialize.deserializeBasicEventElement(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testBasicEventElementVerificationFail + + @Test + public void testOperationOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operation"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Operation instance = Xmlization.Deserialize.deserializeOperation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationOk + + @Test + public void testOperationDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operation"); + + if (!Files.exists(clsDir)) { + // No examples of Operation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperation(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationDeserializationFail + + @Test + public void testOperationVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operation"); + + if (!Files.exists(clsDir)) { + // No examples of Operation for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Operation instance = Xmlization.Deserialize.deserializeOperation(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationVerificationFail + + @Test + public void testOperationVariableOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "operationVariable"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationVariable instance = + Xmlization.Deserialize.deserializeOperationVariable(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testOperationVariableOk + + @Test + public void testOperationVariableDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("operationVariable"); + + if (!Files.exists(clsDir)) { + // No examples of OperationVariable for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeOperationVariable(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testOperationVariableDeserializationFail + + @Test + public void testOperationVariableVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("operationVariable"); + + if (!Files.exists(clsDir)) { + // No examples of OperationVariable for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final OperationVariable instance = + Xmlization.Deserialize.deserializeOperationVariable(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testOperationVariableVerificationFail + + @Test + public void testCapabilityOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "capability"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Capability instance = Xmlization.Deserialize.deserializeCapability(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testCapabilityOk + + @Test + public void testCapabilityDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("capability"); + + if (!Files.exists(clsDir)) { + // No examples of Capability for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeCapability(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testCapabilityDeserializationFail + + @Test + public void testCapabilityVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("capability"); + + if (!Files.exists(clsDir)) { + // No examples of Capability for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Capability instance = Xmlization.Deserialize.deserializeCapability(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testCapabilityVerificationFail + + @Test + public void testConceptDescriptionOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "conceptDescription"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ConceptDescription instance = + Xmlization.Deserialize.deserializeConceptDescription(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testConceptDescriptionOk + + @Test + public void testConceptDescriptionDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("conceptDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeConceptDescription(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testConceptDescriptionDeserializationFail + + @Test + public void testConceptDescriptionVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("conceptDescription"); + + if (!Files.exists(clsDir)) { + // No examples of ConceptDescription for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ConceptDescription instance = + Xmlization.Deserialize.deserializeConceptDescription(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testConceptDescriptionVerificationFail + + @Test + public void testReferenceOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "reference"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Reference instance = Xmlization.Deserialize.deserializeReference(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testReferenceOk + + @Test + public void testReferenceDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("reference"); + + if (!Files.exists(clsDir)) { + // No examples of Reference for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeReference(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testReferenceDeserializationFail + + @Test + public void testReferenceVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("reference"); + + if (!Files.exists(clsDir)) { + // No examples of Reference for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Reference instance = Xmlization.Deserialize.deserializeReference(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testReferenceVerificationFail + + @Test + public void testKeyOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "key"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Key instance = Xmlization.Deserialize.deserializeKey(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testKeyOk + + @Test + public void testKeyDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("key"); + + if (!Files.exists(clsDir)) { + // No examples of Key for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeKey(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testKeyDeserializationFail + + @Test + public void testKeyVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("key"); + + if (!Files.exists(clsDir)) { + // No examples of Key for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Key instance = Xmlization.Deserialize.deserializeKey(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testKeyVerificationFail + + @Test + public void testLangStringNameTypeOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringNameType"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringNameType instance = + Xmlization.Deserialize.deserializeLangStringNameType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringNameTypeOk + + @Test + public void testLangStringNameTypeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringNameType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringNameType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringNameType(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringNameTypeDeserializationFail + + @Test + public void testLangStringNameTypeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringNameType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringNameType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringNameType instance = + Xmlization.Deserialize.deserializeLangStringNameType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringNameTypeVerificationFail + + @Test + public void testLangStringTextTypeOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringTextType"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringTextType instance = + Xmlization.Deserialize.deserializeLangStringTextType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringTextTypeOk + + @Test + public void testLangStringTextTypeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringTextType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringTextType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringTextType(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringTextTypeDeserializationFail + + @Test + public void testLangStringTextTypeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringTextType"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringTextType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringTextType instance = + Xmlization.Deserialize.deserializeLangStringTextType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringTextTypeVerificationFail + + @Test + public void testEnvironmentOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "environment"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Environment instance = Xmlization.Deserialize.deserializeEnvironment(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEnvironmentOk + + @Test + public void testEnvironmentDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("environment"); + + if (!Files.exists(clsDir)) { + // No examples of Environment for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEnvironment(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEnvironmentDeserializationFail + + @Test + public void testEnvironmentVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("environment"); + + if (!Files.exists(clsDir)) { + // No examples of Environment for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final Environment instance = Xmlization.Deserialize.deserializeEnvironment(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEnvironmentVerificationFail + + @Test + public void testEmbeddedDataSpecificationOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "embeddedDataSpecification"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EmbeddedDataSpecification instance = + Xmlization.Deserialize.deserializeEmbeddedDataSpecification(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testEmbeddedDataSpecificationOk + + @Test + public void testEmbeddedDataSpecificationDeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("embeddedDataSpecification"); + + if (!Files.exists(clsDir)) { + // No examples of EmbeddedDataSpecification for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeEmbeddedDataSpecification(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testEmbeddedDataSpecificationDeserializationFail + + @Test + public void testEmbeddedDataSpecificationVerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("embeddedDataSpecification"); + + if (!Files.exists(clsDir)) { + // No examples of EmbeddedDataSpecification for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final EmbeddedDataSpecification instance = + Xmlization.Deserialize.deserializeEmbeddedDataSpecification(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testEmbeddedDataSpecificationVerificationFail + + @Test + public void testLevelTypeOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "levelType"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LevelType instance = Xmlization.Deserialize.deserializeLevelType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLevelTypeOk + + @Test + public void testLevelTypeDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("levelType"); + + if (!Files.exists(clsDir)) { + // No examples of LevelType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLevelType(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLevelTypeDeserializationFail + + @Test + public void testLevelTypeVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("levelType"); + + if (!Files.exists(clsDir)) { + // No examples of LevelType for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LevelType instance = Xmlization.Deserialize.deserializeLevelType(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLevelTypeVerificationFail + + @Test + public void testValueReferencePairOk() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "valueReferencePair"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ValueReferencePair instance = + Xmlization.Deserialize.deserializeValueReferencePair(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testValueReferencePairOk + + @Test + public void testValueReferencePairDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("valueReferencePair"); + + if (!Files.exists(clsDir)) { + // No examples of ValueReferencePair for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeValueReferencePair(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testValueReferencePairDeserializationFail + + @Test + public void testValueReferencePairVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("valueReferencePair"); + + if (!Files.exists(clsDir)) { + // No examples of ValueReferencePair for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ValueReferencePair instance = + Xmlization.Deserialize.deserializeValueReferencePair(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testValueReferencePairVerificationFail + + @Test + public void testValueListOk() throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "valueList"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ValueList instance = Xmlization.Deserialize.deserializeValueList(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testValueListOk + + @Test + public void testValueListDeserializationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("valueList"); + + if (!Files.exists(clsDir)) { + // No examples of ValueList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeValueList(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testValueListDeserializationFail + + @Test + public void testValueListVerificationFail() throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("valueList"); + + if (!Files.exists(clsDir)) { + // No examples of ValueList for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final ValueList instance = Xmlization.Deserialize.deserializeValueList(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testValueListVerificationFail + + @Test + public void testLangStringPreferredNameTypeIec61360Ok() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringPreferredNameTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringPreferredNameTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringPreferredNameTypeIec61360Ok + + @Test + public void testLangStringPreferredNameTypeIec61360DeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringPreferredNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringPreferredNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringPreferredNameTypeIec61360DeserializationFail + + @Test + public void testLangStringPreferredNameTypeIec61360VerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringPreferredNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringPreferredNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringPreferredNameTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringPreferredNameTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringPreferredNameTypeIec61360VerificationFail + + @Test + public void testLangStringShortNameTypeIec61360Ok() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringShortNameTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringShortNameTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringShortNameTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringShortNameTypeIec61360Ok + + @Test + public void testLangStringShortNameTypeIec61360DeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringShortNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringShortNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringShortNameTypeIec61360(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringShortNameTypeIec61360DeserializationFail + + @Test + public void testLangStringShortNameTypeIec61360VerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringShortNameTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringShortNameTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringShortNameTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringShortNameTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringShortNameTypeIec61360VerificationFail + + @Test + public void testLangStringDefinitionTypeIec61360Ok() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "langStringDefinitionTypeIec61360"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringDefinitionTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringDefinitionTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testLangStringDefinitionTypeIec61360Ok + + @Test + public void testLangStringDefinitionTypeIec61360DeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("langStringDefinitionTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringDefinitionTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeLangStringDefinitionTypeIec61360(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testLangStringDefinitionTypeIec61360DeserializationFail + + @Test + public void testLangStringDefinitionTypeIec61360VerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("langStringDefinitionTypeIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of LangStringDefinitionTypeIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final LangStringDefinitionTypeIec61360 instance = + Xmlization.Deserialize.deserializeLangStringDefinitionTypeIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testLangStringDefinitionTypeIec61360VerificationFail + + @Test + public void testDataSpecificationIec61360Ok() throws IOException, XMLStreamException { + final Path searchPath = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "dataSpecificationIec61360"); + final List paths = Common.findPaths(searchPath, ".xml"); + + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DataSpecificationIec61360 instance = + Xmlization.Deserialize.deserializeDataSpecificationIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertNoVerificationErrors(errors, path); + + assertSerializeDeserializeEqualsOriginal(instance, path); + } + } // public void testDataSpecificationIec61360Ok + + @Test + public void testDataSpecificationIec61360DeserializationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Unserializable"))) { + final Path clsDir = causeDir.resolve("dataSpecificationIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeDataSpecificationIec61360(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + assertEqualsExpectedOrRerecordDeserializationException(exception, path); + } + } + } // public void testDataSpecificationIec61360DeserializationFail + + @Test + public void testDataSpecificationIec61360VerificationFail() + throws IOException, XMLStreamException { + for (Path causeDir : + Common.findDirs(Paths.get(Common.TEST_DATA_DIR, "Xml", "Unexpected", "Invalid"))) { + final Path clsDir = causeDir.resolve("dataSpecificationIec61360"); + + if (!Files.exists(clsDir)) { + // No examples of DataSpecificationIec61360 for the failure cause. + continue; + } + + final List paths = Common.findPaths(clsDir, ".xml"); + for (Path path : paths) { + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(Files.newInputStream(path)); + + final DataSpecificationIec61360 instance = + Xmlization.Deserialize.deserializeDataSpecificationIec61360(xmlReader); + + final Iterable errorIter = Verification.verify(instance); + final List errors = Common.asList(errorIter); + Common.assertEqualsExpectedOrRerecordVerificationErrors(errors, path); + } + } + } // public void testDataSpecificationIec61360VerificationFail + + @Test + public void testDuplicatePropertyFails() throws IOException, XMLStreamException { + final Path path = + Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "extension", "minimal.xml"); + + final String text = new String(Files.readAllBytes(path), StandardCharsets.UTF_8); + + // We cut the element of the property out of the recorded example and put it + // in a second time, just before the closing tag of the instance. + final int start = text.indexOf(""); + + final String property; + if (start >= 0) { + final int end = text.indexOf("", start); + property = text.substring(start, end + 7); + } else { + // The element is written self-closing in the example, an empty list being + // the usual reason. We write that very element out ourselves. + property = ""; + } + + final int insertionIndex = text.lastIndexOf(""); + + if (insertionIndex < 0) { + throw new IllegalStateException( + "We expect the recorded example to contain the closing tag " + + "" + + ", but it does not: " + + path); + } + + final String brokenText = + text.substring(0, insertionIndex) + property + text.substring(insertionIndex); + + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(brokenText)); + + XmlCommon.DeserializeException exception = null; + + try { + Xmlization.Deserialize.deserializeExtension(xmlReader); + } catch (XmlCommon.DeserializeException observedException) { + exception = observedException; + } + + if (exception == null) { + fail("Expected an exception when the property " + "name" + " is given twice, but got none"); + } + } // public void testDuplicatePropertyFails + + /** + * Read the first recorded example of LevelType with the content of the element {@code xmlName} + * replaced by {@code text}. + */ + private static LevelType readWith(String xmlName, String text) + throws IOException, XMLStreamException { + final Path searchPath = Paths.get(Common.TEST_DATA_DIR, "Xml", "Expected", "levelType"); + final List paths = Common.findPaths(searchPath, ".xml"); + + if (paths.isEmpty()) { + fail("Expected at least one recorded example of levelType, but got none"); + } + + final String original = new String(Files.readAllBytes(paths.get(0)), StandardCharsets.UTF_8); + + final int start = original.indexOf("<" + xmlName + ">") + xmlName.length() + 2; + final int end = original.indexOf(""); + + final String patched = original.substring(0, start) + text + original.substring(end); + + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(patched)); + + return Xmlization.Deserialize.deserializeLevelType(xmlReader); + } + + @Test + public void testMinReadFrom1() throws IOException, XMLStreamException { + final LevelType instance = readWith("min", "1"); + + assertEquals(true, instance.getMin()); + } // public void testMinReadFrom1 + + @Test + public void testMinReadFrom0() throws IOException, XMLStreamException { + final LevelType instance = readWith("min", "0"); + + assertEquals(false, instance.getMin()); + } // public void testMinReadFrom0 + + @Test + public void testMinReadFromTrue() throws IOException, XMLStreamException { + final LevelType instance = readWith("min", "true"); + + assertEquals(true, instance.getMin()); + } // public void testMinReadFromTrue + + @Test + public void testMinReadFromFalse() throws IOException, XMLStreamException { + final LevelType instance = readWith("min", "false"); + + assertEquals(false, instance.getMin()); + } // public void testMinReadFromFalse +} // class TestXmlizationOfConcreteClasses + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/TestXmlizationOfInterfaces.java b/src/test/java/TestXmlizationOfInterfaces.java new file mode 100644 index 00000000..ce69b69e --- /dev/null +++ b/src/test/java/TestXmlizationOfInterfaces.java @@ -0,0 +1,3324 @@ +// SPDX-FileCopyrightText: 2025 aas-core3.1-java AUTHORS +// +// SPDX-License-Identifier: MIT + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ + +package aas_core.aas3_1.tests; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +import aas_core.aas3_1.types.impl.*; +import aas_core.aas3_1.types.model.*; +import aas_core.aas3_1.xmlization.Xmlization; +import java.io.IOException; +import java.io.StringReader; +import java.io.StringWriter; +import javax.xml.stream.*; +import org.junit.jupiter.api.Test; + +public class TestXmlizationOfInterfaces { + @Test + public void testRoundTripIHasSemanticsFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromRelationshipElement + + @Test + public void testRoundTripIHasSemanticsFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasSemanticsFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromBasicEventElement + + @Test + public void testRoundTripIHasSemanticsFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromBlob + + @Test + public void testRoundTripIHasSemanticsFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromCapability + + @Test + public void testRoundTripIHasSemanticsFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromEntity + + @Test + public void testRoundTripIHasSemanticsFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromFile + + @Test + public void testRoundTripIHasSemanticsFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromMultiLanguageProperty + + @Test + public void testRoundTripIHasSemanticsFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromOperation + + @Test + public void testRoundTripIHasSemanticsFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromProperty + + @Test + public void testRoundTripIHasSemanticsFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromRange + + @Test + public void testRoundTripIHasSemanticsFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromReferenceElement + + @Test + public void testRoundTripIHasSemanticsFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodel + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodelElementCollection + + @Test + public void testRoundTripIHasSemanticsFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasSemantics instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasSemantics anotherInstance = + Xmlization.Deserialize.deserializeIHasSemantics(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasSemanticsFromSubmodelElementList + + @Test + public void testRoundTripIHasExtensionsFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromRelationshipElement + + @Test + public void testRoundTripIHasExtensionsFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasExtensionsFromAssetAdministrationShell() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromAssetAdministrationShell + + @Test + public void testRoundTripIHasExtensionsFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromBasicEventElement + + @Test + public void testRoundTripIHasExtensionsFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromBlob + + @Test + public void testRoundTripIHasExtensionsFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromCapability + + @Test + public void testRoundTripIHasExtensionsFromConceptDescription() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalConceptDescription(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromConceptDescription + + @Test + public void testRoundTripIHasExtensionsFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromEntity + + @Test + public void testRoundTripIHasExtensionsFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromFile + + @Test + public void testRoundTripIHasExtensionsFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromMultiLanguageProperty + + @Test + public void testRoundTripIHasExtensionsFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromOperation + + @Test + public void testRoundTripIHasExtensionsFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromProperty + + @Test + public void testRoundTripIHasExtensionsFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromRange + + @Test + public void testRoundTripIHasExtensionsFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromReferenceElement + + @Test + public void testRoundTripIHasExtensionsFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodel + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodelElementCollection + + @Test + public void testRoundTripIHasExtensionsFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasExtensions instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasExtensions anotherInstance = + Xmlization.Deserialize.deserializeIHasExtensions(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasExtensionsFromSubmodelElementList + + @Test + public void testRoundTripIReferableFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromRelationshipElement + + @Test + public void testRoundTripIReferableFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIReferableFromAssetAdministrationShell() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromAssetAdministrationShell + + @Test + public void testRoundTripIReferableFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromBasicEventElement + + @Test + public void testRoundTripIReferableFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromBlob + + @Test + public void testRoundTripIReferableFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromCapability + + @Test + public void testRoundTripIReferableFromConceptDescription() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalConceptDescription(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromConceptDescription + + @Test + public void testRoundTripIReferableFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromEntity + + @Test + public void testRoundTripIReferableFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromFile + + @Test + public void testRoundTripIReferableFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromMultiLanguageProperty + + @Test + public void testRoundTripIReferableFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromOperation + + @Test + public void testRoundTripIReferableFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromProperty + + @Test + public void testRoundTripIReferableFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromRange + + @Test + public void testRoundTripIReferableFromReferenceElement() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromReferenceElement + + @Test + public void testRoundTripIReferableFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodel + + @Test + public void testRoundTripIReferableFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodelElementCollection + + @Test + public void testRoundTripIReferableFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IReferable instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IReferable anotherInstance = Xmlization.Deserialize.deserializeIReferable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIReferableFromSubmodelElementList + + @Test + public void testRoundTripIIdentifiableFromAssetAdministrationShell() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IIdentifiable instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IIdentifiable anotherInstance = + Xmlization.Deserialize.deserializeIIdentifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIIdentifiableFromAssetAdministrationShell + + @Test + public void testRoundTripIIdentifiableFromConceptDescription() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IIdentifiable instance = CommonJsonization.loadMaximalConceptDescription(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IIdentifiable anotherInstance = + Xmlization.Deserialize.deserializeIIdentifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIIdentifiableFromConceptDescription + + @Test + public void testRoundTripIIdentifiableFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IIdentifiable instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IIdentifiable anotherInstance = + Xmlization.Deserialize.deserializeIIdentifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIIdentifiableFromSubmodel + + @Test + public void testRoundTripIHasKindFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasKind instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasKind anotherInstance = Xmlization.Deserialize.deserializeIHasKind(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasKindFromSubmodel + + @Test + public void testRoundTripIHasDataSpecificationFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromRelationshipElement + + @Test + public void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIHasDataSpecificationFromAssetAdministrationShell() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalAssetAdministrationShell(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromAssetAdministrationShell + + @Test + public void testRoundTripIHasDataSpecificationFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromBasicEventElement + + @Test + public void testRoundTripIHasDataSpecificationFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromBlob + + @Test + public void testRoundTripIHasDataSpecificationFromCapability() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromCapability + + @Test + public void testRoundTripIHasDataSpecificationFromConceptDescription() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalConceptDescription(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromConceptDescription + + @Test + public void testRoundTripIHasDataSpecificationFromEntity() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromEntity + + @Test + public void testRoundTripIHasDataSpecificationFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromFile + + @Test + public void testRoundTripIHasDataSpecificationFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromMultiLanguageProperty + + @Test + public void testRoundTripIHasDataSpecificationFromOperation() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromOperation + + @Test + public void testRoundTripIHasDataSpecificationFromProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromProperty + + @Test + public void testRoundTripIHasDataSpecificationFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromRange + + @Test + public void testRoundTripIHasDataSpecificationFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromReferenceElement + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodel() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodel + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementCollection + + @Test + public void testRoundTripIHasDataSpecificationFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IHasDataSpecification instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IHasDataSpecification anotherInstance = + Xmlization.Deserialize.deserializeIHasDataSpecification(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIHasDataSpecificationFromSubmodelElementList + + @Test + public void testRoundTripIQualifiableFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromRelationshipElement + + @Test + public void testRoundTripIQualifiableFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIQualifiableFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromBasicEventElement + + @Test + public void testRoundTripIQualifiableFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromBlob + + @Test + public void testRoundTripIQualifiableFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromCapability + + @Test + public void testRoundTripIQualifiableFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromEntity + + @Test + public void testRoundTripIQualifiableFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromFile + + @Test + public void testRoundTripIQualifiableFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromMultiLanguageProperty + + @Test + public void testRoundTripIQualifiableFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromOperation + + @Test + public void testRoundTripIQualifiableFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromProperty + + @Test + public void testRoundTripIQualifiableFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromRange + + @Test + public void testRoundTripIQualifiableFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromReferenceElement + + @Test + public void testRoundTripIQualifiableFromSubmodel() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodel(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodel + + @Test + public void testRoundTripIQualifiableFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodelElementCollection + + @Test + public void testRoundTripIQualifiableFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IQualifiable instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IQualifiable anotherInstance = Xmlization.Deserialize.deserializeIQualifiable(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIQualifiableFromSubmodelElementList + + @Test + public void testRoundTripISubmodelElementFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromRelationshipElement + + @Test + public void testRoundTripISubmodelElementFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromAnnotatedRelationshipElement + + @Test + public void testRoundTripISubmodelElementFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromBasicEventElement + + @Test + public void testRoundTripISubmodelElementFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromBlob + + @Test + public void testRoundTripISubmodelElementFromCapability() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalCapability(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromCapability + + @Test + public void testRoundTripISubmodelElementFromEntity() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalEntity(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromEntity + + @Test + public void testRoundTripISubmodelElementFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromFile + + @Test + public void testRoundTripISubmodelElementFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromMultiLanguageProperty + + @Test + public void testRoundTripISubmodelElementFromOperation() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalOperation(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromOperation + + @Test + public void testRoundTripISubmodelElementFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromProperty + + @Test + public void testRoundTripISubmodelElementFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromRange + + @Test + public void testRoundTripISubmodelElementFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromReferenceElement + + @Test + public void testRoundTripISubmodelElementFromSubmodelElementCollection() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalSubmodelElementCollection(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromSubmodelElementCollection + + @Test + public void testRoundTripISubmodelElementFromSubmodelElementList() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final ISubmodelElement instance = CommonJsonization.loadMaximalSubmodelElementList(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final ISubmodelElement anotherInstance = + Xmlization.Deserialize.deserializeISubmodelElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripISubmodelElementFromSubmodelElementList + + @Test + public void testRoundTripIRelationshipElementFromAnnotatedRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IRelationshipElement instance = + CommonJsonization.loadMaximalAnnotatedRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IRelationshipElement anotherInstance = + Xmlization.Deserialize.deserializeIRelationshipElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIRelationshipElementFromAnnotatedRelationshipElement + + @Test + public void testRoundTripIRelationshipElementFromRelationshipElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IRelationshipElement instance = CommonJsonization.loadMaximalRelationshipElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IRelationshipElement anotherInstance = + Xmlization.Deserialize.deserializeIRelationshipElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIRelationshipElementFromRelationshipElement + + @Test + public void testRoundTripIDataElementFromBlob() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalBlob(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromBlob + + @Test + public void testRoundTripIDataElementFromFile() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalFile(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromFile + + @Test + public void testRoundTripIDataElementFromMultiLanguageProperty() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalMultiLanguageProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromMultiLanguageProperty + + @Test + public void testRoundTripIDataElementFromProperty() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalProperty(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromProperty + + @Test + public void testRoundTripIDataElementFromRange() throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalRange(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromRange + + @Test + public void testRoundTripIDataElementFromReferenceElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataElement instance = CommonJsonization.loadMaximalReferenceElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataElement anotherInstance = Xmlization.Deserialize.deserializeIDataElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataElementFromReferenceElement + + @Test + public void testRoundTripIEventElementFromBasicEventElement() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IEventElement instance = CommonJsonization.loadMaximalBasicEventElement(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IEventElement anotherInstance = + Xmlization.Deserialize.deserializeIEventElement(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIEventElementFromBasicEventElement + + @Test + public void testRoundTripIDataSpecificationContentFromDataSpecificationIec61360() + throws IOException, XMLStreamException { + // We load from JSON here just to jump-start the round trip. + // The round-trip goes then over XML. + final IDataSpecificationContent instance = + CommonJsonization.loadMaximalDataSpecificationIec61360(); + + // The round-trip starts here. + final StringWriter stringOut = new StringWriter(); + final XMLOutputFactory outputFactory = XMLOutputFactory.newFactory(); + final XMLStreamWriter xmlWriter = outputFactory.createXMLStreamWriter(stringOut); + + Xmlization.Serialize.to(instance, xmlWriter); + String outputText = stringOut.toString(); + + // De-serialize from XML + final XMLInputFactory xmlInputFactory = XMLInputFactory.newInstance(); + final XMLEventReader xmlReader = + xmlInputFactory.createXMLEventReader(new StringReader(outputText)); + final IDataSpecificationContent anotherInstance = + Xmlization.Deserialize.deserializeIDataSpecificationContent(xmlReader); + + // Serialize back to XML + final StringWriter anotherStringOut = new StringWriter(); + final XMLStreamWriter anotherXmlWriter = outputFactory.createXMLStreamWriter(anotherStringOut); + Xmlization.Serialize.to(anotherInstance, anotherXmlWriter); + + // Compare + assertEquals(outputText, anotherStringOut.toString()); + } // void testRoundTripIDataSpecificationContentFromDataSpecificationIec61360 +} // class TestXmlizationOfInterfaces + +// package aas_core.aas3_1.tests + +/* + * This code has been automatically generated by aas-core-codegen. + * Do NOT edit or append. + */ diff --git a/src/test/java/testgen_rev.txt b/src/test/java/testgen_rev.txt new file mode 100644 index 00000000..684d680d --- /dev/null +++ b/src/test/java/testgen_rev.txt @@ -0,0 +1 @@ +7ddd731 diff --git a/test_data/Descend/AdministrativeInformation/maximal.json.trace b/test_data/Descend/AdministrativeInformation/maximal.json.trace new file mode 100644 index 00000000..de8400cf --- /dev/null +++ b/test_data/Descend/AdministrativeInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/AnnotatedRelationshipElement/maximal.json.trace b/test_data/Descend/AnnotatedRelationshipElement/maximal.json.trace new file mode 100644 index 00000000..41afddf4 --- /dev/null +++ b/test_data/Descend/AnnotatedRelationshipElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Blobaas_core.aas3_1.types.impl.File \ No newline at end of file diff --git a/test_data/Descend/AssetAdministrationShell/maximal.json.trace b/test_data/Descend/AssetAdministrationShell/maximal.json.trace new file mode 100644 index 00000000..66541328 --- /dev/null +++ b/test_data/Descend/AssetAdministrationShell/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.AdministrativeInformationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.AssetInformationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/AssetInformation/maximal.json.trace b/test_data/Descend/AssetInformation/maximal.json.trace new file mode 100644 index 00000000..b2bbda9b --- /dev/null +++ b/test_data/Descend/AssetInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.Resource \ No newline at end of file diff --git a/test_data/Descend/BasicEventElement/maximal.json.trace b/test_data/Descend/BasicEventElement/maximal.json.trace new file mode 100644 index 00000000..9aefd324 --- /dev/null +++ b/test_data/Descend/BasicEventElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Blob/maximal.json.trace b/test_data/Descend/Blob/maximal.json.trace new file mode 100644 index 00000000..04b802c1 --- /dev/null +++ b/test_data/Descend/Blob/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/Capability/maximal.json.trace b/test_data/Descend/Capability/maximal.json.trace new file mode 100644 index 00000000..04b802c1 --- /dev/null +++ b/test_data/Descend/Capability/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/ConceptDescription/maximal.json.trace b/test_data/Descend/ConceptDescription/maximal.json.trace new file mode 100644 index 00000000..4af7d64b --- /dev/null +++ b/test_data/Descend/ConceptDescription/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.AdministrativeInformationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringDefinitionTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringDefinitionTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/DataSpecificationIec61360/maximal.json.trace b/test_data/Descend/DataSpecificationIec61360/maximal.json.trace new file mode 100644 index 00000000..55a7b317 --- /dev/null +++ b/test_data/Descend/DataSpecificationIec61360/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringShortNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.LangStringDefinitionTypeIec61360aas_core.aas3_1.types.impl.LevelType \ No newline at end of file diff --git a/test_data/Descend/EmbeddedDataSpecification/maximal.json.trace b/test_data/Descend/EmbeddedDataSpecification/maximal.json.trace new file mode 100644 index 00000000..1273ec79 --- /dev/null +++ b/test_data/Descend/EmbeddedDataSpecification/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/Entity/maximal.json.trace b/test_data/Descend/Entity/maximal.json.trace new file mode 100644 index 00000000..63e914c3 --- /dev/null +++ b/test_data/Descend/Entity/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.RelationshipElementaas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.SpecificAssetId \ No newline at end of file diff --git a/test_data/Descend/Environment/maximal.json.trace b/test_data/Descend/Environment/maximal.json.trace new file mode 100644 index 00000000..58f75c0c --- /dev/null +++ b/test_data/Descend/Environment/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.AssetAdministrationShellaas_core.aas3_1.types.impl.AssetInformationaas_core.aas3_1.types.impl.AssetAdministrationShellaas_core.aas3_1.types.impl.AssetInformationaas_core.aas3_1.types.impl.Submodelaas_core.aas3_1.types.impl.ConceptDescription \ No newline at end of file diff --git a/test_data/Descend/EventPayload/maximal.json.trace b/test_data/Descend/EventPayload/maximal.json.trace new file mode 100644 index 00000000..b2ba648e --- /dev/null +++ b/test_data/Descend/EventPayload/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Extension/maximal.json.trace b/test_data/Descend/Extension/maximal.json.trace new file mode 100644 index 00000000..5900b052 --- /dev/null +++ b/test_data/Descend/Extension/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/File/maximal.json.trace b/test_data/Descend/File/maximal.json.trace new file mode 100644 index 00000000..04b802c1 --- /dev/null +++ b/test_data/Descend/File/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/Key/maximal.json.trace b/test_data/Descend/Key/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringDefinitionTypeIec61360/maximal.json.trace b/test_data/Descend/LangStringDefinitionTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringNameType/maximal.json.trace b/test_data/Descend/LangStringNameType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringPreferredNameTypeIec61360/maximal.json.trace b/test_data/Descend/LangStringPreferredNameTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringShortNameTypeIec61360/maximal.json.trace b/test_data/Descend/LangStringShortNameTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LangStringTextType/maximal.json.trace b/test_data/Descend/LangStringTextType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/LevelType/maximal.json.trace b/test_data/Descend/LevelType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/MultiLanguageProperty/maximal.json.trace b/test_data/Descend/MultiLanguageProperty/maximal.json.trace new file mode 100644 index 00000000..5f7ccf42 --- /dev/null +++ b/test_data/Descend/MultiLanguageProperty/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Operation/maximal.json.trace b/test_data/Descend/Operation/maximal.json.trace new file mode 100644 index 00000000..181519b2 --- /dev/null +++ b/test_data/Descend/Operation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.Entityaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.Operationaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.Operationaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.SubmodelElementListaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.Capabilityaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.Capability \ No newline at end of file diff --git a/test_data/Descend/OperationVariable/maximal.json.trace b/test_data/Descend/OperationVariable/maximal.json.trace new file mode 100644 index 00000000..c371f698 --- /dev/null +++ b/test_data/Descend/OperationVariable/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.SubmodelElementList \ No newline at end of file diff --git a/test_data/Descend/Property/maximal.json.trace b/test_data/Descend/Property/maximal.json.trace new file mode 100644 index 00000000..1d03e32c --- /dev/null +++ b/test_data/Descend/Property/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Qualifier/maximal.json.trace b/test_data/Descend/Qualifier/maximal.json.trace new file mode 100644 index 00000000..f179b1f9 --- /dev/null +++ b/test_data/Descend/Qualifier/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Range/maximal.json.trace b/test_data/Descend/Range/maximal.json.trace new file mode 100644 index 00000000..04b802c1 --- /dev/null +++ b/test_data/Descend/Range/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Descend/Reference/maximal.json.trace b/test_data/Descend/Reference/maximal.json.trace new file mode 100644 index 00000000..2e0291e2 --- /dev/null +++ b/test_data/Descend/Reference/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/ReferenceElement/maximal.json.trace b/test_data/Descend/ReferenceElement/maximal.json.trace new file mode 100644 index 00000000..1d03e32c --- /dev/null +++ b/test_data/Descend/ReferenceElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/RelationshipElement/maximal.json.trace b/test_data/Descend/RelationshipElement/maximal.json.trace new file mode 100644 index 00000000..9c7552af --- /dev/null +++ b/test_data/Descend/RelationshipElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Resource/maximal.json.trace b/test_data/Descend/Resource/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/Descend/SpecificAssetId/maximal.json.trace b/test_data/Descend/SpecificAssetId/maximal.json.trace new file mode 100644 index 00000000..f179b1f9 --- /dev/null +++ b/test_data/Descend/SpecificAssetId/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/Submodel/maximal.json.trace b/test_data/Descend/Submodel/maximal.json.trace new file mode 100644 index 00000000..289aaf74 --- /dev/null +++ b/test_data/Descend/Submodel/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.AdministrativeInformationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Propertyaas_core.aas3_1.types.impl.AnnotatedRelationshipElement \ No newline at end of file diff --git a/test_data/Descend/SubmodelElementCollection/maximal.json.trace b/test_data/Descend/SubmodelElementCollection/maximal.json.trace new file mode 100644 index 00000000..90d780d5 --- /dev/null +++ b/test_data/Descend/SubmodelElementCollection/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Operationaas_core.aas3_1.types.impl.BasicEventElementaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/SubmodelElementList/maximal.json.trace b/test_data/Descend/SubmodelElementList/maximal.json.trace new file mode 100644 index 00000000..7339d577 --- /dev/null +++ b/test_data/Descend/SubmodelElementList/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.DataSpecificationIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Propertyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Keyaas_core.aas3_1.types.impl.Propertyaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/Descend/ValueList/maximal.json.trace b/test_data/Descend/ValueList/maximal.json.trace new file mode 100644 index 00000000..e1dcbd1f --- /dev/null +++ b/test_data/Descend/ValueList/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.ValueReferencePair \ No newline at end of file diff --git a/test_data/Descend/ValueReferencePair/maximal.json.trace b/test_data/Descend/ValueReferencePair/maximal.json.trace new file mode 100644 index 00000000..52821dea --- /dev/null +++ b/test_data/Descend/ValueReferencePair/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/DescendOnce/AdministrativeInformation/maximal.json.trace b/test_data/DescendOnce/AdministrativeInformation/maximal.json.trace new file mode 100644 index 00000000..1a3606ab --- /dev/null +++ b/test_data/DescendOnce/AdministrativeInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/AnnotatedRelationshipElement/maximal.json.trace b/test_data/DescendOnce/AnnotatedRelationshipElement/maximal.json.trace new file mode 100644 index 00000000..344d6204 --- /dev/null +++ b/test_data/DescendOnce/AnnotatedRelationshipElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Blobaas_core.aas3_1.types.impl.File \ No newline at end of file diff --git a/test_data/DescendOnce/AssetAdministrationShell/maximal.json.trace b/test_data/DescendOnce/AssetAdministrationShell/maximal.json.trace new file mode 100644 index 00000000..d4b02139 --- /dev/null +++ b/test_data/DescendOnce/AssetAdministrationShell/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.AdministrativeInformationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.AssetInformationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/AssetInformation/maximal.json.trace b/test_data/DescendOnce/AssetInformation/maximal.json.trace new file mode 100644 index 00000000..b2bbda9b --- /dev/null +++ b/test_data/DescendOnce/AssetInformation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.Resource \ No newline at end of file diff --git a/test_data/DescendOnce/BasicEventElement/maximal.json.trace b/test_data/DescendOnce/BasicEventElement/maximal.json.trace new file mode 100644 index 00000000..4b3f07d5 --- /dev/null +++ b/test_data/DescendOnce/BasicEventElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Blob/maximal.json.trace b/test_data/DescendOnce/Blob/maximal.json.trace new file mode 100644 index 00000000..45d0786c --- /dev/null +++ b/test_data/DescendOnce/Blob/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/Capability/maximal.json.trace b/test_data/DescendOnce/Capability/maximal.json.trace new file mode 100644 index 00000000..45d0786c --- /dev/null +++ b/test_data/DescendOnce/Capability/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/ConceptDescription/maximal.json.trace b/test_data/DescendOnce/ConceptDescription/maximal.json.trace new file mode 100644 index 00000000..7be272ca --- /dev/null +++ b/test_data/DescendOnce/ConceptDescription/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.AdministrativeInformationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/DataSpecificationIec61360/maximal.json.trace b/test_data/DescendOnce/DataSpecificationIec61360/maximal.json.trace new file mode 100644 index 00000000..f3ae7d82 --- /dev/null +++ b/test_data/DescendOnce/DataSpecificationIec61360/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.LangStringPreferredNameTypeIec61360aas_core.aas3_1.types.impl.LangStringShortNameTypeIec61360aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.LangStringDefinitionTypeIec61360aas_core.aas3_1.types.impl.LevelType \ No newline at end of file diff --git a/test_data/DescendOnce/EmbeddedDataSpecification/maximal.json.trace b/test_data/DescendOnce/EmbeddedDataSpecification/maximal.json.trace new file mode 100644 index 00000000..a2aaccc6 --- /dev/null +++ b/test_data/DescendOnce/EmbeddedDataSpecification/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.DataSpecificationIec61360 \ No newline at end of file diff --git a/test_data/DescendOnce/Entity/maximal.json.trace b/test_data/DescendOnce/Entity/maximal.json.trace new file mode 100644 index 00000000..c05188f9 --- /dev/null +++ b/test_data/DescendOnce/Entity/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.RelationshipElementaas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.SpecificAssetIdaas_core.aas3_1.types.impl.SpecificAssetId \ No newline at end of file diff --git a/test_data/DescendOnce/Environment/maximal.json.trace b/test_data/DescendOnce/Environment/maximal.json.trace new file mode 100644 index 00000000..c6aacb62 --- /dev/null +++ b/test_data/DescendOnce/Environment/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.AssetAdministrationShellaas_core.aas3_1.types.impl.AssetAdministrationShellaas_core.aas3_1.types.impl.Submodelaas_core.aas3_1.types.impl.ConceptDescription \ No newline at end of file diff --git a/test_data/DescendOnce/EventPayload/maximal.json.trace b/test_data/DescendOnce/EventPayload/maximal.json.trace new file mode 100644 index 00000000..3d347a83 --- /dev/null +++ b/test_data/DescendOnce/EventPayload/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Extension/maximal.json.trace b/test_data/DescendOnce/Extension/maximal.json.trace new file mode 100644 index 00000000..93c29a3d --- /dev/null +++ b/test_data/DescendOnce/Extension/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/File/maximal.json.trace b/test_data/DescendOnce/File/maximal.json.trace new file mode 100644 index 00000000..45d0786c --- /dev/null +++ b/test_data/DescendOnce/File/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/Key/maximal.json.trace b/test_data/DescendOnce/Key/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringDefinitionTypeIec61360/maximal.json.trace b/test_data/DescendOnce/LangStringDefinitionTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringNameType/maximal.json.trace b/test_data/DescendOnce/LangStringNameType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringPreferredNameTypeIec61360/maximal.json.trace b/test_data/DescendOnce/LangStringPreferredNameTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringShortNameTypeIec61360/maximal.json.trace b/test_data/DescendOnce/LangStringShortNameTypeIec61360/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LangStringTextType/maximal.json.trace b/test_data/DescendOnce/LangStringTextType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/LevelType/maximal.json.trace b/test_data/DescendOnce/LevelType/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/MultiLanguageProperty/maximal.json.trace b/test_data/DescendOnce/MultiLanguageProperty/maximal.json.trace new file mode 100644 index 00000000..3663a995 --- /dev/null +++ b/test_data/DescendOnce/MultiLanguageProperty/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Operation/maximal.json.trace b/test_data/DescendOnce/Operation/maximal.json.trace new file mode 100644 index 00000000..b4ec75cf --- /dev/null +++ b/test_data/DescendOnce/Operation/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.OperationVariableaas_core.aas3_1.types.impl.OperationVariable \ No newline at end of file diff --git a/test_data/DescendOnce/OperationVariable/maximal.json.trace b/test_data/DescendOnce/OperationVariable/maximal.json.trace new file mode 100644 index 00000000..c371f698 --- /dev/null +++ b/test_data/DescendOnce/OperationVariable/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.SubmodelElementList \ No newline at end of file diff --git a/test_data/DescendOnce/Property/maximal.json.trace b/test_data/DescendOnce/Property/maximal.json.trace new file mode 100644 index 00000000..b151cc56 --- /dev/null +++ b/test_data/DescendOnce/Property/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Qualifier/maximal.json.trace b/test_data/DescendOnce/Qualifier/maximal.json.trace new file mode 100644 index 00000000..3d347a83 --- /dev/null +++ b/test_data/DescendOnce/Qualifier/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Range/maximal.json.trace b/test_data/DescendOnce/Range/maximal.json.trace new file mode 100644 index 00000000..45d0786c --- /dev/null +++ b/test_data/DescendOnce/Range/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecification \ No newline at end of file diff --git a/test_data/DescendOnce/Reference/maximal.json.trace b/test_data/DescendOnce/Reference/maximal.json.trace new file mode 100644 index 00000000..52821dea --- /dev/null +++ b/test_data/DescendOnce/Reference/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Key \ No newline at end of file diff --git a/test_data/DescendOnce/ReferenceElement/maximal.json.trace b/test_data/DescendOnce/ReferenceElement/maximal.json.trace new file mode 100644 index 00000000..b151cc56 --- /dev/null +++ b/test_data/DescendOnce/ReferenceElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/RelationshipElement/maximal.json.trace b/test_data/DescendOnce/RelationshipElement/maximal.json.trace new file mode 100644 index 00000000..4b3f07d5 --- /dev/null +++ b/test_data/DescendOnce/RelationshipElement/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Resource/maximal.json.trace b/test_data/DescendOnce/Resource/maximal.json.trace new file mode 100644 index 00000000..e69de29b diff --git a/test_data/DescendOnce/SpecificAssetId/maximal.json.trace b/test_data/DescendOnce/SpecificAssetId/maximal.json.trace new file mode 100644 index 00000000..3d347a83 --- /dev/null +++ b/test_data/DescendOnce/SpecificAssetId/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/DescendOnce/Submodel/maximal.json.trace b/test_data/DescendOnce/Submodel/maximal.json.trace new file mode 100644 index 00000000..5b14c688 --- /dev/null +++ b/test_data/DescendOnce/Submodel/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.AdministrativeInformationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Propertyaas_core.aas3_1.types.impl.AnnotatedRelationshipElement \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelElementCollection/maximal.json.trace b/test_data/DescendOnce/SubmodelElementCollection/maximal.json.trace new file mode 100644 index 00000000..a95ddb34 --- /dev/null +++ b/test_data/DescendOnce/SubmodelElementCollection/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Operationaas_core.aas3_1.types.impl.BasicEventElement \ No newline at end of file diff --git a/test_data/DescendOnce/SubmodelElementList/maximal.json.trace b/test_data/DescendOnce/SubmodelElementList/maximal.json.trace new file mode 100644 index 00000000..850c7693 --- /dev/null +++ b/test_data/DescendOnce/SubmodelElementList/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.Extensionaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringNameTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.LangStringTextTypeaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.Qualifieraas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.EmbeddedDataSpecificationaas_core.aas3_1.types.impl.Referenceaas_core.aas3_1.types.impl.Propertyaas_core.aas3_1.types.impl.Property \ No newline at end of file diff --git a/test_data/DescendOnce/ValueList/maximal.json.trace b/test_data/DescendOnce/ValueList/maximal.json.trace new file mode 100644 index 00000000..e1dcbd1f --- /dev/null +++ b/test_data/DescendOnce/ValueList/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.ValueReferencePair \ No newline at end of file diff --git a/test_data/DescendOnce/ValueReferencePair/maximal.json.trace b/test_data/DescendOnce/ValueReferencePair/maximal.json.trace new file mode 100644 index 00000000..fdeb353d --- /dev/null +++ b/test_data/DescendOnce/ValueReferencePair/maximal.json.trace @@ -0,0 +1 @@ +aas_core.aas3_1.types.impl.Reference \ No newline at end of file diff --git a/test_data/Json/Expected/AdministrativeInformation/maximal.json b/test_data/Json/Expected/AdministrativeInformation/maximal.json new file mode 100644 index 00000000..f8b61b1d --- /dev/null +++ b/test_data/Json/Expected/AdministrativeInformation/maximal.json @@ -0,0 +1,68 @@ +{ + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:another-company:03:97fadb7b" + } + ] + }, + "dataSpecificationContent": { + "preferredName": [ + { + "language": "en-JM-x-87ce29ed", + "text": "J5" + }, + { + "language": "en-JM-x-7c40ee17", + "text": "\u00db\u0103 \u1984 form text" +} diff --git a/test_data/Json/Expected/Extension/valueOverValueExamples/String_fuzzed_01.json b/test_data/Json/Expected/Extension/valueOverValueExamples/String_fuzzed_01.json new file mode 100644 index 00000000..a2c1aeb0 --- /dev/null +++ b/test_data/Json/Expected/Extension/valueOverValueExamples/String_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "name": "\u00db\u0103 \u1984 form text", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_01.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_01.json new file mode 100644 index 00000000..29f536c1 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_02.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_02.json new file mode 100644 index 00000000..86e826f9 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\ud842\udd224\ud842\udd22", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_03.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_03.json new file mode 100644 index 00000000..251fb2f5 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_04.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_04.json new file mode 100644 index 00000000..c6ff7b67 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\u00f6\u0116a\udbf6\udce1\u0099|", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_05.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_05.json new file mode 100644 index 00000000..9128b95f --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "J5", + "modelType": "Property" +} diff --git a/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_06.json b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_06.json new file mode 100644 index 00000000..4eb39ba9 --- /dev/null +++ b/test_data/Json/Expected/Property/valueOverValueExamples/String_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\u00db\u0103 \u1984 form text" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_01.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_01.json new file mode 100644 index 00000000..4d5b6acb --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_02.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_02.json new file mode 100644 index 00000000..f0d9c336 --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_03.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_03.json new file mode 100644 index 00000000..b2a14e30 --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_04.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_04.json new file mode 100644 index 00000000..8f656b03 --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u00f6\u0116a\udbf6\udce1\u0099|" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_05.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_05.json new file mode 100644 index 00000000..aae571e8 --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "J5" +} diff --git a/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_06.json b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_06.json new file mode 100644 index 00000000..83aed2ce --- /dev/null +++ b/test_data/Json/Expected/Qualifier/valueOverValueExamples/String_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u00db\u0103 \u1984 form text", + "max": "some free & \u1984 form text", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_01.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_01.json new file mode 100644 index 00000000..32397e63 --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_01.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA", + "max": "11\u00d5\u00d1\ud803\udee8\u00b4K\udbca\udf2de<\udb45\uddde\u00a8ngA", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_02.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_02.json new file mode 100644 index 00000000..d805fdfb --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_02.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\ud842\udd224\ud842\udd22", + "max": "\ud842\udd224\ud842\udd22", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_03.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_03.json new file mode 100644 index 00000000..449363a7 --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_03.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf", + "max": "[\\h$\ud90b\ude9f\u00ec\u00d6\u010b\u008a1\u00bf", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_04.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_04.json new file mode 100644 index 00000000..0c875885 --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_04.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\u00f6\u0116a\udbf6\udce1\u0099|", + "max": "\u00f6\u0116a\udbf6\udce1\u0099|", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_05.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_05.json new file mode 100644 index 00000000..d261f4e2 --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_05.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "J5", + "max": "J5", + "modelType": "Range" +} diff --git a/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_06.json b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_06.json new file mode 100644 index 00000000..e99c7f4c --- /dev/null +++ b/test_data/Json/Expected/Range/overMinMaxExamples/String_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\u00db\u0103\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc", + "max": "\u0015>\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_05.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json new file mode 100644 index 00000000..82c5ec67 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\ud8a9\udf8b\udaa5\udd5f\u00d1\u001c\u00b0\u1f58\u00aaW\uda1d\udc42\u0000\udae8\udf3b", + "max": "\ud8a9\udf8b\udaa5\udd5f\u00d1\u001c\u00b0\u1f58\u00aaW\uda1d\udc42\u0000\udae8\udf3b", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_06.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json new file mode 100644 index 00000000..ab60efdc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\ud937\udf63\u0000'\u001f \ud918\udeacxx\u00cf\u00d6\nwf", + "max": "\ud937\udf63\u0000'\u001f \ud918\udeacxx\u00cf\u00d6\nwf", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_07.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json new file mode 100644 index 00000000..e4038303 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\udaeb\udd55\ucbbe\u0017\u00d2\u00918\u00a4M\ud898\udcd5\u00d4\u00c5\u0000\r\ud9af\udfa9Zs6\u0012\u00c0>\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb", + "max": "\udaeb\udd55\ucbbe\u0017\u00d2\u00918\u00a4M\ud898\udcd5\u00d4\u00c5\u0000\r\ud9af\udfa9Zs6\u0012\u00c0>\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_08.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json new file mode 100644 index 00000000..236f47fd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\uda69\udd2b\u0012U\u0091\u00f4\u0081\u00f4\u0016\udbef\udc24\udaf4\udc94\u0000", + "max": "\uda69\udd2b\u0012U\u0091\u00f4\u0081\u00f4\u0016\udbef\udc24\udaf4\udc94\u0000", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_09.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json new file mode 100644 index 00000000..4adb3926 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:string", + "min": "\u00b4\u00b2\u0082\u0000\udbb2\udc9d\u00c0\u00e2\u00a8*\u00fb\ud876\udfa9\u00f2\u008f\u00a4\u0082\u00a1\u00c2\u00dd_\uc1fd\uda71\udde8E\u00d6\udae5\udf31\u00fd\u2f2a\u00e5\u00f9H\ud9b5\udccbP\u00b6\u0013\u00c4", + "max": "\u00b4\u00b2\u0082\u0000\udbb2\udc9d\u00c0\u00e2\u00a8*\u00fb\ud876\udfa9\u00f2\u008f\u00a4\u0082\u00a1\u00c2\u00dd_\uc1fd\uda71\udde8E\u00d6\udae5\udf31\u00fd\u2f2a\u00e5\u00f9H\ud9b5\udccbP\u00b6\u0013\u00c4", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..8e5649f8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/String_negatively_fuzzed_10.json.errors @@ -0,0 +1,8 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type.; +min: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +max: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json new file mode 100644 index 00000000..ed7d974c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json new file mode 100644 index 00000000..bdbdfa83 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json new file mode 100644 index 00000000..2e96d34e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "25:25:10", + "max": "25:25:10", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_hour_out_of_range.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json new file mode 100644 index 00000000..0c938439 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "21:32:52-15:00", + "max": "21:32:52-15:00", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_negative_offset.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json new file mode 100644 index 00000000..d5b5d07c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "21:32:52-02:00:12", + "max": "21:32:52-02:00:12", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_offset_with_seconds.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json new file mode 100644 index 00000000..82bdcb07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "21:32:52+15:00", + "max": "21:32:52+15:00", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_invalid_positive_offset.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json new file mode 100644 index 00000000..71fcfa84 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "01:61:10", + "max": "01:61:10", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_minute_out_of_range.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json new file mode 100644 index 00000000..24bcd085 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "1:20:10", + "max": "1:20:10", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_padded_zeros.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json new file mode 100644 index 00000000..a3f6cedc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "21:32", + "max": "21:32", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_missing_seconds.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json new file mode 100644 index 00000000..35bb922c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "-10:00:00", + "max": "-10:00:00", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json new file mode 100644 index 00000000..14cd64b9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:time", + "min": "01:02:61", + "max": "01:02:61", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Time_second_out_of_range.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json new file mode 100644 index 00000000..68d9cfae --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "1.2", + "max": "1.2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_decimal.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json new file mode 100644 index 00000000..eab6c85d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json new file mode 100644 index 00000000..1b4ff745 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json new file mode 100644 index 00000000..11b988de --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "2**5", + "max": "2**5", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_mathematical_formula.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json new file mode 100644 index 00000000..b856ee37 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "256", + "max": "256", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_max_plus_one.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json new file mode 100644 index 00000000..794685f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "-1", + "max": "-1", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json new file mode 100644 index 00000000..c6cd772b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedByte", + "min": "1e2", + "max": "1e2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_byte_scientific.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json new file mode 100644 index 00000000..6f4df102 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "1.2", + "max": "1.2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_decimal.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json new file mode 100644 index 00000000..c720400b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json new file mode 100644 index 00000000..66922b19 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json new file mode 100644 index 00000000..994e9c50 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "2**5", + "max": "2**5", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_mathematical_formula.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json new file mode 100644 index 00000000..f2846fe2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "4294967296", + "max": "4294967296", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_max_plus_one.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json new file mode 100644 index 00000000..6ad09fbd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "-1", + "max": "-1", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json new file mode 100644 index 00000000..f5c7f9ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedInt", + "min": "1e2", + "max": "1e2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_int_scientific.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json new file mode 100644 index 00000000..5b7911e4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "1.2", + "max": "1.2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_decimal.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json new file mode 100644 index 00000000..b9e43161 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json new file mode 100644 index 00000000..ef25e1db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json new file mode 100644 index 00000000..de380c8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "2**5", + "max": "2**5", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_mathematical_formula.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json new file mode 100644 index 00000000..24f34268 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "18446744073709551616", + "max": "18446744073709551616", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_max_plus_one.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json new file mode 100644 index 00000000..dddc8e76 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "-1", + "max": "-1", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json new file mode 100644 index 00000000..017e55fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedLong", + "min": "1e2", + "max": "1e2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_long_scientific.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json new file mode 100644 index 00000000..64069b8d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "1.2", + "max": "1.2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_decimal.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json new file mode 100644 index 00000000..6a1061b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "", + "max": "", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json new file mode 100644 index 00000000..f2706a8a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "some free form text", + "max": "some free form text", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json new file mode 100644 index 00000000..43e3bca5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "2**5", + "max": "2**5", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_mathematical_formula.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json new file mode 100644 index 00000000..ea3af6b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "65536", + "max": "65536", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_max_plus_one.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json new file mode 100644 index 00000000..8147c675 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "-1", + "max": "-1", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_negative.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json new file mode 100644 index 00000000..a2dc7591 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json @@ -0,0 +1,6 @@ +{ + "valueType": "xs:unsignedShort", + "min": "1e2", + "max": "1e2", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidRangeExample/Range/Unsigned_short_scientific.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/Any_URI_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/Any_URI_negatively_fuzzed_01.json new file mode 100644 index 00000000..c790be4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/Any_URI_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "name": "\u00db\u0103\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..77e70a26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +The value must match the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_06.json new file mode 100644 index 00000000..e5d82ca7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "name": "\u00db\u0103\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..77e70a26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +The value must match the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_09.json new file mode 100644 index 00000000..b972cff6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Extension/value/String_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "name": "\u00db\u0103\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json new file mode 100644 index 00000000..e4c707c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\ud8a9\udf8b\udaa5\udd5f\u00d1\u001c\u00b0\u1f58\u00aaW\uda1d\udc42\u0000\udae8\udf3b", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json new file mode 100644 index 00000000..7c227bcd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\ud937\udf63\u0000'\u001f \ud918\udeacxx\u00cf\u00d6\nwf", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json new file mode 100644 index 00000000..9d1c14b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\udaeb\udd55\ucbbe\u0017\u00d2\u00918\u00a4M\ud898\udcd5\u00d4\u00c5\u0000\r\ud9af\udfa9Zs6\u0012\u00c0>\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json new file mode 100644 index 00000000..d288c321 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\uda69\udd2b\u0012U\u0091\u00f4\u0081\u00f4\u0016\udbef\udc24\udaf4\udc94\u0000", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json new file mode 100644 index 00000000..09b1cf4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:string", + "value": "\u00b4\u00b2\u0082\u0000\udbb2\udc9d\u00c0\u00e2\u00a8*\u00fb\ud876\udfa9\u00f2\u008f\u00a4\u0082\u00a1\u00c2\u00dd_\uc1fd\uda71\udde8E\u00d6\udae5\udf31\u00fd\u2f2a\u00e5\u00f9H\ud9b5\udccbP\u00b6\u0013\u00c4", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9aaf7a07 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/String_negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Value must be consistent with the value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json new file mode 100644 index 00000000..2135264e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json new file mode 100644 index 00000000..3260d7e2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json new file mode 100644 index 00000000..46b4796b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "25:25:10", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_hour_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json new file mode 100644 index 00000000..26e3a950 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "21:32:52-15:00", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json new file mode 100644 index 00000000..57cea19f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "21:32:52-02:00:12", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json new file mode 100644 index 00000000..1de74676 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "21:32:52+15:00", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json new file mode 100644 index 00000000..017f28cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "01:61:10", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_minute_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json new file mode 100644 index 00000000..c276722e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "1:20:10", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_padded_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json new file mode 100644 index 00000000..2c8ba026 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "21:32", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_missing_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json new file mode 100644 index 00000000..4aa8c70b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "-10:00:00", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json new file mode 100644 index 00000000..3983fcf3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:time", + "value": "01:02:61", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Time_second_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json new file mode 100644 index 00000000..174d9a18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "1.2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json new file mode 100644 index 00000000..c31788e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json new file mode 100644 index 00000000..cc609cc9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json new file mode 100644 index 00000000..8ad99a56 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "2**5", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json new file mode 100644 index 00000000..fb149605 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "256", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json new file mode 100644 index 00000000..fe716c72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "-1", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json new file mode 100644 index 00000000..0bc49e67 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedByte", + "value": "1e2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_byte_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json new file mode 100644 index 00000000..645b8f66 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "1.2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json new file mode 100644 index 00000000..e737cbc3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json new file mode 100644 index 00000000..903c6076 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json new file mode 100644 index 00000000..aade7831 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "2**5", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json new file mode 100644 index 00000000..c59e1904 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "4294967296", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json new file mode 100644 index 00000000..19b5212e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "-1", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json new file mode 100644 index 00000000..9e7800f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedInt", + "value": "1e2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_int_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json new file mode 100644 index 00000000..cab7d940 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "1.2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json new file mode 100644 index 00000000..490e2215 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json new file mode 100644 index 00000000..5db67529 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json new file mode 100644 index 00000000..2ccc069f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "2**5", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json new file mode 100644 index 00000000..7c73b3ca --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "18446744073709551616", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json new file mode 100644 index 00000000..6473252d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "-1", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json new file mode 100644 index 00000000..74a549b3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedLong", + "value": "1e2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_long_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json new file mode 100644 index 00000000..b658b49c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "1.2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json new file mode 100644 index 00000000..08895edd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json new file mode 100644 index 00000000..9777f7cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "some free form text", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json new file mode 100644 index 00000000..561b0e87 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "2**5", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json new file mode 100644 index 00000000..fccf518d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "65536", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json new file mode 100644 index 00000000..ae19c367 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "-1", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json new file mode 100644 index 00000000..0599415b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json @@ -0,0 +1,5 @@ +{ + "valueType": "xs:unsignedShort", + "value": "1e2", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Property/value/Unsigned_short_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json new file mode 100644 index 00000000..1bb168c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "``" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json new file mode 100644 index 00000000..85627f56 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "yE;\u009a\u00b6)\u00c6\u00acfQ\u0013\u00a7A\uda1d\udded\u00a9\ud811\ude75\u008a\ud8b0\udc40" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json new file mode 100644 index 00000000..5be7ea53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "W:\ud842\uddb3\u0013\u008f\u00a89\u0083" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json new file mode 100644 index 00000000..a8f6f299 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "''1\u0083\ud802\uddc2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json new file mode 100644 index 00000000..8308f24a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "''\u00ff\udbe3\udc1a\uc3b8\u00c8\u00ba\u00ab\u00d9" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json new file mode 100644 index 00000000..e766b850 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "`0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json new file mode 100644 index 00000000..2d044899 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "\u00d4\u00b7\u00d9\u009f\udae3\ude74\u00bb\u0006\u00d4#\u0014FB\u00c9\u00db\u00cd~O" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json new file mode 100644 index 00000000..a87fb231 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "\ud8e8\ude54\u0005\u00bf." +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json new file mode 100644 index 00000000..7f95bc92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "\ua72c\u5000\uda92\udff8\u00bd\u00bc\u0000\u00ec\t\u00ba;\u00cf\ud9d1\udfb7w\u0097\uda83\uddd9D\ud855\ude4c\u00ba|" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json new file mode 100644 index 00000000..6eaf7227 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "\u0097L\u00f9\u00d9" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json new file mode 100644 index 00000000..8a113628 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "http://datypic.com#f% rag" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json new file mode 100644 index 00000000..1d4f4179 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:anyURI", + "value": "http://datypic.com#frag1#frag2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Any_URI_too_many_fragments.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json new file mode 100644 index 00000000..b9e01c0e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "FB8" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json new file mode 100644 index 00000000..901ad97c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "==0F" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json new file mode 100644 index 00000000..00b7d869 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\u00a9l\u00b7\u008e\u00cc\ud843\ude04T\u0019\u00d8\u001agd\u00a56Z\u00c4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json new file mode 100644 index 00000000..d8e93925 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "1\ud804\udc98\u001a\u00a0\u00b4`\ud859\udf99\u00d9\u009b\u00c3\u008a" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json new file mode 100644 index 00000000..698d4576 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "#/" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json new file mode 100644 index 00000000..1156e12c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json new file mode 100644 index 00000000..8d0a1332 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\uda51\udf88\u00a0\ud99e\ude4e\ud943\udd14\u00fa" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json new file mode 100644 index 00000000..b9aaea26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "]]P" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json new file mode 100644 index 00000000..717462e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\u020f\u00aeBFo^\u000e\u7f73\u00d8" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json new file mode 100644 index 00000000..32b89bba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\u00ed" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json new file mode 100644 index 00000000..ad1ea3ee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\ud917\udd62C\u00ad\u0006\u0002\u00daH\u0097\u00d4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json new file mode 100644 index 00000000..fcb9cd34 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:base64Binary", + "value": "\u0082" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Base_64_binary_negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json new file mode 100644 index 00000000..7aa13a13 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_as_number_with_leading_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json new file mode 100644 index 00000000..a88aeb2c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "False" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_camelcase.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json new file mode 100644 index 00000000..712b9fcb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "FALSE" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_false_in_uppercase.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json new file mode 100644 index 00000000..c0d5566d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\udab0\udd61\udb28\ude326\udb28\ude32" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json new file mode 100644 index 00000000..8bbdcea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "/\ud9a1\udfef\u0082\u00bbu\u00ce\u00c3#\u00f6\u00da\u00b8\u001d\u00d4\udaff\udd24\u001e" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json new file mode 100644 index 00000000..07d57801 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\ud896\udff4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json new file mode 100644 index 00000000..61371b8a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "1\u00d1\u00af\u00e3\u00ac]\u001a\u00e4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json new file mode 100644 index 00000000..e0ae764b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\u2007\u00ba\ud8f2\udffdn" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json new file mode 100644 index 00000000..ad6747db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\u00b9\u00bd\u00174x|\ud18e\u00ac\u00a7T\ud98e\udc18" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json new file mode 100644 index 00000000..b42084d9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\ud805\udf70\ud8ea\udcafZ5\u001b \udbd5\udfb3\u00eb{\u00c2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json new file mode 100644 index 00000000..9583cb0e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\uda53\udff6n\u0011" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json new file mode 100644 index 00000000..824a0eec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\u00ad\ud93a\udc2b\ud88e\udce2WX\u001b" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json new file mode 100644 index 00000000..bdad0aac --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "\uda6b\ude0fza\ud89a\udcbb\u0089" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json new file mode 100644 index 00000000..dfd42498 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "0001" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_as_number_with_leading_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json new file mode 100644 index 00000000..af92eb4b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "True" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_camelcase.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json new file mode 100644 index 00000000..a1df6f74 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:boolean", + "value": "TRUE" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Boolean_true_in_uppercase.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json new file mode 100644 index 00000000..59f23d78 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json new file mode 100644 index 00000000..594992e2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json new file mode 100644 index 00000000..e1ad0a0d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json new file mode 100644 index 00000000..78307237 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json new file mode 100644 index 00000000..9ad7423c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "128" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json new file mode 100644 index 00000000..7437743c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "-129" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_min_minus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json new file mode 100644 index 00000000..9337bd65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:byte", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Byte_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json new file mode 100644 index 00000000..7987a8e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_UTC.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json new file mode 100644 index 00000000..6c6e242f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01T01:02:03+02:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_with_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json new file mode 100644 index 00000000..1f4bd545 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_time_without_zone.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json new file mode 100644 index 00000000..ff1524e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json new file mode 100644 index 00000000..57d4c4da --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json new file mode 100644 index 00000000..90c616ff --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2022-04-01+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_date_with_seconds_in_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json new file mode 100644 index 00000000..16498b22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json new file mode 100644 index 00000000..f3a54f15 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "2011-02-29" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_non_existing_february_29th.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json new file mode 100644 index 00000000..da131a93 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json new file mode 100644 index 00000000..b308c633 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02:03-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json new file mode 100644 index 00000000..43ae7ef8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02:03+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json new file mode 100644 index 00000000..b37cb317 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02:03+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_seconds_in_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json new file mode 100644 index 00000000..f17eee9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "unexpected-prefix-2022-04-01T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_prefix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json new file mode 100644 index 00000000..f515f9d7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02:03Z-unexpected-suffix" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_time_with_unexpected_suffix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json new file mode 100644 index 00000000..141c01ab --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_date_with_time_zone.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json new file mode 100644 index 00000000..fc5baaad --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json new file mode 100644 index 00000000..295358cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2011-02-29T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_non_existing_february_29th.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json new file mode 100644 index 00000000..6d28f1b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_minutes.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json new file mode 100644 index 00000000..b259a6c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "2022-04-01T01:02Z" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_without_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json new file mode 100644 index 00000000..32e39cf4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "-0004-02-29T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_4_bce_february_29th.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json new file mode 100644 index 00000000..fec6defc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:dateTime", + "value": "0000-01-02T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_time_year_zero_doesnt_exist.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json new file mode 100644 index 00000000..dad37acd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "-0004-02-29" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_4_bce_february_29th.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json new file mode 100644 index 00000000..b2fd4ad0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:date", + "value": "0000-01-02" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Date_year_zero_doesnt_exist.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json new file mode 100644 index 00000000..2938e618 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:decimal", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json new file mode 100644 index 00000000..fada110a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:decimal", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Decimal_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json new file mode 100644 index 00000000..75e369d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json new file mode 100644 index 00000000..a15382e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json new file mode 100644 index 00000000..53526ea0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "inf" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_inf_case_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json new file mode 100644 index 00000000..3761f7f5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "nan" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_nan_case_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json new file mode 100644 index 00000000..54f3d400 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "12.34e5.6" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_no_fraction_in_scientific_notation.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json new file mode 100644 index 00000000..c0b3f00a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "+INF" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_plus_inf.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json new file mode 100644 index 00000000..b8916684 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:double", + "value": "1.123456789e1234567890" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Double_too_large.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json new file mode 100644 index 00000000..c85992e3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json new file mode 100644 index 00000000..ef16dbd3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json new file mode 100644 index 00000000..e7ee03a4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_integer.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json new file mode 100644 index 00000000..03b6ae75 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_leading_P_missing.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json new file mode 100644 index 00000000..9e641700 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "P-1Y" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_negative_years.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json new file mode 100644 index 00000000..61d42fb5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "P1Y-1M" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json new file mode 100644 index 00000000..ce577066 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "P1S" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_separator_T_missing.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json new file mode 100644 index 00000000..43dadc21 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:duration", + "value": "P1M2Y" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Duration_the_order_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json new file mode 100644 index 00000000..578894f3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json new file mode 100644 index 00000000..f66c3305 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json new file mode 100644 index 00000000..eecbad0a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "inf" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_inf_case_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json new file mode 100644 index 00000000..3dc9dd7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "nan" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_nan_case_matters.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json new file mode 100644 index 00000000..7081b177 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "12.34e5.6" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_no_fraction_in_scientific_notation.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json new file mode 100644 index 00000000..bfe92148 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "+INF" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_plus_inf.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json new file mode 100644 index 00000000..fa5aa666 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:float", + "value": "1.123456789e1234567890" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Float_too_large.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json new file mode 100644 index 00000000..a16478ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---35" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_day_outside_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json new file mode 100644 index 00000000..4b0bc891 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json new file mode 100644 index 00000000..da853b10 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json new file mode 100644 index 00000000..6c78d531 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---01-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json new file mode 100644 index 00000000..60902b34 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---01+15:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json new file mode 100644 index 00000000..ae7f1a96 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---01+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json new file mode 100644 index 00000000..8d107631 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "15" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_dashes.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json new file mode 100644 index 00000000..138fa4fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "---5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_missing_leading_digit.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json new file mode 100644 index 00000000..427c0bf4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gDay", + "value": "--30-" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_day_unexpected_suffix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json new file mode 100644 index 00000000..f6d31e2a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--01-35" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_day_outside_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json new file mode 100644 index 00000000..9d9e4d9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json new file mode 100644 index 00000000..48dd5b20 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json new file mode 100644 index 00000000..1c610bd2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--11-01-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json new file mode 100644 index 00000000..57e40fdc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--11-01+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json new file mode 100644 index 00000000..40787660 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--11-01+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json new file mode 100644 index 00000000..0f9046f5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "01-15" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_dashes.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json new file mode 100644 index 00000000..8dde27a6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--1-5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_missing_leading_digit.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json new file mode 100644 index 00000000..693747a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "--04-31" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_non_existing_april_31st.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json new file mode 100644 index 00000000..25677f91 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonthDay", + "value": "-01-30-" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_day_unexpected_prefix_and_suffix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json new file mode 100644 index 00000000..bc02d2ba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json new file mode 100644 index 00000000..bec5e4ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json new file mode 100644 index 00000000..5f3a4ed0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--11-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json new file mode 100644 index 00000000..ccd50711 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--11+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json new file mode 100644 index 00000000..57762c19 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--11+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json new file mode 100644 index 00000000..b25f4226 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "01" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_dashes.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json new file mode 100644 index 00000000..0a14f708 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_missing_leading_digit.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json new file mode 100644 index 00000000..d16520d8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "--13" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_month_outside_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json new file mode 100644 index 00000000..cee0d568 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gMonth", + "value": "-01-" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_month_unexpected_prefix_and_suffix.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json new file mode 100644 index 00000000..7308e5e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json new file mode 100644 index 00000000..641f8ac4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json new file mode 100644 index 00000000..0cb7173f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "2001-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json new file mode 100644 index 00000000..62a7209b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "2001+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json new file mode 100644 index 00000000..ef66df65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "2001+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json new file mode 100644 index 00000000..b20be354 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "01" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_missing_century.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json new file mode 100644 index 00000000..009bb10d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json new file mode 100644 index 00000000..0d00578e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json new file mode 100644 index 00000000..84a41f54 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001-10-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json new file mode 100644 index 00000000..2e8a904b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001-10+02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json new file mode 100644 index 00000000..f23a2af0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001-10+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json new file mode 100644 index 00000000..5e96f0ac --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "01-13" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_century.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json new file mode 100644 index 00000000..3b17e455 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_missing_month.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json new file mode 100644 index 00000000..2d6405f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYearMonth", + "value": "2001-13" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_month_month_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json new file mode 100644 index 00000000..3d630cdc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:gYear", + "value": "2001-12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/G_year_unexpected_month.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json new file mode 100644 index 00000000..3da96794 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:hexBinary", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json new file mode 100644 index 00000000..e7638bb9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:hexBinary", + "value": "123" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_odd_number_of_digits.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json new file mode 100644 index 00000000..aad2334b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:hexBinary", + "value": "1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Hex_binary_single_digit.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json new file mode 100644 index 00000000..76903dda --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json new file mode 100644 index 00000000..22a9d81b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json new file mode 100644 index 00000000..29638a03 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json new file mode 100644 index 00000000..d4125431 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json new file mode 100644 index 00000000..a2b69c32 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "2147483648" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json new file mode 100644 index 00000000..00f5c786 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "-2147483649" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_min_minus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json new file mode 100644 index 00000000..4b209e85 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:int", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Int_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json new file mode 100644 index 00000000..c3289e65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json new file mode 100644 index 00000000..a3cdcea4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json new file mode 100644 index 00000000..4f4ad28c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json new file mode 100644 index 00000000..34e4393f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json new file mode 100644 index 00000000..b4e73115 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:integer", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Integer_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json new file mode 100644 index 00000000..d1425e9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json new file mode 100644 index 00000000..bc6cfb81 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json new file mode 100644 index 00000000..b55e4717 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json new file mode 100644 index 00000000..974fb58c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json new file mode 100644 index 00000000..62253c4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "9223372036854775808" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json new file mode 100644 index 00000000..8f4952eb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "-9223372036854775809" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_min_minus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json new file mode 100644 index 00000000..4f037179 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:long", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Long_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json new file mode 100644 index 00000000..474f1bce --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json new file mode 100644 index 00000000..468a0b80 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json new file mode 100644 index 00000000..e19d4f0f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "+1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json new file mode 100644 index 00000000..a3f7951e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "+0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_explicitly_positive_zero.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json new file mode 100644 index 00000000..794893af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json new file mode 100644 index 00000000..dba2195c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_implicitly_positive.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json new file mode 100644 index 00000000..a9e42b0a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "-2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json new file mode 100644 index 00000000..76cad208 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "-1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json new file mode 100644 index 00000000..f8abc48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json new file mode 100644 index 00000000..77aa41f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:negativeInteger", + "value": "000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Negative_integer_zero_prefixed_with_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json new file mode 100644 index 00000000..1ca481dc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonNegativeInteger", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json new file mode 100644 index 00000000..5d584e04 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonNegativeInteger", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json new file mode 100644 index 00000000..07e3788e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonNegativeInteger", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json new file mode 100644 index 00000000..76a4f1a2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonNegativeInteger", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_negative_integer_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json new file mode 100644 index 00000000..3809c7cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json new file mode 100644 index 00000000..2962c3b5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json new file mode 100644 index 00000000..2ccdcbdb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "+1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_explicitly_positive.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json new file mode 100644 index 00000000..6e4e4561 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json new file mode 100644 index 00000000..924ec466 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_implicitly_positive.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json new file mode 100644 index 00000000..3acbc96b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "-2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json new file mode 100644 index 00000000..506632db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:nonPositiveInteger", + "value": "-1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Non_positive_integer_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json new file mode 100644 index 00000000..e779df99 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json new file mode 100644 index 00000000..c3f0f601 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json new file mode 100644 index 00000000..839d66ce --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json new file mode 100644 index 00000000..d961651c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json new file mode 100644 index 00000000..0747cba4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json new file mode 100644 index 00000000..c8cb0473 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:positiveInteger", + "value": "000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Positive_integer_zero_prefixed_with_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json new file mode 100644 index 00000000..43b930ee --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json new file mode 100644 index 00000000..f5d0dc9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json new file mode 100644 index 00000000..cbce1978 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json new file mode 100644 index 00000000..4c0338d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json new file mode 100644 index 00000000..afc72199 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "32768" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json new file mode 100644 index 00000000..43cefd09 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "-32769" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_min_minus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json new file mode 100644 index 00000000..59e3f0d9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:short", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Short_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json new file mode 100644 index 00000000..085f1e44 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf16.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json new file mode 100644 index 00000000..085f1e44 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_utf32.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json new file mode 100644 index 00000000..085f1e44 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_NUL_as_x.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json new file mode 100644 index 00000000..0a97f297 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u6472\u0000\u00c0\u0012V\u00ea\u00ec\u00ea\u00b8\u00b4\u00e7;\udb28\udd89\u00ce\u008bOsJB\u00f4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json new file mode 100644 index 00000000..6446f89e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "@\u00ddJ\u00a6\u0000\uda2b\udfb6\u00f5\ud8fd\udf75\ud801\udc90}" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json new file mode 100644 index 00000000..a1c7c5d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0091\u00c8\u00ca\u0000\ud826\udfec" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json new file mode 100644 index 00000000..55f2ec4f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\udbd3\ude86\u0000R\t-8^" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json new file mode 100644 index 00000000..ee9352c4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u0015>\u00d2\udb56\udf00L\u00cb)T\u0000\u00ce\u00e7\udaa9\uddcf\udbe1\udf7d\b\u00c0\u00ba\uda5a\udccf\u00ca\u00a08]\udbb2\ude08\u00181D\fY\ud942\udf23A\\\u00ac\u00ef\ud926\udce3\ud958\ude2cc" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json new file mode 100644 index 00000000..26d157ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\ud8a9\udf8b\udaa5\udd5f\u00d1\u001c\u00b0\u1f58\u00aaW\uda1d\udc42\u0000\udae8\udf3b" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json new file mode 100644 index 00000000..de2c135a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\ud937\udf63\u0000'\u001f \ud918\udeacxx\u00cf\u00d6\nwf" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json new file mode 100644 index 00000000..4c5ccf5c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\udaeb\udd55\ucbbe\u0017\u00d2\u00918\u00a4M\ud898\udcd5\u00d4\u00c5\u0000\r\ud9af\udfa9Zs6\u0012\u00c0>\u0019\udbd6\udf43\u000e\u00a7\udaba\udddb" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json new file mode 100644 index 00000000..e45759a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\uda69\udd2b\u0012U\u0091\u00f4\u0081\u00f4\u0016\udbef\udc24\udaf4\udc94\u0000" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json new file mode 100644 index 00000000..3a8adb71 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:string", + "value": "\u00b4\u00b2\u0082\u0000\udbb2\udc9d\u00c0\u00e2\u00a8*\u00fb\ud876\udfa9\u00f2\u008f\u00a4\u0082\u00a1\u00c2\u00dd_\uc1fd\uda71\udde8E\u00d6\udae5\udf31\u00fd\u2f2a\u00e5\u00f9H\ud9b5\udccbP\u00b6\u0013\u00c4" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b677009e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/String_negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type.; +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json new file mode 100644 index 00000000..6546d5c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json new file mode 100644 index 00000000..d4879840 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json new file mode 100644 index 00000000..aa20941a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "25:25:10" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_hour_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json new file mode 100644 index 00000000..9268bea8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "21:32:52-15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_negative_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json new file mode 100644 index 00000000..8ee19ff8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "21:32:52-02:00:12" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_offset_with_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json new file mode 100644 index 00000000..5d963fb1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "21:32:52+15:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_invalid_positive_offset.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json new file mode 100644 index 00000000..bb5d26b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "01:61:10" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_minute_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json new file mode 100644 index 00000000..f34dc2c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "1:20:10" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_padded_zeros.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json new file mode 100644 index 00000000..24cd08b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "21:32" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_missing_seconds.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json new file mode 100644 index 00000000..a326aed7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "-10:00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json new file mode 100644 index 00000000..fe8d66fb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:time", + "value": "01:02:61" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Time_second_out_of_range.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json new file mode 100644 index 00000000..4e31abf2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json new file mode 100644 index 00000000..90aeb830 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json new file mode 100644 index 00000000..d54652db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json new file mode 100644 index 00000000..23b4557a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json new file mode 100644 index 00000000..eac31340 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "256" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json new file mode 100644 index 00000000..440701e4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json new file mode 100644 index 00000000..701c22fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedByte", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_byte_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json new file mode 100644 index 00000000..3d5a451a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json new file mode 100644 index 00000000..fcd22096 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json new file mode 100644 index 00000000..8310b623 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json new file mode 100644 index 00000000..517ad19f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json new file mode 100644 index 00000000..8e20a742 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "4294967296" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json new file mode 100644 index 00000000..f9547626 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json new file mode 100644 index 00000000..50e757e1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedInt", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_int_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json new file mode 100644 index 00000000..6ad7086a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json new file mode 100644 index 00000000..66050a60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json new file mode 100644 index 00000000..2be399a5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json new file mode 100644 index 00000000..7f393b3e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json new file mode 100644 index 00000000..cc0e71e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "18446744073709551616" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json new file mode 100644 index 00000000..1b858030 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json new file mode 100644 index 00000000..3966fba8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedLong", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_long_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json new file mode 100644 index 00000000..4d0bd9eb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "1.2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_decimal.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json new file mode 100644 index 00000000..0d890e2d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_empty.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json new file mode 100644 index 00000000..54f28e73 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "some free form text" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_free_form_text.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json new file mode 100644 index 00000000..848339e4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "2**5" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_mathematical_formula.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json new file mode 100644 index 00000000..0ec02758 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "65536" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_max_plus_one.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json new file mode 100644 index 00000000..a9085f8b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "-1" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_negative.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json new file mode 100644 index 00000000..2e449804 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json @@ -0,0 +1,5 @@ +{ + "type": "something_86027eb8", + "valueType": "xs:unsignedShort", + "value": "1e2" +} diff --git a/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json.errors b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/InvalidValueExample/Qualifier/value/Unsigned_short_scientific.json.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/MaxLengthViolation/AdministrativeInformation/revision.json b/test_data/Json/Unexpected/Invalid/MaxLengthViolation/AdministrativeInformation/revision.json new file mode 100644 index 00000000..77d715f2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/MaxLengthViolation/AdministrativeInformation/revision.json @@ -0,0 +1,68 @@ +{ + "embeddedDataSpecifications": [ + { + "dataSpecification": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "urn:another-company:03:97fadb7b" + } + ] + }, + "dataSpecificationContent": { + "preferredName": [ + { + "language": "en-JM-x-87ce29ed", + "text": "J5" + }, + { + "language": "en-JM-x-7c40ee17", + "text": "\u00db\u0103", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json new file mode 100644 index 00000000..e2dcb50f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "\udbcf\udda6\ud879\udf78", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json new file mode 100644 index 00000000..76a6aeba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "\u531f16\u00c8\u0012\ud814\udce0", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json new file mode 100644 index 00000000..9290e67e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "hh", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json new file mode 100644 index 00000000..6c68bcb8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "E\u0085\ud804\udd26\ud842\uddc3Z", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json new file mode 100644 index 00000000..518292b3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json new file mode 100644 index 00000000..f17f72cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json new file mode 100644 index 00000000..1eb13afb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01Z", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json new file mode 100644 index 00000000..3ad871a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01Z", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_minutes.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json new file mode 100644 index 00000000..047fda59 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "lastUpdate": "2022-04-01T01:02Z", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/lastUpdate/without_seconds.json.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json new file mode 100644 index 00000000..3037809b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/empty.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json new file mode 100644 index 00000000..443ee306 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "some free form text", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/free_form_text.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json new file mode 100644 index 00000000..3997fd35 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "1234", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/integer.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json new file mode 100644 index 00000000..02eb8dd4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "1Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/leading_P_missing.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json new file mode 100644 index 00000000..0176a421 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "P-1Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/negative_years.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json new file mode 100644 index 00000000..63409fdd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "P1Y-1M", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/positive_year_negative_months.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json new file mode 100644 index 00000000..ca37f4c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "P1S", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/separator_T_missing.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json new file mode 100644 index 00000000..462c5980 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "maxInterval": "P1M2Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/maxInterval/the_order_matters.json.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json new file mode 100644 index 00000000..6484283d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json new file mode 100644 index 00000000..53f4bfba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\u990d\u0017\u00bd\u00e9", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json new file mode 100644 index 00000000..a707b989 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json new file mode 100644 index 00000000..8e03bd61 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\u00ba\u00f2\u0018\u007f", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json new file mode 100644 index 00000000..46228fe1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json new file mode 100644 index 00000000..1264f386 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "0\u0000\u009a\uda84\ude06", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json new file mode 100644 index 00000000..6c7492c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\ubd07\u00e0c\u001dr\f", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json new file mode 100644 index 00000000..914c0a69 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json new file mode 100644 index 00000000..bcdb2d92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json new file mode 100644 index 00000000..e8730d29 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "messageTopic": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..1b63eea5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/messageTopic/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json new file mode 100644 index 00000000..4685e08d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/empty.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json new file mode 100644 index 00000000..8ad4682c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "some free form text", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/free_form_text.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json new file mode 100644 index 00000000..8b8d1059 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "1234", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/integer.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json new file mode 100644 index 00000000..28744278 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "1Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/leading_P_missing.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json new file mode 100644 index 00000000..80574f88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "P-1Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/negative_years.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json new file mode 100644 index 00000000..60fa9d2b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "P1Y-1M", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/positive_year_negative_months.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json new file mode 100644 index 00000000..05f8904d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "P1S", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/separator_T_missing.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json new file mode 100644 index 00000000..d27ec135 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json @@ -0,0 +1,19 @@ +{ + "observed": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:yet-another-company:02:3262900a" + }, + { + "type": "Property", + "value": "something0e5ec53f" + } + ] + }, + "direction": "input", + "state": "on", + "minInterval": "P1M2Y", + "modelType": "BasicEventElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/BasicEventElement/minInterval/the_order_matters.json.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..3452d6ac --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..4d546405 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..d0cd8723 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..6c6e555c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..c65381f3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..8f8caffa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..192295a4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..69b5f7c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..7bde43de --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..5f38036d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json new file mode 100644 index 00000000..99167f2b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json @@ -0,0 +1,4 @@ +{ + "contentType": "", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/empty.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json new file mode 100644 index 00000000..392853e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json new file mode 100644 index 00000000..392853e8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json new file mode 100644 index 00000000..661eaa39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "contentType": "\ud845\udd39", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json new file mode 100644 index 00000000..d81b741f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "contentType": "\u00d0\u00d0", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json new file mode 100644 index 00000000..556d8adb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "contentType": "\udb37\udd7d\u00a7\u0085\u00b0\u00a2\udace\udc5a>3\udba3\udd37", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json new file mode 100644 index 00000000..6381a68b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "contentType": "q\u0095d", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json new file mode 100644 index 00000000..57701e18 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "contentType": "0", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json new file mode 100644 index 00000000..99167f2b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "contentType": "", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json new file mode 100644 index 00000000..3e26d4a2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "contentType": "\r|\u00e4", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json new file mode 100644 index 00000000..8dc66bf9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "contentType": "\ud832\udfb0\ud832\udfb0", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json new file mode 100644 index 00000000..4dd00abe --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json @@ -0,0 +1,4 @@ +{ + "contentType": "1234", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/contentType/number.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..71b5398a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..27c925a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..7cb61d50 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..4988309f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..dde71065 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..ab6de15c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..851445db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..10078e50 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..0d004b88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..338ba26b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "Blob" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Blob/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..ad545ee4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..e80c7576 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..52d18a1d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..29d9c25a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..d332090e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..978f6796 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..b7c6013f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..885e5461 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..7c39dad8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..6e868e8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..ee26b18e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..7c48d1fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..510e2085 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..65754132 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..6a4cc7a9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..914669b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..30c9ba0f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..f1f030ba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..6e5e260a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..27b00f4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "Capability" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Capability/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..1a2175fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..f39c5134 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..72bc3117 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..aa6943e9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..6237cb35 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..659ce226 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..5dbefd26 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..3f09ac39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..39193006 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..d8545d0c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json new file mode 100644 index 00000000..1a6e849e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "id": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json new file mode 100644 index 00000000..77c3f437 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "id": "\u990d\u0017\u00bd\u00e9", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json new file mode 100644 index 00000000..f2216ae7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "id": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json new file mode 100644 index 00000000..e4729804 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "id": "\u00ba\u00f2\u0018\u007f", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json new file mode 100644 index 00000000..80d30671 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "id": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json new file mode 100644 index 00000000..8e93073a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "id": "0\u0000\u009a\uda84\ude06", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json new file mode 100644 index 00000000..e8de2bec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "id": "\ubd07\u00e0c\u001dr\f", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json new file mode 100644 index 00000000..ed87a64e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "id": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json new file mode 100644 index 00000000..83687893 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "id": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json new file mode 100644 index 00000000..f02f41c2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "id": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..29b41034 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/id/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..358525e3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..a2a76dfc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..2f0d7a3a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..889b6755 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..d07b636b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..dfcb7bde --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..b444d9c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..5b355de3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..cbdf4804 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..bff91108 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "id": "0", + "modelType": "ConceptDescription" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ConceptDescription/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json new file mode 100644 index 00000000..180799ce --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json new file mode 100644 index 00000000..2b6597ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json new file mode 100644 index 00000000..8df44223 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json new file mode 100644 index 00000000..3e09fb89 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json new file mode 100644 index 00000000..47662950 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json new file mode 100644 index 00000000..9e2f4f6f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json new file mode 100644 index 00000000..cc35ea84 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json new file mode 100644 index 00000000..4e1aaae0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json new file mode 100644 index 00000000..4221c0df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json new file mode 100644 index 00000000..70d12897 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "sourceOfDefinition": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b33ac7d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/sourceOfDefinition/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json new file mode 100644 index 00000000..9b600223 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json new file mode 100644 index 00000000..aca97d17 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json new file mode 100644 index 00000000..4136daa5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json new file mode 100644 index 00000000..52eecbfa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json new file mode 100644 index 00000000..6dd6fcda --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json new file mode 100644 index 00000000..0fc0e704 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json new file mode 100644 index 00000000..4df81f1d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json new file mode 100644 index 00000000..abbef4d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json new file mode 100644 index 00000000..77692a12 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json new file mode 100644 index 00000000..e5dbb769 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "symbol": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..5c18bf8c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/symbol/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json new file mode 100644 index 00000000..9e05f6ff --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json new file mode 100644 index 00000000..babe65f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json new file mode 100644 index 00000000..054038bf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json new file mode 100644 index 00000000..f9344cea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json new file mode 100644 index 00000000..aa8dcbed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json new file mode 100644 index 00000000..efa6ae60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json new file mode 100644 index 00000000..af445da3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json new file mode 100644 index 00000000..df84c89d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json new file mode 100644 index 00000000..baa4c2cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json new file mode 100644 index 00000000..9701d426 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "unit": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..be5221c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/unit/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..82ceb6b1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json new file mode 100644 index 00000000..5127e775 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json new file mode 100644 index 00000000..b15cf70d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json new file mode 100644 index 00000000..725e95bb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json new file mode 100644 index 00000000..d84bfa10 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json new file mode 100644 index 00000000..a0b7cc1b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json new file mode 100644 index 00000000..91add6bd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json new file mode 100644 index 00000000..551613f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json new file mode 100644 index 00000000..45ebead9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json new file mode 100644 index 00000000..0e502dc3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "value": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/value/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json new file mode 100644 index 00000000..0cbf73db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json new file mode 100644 index 00000000..a40f58f7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\u990d\u0017\u00bd\u00e9", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json new file mode 100644 index 00000000..7f34606a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json new file mode 100644 index 00000000..96e73b98 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\u00ba\u00f2\u0018\u007f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json new file mode 100644 index 00000000..260e5e70 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json new file mode 100644 index 00000000..263ebf42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "0\u0000\u009a\uda84\ude06", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json new file mode 100644 index 00000000..321fc969 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\ubd07\u00e0c\u001dr\f", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json new file mode 100644 index 00000000..9169e5ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json new file mode 100644 index 00000000..0f46cb00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json new file mode 100644 index 00000000..ed2aca7c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json @@ -0,0 +1,10 @@ +{ + "preferredName": [ + { + "language": "en-JM-x-c7dddb5b", + "text": "6" + } + ], + "valueFormat": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "DataSpecificationIec61360" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..d64dd3df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/DataSpecificationIec61360/valueFormat/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..2deb4c5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..56906533 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..82f30527 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..4d88b723 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..0ca69b27 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..91e92783 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..efb6128f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..a4dfa449 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..bdf659f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..994a0cc4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json new file mode 100644 index 00000000..4556c272 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json new file mode 100644 index 00000000..61273a94 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\u990d\u0017\u00bd\u00e9", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json new file mode 100644 index 00000000..5ce43f24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json new file mode 100644 index 00000000..bc8cec9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\u00ba\u00f2\u0018\u007f", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json new file mode 100644 index 00000000..070bc9ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json new file mode 100644 index 00000000..c23afd51 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "0\u0000\u009a\uda84\ude06", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json new file mode 100644 index 00000000..05be6641 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\ubd07\u00e0c\u001dr\f", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json new file mode 100644 index 00000000..4bb0e617 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json new file mode 100644 index 00000000..c9397511 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json new file mode 100644 index 00000000..d955b8d7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "globalAssetId": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..ba5df7b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/globalAssetId/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..b5f4a53b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..d293d361 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..5e0905a4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..fbe95895 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..ea049414 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..0b7e8c30 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..6da695c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..654ac8bb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..28a74100 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..6a380e9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "Entity" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Entity/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json new file mode 100644 index 00000000..2d3f9530 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01:02:03Z-unexpected-suffix" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_UTC_and_suffix.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json new file mode 100644 index 00000000..896e08a8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01:02:03+02:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_with_offset.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json new file mode 100644 index 00000000..0725f77d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01:02:03" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/date_time_without_zone.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json new file mode 100644 index 00000000..1fc292df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/empty.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json new file mode 100644 index 00000000..ac5ac3b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2026-02-29T01:02:03Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json.errors new file mode 100644 index 00000000..698e336a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/invalid_february_29th.json.errors @@ -0,0 +1,2 @@ +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json new file mode 100644 index 00000000..0c7ff7b9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "hh?a\u00e5x\uc733\u0010[\u0082\u0015 K/" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json new file mode 100644 index 00000000..3f1fe385 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "<1\ud8b2\ude06\ud9e3\uddd0\u00c5\\H\udac2\ude13" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json new file mode 100644 index 00000000..61e5c20e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\ud84a\udf23\ud8ca\udc7c\u00cd\u00b7\u00f0\u0098\u00b2+\u009a\ud8c4\udd7f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json new file mode 100644 index 00000000..3b1906a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\ud8e9\udcb3\u00f0\u008d\u0085\ud8dd\udc2f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json new file mode 100644 index 00000000..1ae29cd2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\udb4a\udfbee\ud80d\udd4d\u0097\u00f1>" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_05.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json new file mode 100644 index 00000000..03dcc043 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\udbcf\udda6\ud879\udf78" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_06.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json new file mode 100644 index 00000000..da73abb0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\u531f16\u00c8\u0012\ud814\udce0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json new file mode 100644 index 00000000..d4360864 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "hh" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json new file mode 100644 index 00000000..d02a38f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "E\u0085\ud804\udd26\ud842\uddc3Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json new file mode 100644 index 00000000..1bff37ac --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "\udae7\udefd\udae7\udefd\ud9ae\udefe\ud82f\udfa8\udbe4\udc8c\ud80f\udeb6" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json new file mode 100644 index 00000000..ca9d853e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json new file mode 100644 index 00000000..1fd94919 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/only_date_with_time_zone.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json new file mode 100644 index 00000000..84ad1d7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_minutes.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json new file mode 100644 index 00000000..76d56e65 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json @@ -0,0 +1,25 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "timeStamp": "2022-04-01T01:02Z" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/timeStamp/without_seconds.json.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json new file mode 100644 index 00000000..adcc8ecd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json new file mode 100644 index 00000000..847de5f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\u990d\u0017\u00bd\u00e9", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json new file mode 100644 index 00000000..d802e46e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json new file mode 100644 index 00000000..424d6308 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\u00ba\u00f2\u0018\u007f", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json new file mode 100644 index 00000000..9d58de3b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json new file mode 100644 index 00000000..62c92202 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "0\u0000\u009a\uda84\ude06", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json new file mode 100644 index 00000000..43b74c01 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\ubd07\u00e0c\u001dr\f", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json new file mode 100644 index 00000000..e47eb6c4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json new file mode 100644 index 00000000..29fe8529 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json new file mode 100644 index 00000000..eb535927 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json @@ -0,0 +1,26 @@ +{ + "source": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:some-company:15:84fd2b1b" + }, + { + "type": "EventElement", + "value": "something3a3b97e8" + } + ] + }, + "observableReference": { + "type": "ModelReference", + "keys": [ + { + "type": "Submodel", + "value": "urn:something:13:06d93ead" + } + ] + }, + "topic": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "timeStamp": "2022-04-01T24:00:00-00:00" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..1ea8ea24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/EventPayload/topic/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json new file mode 100644 index 00000000..000c3d06 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "name": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json new file mode 100644 index 00000000..f4110432 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "name": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json new file mode 100644 index 00000000..8d96c08e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "name": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json new file mode 100644 index 00000000..b6eaf7cf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "name": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json new file mode 100644 index 00000000..cac1b1f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "name": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json new file mode 100644 index 00000000..97c234ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "name": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json new file mode 100644 index 00000000..eb59e668 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "name": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json new file mode 100644 index 00000000..79482785 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "name": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json new file mode 100644 index 00000000..c544c118 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "name": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json new file mode 100644 index 00000000..9e8f20d6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "name": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Extension/name/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..9a7a00a6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..ac19da57 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..50279ef0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..ef3c326b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..24007373 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..5bdd533d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..e47104f1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..f77fea02 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..77695ab6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..b452a144 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json new file mode 100644 index 00000000..091bc720 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json @@ -0,0 +1,4 @@ +{ + "contentType": "", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/empty.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json new file mode 100644 index 00000000..6f849482 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json new file mode 100644 index 00000000..6f849482 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json new file mode 100644 index 00000000..6f42afb9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "contentType": "\ud845\udd39", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json new file mode 100644 index 00000000..be51646b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "contentType": "\u00d0\u00d0", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json new file mode 100644 index 00000000..d8f1712c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "contentType": "\udb37\udd7d\u00a7\u0085\u00b0\u00a2\udace\udc5a>3\udba3\udd37", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json new file mode 100644 index 00000000..be751b25 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "contentType": "q\u0095d", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json new file mode 100644 index 00000000..96198e97 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "contentType": "0", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json new file mode 100644 index 00000000..091bc720 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "contentType": "", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json new file mode 100644 index 00000000..886fd999 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "contentType": "\r|\u00e4", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json new file mode 100644 index 00000000..39e1387e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "contentType": "\ud832\udfb0\ud832\udfb0", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json new file mode 100644 index 00000000..a3701db6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json @@ -0,0 +1,4 @@ +{ + "contentType": "1234", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/contentType/number.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..7e5e419e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..6283779b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..fc3231a7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..34aafe1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..b8f36b42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..03ba5d6d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..db5aa7d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..014c0cb5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..d3ee88ec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..f86b210a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..2f9fc4a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "value": "\ud8eb\udfa4", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json new file mode 100644 index 00000000..3180b1a0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "value": "\udb37\udeae\uaa01", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json new file mode 100644 index 00000000..e654fb9e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "value": "\u00e7\u00f6", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json new file mode 100644 index 00000000..a26720a9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "value": "_\u0018\u00e5\u00a2\u0084z|\u009d\udbf0\ude8b\ud949\udd5e\udbb9\udd61i\udb0a\udf21-\u0081", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..98bd00b0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json new file mode 100644 index 00000000..488b1c42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "value": "\u0086\u4023\ud819\uddc5", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json new file mode 100644 index 00000000..64672b72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "value": "\udb37\udeae\uaa01\ud966\udd0a", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json new file mode 100644 index 00000000..71e71f49 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "value": "\u0801\u0801\u007f\ud858\udea9", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json new file mode 100644 index 00000000..c2a82dda --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "value": "\ue140P\u0081K\u00e2", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json new file mode 100644 index 00000000..fbb81d00 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "value": "\u00f0\"u", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json new file mode 100644 index 00000000..f2d3fa3b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "value": "00\ud800\udc07", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json new file mode 100644 index 00000000..e5d02b42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json @@ -0,0 +1,4 @@ +{ + "value": "http://exa mple.org", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json new file mode 100644 index 00000000..99be1d43 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json @@ -0,0 +1,4 @@ +{ + "value": "://example.org", + "modelType": "File" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/File/value/negatively_made_up_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..5445134e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json new file mode 100644 index 00000000..323ddb2a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json new file mode 100644 index 00000000..59929693 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json new file mode 100644 index 00000000..753b8790 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json new file mode 100644 index 00000000..0f73de6d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json new file mode 100644 index 00000000..77d47d72 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json new file mode 100644 index 00000000..3f4aa652 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json new file mode 100644 index 00000000..1da541d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json new file mode 100644 index 00000000..7c2b08b8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json new file mode 100644 index 00000000..b74a6815 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "type": "EventElement", + "value": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b597ba9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Key/value/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringDefinitionTypeIec61360/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringNameType/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringPreferredNameTypeIec61360/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringShortNameTypeIec61360/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json new file mode 100644 index 00000000..85e3109f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json @@ -0,0 +1,4 @@ +{ + "language": "", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/empty.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json new file mode 100644 index 00000000..371a3a4a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json @@ -0,0 +1,4 @@ +{ + "language": "some free-form text", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/free_form_text.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json new file mode 100644 index 00000000..51a5c57f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "\ud836\ude00\udb88\udc76\ud86e\udff6\ud934\udd55\u00bc\u00b0\u0007\u00ea\u008b\u0000\u0004\ud817\ude5a", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json new file mode 100644 index 00000000..7a0359c3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "\u00dbg\udbd4\udd56\u00b2\ud9d5\ude34e\u00b4\uda1d\udf95", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json new file mode 100644 index 00000000..a52b6f22 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json new file mode 100644 index 00000000..df7f7266 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "0", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json new file mode 100644 index 00000000..e5266acf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "\udbc2\udf017111", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json new file mode 100644 index 00000000..86945d95 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "\udb7f\ude8f", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json new file mode 100644 index 00000000..68fc353f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "\udae7\udefd", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json new file mode 100644 index 00000000..ef64eea2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "\u00f8P\u00ed", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json new file mode 100644 index 00000000..79d633d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "p\u00dc\ud9ce\udfcb\u00aeA\u00c7", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json new file mode 100644 index 00000000..de6b7df8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "\udb85\uddc8\u000b~\u00fb\u0095\udb19\udcc4", + "text": "J5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/language/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json new file mode 100644 index 00000000..923212d4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json new file mode 100644 index 00000000..28eece92 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u990d\u0017\u00bd\u00e9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json new file mode 100644 index 00000000..891df047 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json new file mode 100644 index 00000000..b01ad8c8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ba\u00f2\u0018\u007f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json new file mode 100644 index 00000000..cc9d39ea --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json new file mode 100644 index 00000000..90317a4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "0\u0000\u009a\uda84\ude06" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json new file mode 100644 index 00000000..e9a4dc8f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\ubd07\u00e0c\u001dr\f" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json new file mode 100644 index 00000000..8f5dbd31 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json new file mode 100644 index 00000000..c090e3a3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json new file mode 100644 index 00000000..b31dac5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "language": "en-JM-x-8fafefb1", + "text": "\u00ea\u00f2\u000f\ud9d8\ude54U" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..b839a2cc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/LangStringTextType/text/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..dc1d2ba9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..b023905a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..af7a24d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..8f65dec6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..de52663d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..1433fd59 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..3ef0d198 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..9dffd5c9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..a8ba2651 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..5839de1d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..6e45888a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..dc150c36 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..d9aec117 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..fcd7184c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..a698a527 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..2a162627 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..b937e73c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..627547d2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..70253f54 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..aa144960 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "MultiLanguageProperty" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/MultiLanguageProperty/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..33245d2e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..b4c95898 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..33325888 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..f252b1ed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..601f1f33 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..b8d1c21c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..846db8ef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..13475b5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..48f4faef --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..054e9fec --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..3e4db6e0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..1977aede --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..f22e7396 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..6af8d567 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..12d4f695 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..15e4b1aa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..82a2a992 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..79c6bc9d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..ab6b492c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..8a3a89a5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "Operation" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Operation/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..75899554 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..fdc7ef5b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..f3b3dcb2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..a3f5443b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..d18e4855 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..be7ee7bd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..b61fffa3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..99611119 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..9e6e01b3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..f28abed5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..62b85e5a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..f85b43a1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..ecef431e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..70efa451 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..407b47b4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..213f4167 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..f8ba50c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..f61888db --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..e885e6ff --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..47d74bb3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "Property" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Property/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json new file mode 100644 index 00000000..b051bdd8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "type": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json new file mode 100644 index 00000000..4672bbeb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "type": "\u990d\u0017\u00bd\u00e9", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json new file mode 100644 index 00000000..c3dbda9b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "type": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json new file mode 100644 index 00000000..4a51ca5a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "type": "\u00ba\u00f2\u0018\u007f", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json new file mode 100644 index 00000000..a52242fa --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "type": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json new file mode 100644 index 00000000..01e32f4e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "type": "0\u0000\u009a\uda84\ude06", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json new file mode 100644 index 00000000..726c254c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "type": "\ubd07\u00e0c\u001dr\f", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json new file mode 100644 index 00000000..be5c34d1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "type": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json new file mode 100644 index 00000000..4c70d22c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "type": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json new file mode 100644 index 00000000..1312cb4d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "type": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "valueType": "xs:gDay" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..87c2548c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Qualifier/type/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..73986982 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..d1487b01 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..17b7f2c4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..967a95f6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..817eab25 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..cdf77493 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..572bdc42 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..4beece71 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..fac86f7e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..657c8a60 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..77aee251 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..15a99cf9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u007f15", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..745ecdeb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json @@ -0,0 +1,5 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..07f2fc43 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..4827aa88 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json @@ -0,0 +1,5 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..d7e9c422 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json @@ -0,0 +1,5 @@ +{ + "idShort": "@", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..595dfda1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json @@ -0,0 +1,5 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..91069c24 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u0084\u0005", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..4f0bdeb8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json @@ -0,0 +1,5 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..63fbc2d3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json @@ -0,0 +1,5 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "valueType": "xs:gDay", + "modelType": "Range" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Range/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..f7192107 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..92b20185 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..40f014f5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..accb203b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..eab6380e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..ca084ea8 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..7974d2b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..ae93d212 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..cf009b62 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..588cb814 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..c92f6b03 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..72d1b584 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..49f5b9b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..7c6b3712 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..921c56b2 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..4d34eab3 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..1e2db029 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..a52d7a2c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..10394913 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..419f271f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "ReferenceElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/ReferenceElement/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json new file mode 100644 index 00000000..12b0ab2d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "category": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json new file mode 100644 index 00000000..697abbde --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "category": "\u990d\u0017\u00bd\u00e9", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json new file mode 100644 index 00000000..b3b6c229 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "category": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json new file mode 100644 index 00000000..6a0e8f8d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ba\u00f2\u0018\u007f", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json new file mode 100644 index 00000000..15c62d2a --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "category": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json new file mode 100644 index 00000000..45ab2ef0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "category": "0\u0000\u009a\uda84\ude06", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json new file mode 100644 index 00000000..2afaad97 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "category": "\ubd07\u00e0c\u001dr\f", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json new file mode 100644 index 00000000..3f0f4402 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "category": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json new file mode 100644 index 00000000..d29e7271 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "category": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json new file mode 100644 index 00000000..a4e37025 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "category": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..e7db96fc --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/category/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json new file mode 100644 index 00000000..823bed36 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda2a\udebe\udb83\udfab7", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json new file mode 100644 index 00000000..3898cf8d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u007f15", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json new file mode 100644 index 00000000..de664850 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "idShort": "66a\u0007 $\u0005\u0098V\u98b5<8f\udaf9\udc16\u0088;\u00c9\u00d02\u00fe\udae2\udce77y", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_03.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json new file mode 100644 index 00000000..41e38dcb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0087Y\ud900\udd7d\udaf4\ude2a", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json new file mode 100644 index 00000000..0b6c6876 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "idShort": "9\u4804\ud90d\udf5d", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json new file mode 100644 index 00000000..8ba883cd --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "idShort": "@", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json new file mode 100644 index 00000000..3baa310c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "idShort": "[?\u00cd\u00f40\u00d9\ud9a8\udcd4\u00ea\u0002\u00b6\ud820\udfebs\udacb\ude6e\u008dU\ud8d6\udc7f\u00b0\ud82d\udda6", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_07.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json new file mode 100644 index 00000000..3214d0e7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u0084\u0005", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json new file mode 100644 index 00000000..749b72a6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "idShort": "\u00ae\n|\u0013h\u000f\u00c8\u0081\u0080\udb35\udeccQ\uda66\udcec\u00a5\u00d5", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_09.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json new file mode 100644 index 00000000..2104e900 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "idShort": "\uda3f\udc85\u0013\ud90d\udf5d", + "modelType": "RelationshipElement" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..7171bb5d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/RelationshipElement/idShort/negatively_fuzzed_10.json.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json new file mode 100644 index 00000000..ea2d9bed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/empty.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json new file mode 100644 index 00000000..47f162e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_01.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json new file mode 100644 index 00000000..47f162e6 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\uda86\udf2e\udb69\udf6e\udae1\udefa7\u001e\u00fd\u00d1\u009d|\udbc6\uddcd" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..bfb660cb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_02.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json new file mode 100644 index 00000000..34791ea7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\ud845\udd39" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json new file mode 100644 index 00000000..b6ac3c2d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\u00d0\u00d0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json new file mode 100644 index 00000000..baa6b074 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\udb37\udd7d\u00a7\u0085\u00b0\u00a2\udace\udc5a>3\udba3\udd37" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json new file mode 100644 index 00000000..8ef61854 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "q\u0095d" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json new file mode 100644 index 00000000..08b8efbf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json new file mode 100644 index 00000000..ea2d9bed --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_08.json.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json new file mode 100644 index 00000000..b71780f9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\r|\u00e4" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json new file mode 100644 index 00000000..2e8b85df --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "\ud832\udfb0\ud832\udfb0" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json new file mode 100644 index 00000000..48d6514c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json @@ -0,0 +1,4 @@ +{ + "path": "#;", + "contentType": "1234" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/contentType/number.json.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json new file mode 100644 index 00000000..e0a804c1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json @@ -0,0 +1,3 @@ +{ + "path": "\ud8eb\udfa4" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json new file mode 100644 index 00000000..c54212f4 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json @@ -0,0 +1,3 @@ +{ + "path": "\udb37\udeae\uaa01" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json new file mode 100644 index 00000000..88fa64b7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json @@ -0,0 +1,3 @@ +{ + "path": "\u00e7\u00f6" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json new file mode 100644 index 00000000..73706b9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json @@ -0,0 +1,3 @@ +{ + "path": "_\u0018\u00e5\u00a2\u0084z|\u009d\udbf0\ude8b\ud949\udd5e\udbb9\udd61i\udb0a\udf21-\u0081" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..098f3af1 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_04.json.errors @@ -0,0 +1,4 @@ +path: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$.; +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json new file mode 100644 index 00000000..f9288a85 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json @@ -0,0 +1,3 @@ +{ + "path": "\u0086\u4023\ud819\uddc5" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json new file mode 100644 index 00000000..5df6a742 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json @@ -0,0 +1,3 @@ +{ + "path": "\udb37\udeae\uaa01\ud966\udd0a" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json new file mode 100644 index 00000000..fdc1ddbb --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json @@ -0,0 +1,3 @@ +{ + "path": "\u0801\u0801\u007f\ud858\udea9" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json new file mode 100644 index 00000000..85cd654d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json @@ -0,0 +1,3 @@ +{ + "path": "\ue140P\u0081K\u00e2" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json new file mode 100644 index 00000000..ce3748ba --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json @@ -0,0 +1,3 @@ +{ + "path": "\u00f0\"u" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json new file mode 100644 index 00000000..8a36caf9 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json @@ -0,0 +1,3 @@ +{ + "path": "00\ud800\udc07" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json new file mode 100644 index 00000000..04d04bbf --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json @@ -0,0 +1,3 @@ +{ + "path": "http://exa mple.org" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_01.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json new file mode 100644 index 00000000..4ae26151 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json @@ -0,0 +1,3 @@ +{ + "path": "://example.org" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/Resource/path/negatively_made_up_02.json.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json new file mode 100644 index 00000000..48991a1e --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "name": "\ud9da\udf7a\u00d8\u00f5\ud817\ude66,\u00e5\u00bd\u00dd\u0092\u00bd\udad6\udf6b\udb01\ude35\ud9e0\udd7a\u00a9\u0000\u0092\u00dc", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_01.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json new file mode 100644 index 00000000..9147e840 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json @@ -0,0 +1,4 @@ +{ + "name": "\u990d\u0017\u00bd\u00e9", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_02.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json new file mode 100644 index 00000000..32ceab6b --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json @@ -0,0 +1,4 @@ +{ + "name": "\udbba\ude28AD\u000f\udae9\ude96\u0085\udb7f\udf4f\u00d5", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_03.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json new file mode 100644 index 00000000..08a1df9f --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json @@ -0,0 +1,4 @@ +{ + "name": "\u00ba\u00f2\u0018\u007f", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_04.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json new file mode 100644 index 00000000..cfb5a8d5 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json @@ -0,0 +1,4 @@ +{ + "name": "A\u0004\u001e\u00bb\ud966\ude46\udaac\udf6f\u0017\u00b0P", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_05.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json new file mode 100644 index 00000000..5cb17340 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json @@ -0,0 +1,4 @@ +{ + "name": "0\u0000\u009a\uda84\ude06", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_06.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json new file mode 100644 index 00000000..39357b0d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json @@ -0,0 +1,4 @@ +{ + "name": "\ubd07\u00e0c\u001dr\f", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_07.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json new file mode 100644 index 00000000..987c4499 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json @@ -0,0 +1,4 @@ +{ + "name": "Q\u001a\u0090(^\\\u008a\ud909\udf27\u008d\u00fc\ud801\udcaa\u00d7\udb19\ude57\ud818\udc06\u0013", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_08.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json new file mode 100644 index 00000000..05a6505c --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json @@ -0,0 +1,4 @@ +{ + "name": "\u00c2\u00fb\u009f\u001c\u0096m'\u00df", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_09.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json new file mode 100644 index 00000000..4bb7305d --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json @@ -0,0 +1,4 @@ +{ + "name": "\u00ea\u00f2\u000f\ud9d8\ude54U", + "value": "\ud842\udd224\ud842\udd22" +} diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json.errors b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json.errors new file mode 100644 index 00000000..9feca7c7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/name/negatively_fuzzed_10.json.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Constraint AASd-130: An attribute with data type 'string' shall consist of these characters only: ^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\U00010000-\U0010FFFF]*$. \ No newline at end of file diff --git a/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/value/negatively_fuzzed_01.json b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/value/negatively_fuzzed_01.json new file mode 100644 index 00000000..ad353ac7 --- /dev/null +++ b/test_data/Json/Unexpected/Invalid/PatternViolation/SpecificAssetId/value/negatively_fuzzed_01.json @@ -0,0 +1,4 @@ +{ + "name": "\u00db\u0103 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/administrativeInformation/minimal.xml b/test_data/Xml/Expected/administrativeInformation/minimal.xml new file mode 100644 index 00000000..0627b500 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/four_digits.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/four_digits.xml new file mode 100644 index 00000000..bf8b4eaa --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/four_digits.xml @@ -0,0 +1,4 @@ + + 1230 + 1230 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..577395d1 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 1230 + 59 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..613dc2e6 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 1230 + 116 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a4e99231 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + 1230 + 7 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b12a32fa --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + 1230 + 32 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/one.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/one.xml new file mode 100644 index 00000000..038ad1bf --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/one.xml @@ -0,0 +1,4 @@ + + 1230 + 1 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/three_digits.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/three_digits.xml new file mode 100644 index 00000000..16a5bf28 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/three_digits.xml @@ -0,0 +1,4 @@ + + 1230 + 120 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/two_digits.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/two_digits.xml new file mode 100644 index 00000000..fdc4c7f1 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/two_digits.xml @@ -0,0 +1,4 @@ + + 1230 + 10 + diff --git a/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/zero.xml b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/zero.xml new file mode 100644 index 00000000..e29aa486 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/revisionOverPatternExamples/zero.xml @@ -0,0 +1,4 @@ + + 1230 + 0 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..97f71e2b --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d02f7219 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..05f4cc45 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..c26d285a --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..1a38a3f5 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..51981671 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..4296b478 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..1c92ffe4 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..701803f8 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..ef75b899 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/templateIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/four_digits.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/four_digits.xml new file mode 100644 index 00000000..7e4f1e58 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/four_digits.xml @@ -0,0 +1,3 @@ + + 1230 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..10219993 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 59 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..353875a3 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 116 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1d522dd6 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + 7 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..29489592 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + 32 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/one.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/one.xml new file mode 100644 index 00000000..26c68e28 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/one.xml @@ -0,0 +1,3 @@ + + 1 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/three_digits.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/three_digits.xml new file mode 100644 index 00000000..e89b6057 --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/three_digits.xml @@ -0,0 +1,3 @@ + + 120 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/two_digits.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/two_digits.xml new file mode 100644 index 00000000..9b4dc5be --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/two_digits.xml @@ -0,0 +1,3 @@ + + 10 + diff --git a/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/zero.xml b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/zero.xml new file mode 100644 index 00000000..4e3496ab --- /dev/null +++ b/test_data/Xml/Expected/administrativeInformation/versionOverPatternExamples/zero.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ca9b417f --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..37479501 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..926fabf2 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a52da3bd --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..367b19c9 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..d5f34c43 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..5d942339 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..48438393 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..a5cdbd0f --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..026af13b --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..7b1fd646 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..28539145 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ff705f27 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b636be39 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5953f5bc --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f83b929e --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..c17192a9 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..e002cbfc --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..318ef970 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..936d7ed8 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..2e52e25e --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5a3b3ca7 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..f77fbc78 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..b60bd262 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..11f76d9c --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..5c617860 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..a136c728 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..ea75abb4 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..2b046ff1 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..c7f04ca8 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..1d77566e --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/maximal.xml b/test_data/Xml/Expected/annotatedRelationshipElement/maximal.xml new file mode 100644 index 00000000..d98a3221 --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/maximal.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Expected/annotatedRelationshipElement/minimal.xml b/test_data/Xml/Expected/annotatedRelationshipElement/minimal.xml new file mode 100644 index 00000000..17627fae --- /dev/null +++ b/test_data/Xml/Expected/annotatedRelationshipElement/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..f2bdac8c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,8 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..e1413c88 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,8 @@ + + 𠤢4𠤢 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f0a81729 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,8 @@ + + [\h$񒺟ìÖċŠ1¿ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..65375017 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,8 @@ + + öĖa􍣡™| + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..254085ab --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,8 @@ + + J5 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..91152fd7 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,8 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a1d44a2d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,8 @@ + + 6 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..afb7b05d --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,8 @@ + + 򤑌M𪠇𛔊򂄲 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..16c0f966 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,8 @@ + + <ă<P󨱽²|dnœÞ® + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..af9f7729 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,8 @@ + + 0 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b5dbf5a1 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,7 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..003266fa --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,7 @@ + + 𠤢4𠤢 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..525f59e9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,7 @@ + + [\h$񒺟ìÖċŠ1¿ + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..ddaac5f9 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,7 @@ + + öĖa􍣡™| + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..41b18276 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,7 @@ + + J5 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..4af99d06 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,7 @@ + + Ûă<P󨱽²|dnœÞ® + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c6aa47e3 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,7 @@ + + 6 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e07454fd --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,7 @@ + + 򤑌M𪠇𛔊򂄲 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..dad2ae5f --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,7 @@ + + <ă<P󨱽²|dnœÞ® + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..8f0ecb9c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,7 @@ + + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..6361c9b6 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,8 @@ + + a-_-_-_-_-_ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..df7a63a2 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,8 @@ + + strange-name_ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..792d1b51 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,8 @@ + + fULCVpULCVq + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..3b5aba70 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,8 @@ + + AopQejF + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f66dd787 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,8 @@ + + Jk0k1414Di + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..5959b629 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,8 @@ + + pVz10Vz10vZZNO9hM + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..aa15e425 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,8 @@ + + t8x1pz9WS4TGV + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..5dee2629 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,8 @@ + + tWC + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..94fbb720 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,8 @@ + + xF2bO_Uje6 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..4ce3ffdf --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,8 @@ + + EO5DYAe + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..3109bb7e --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,8 @@ + + nRdRe + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..6dbd5e35 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,8 @@ + + P7gn + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..eaa68efb --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,8 @@ + + a-_ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..75270994 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,8 @@ + + a----------------b + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..3166ff58 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,8 @@ + + a________________ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..e28cf37b --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,8 @@ + + a0 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..3c898cdb --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,8 @@ + + aa + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..206e1bf5 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,8 @@ + + a_ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..aee71e77 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,8 @@ + + AZ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..685121f2 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,8 @@ + + a-b + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..49d32337 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,8 @@ + + A_ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/maximal.xml b/test_data/Xml/Expected/assetAdministrationShell/maximal.xml new file mode 100644 index 00000000..7934d241 --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/maximal.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Expected/assetAdministrationShell/minimal.xml b/test_data/Xml/Expected/assetAdministrationShell/minimal.xml new file mode 100644 index 00000000..8f0ecb9c --- /dev/null +++ b/test_data/Xml/Expected/assetAdministrationShell/minimal.xml @@ -0,0 +1,7 @@ + + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a07a6a25 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..57ea4fc9 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b52fd51a --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..477a6e5e --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..69ad7922 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + J5 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..a4f06d20 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..b81b85c1 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + 6 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..52c3490a --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..eb305233 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..c7a2f5d5 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/assetTypeOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + 0 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..2074a5d7 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + NotApplicable + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..ccfefc26 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + NotApplicable + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..840e4f06 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + NotApplicable + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b5d1e966 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + NotApplicable + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..fe4476d5 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + NotApplicable + J5 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..08e5c8d8 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + NotApplicable + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..526bd2b1 --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + NotApplicable + 6 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2ea143ed --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + NotApplicable + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..ea24813b --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + NotApplicable + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..fca16cbd --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/globalAssetIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + NotApplicable + 0 + diff --git a/test_data/Xml/Expected/assetInformation/maximal.xml b/test_data/Xml/Expected/assetInformation/maximal.xml new file mode 100644 index 00000000..afbeef1f --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/maximal.xml @@ -0,0 +1,22 @@ + + NotApplicable + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Expected/assetInformation/minimal.xml b/test_data/Xml/Expected/assetInformation/minimal.xml new file mode 100644 index 00000000..fca16cbd --- /dev/null +++ b/test_data/Xml/Expected/assetInformation/minimal.xml @@ -0,0 +1,4 @@ + + NotApplicable + 0 + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..5eebb697 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f15d9a0a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1c6616dd --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + [\h$񒺟ìÖċŠ1¿ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2a480e52 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + öĖa􍣡™| + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f8dbd679 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + J5 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..e89fbef4 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + Ûă<P󨱽²|dnœÞ® + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..8c7faed8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + 6 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..aebd1531 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + 򤑌M𪠇𛔊򂄲 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..f1b2253f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + <ă<P󨱽²|dnœÞ® + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9d86b617 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + 0 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..b1867dc9 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,18 @@ + + a-_-_-_-_-_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..953897fc --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,18 @@ + + strange-name_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..344a367d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + fULCVpULCVq + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..ac172222 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + AopQejF + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..4cb37ba3 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + Jk0k1414Di + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..1de2ad73 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + pVz10Vz10vZZNO9hM + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..957e896d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + t8x1pz9WS4TGV + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..91e1168c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + tWC + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..fb39baac --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + xF2bO_Uje6 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..4a04ef18 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + EO5DYAe + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..da466786 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + nRdRe + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..f55b8a3c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + P7gn + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..62124893 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,18 @@ + + a-_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..c1639a6c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,18 @@ + + a----------------b + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..3428ebfb --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,18 @@ + + a________________ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..7d15b082 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,18 @@ + + a0 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..66bb202a --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,18 @@ + + aa + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..7d19280f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,18 @@ + + a_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..0e856f5f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,18 @@ + + AZ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..708bdf37 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,18 @@ + + a-b + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..be51b182 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,18 @@ + + A_ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a0af4634 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 0013-10-11T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a01207f8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 0001-01-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7150a59b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -3020-08-21T24:00:00.0Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..24ae3e70 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T24:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..c208c1db --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..d0607a70 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..42e2763e --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T24:00:00+00:00 + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..210fabf0 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/random_positive.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..9aa2d9a2 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_large_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..8b5f36ec --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..faae5e09 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -0001-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..e71a111d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/lastUpdateOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -0005-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..b2165d5e --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/day_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + P1DT2S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/full.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/full.xml new file mode 100644 index 00000000..0729d054 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/full.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..96cbf179 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -P009D + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a7d78330 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + P5Y36660767143M + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5613a7a9 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -PT01332.1S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d62fb026 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -P11DT142M + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f99714b1 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..6fdfc892 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -P1M923D + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..bf0fda15 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -PT0.332S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..15957d52 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..ace865be --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -PT1.5375209S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..13ae4d28 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..b059dd70 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..0d4d4e96 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..b1567ec1 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/month_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT2M10S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..006a4689 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + PT130S + diff --git a/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_year.xml b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_year.xml new file mode 100644 index 00000000..f1671e59 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maxIntervalOverPatternExamples/only_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + -P1Y + diff --git a/test_data/Xml/Expected/basicEventElement/maximal.xml b/test_data/Xml/Expected/basicEventElement/maximal.xml new file mode 100644 index 00000000..92317549 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/maximal.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..1a0c99a7 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f0b847f1 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b8c23649 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fafba0f6 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..973e13d6 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + J5 + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..cce41ed4 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..b417a2e8 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 6 + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..f355f5a5 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..d68c9657 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..e68eb67b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/messageTopicOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 0 + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/day_seconds.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/day_seconds.xml new file mode 100644 index 00000000..4bf7eb22 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/day_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1DT2S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/full.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/full.xml new file mode 100644 index 00000000..090ff27f --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/full.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..5b44708e --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -P009D + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..dfd7e74d --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P5Y36660767143M + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ad414cbc --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -PT01332.1S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..e29b8b35 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -P11DT142M + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..b5510c21 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..8acd26c5 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -P1M923D + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..3e4cbe54 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -PT0.332S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..064b7220 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..99730207 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -PT1.5375209S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..adbf691e --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT18688M + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/long_second_fractal.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/long_second_fractal.xml new file mode 100644 index 00000000..b40fec8b --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/long_second_fractal.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/many_many_seconds.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/many_many_seconds.xml new file mode 100644 index 00000000..34cc0093 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/many_many_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/month_seconds.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/month_seconds.xml new file mode 100644 index 00000000..c89a7c67 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/month_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT2M10S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_seconds.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_seconds.xml new file mode 100644 index 00000000..5fd536d7 --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + PT130S + diff --git a/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_year.xml b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_year.xml new file mode 100644 index 00000000..2080c41c --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minIntervalOverPatternExamples/only_year.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + -P1Y + diff --git a/test_data/Xml/Expected/basicEventElement/minimal.xml b/test_data/Xml/Expected/basicEventElement/minimal.xml new file mode 100644 index 00000000..8f914fbe --- /dev/null +++ b/test_data/Xml/Expected/basicEventElement/minimal.xml @@ -0,0 +1,17 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9ba92637 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..344e38db --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..4104a7a7 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d262b732 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..e75ff792 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..8c2e2b1b --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..698b283e --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e8d284dc --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..1ce04277 --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..2c33d2df --- /dev/null +++ b/test_data/Xml/Expected/blob/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dash.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dash.xml new file mode 100644 index 00000000..0ed7eab5 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dash.xml @@ -0,0 +1,3 @@ + + application/x-abiword + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dots.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dots.xml new file mode 100644 index 00000000..132956ae --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/dots.xml @@ -0,0 +1,3 @@ + + application/vnd.amazon.ebook + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..c4ee10b1 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 7/6qwqh6g + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..93bb4895 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15j/5j + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..bddb12f9 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + 'VbrwFrYTU/fO7NnLxq ; MX.`10dB732`X5yRy=I56Ov9Us ; pRb~~hdw_C%2Zf="" ; h=1t + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/number prefix and suffix.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/number prefix and suffix.xml new file mode 100644 index 00000000..79af978b --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/number prefix and suffix.xml @@ -0,0 +1,3 @@ + + audio/3gpp2 + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/only_letters.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/only_letters.xml new file mode 100644 index 00000000..7863a5ea --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/only_letters.xml @@ -0,0 +1,3 @@ + + audio/aac + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/plus.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/plus.xml new file mode 100644 index 00000000..be7e9804 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/plus.xml @@ -0,0 +1,3 @@ + + application/vnd.apple.installer+xml + diff --git a/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/random_common_MIME_type.xml b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/random_common_MIME_type.xml new file mode 100644 index 00000000..7c9ea8b3 --- /dev/null +++ b/test_data/Xml/Expected/blob/contentTypeOverPatternExamples/random_common_MIME_type.xml @@ -0,0 +1,3 @@ + + application/something-random + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..5a11a3c8 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..79db3859 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..1bbefecf --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..eb7c2d0d --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6259265c --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..aeda94d0 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..7e460d76 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..46108948 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..9bd252e3 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..a40a754f --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..27968b74 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..0ef071d1 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..37d35c00 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..57ce7d09 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..86e5a5fb --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..5965e693 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..d3a63ec4 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..9eeb6095 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..f7e0dc4d --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..395c7323 --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/blob/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/blob/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..3f9ebe1d --- /dev/null +++ b/test_data/Xml/Expected/blob/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/blob/maximal.xml b/test_data/Xml/Expected/blob/maximal.xml new file mode 100644 index 00000000..00d0271c --- /dev/null +++ b/test_data/Xml/Expected/blob/maximal.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Expected/blob/minimal.xml b/test_data/Xml/Expected/blob/minimal.xml new file mode 100644 index 00000000..858a657c --- /dev/null +++ b/test_data/Xml/Expected/blob/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b44b883f --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b8539494 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6f1cb8df --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d9b0763f --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..1a4c9f17 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..4aca42b9 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..0ec1a508 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..8815e144 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..a55a6269 --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..cc5dfd9a --- /dev/null +++ b/test_data/Xml/Expected/capability/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..dca91272 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..e5ad24e5 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..340d7388 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a20f0aa0 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..62cc56c6 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..194cb395 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..1b852ca1 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..891070b3 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..fedd4937 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..bf15ddc2 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..ea7085fb --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a6df0689 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..b12512d6 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..56002dca --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..8a35bb45 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..0c12f593 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..78ee2ff3 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..e4d1b092 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..fe4857b4 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..0aff2c52 --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/capability/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/capability/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..92dd994d --- /dev/null +++ b/test_data/Xml/Expected/capability/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/capability/maximal.xml b/test_data/Xml/Expected/capability/maximal.xml new file mode 100644 index 00000000..8688a196 --- /dev/null +++ b/test_data/Xml/Expected/capability/maximal.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Expected/capability/minimal.xml b/test_data/Xml/Expected/capability/minimal.xml new file mode 100644 index 00000000..b9467fc8 --- /dev/null +++ b/test_data/Xml/Expected/capability/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..afa940c3 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5f1cc5cd --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..c93c3f0e --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..e05b4d63 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..e3a3cd31 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..fc255d17 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1847a41a --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..14f520d0 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..f955ecdd --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..19755a7d --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ac8879e1 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0ae7819b --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..8afc9444 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..ea1e2c00 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..236c72b6 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..7be438cb --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..8c99fe47 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..699a02fb --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..1ec56150 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5b545375 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..bf22b643 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..7832cd16 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..e32a9ed0 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..e27ba894 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..258c2405 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..6e3ec63f --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ccace7cf --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..636dea54 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..cb0964a7 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..2914d4ec --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8c22b7ae --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..7cae7a1d --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..0e3deba2 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..8e52930f --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..7f646160 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..ddbcb2c9 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..5c117ed0 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..68e4370f --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..a2b42eaf --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..ad8b8c56 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..96bfef83 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + 0 + diff --git a/test_data/Xml/Expected/conceptDescription/maximal.xml b/test_data/Xml/Expected/conceptDescription/maximal.xml new file mode 100644 index 00000000..79346265 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/maximal.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Expected/conceptDescription/minimal.xml b/test_data/Xml/Expected/conceptDescription/minimal.xml new file mode 100644 index 00000000..5b545375 --- /dev/null +++ b/test_data/Xml/Expected/conceptDescription/minimal.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/maximal.xml b/test_data/Xml/Expected/dataSpecificationIec61360/maximal.xml new file mode 100644 index 00000000..ed631b4c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/maximal.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/minimal.xml b/test_data/Xml/Expected/dataSpecificationIec61360/minimal.xml new file mode 100644 index 00000000..ca6227a0 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/minimal.xml @@ -0,0 +1,8 @@ + + + + en-JM-x-c7dddb5b + 6 + + + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..18cfb4fd --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..14ee6f97 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a2e6edd4 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f3b4c8a2 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..679e3405 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0708e919 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..f2b6c351 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..0bf0e99f --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..3c4f0431 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..dc7705af --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/sourceOfDefinitionOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..07c4beda --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5e146ed7 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..ad29d21e --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..22d75f21 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ba4a34b0 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ded54d8d --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..58954c7c --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..81befbb9 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..fa5f97a6 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..cfb99e6d --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/symbolOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8a100c36 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2b5fb264 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..2860dd0d --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4ab9456f --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..c9f01130 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..af29d5f0 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..46b9d992 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..7e6cb232 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c2bf5dc2 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..2eb9aded --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/unitOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..4122ee04 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..1a9ac0fc --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..d80c1987 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b9584be1 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..b6fc6ce8 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..15e629c5 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..21e01dbb --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..3aa5b5b4 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..65bfdae2 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..378e04b2 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueFormatOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..f96b66d7 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2caf1f0d --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b84fbb39 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..370cfd94 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..1fc2986b --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + J5 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..bfff02b5 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..c191ce69 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 6 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d9ccbc07 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..cd64cd53 --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..62a35adc --- /dev/null +++ b/test_data/Xml/Expected/dataSpecificationIec61360/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + 0 + diff --git a/test_data/Xml/Expected/embeddedDataSpecification/maximal.xml b/test_data/Xml/Expected/embeddedDataSpecification/maximal.xml new file mode 100644 index 00000000..c9567840 --- /dev/null +++ b/test_data/Xml/Expected/embeddedDataSpecification/maximal.xml @@ -0,0 +1,25 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + + + + + en-JM-x-719cdf87 + <ă<P󨱽²|dnœÞ® + + + en-JM-x-2ffc5cd0 + 𠤢4𠤢 + + + + + diff --git a/test_data/Xml/Expected/embeddedDataSpecification/minimal.xml b/test_data/Xml/Expected/embeddedDataSpecification/minimal.xml new file mode 100644 index 00000000..77d9b436 --- /dev/null +++ b/test_data/Xml/Expected/embeddedDataSpecification/minimal.xml @@ -0,0 +1,21 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + + + + + en-JM-x-b435b532 + 0 + + + + + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..67a7b56a --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c2846577 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7f26ffef --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..628d8479 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..dddef4f4 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..6817b05a --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..6bb1233d --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..931ee832 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..21978942 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..8f7f5552 --- /dev/null +++ b/test_data/Xml/Expected/entity/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..04f113f3 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..e9cfcdd0 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..cfebfe98 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fdebb7a7 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ade2f817 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..db9b839d --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..552b75d5 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b0c1b83e --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8bc5d03a --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a51552d3 --- /dev/null +++ b/test_data/Xml/Expected/entity/globalAssetIdOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..5f77fc7a --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..06647508 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..9d87ea55 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..87062288 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..296c097c --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2d236bbd --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..a1088f1b --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..7af79902 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..485e41b0 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ab6a64cd --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..bc625871 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..b62d26bb --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..45a6e58a --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..672db346 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..129d9936 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..85ef590f --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..719cfc52 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..e5b92962 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..3c10bd6c --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..884c98c2 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/entity/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/entity/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..04fe45c8 --- /dev/null +++ b/test_data/Xml/Expected/entity/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/entity/maximal.xml b/test_data/Xml/Expected/entity/maximal.xml new file mode 100644 index 00000000..80751f69 --- /dev/null +++ b/test_data/Xml/Expected/entity/maximal.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Expected/entity/minimal.xml b/test_data/Xml/Expected/entity/minimal.xml new file mode 100644 index 00000000..2863e8be --- /dev/null +++ b/test_data/Xml/Expected/entity/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/environment/maximal.xml b/test_data/Xml/Expected/environment/maximal.xml new file mode 100644 index 00000000..6f2b6dc0 --- /dev/null +++ b/test_data/Xml/Expected/environment/maximal.xml @@ -0,0 +1,28 @@ + + + + J5 + + Role + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Type + 򤑌M𪠇𛔊򂄲 + + + + + + 0 + + + + + 0 + + + diff --git a/test_data/Xml/Expected/environment/minimal.xml b/test_data/Xml/Expected/environment/minimal.xml new file mode 100644 index 00000000..49ac4295 --- /dev/null +++ b/test_data/Xml/Expected/environment/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/eventPayload/maximal.xml b/test_data/Xml/Expected/eventPayload/maximal.xml new file mode 100644 index 00000000..9eb1ff07 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/maximal.xml @@ -0,0 +1,54 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Expected/eventPayload/minimal.xml b/test_data/Xml/Expected/eventPayload/minimal.xml new file mode 100644 index 00000000..f64a27f9 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/minimal.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..fc70d8c7 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 0013-10-11T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a53cfd5a --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 0001-01-01T00:00:00Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..39d98233 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + -3020-08-21T24:00:00.0Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_24_hours.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_24_hours.xml new file mode 100644 index 00000000..f7f1f3d8 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_24_hours.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_zeros.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_zeros.xml new file mode 100644 index 00000000..05855969 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/midnight_with_zeros.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/minus_zero_offset.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/minus_zero_offset.xml new file mode 100644 index 00000000..f64a27f9 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/minus_zero_offset.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/plus_zero_offset.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/plus_zero_offset.xml new file mode 100644 index 00000000..f507e2a0 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/plus_zero_offset.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00+00:00 + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/random_positive.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/random_positive.xml new file mode 100644 index 00000000..e9f490ef --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/random_positive.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_large_year.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_large_year.xml new file mode 100644 index 00000000..18064494 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_large_year.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 123456789012345678901234567-04-01T00:00:00Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_long_fractional_second.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_long_fractional_second.xml new file mode 100644 index 00000000..46827d8c --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/very_long_fractional_second.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T00:00:00.1234567890123456789012345678901234567890Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..90fd96ab --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_1_bce_is_a_leap_year.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + -0001-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..31d265ef --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/timeStampOverPatternExamples/year_5_bce_is_a_leap_year.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + -0005-02-29T01:02:03Z + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..47428dba --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..16176de6 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 𠤢4𠤢 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5185408c --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + [\h$񒺟ìÖċŠ1¿ + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f3a80df8 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + öĖa􍣡™| + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..3a1ed6d7 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + J5 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..5cb0a582 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + Ûă<P󨱽²|dnœÞ® + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..22b7c4e1 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 6 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..16a1f848 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 򤑌M𪠇𛔊򂄲 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..d1c8ceee --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + <ă<P󨱽²|dnœÞ® + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d77c2fc8 --- /dev/null +++ b/test_data/Xml/Expected/eventPayload/topicOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 0 + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Expected/extension/maximal.xml b/test_data/Xml/Expected/extension/maximal.xml new file mode 100644 index 00000000..5c67d3ed --- /dev/null +++ b/test_data/Xml/Expected/extension/maximal.xml @@ -0,0 +1,63 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Expected/extension/minimal.xml b/test_data/Xml/Expected/extension/minimal.xml new file mode 100644 index 00000000..08500271 --- /dev/null +++ b/test_data/Xml/Expected/extension/minimal.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..0314c507 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..bae9e251 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..8c3f815e --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..070ba7a5 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..763a47ad --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..08500271 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..49e14b7f --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..55155b32 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..a1599211 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..04258b12 --- /dev/null +++ b/test_data/Xml/Expected/extension/nameOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_URI.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_URI.xml new file mode 100644 index 00000000..533879cd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_URI.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + https://github.com/aas-core-works/aas-core-codegen + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml new file mode 100644 index 00000000..7e3ce626 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + /path/to/somewhere + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_empty.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_empty.xml new file mode 100644 index 00000000..eba7fea3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_01.xml new file mode 100644 index 00000000..158e4328 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + # + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_02.xml new file mode 100644 index 00000000..cff87d9b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_03.xml new file mode 100644 index 00000000..50240ace --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + A:// + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_04.xml new file mode 100644 index 00000000..eba7fea3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_05.xml new file mode 100644 index 00000000..620eff37 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + #;+; + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_06.xml new file mode 100644 index 00000000..59af5bda --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_07.xml new file mode 100644 index 00000000..63ece0a3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + q%7E~@$=l#%f6,&;& + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_08.xml new file mode 100644 index 00000000..4ca5a61c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_09.xml new file mode 100644 index 00000000..20ea6f4f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + #b%39DX%f9a%76u%da%A1@%a9%D3n + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_10.xml new file mode 100644 index 00000000..42ee3b4b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_integer.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_integer.xml new file mode 100644 index 00000000..861dbbec --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml new file mode 100644 index 00000000..cdee2676 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + path/to/somewhere + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml new file mode 100644 index 00000000..7ff0ff87 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml new file mode 100644 index 00000000..120d04bd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0F+40A== + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_01.xml new file mode 100644 index 00000000..544be8c8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_02.xml new file mode 100644 index 00000000..3eba58f7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_03.xml new file mode 100644 index 00000000..60f41d55 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + n3wT + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_04.xml new file mode 100644 index 00000000..5d8693b5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + wfw E + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_05.xml new file mode 100644 index 00000000..bb6a0848 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + jj5 n + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_06.xml new file mode 100644 index 00000000..2c4d263e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + j j5 n + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_07.xml new file mode 100644 index 00000000..e8ec35c9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + S w SO 5 S5r + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_08.xml new file mode 100644 index 00000000..f5a24b76 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + UBU iUBU iQ n cy q 7wK + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_09.xml new file mode 100644 index 00000000..94525928 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + HU UH + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_10.xml new file mode 100644 index 00000000..9d762afd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 00000000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml new file mode 100644 index 00000000..98a60f65 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0 FB8 0F+9 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml new file mode 100644 index 00000000..39598c6e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0fb8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml new file mode 100644 index 00000000..cca2a2fd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0FB8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_as_number.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_as_number.xml new file mode 100644 index 00000000..a1b0e3e3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_as_number.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_in_letters.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_in_letters.xml new file mode 100644 index 00000000..c2f6d433 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_false_in_letters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + false + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_as_number.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_as_number.xml new file mode 100644 index 00000000..d5c1b8df --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_as_number.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_in_letters.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_in_letters.xml new file mode 100644 index 00000000..27c9226b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Boolean_true_in_letters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + true + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_common_example.xml new file mode 100644 index 00000000..b6af4775 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_explicitly_positive.xml new file mode 100644 index 00000000..162457e9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_01.xml new file mode 100644 index 00000000..c91870cb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 05 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_02.xml new file mode 100644 index 00000000..5acc79f8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 000110 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_03.xml new file mode 100644 index 00000000..a0c444cb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + +00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_04.xml new file mode 100644 index 00000000..9f8ee941 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -108 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_05.xml new file mode 100644 index 00000000..d64866ae --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 0001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_06.xml new file mode 100644 index 00000000..eaf9fd5a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 103 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_07.xml new file mode 100644 index 00000000..d9c3eb3c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 06 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_08.xml new file mode 100644 index 00000000..c43c42f3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + +0000002 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_09.xml new file mode 100644 index 00000000..9cc5d585 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 000000006 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_10.xml new file mode 100644 index 00000000..a094871c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -00011 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_max.xml new file mode 100644 index 00000000..eb3336bc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 127 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_min.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_min.xml new file mode 100644 index 00000000..725ed2c8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_min.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -128 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_negative.xml new file mode 100644 index 00000000..244ac596 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..caca6b4b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero.xml new file mode 100644 index 00000000..0533ffde --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..d7ca35ff --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date.xml new file mode 100644 index 00000000..050333c8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_negative_year.xml new file mode 100644 index 00000000..5133b754 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_positive_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_positive_year.xml new file mode 100644 index 00000000..2ed994af --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_negative_offset.xml new file mode 100644 index 00000000..378b7091 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01-02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_positive_offset.xml new file mode 100644 index 00000000..4417027b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01+02:34 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_utc.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_utc.xml new file mode 100644 index 00000000..90b792fc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_utc.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_zero_offset.xml new file mode 100644 index 00000000..329e063a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_date_with_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_01.xml new file mode 100644 index 00000000..0f08f352 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0705-04-10+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_02.xml new file mode 100644 index 00000000..c8beaa64 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0236-12-31Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_03.xml new file mode 100644 index 00000000..23b86ae6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 9088-11-06 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_04.xml new file mode 100644 index 00000000..6d1c1dcd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -7506-08-02 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_05.xml new file mode 100644 index 00000000..b3583455 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -3637143-04-09 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_06.xml new file mode 100644 index 00000000..478ea9d6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0311-11-30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_07.xml new file mode 100644 index 00000000..6d5be384 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0844-11-30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_08.xml new file mode 100644 index 00000000..0121b6b7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0111-04-04 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_09.xml new file mode 100644 index 00000000..8a56e344 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0412-04-08-10:58 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_10.xml new file mode 100644 index 00000000..ec952ab5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0520-01-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_UTC.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_UTC.xml new file mode 100644 index 00000000..8a33e899 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml new file mode 100644 index 00000000..66fae96c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml new file mode 100644 index 00000000..b07efa97 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml new file mode 100644 index 00000000..508bf5c1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03.0123456789Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml new file mode 100644 index 00000000..ef46e500 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml new file mode 100644 index 00000000..aff1d2ae --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml new file mode 100644 index 00000000..ef46e500 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_without_zone.xml new file mode 100644 index 00000000..26c54e57 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_01.xml new file mode 100644 index 00000000..74ba35a9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0811-10-21T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_02.xml new file mode 100644 index 00000000..fb793042 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0819-11-21T24:00:00.00Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_03.xml new file mode 100644 index 00000000..aa9ca13f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -665280014-06-30T21:15:16Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_04.xml new file mode 100644 index 00000000..fec60d16 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0811-11-21T24:00:00.0000Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_05.xml new file mode 100644 index 00000000..cec127c9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 0532-09-07T18:47:52+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_06.xml new file mode 100644 index 00000000..cc9caa3a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 0707-11-02T24:00:00.00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_07.xml new file mode 100644 index 00000000..2b35a36b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0003-12-20T22:53:54.02567 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_08.xml new file mode 100644 index 00000000..150c98b4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -1092-02-25T24:00:00.0000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_09.xml new file mode 100644 index 00000000..581787f4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -6602-06-30T24:00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_10.xml new file mode 100644 index 00000000..173714cc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -2111111-08-31T23:58:19.269348 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_24_hours.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_24_hours.xml new file mode 100644 index 00000000..9ae97357 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T24:00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_zeros.xml new file mode 100644 index 00000000..d83356a6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T00:00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..6eae3b3b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0001-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..97c393bf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0005-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..342d4936 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0001-02-29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..0f2bf107 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0005-02-29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal.xml new file mode 100644 index 00000000..ba0d0d60 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 1234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml new file mode 100644 index 00000000..1c7ba6e6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml new file mode 100644 index 00000000..088233cf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 0001234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_01.xml new file mode 100644 index 00000000..bec49835 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + .33324 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_02.xml new file mode 100644 index 00000000..d6499980 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 01195 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_03.xml new file mode 100644 index 00000000..6b16c4d9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + +875 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_04.xml new file mode 100644 index 00000000..55cb1761 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + -8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_05.xml new file mode 100644 index 00000000..26eacc88 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + -0.0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_06.xml new file mode 100644 index 00000000..5e2a0875 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + -13522106 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_07.xml new file mode 100644 index 00000000..3740142a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + +10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_08.xml new file mode 100644 index 00000000..ce2080a8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + -030725 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_09.xml new file mode 100644 index 00000000..e38dd7db --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + .3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_10.xml new file mode 100644 index 00000000..cb7f0dcd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 0061707 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer.xml new file mode 100644 index 00000000..14e87f43 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..2d56b78b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 0001234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_very_large_decimal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_very_large_decimal.xml new file mode 100644 index 00000000..ce139599 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Decimal_very_large_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_double.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_double.xml new file mode 100644 index 00000000..04ceec90 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_double.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_01.xml new file mode 100644 index 00000000..864f22d5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + .1118 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_02.xml new file mode 100644 index 00000000..4ff07a43 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -.662 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_03.xml new file mode 100644 index 00000000..36f2abdf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + .0E0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_04.xml new file mode 100644 index 00000000..c6ab00b2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + .4 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_05.xml new file mode 100644 index 00000000..123446dd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + .11 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_06.xml new file mode 100644 index 00000000..08a662fa --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + +76E-86 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_07.xml new file mode 100644 index 00000000..4ff07a43 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -.662 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_08.xml new file mode 100644 index 00000000..857b58ab --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1e+7 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_09.xml new file mode 100644 index 00000000..82681ecf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -.66E-45 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_10.xml new file mode 100644 index 00000000..3044d1df --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 140206134 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_inf.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_inf.xml new file mode 100644 index 00000000..ca74e01c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + INF + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer.xml new file mode 100644 index 00000000..8e0e3afc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..bb053ab1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 0001234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..17bd0e1f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_lowest.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_lowest.xml new file mode 100644 index 00000000..81a7b3b0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_lowest.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_max.xml new file mode 100644 index 00000000..04cd1296 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_minus_inf.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_minus_inf.xml new file mode 100644 index 00000000..d4a911d7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_minus_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -INF + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_nan.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_nan.xml new file mode 100644 index 00000000..51de0661 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_nan.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + NaN + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation.xml new file mode 100644 index 00000000..d5b9f174 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 12.34e56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative.xml new file mode 100644 index 00000000..8d9bb704 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + -12.34e56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..aac345f7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 12.34e-56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive.xml new file mode 100644 index 00000000..142665b5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + +12.34e56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..07406bf5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 12.34e+56 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_large_normal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_large_normal.xml new file mode 100644 index 00000000..f7d49167 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_large_normal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 2e307 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_precise_subnormal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_precise_subnormal.xml new file mode 100644 index 00000000..b13c62f3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_very_precise_subnormal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 2e-307 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Double_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_with_preceding_zeros.xml new file mode 100644 index 00000000..c3acccb2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Double_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 0001234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_day_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_day_seconds.xml new file mode 100644 index 00000000..1bec4cb0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_day_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1DT2S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_full.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_full.xml new file mode 100644 index 00000000..ec70c072 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_full.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_01.xml new file mode 100644 index 00000000..92de65ae --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -P009D + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_02.xml new file mode 100644 index 00000000..502c89a6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P5Y36660767143M + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_03.xml new file mode 100644 index 00000000..60eceedb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -PT01332.1S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_04.xml new file mode 100644 index 00000000..819a5aab --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -P11DT142M + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_05.xml new file mode 100644 index 00000000..9b23e8c1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_06.xml new file mode 100644 index 00000000..676a9888 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -P1M923D + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_07.xml new file mode 100644 index 00000000..0a1095ff --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -PT0.332S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_08.xml new file mode 100644 index 00000000..0dcc677a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_09.xml new file mode 100644 index 00000000..3b27259f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -PT1.5375209S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_10.xml new file mode 100644 index 00000000..0e245cd0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT18688M + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_long_second_fractal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_long_second_fractal.xml new file mode 100644 index 00000000..6b879f4c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_long_second_fractal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_many_many_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_many_many_seconds.xml new file mode 100644 index 00000000..606cce41 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_many_many_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_month_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_month_seconds.xml new file mode 100644 index 00000000..01c00047 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_month_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT2M10S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_seconds.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_seconds.xml new file mode 100644 index 00000000..bc09b4bc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + PT130S + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_year.xml new file mode 100644 index 00000000..3d3bf29e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Duration_only_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + -P1Y + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_float.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_float.xml new file mode 100644 index 00000000..8f686e8b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_float.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_01.xml new file mode 100644 index 00000000..d24dacfa --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + -.80E0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_02.xml new file mode 100644 index 00000000..7065ec43 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + -147E7 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_03.xml new file mode 100644 index 00000000..125d2f8e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 18 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_04.xml new file mode 100644 index 00000000..c49bc8b2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + .1532E+16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_05.xml new file mode 100644 index 00000000..5344e21c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + +44.6393 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_06.xml new file mode 100644 index 00000000..7f5c475b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + .5885e-29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_07.xml new file mode 100644 index 00000000..08e1c3e8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1e-7 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_08.xml new file mode 100644 index 00000000..6b31fdc1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + +732.55619 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_09.xml new file mode 100644 index 00000000..12813d96 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + .1E05 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_10.xml new file mode 100644 index 00000000..5e5ef1fb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1102 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_inf.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_inf.xml new file mode 100644 index 00000000..c8d438cc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + INF + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer.xml new file mode 100644 index 00000000..02bf8cdb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..3260f762 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0001234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_normal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_normal.xml new file mode 100644 index 00000000..26f18183 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_normal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 340282346638528859811704183484516925440 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_number_less_than_one.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_number_less_than_one.xml new file mode 100644 index 00000000..f1a9892a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_number_less_than_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0.999999940395355224609375 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_subnormal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_subnormal.xml new file mode 100644 index 00000000..c3b2a369 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_largest_subnormal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..896e0137 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_nan.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_nan.xml new file mode 100644 index 00000000..ca5d4724 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_nan.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + NaN + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_negative_inf.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_negative_inf.xml new file mode 100644 index 00000000..c2c525e6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_negative_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + -INF + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation.xml new file mode 100644 index 00000000..26bff7a3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 12.34e16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative.xml new file mode 100644 index 00000000..7244601e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + -12.34e16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..968aab9f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 12.34e-16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive.xml new file mode 100644 index 00000000..2a65f50d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + +12.34e16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..5c38620f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 12.34e+16 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_number_larger_than_one.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_number_larger_than_one.xml new file mode 100644 index 00000000..8f5471e2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_number_larger_than_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1.00000011920928955078125 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_normal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_normal.xml new file mode 100644 index 00000000..5846ac02 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_normal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_subnormal.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_subnormal.xml new file mode 100644 index 00000000..18876003 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_smallest_positive_subnormal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Float_with_preceding_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_with_preceding_zeros.xml new file mode 100644 index 00000000..43994931 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Float_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 0001234.01234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml new file mode 100644 index 00000000..f9829651 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---31 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_double_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_double_digit_day_without_zone.xml new file mode 100644 index 00000000..39d08c25 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---15 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_01.xml new file mode 100644 index 00000000..40f94f0d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---23Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_02.xml new file mode 100644 index 00000000..5c27c5b6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---24 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_03.xml new file mode 100644 index 00000000..e3498420 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_04.xml new file mode 100644 index 00000000..daec96d9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---30-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_05.xml new file mode 100644 index 00000000..a839c3bf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---31-09:25 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_06.xml new file mode 100644 index 00000000..15373285 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---17Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_07.xml new file mode 100644 index 00000000..2e1f3637 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---30+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_08.xml new file mode 100644 index 00000000..58a5ad05 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---30-10:11 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_09.xml new file mode 100644 index 00000000..cf2c74fc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---22Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_10.xml new file mode 100644 index 00000000..f598d727 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---30Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_negative_offset.xml new file mode 100644 index 00000000..79142456 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01-04:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_positive_offset.xml new file mode 100644 index 00000000..97ae464a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_single_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_single_digit_day_without_zone.xml new file mode 100644 index 00000000..86c526f6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_utc_zone.xml new file mode 100644 index 00000000..1ab81baf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_zero_offset.xml new file mode 100644 index 00000000..b36afef5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_day_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml new file mode 100644 index 00000000..d5feefcd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-14 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..64d178e2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml new file mode 100644 index 00000000..f906fd64 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --02-29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_01.xml new file mode 100644 index 00000000..46f70f55 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-20 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_02.xml new file mode 100644 index 00000000..528eb105 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --12-06 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_03.xml new file mode 100644 index 00000000..d377654e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --12-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_04.xml new file mode 100644 index 00000000..d7c8f3af --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-21+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_05.xml new file mode 100644 index 00000000..8fcbfa8c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --10-07 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_06.xml new file mode 100644 index 00000000..b34bac0c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --10-30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_07.xml new file mode 100644 index 00000000..daa4f14b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --12-27 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_08.xml new file mode 100644 index 00000000..c19f15a6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --04-30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_09.xml new file mode 100644 index 00000000..fbb3d397 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --10-10-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_10.xml new file mode 100644 index 00000000..984e4e8e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --10-11Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_negative_offset.xml new file mode 100644 index 00000000..e1ac32fc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01-04:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_positive_offset.xml new file mode 100644 index 00000000..7b74c17b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..0e321041 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --05-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_utc_zone.xml new file mode 100644 index 00000000..21a5f2c8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_zero_offset.xml new file mode 100644 index 00000000..7b74c17b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_day_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_double_digit_month_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_double_digit_month_without_zone.xml new file mode 100644 index 00000000..894183cd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_double_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_01.xml new file mode 100644 index 00000000..4a135091 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-13:34 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_02.xml new file mode 100644 index 00000000..83c2cd7e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --10+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_03.xml new file mode 100644 index 00000000..e3c1af3b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --10+07:39 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_04.xml new file mode 100644 index 00000000..f2105dd8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-05:22 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_05.xml new file mode 100644 index 00000000..cfd4d85e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_06.xml new file mode 100644 index 00000000..d6840fb3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --12Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_07.xml new file mode 100644 index 00000000..ec857d8c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --10-13:30 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_08.xml new file mode 100644 index 00000000..7c8bc471 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --07 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_09.xml new file mode 100644 index 00000000..be3df324 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-10:05 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_10.xml new file mode 100644 index 00000000..f2a42e40 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+12:33 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_negative_offset.xml new file mode 100644 index 00000000..ecc31c7d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-04:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_positive_offset.xml new file mode 100644 index 00000000..2d65f811 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_single_digit_month_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_single_digit_month_without_zone.xml new file mode 100644 index 00000000..84979d68 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_single_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --05 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_utc_zone.xml new file mode 100644 index 00000000..7cd1ed84 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_zero_offset.xml new file mode 100644 index 00000000..9dda6af3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_month_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_negative_year.xml new file mode 100644 index 00000000..29e78389 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -20000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_year.xml new file mode 100644 index 00000000..42c35703 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_five_digit_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 20000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_01.xml new file mode 100644 index 00000000..8612ab4f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 0740-07:36 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_02.xml new file mode 100644 index 00000000..b903e621 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 125774274 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_03.xml new file mode 100644 index 00000000..a89c8179 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -0444 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_04.xml new file mode 100644 index 00000000..8f093a20 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 0000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_05.xml new file mode 100644 index 00000000..2920a4f5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -0111+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_06.xml new file mode 100644 index 00000000..e9c56006 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 11111 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_07.xml new file mode 100644 index 00000000..29bdd4a3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 973419862 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_08.xml new file mode 100644 index 00000000..3f6284c7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 1717608219759Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_09.xml new file mode 100644 index 00000000..ff2fc25c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -0863 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_10.xml new file mode 100644 index 00000000..68d2c919 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -0109+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_common_year_month.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_common_year_month.xml new file mode 100644 index 00000000..6d55f744 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_common_year_month.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_five_digit_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_five_digit_negative_year.xml new file mode 100644 index 00000000..889faa9d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -20000-04 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_01.xml new file mode 100644 index 00000000..ac442709 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -65822-10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_02.xml new file mode 100644 index 00000000..f728e4c3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0730-10-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_03.xml new file mode 100644 index 00000000..0c331368 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -4111-11Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_04.xml new file mode 100644 index 00000000..d7ec601f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 1000-01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_05.xml new file mode 100644 index 00000000..0819dfe9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0010-09-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_06.xml new file mode 100644 index 00000000..db7c909f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0555-07 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_07.xml new file mode 100644 index 00000000..c130fc9b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0404-11-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_08.xml new file mode 100644 index 00000000..240fdd2e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -0882-11+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_09.xml new file mode 100644 index 00000000..4a9e8372 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -0230-09Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_10.xml new file mode 100644 index 00000000..14206dc1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 0119-12-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_negative_year.xml new file mode 100644 index 00000000..c8d155dc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -2001-10 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_negative_year.xml new file mode 100644 index 00000000..36402d77 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + -123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_positive_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_positive_year.xml new file mode 100644 index 00000000..0f245363 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_negative_offset.xml new file mode 100644 index 00000000..be9720aa --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10-02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_positive_offset.xml new file mode 100644 index 00000000..3dbed6d7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_utc_zone.xml new file mode 100644 index 00000000..a50c89dd --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_zero_offset.xml new file mode 100644 index 00000000..93dcf237 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_month_with_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_offset.xml new file mode 100644 index 00000000..9ae34126 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001-04:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_year.xml new file mode 100644 index 00000000..0cf70d5b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -2001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_positive_offset.xml new file mode 100644 index 00000000..c42ede50 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_utc_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_utc_zone.xml new file mode 100644 index 00000000..64d411aa --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_utc_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_negative_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_negative_year.xml new file mode 100644 index 00000000..db694bdf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + -123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_positive_year.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_positive_year.xml new file mode 100644 index 00000000..2e674889 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_year_without_zone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_year_without_zone.xml new file mode 100644 index 00000000..d9d7c4ef --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_year_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_zero_offset.xml new file mode 100644 index 00000000..c339597a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/G_year_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_empty.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_empty.xml new file mode 100644 index 00000000..0bf7f5c3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_01.xml new file mode 100644 index 00000000..eb577349 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + f22fF9004a6D9AD1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_02.xml new file mode 100644 index 00000000..86e74126 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_03.xml new file mode 100644 index 00000000..cd52c447 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + FFFFfef3CB + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_04.xml new file mode 100644 index 00000000..2de62e9c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + A8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_05.xml new file mode 100644 index 00000000..1727dc3c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 3C3C82 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_06.xml new file mode 100644 index 00000000..2eed3eb6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 23ee + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_07.xml new file mode 100644 index 00000000..86e74126 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_08.xml new file mode 100644 index 00000000..3244714f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_09.xml new file mode 100644 index 00000000..3244714f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_10.xml new file mode 100644 index 00000000..73906e14 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + C4E02bbC + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_long_random_hex.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_long_random_hex.xml new file mode 100644 index 00000000..92e05177 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_long_random_hex.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_one.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_one.xml new file mode 100644 index 00000000..85026856 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 11 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two.xml new file mode 100644 index 00000000..9dd6648f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 12 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two_three_four.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two_three_four.xml new file mode 100644 index 00000000..3057534b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Hex_binary_one_two_three_four.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 1234 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_common_example.xml new file mode 100644 index 00000000..131aafc1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_explicitly_positive.xml new file mode 100644 index 00000000..16a8a923 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_01.xml new file mode 100644 index 00000000..2be489bc --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_02.xml new file mode 100644 index 00000000..ceacddda --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_03.xml new file mode 100644 index 00000000..c56e3ef9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 000000000000069268 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_04.xml new file mode 100644 index 00000000..63a0b9c4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + +478978 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_05.xml new file mode 100644 index 00000000..e9f5a2a4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 7097 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_06.xml new file mode 100644 index 00000000..ff75c0d4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 68 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_07.xml new file mode 100644 index 00000000..b860f4ab --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + +0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_08.xml new file mode 100644 index 00000000..a6d7bdf7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 6612453 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_09.xml new file mode 100644 index 00000000..67c25913 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_10.xml new file mode 100644 index 00000000..afa54482 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + +0000000946381 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_max.xml new file mode 100644 index 00000000..599ec210 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 2147483647 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_min.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_min.xml new file mode 100644 index 00000000..2c0a9c34 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_min.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -2147483648 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_negative.xml new file mode 100644 index 00000000..57f05eb1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_prefixed_with_zeros.xml new file mode 100644 index 00000000..0cd23bb3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero.xml new file mode 100644 index 00000000..4c46de70 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..7ceda516 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_common_example.xml new file mode 100644 index 00000000..a3e72d1d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_explicitly_positive.xml new file mode 100644 index 00000000..30efa850 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_01.xml new file mode 100644 index 00000000..016c1def --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 817778847926480 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_02.xml new file mode 100644 index 00000000..e9e0a9ad --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + +022 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_03.xml new file mode 100644 index 00000000..9bbf9d5d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -43045 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_04.xml new file mode 100644 index 00000000..79785a53 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -3009 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_05.xml new file mode 100644 index 00000000..63565547 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_06.xml new file mode 100644 index 00000000..f018091d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_07.xml new file mode 100644 index 00000000..892c71d1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_08.xml new file mode 100644 index 00000000..eae8156c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 221 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_09.xml new file mode 100644 index 00000000..eb2a6eaf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 9191 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_10.xml new file mode 100644 index 00000000..fe732319 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -3909 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_negative.xml new file mode 100644 index 00000000..598dc39b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..bea0733b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_very_large.xml new file mode 100644 index 00000000..33fb7d5b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero.xml new file mode 100644 index 00000000..63565547 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..bf627400 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_common_example.xml new file mode 100644 index 00000000..c9063045 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_explicitly_positive.xml new file mode 100644 index 00000000..00017847 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_01.xml new file mode 100644 index 00000000..d5178532 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -002728 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_02.xml new file mode 100644 index 00000000..ba0a089d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 6257 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_03.xml new file mode 100644 index 00000000..20a54f52 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 088 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_04.xml new file mode 100644 index 00000000..803c6c3a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 29 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_05.xml new file mode 100644 index 00000000..660d8191 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -288 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_06.xml new file mode 100644 index 00000000..ebf0d989 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 004775 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_07.xml new file mode 100644 index 00000000..bc2457d8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 2912577609592844 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_08.xml new file mode 100644 index 00000000..de43af74 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -0161 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_09.xml new file mode 100644 index 00000000..18c0ee6a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 00000000000048533 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_10.xml new file mode 100644 index 00000000..34c71a1f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 3116670676 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_max.xml new file mode 100644 index 00000000..3dadbeef --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 9223372036854775807 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_min.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_min.xml new file mode 100644 index 00000000..9902fe00 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_min.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -9223372036854775808 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_negative.xml new file mode 100644 index 00000000..6df59b9c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_prefixed_with_zeros.xml new file mode 100644 index 00000000..9903eb70 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero.xml new file mode 100644 index 00000000..2b5187e7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..baeab8d1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..a1016bb8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..c3ea2dd9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -002 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..6510c78c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -009 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..69ba568b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -8 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..062faa26 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..7120c162 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -00000000000000000000000516481 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..8f8191ee --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -003 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..ca5f7754 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -00126 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..631aa85c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..45926f2b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_negative.xml new file mode 100644 index 00000000..062faa26 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..a1016bb8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_very_large.xml new file mode 100644 index 00000000..3681f084 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_common_example.xml new file mode 100644 index 00000000..ed76ad03 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..855bd1c5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml new file mode 100644 index 00000000..ba151c21 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..645e72fe --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +4 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..a779f270 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 00018 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..1e4f96f5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 22777 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..1e9e1801 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 22077 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..39425153 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +06 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..84919d13 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 09 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..d0a91318 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..7f8cf1b4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +5739 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..4cc41c92 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +70126 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..80aefcc6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 05688 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_minus_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_minus_zero.xml new file mode 100644 index 00000000..888be0f6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_minus_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + -0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_positive_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_positive_zero.xml new file mode 100644 index 00000000..c0e4ddb2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_positive_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + +0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..2c907d9c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_very_large.xml new file mode 100644 index 00000000..d0b41aa3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero.xml new file mode 100644 index 00000000..d60e3414 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..abf2f725 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..31c9c7c8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..c231d1d9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -51 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..745b4d69 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -8908938 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..5a5a776b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..31c9c7c8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..e8b467ad --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -4006 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..478df763 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -83 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..c236a2a5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -004 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..506b0404 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -551521749598676413553 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..b3479739 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -12116166 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..5a5a776b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_negative.xml new file mode 100644 index 00000000..77024cd2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..650af678 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_very_large.xml new file mode 100644 index 00000000..17c37782 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_zero.xml new file mode 100644 index 00000000..e334e924 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Non_positive_integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_common_example.xml new file mode 100644 index 00000000..224d0039 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..78c66860 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..1f370345 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 550788 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..71323485 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 7775 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..32f80ffb --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + +87138 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..785207e1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 8093888718 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..f666fe97 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 01145 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..95a5b3f8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..980fddd4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + +57345 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..1d46edb5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 54691 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..f28fdd0b --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + +01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..a1a12899 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 3 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..321869b0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_very_large.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_very_large.xml new file mode 100644 index 00000000..e3670d15 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_common_example.xml new file mode 100644 index 00000000..2ec761f8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_explicitly_positive.xml new file mode 100644 index 00000000..20d7fabe --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_01.xml new file mode 100644 index 00000000..d0653f60 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 9 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_02.xml new file mode 100644 index 00000000..1ffbc008 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_03.xml new file mode 100644 index 00000000..20d7fabe --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_04.xml new file mode 100644 index 00000000..0368684d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 8801 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_05.xml new file mode 100644 index 00000000..3126d5de --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 125 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_06.xml new file mode 100644 index 00000000..a1b9774d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 20518 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_07.xml new file mode 100644 index 00000000..184f34b3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 60 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_08.xml new file mode 100644 index 00000000..5b03dee0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + -01 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_09.xml new file mode 100644 index 00000000..324986d4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + +31923 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_10.xml new file mode 100644 index 00000000..94e2b369 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 22 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_max.xml new file mode 100644 index 00000000..6cca1328 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 32767 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_min.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_min.xml new file mode 100644 index 00000000..638e93be --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_min.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + -32768 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_negative.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_negative.xml new file mode 100644 index 00000000..fa31a8c7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + -1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_prefixed_with_zeros.xml new file mode 100644 index 00000000..0e992376 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero.xml new file mode 100644 index 00000000..a6931043 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..f18809a5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_empty.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_empty.xml new file mode 100644 index 00000000..1a5f7d45 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_free_form_text.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_free_form_text.xml new file mode 100644 index 00000000..ea9c85ef --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + some free & <free> ᦄ form text + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_01.xml new file mode 100644 index 00000000..48c49074 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_02.xml new file mode 100644 index 00000000..1ca1b638 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_03.xml new file mode 100644 index 00000000..9d367300 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_04.xml new file mode 100644 index 00000000..d1025438 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_05.xml new file mode 100644 index 00000000..63f9c37c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + J5 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_06.xml new file mode 100644 index 00000000..670c353d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_07.xml new file mode 100644 index 00000000..cb2e5bc1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 6 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_08.xml new file mode 100644 index 00000000..8717264d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_09.xml new file mode 100644 index 00000000..bd997927 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_10.xml new file mode 100644 index 00000000..098843f2 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/String_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:string + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_common_example.xml new file mode 100644 index 00000000..420943a6 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_01.xml new file mode 100644 index 00000000..3291bc60 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00.00Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_02.xml new file mode 100644 index 00000000..4b288b58 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:19:39.4378+10:53 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_03.xml new file mode 100644 index 00000000..baeaa7e0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:00:12+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_04.xml new file mode 100644 index 00000000..24ccc5c3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00.0Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_05.xml new file mode 100644 index 00000000..aec80e77 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:10:12+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_06.xml new file mode 100644 index 00000000..5c6fec36 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00-14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_07.xml new file mode 100644 index 00000000..71240463 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 20:55:25 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_08.xml new file mode 100644 index 00000000..35871a5f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00-10:44 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_09.xml new file mode 100644 index 00000000..8032794e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00-13:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_10.xml new file mode 100644 index 00000000..f1415bb0 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 24:00:00.000000+14:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_negative_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_negative_offset.xml new file mode 100644 index 00000000..d18996b1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52-02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_positive_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_positive_offset.xml new file mode 100644 index 00000000..92c01995 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52+02:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_long_second_fractional.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_long_second_fractional.xml new file mode 100644 index 00000000..9fd2b381 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_long_second_fractional.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52.12345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_second_fractional.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_second_fractional.xml new file mode 100644 index 00000000..469dff41 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_second_fractional.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52.12679 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_utc_timezone.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_utc_timezone.xml new file mode 100644 index 00000000..e560d8a7 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_with_utc_timezone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 19:32:52Z + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Time_zero_offset.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_zero_offset.xml new file mode 100644 index 00000000..01e38e4e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Time_zero_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52+00:00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_common_example.xml new file mode 100644 index 00000000..341f9843 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml new file mode 100644 index 00000000..04caff11 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml new file mode 100644 index 00000000..a256d974 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 0000000000000000000000000000067 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml new file mode 100644 index 00000000..79927bab --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +130 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml new file mode 100644 index 00000000..608e826a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 232 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml new file mode 100644 index 00000000..64ee4fd3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +110 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml new file mode 100644 index 00000000..bb59d140 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +000000000012 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml new file mode 100644 index 00000000..86c43f9a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 055 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml new file mode 100644 index 00000000..b0e7be7f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 031 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml new file mode 100644 index 00000000..6b4a472a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 0178 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml new file mode 100644 index 00000000..9163cbb3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml new file mode 100644 index 00000000..7d4fb8ff --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + +00000006 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_max.xml new file mode 100644 index 00000000..5b00032a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 255 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..4aaa8a51 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero.xml new file mode 100644 index 00000000..0b07e92d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..914e968a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_common_example.xml new file mode 100644 index 00000000..92359661 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_explicitly_positive.xml new file mode 100644 index 00000000..fcbd19e4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_01.xml new file mode 100644 index 00000000..dadcbd39 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +000832736002 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_02.xml new file mode 100644 index 00000000..44e22491 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 0454 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_03.xml new file mode 100644 index 00000000..15f10fa5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 0000000000001161715506 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_04.xml new file mode 100644 index 00000000..ab77858d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +0006096840 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_05.xml new file mode 100644 index 00000000..7755de75 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 8547 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_06.xml new file mode 100644 index 00000000..81a1ab72 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +092843 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_07.xml new file mode 100644 index 00000000..796966c9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +44 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_08.xml new file mode 100644 index 00000000..08d9b0e8 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +0881299729 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_09.xml new file mode 100644 index 00000000..2426d4a9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +00604 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_10.xml new file mode 100644 index 00000000..782b0218 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + +000101 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_max.xml new file mode 100644 index 00000000..25a9b7da --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 4294967295 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml new file mode 100644 index 00000000..389ffe7f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero.xml new file mode 100644 index 00000000..f7b66a2a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..6a219704 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_common_example.xml new file mode 100644 index 00000000..24e34dbf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_explicitly_positive.xml new file mode 100644 index 00000000..2243c95a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_01.xml new file mode 100644 index 00000000..8ecf7cc5 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_02.xml new file mode 100644 index 00000000..ed1b33ac --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +0013081 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_03.xml new file mode 100644 index 00000000..460e393a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +00008773 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_04.xml new file mode 100644 index 00000000..474cb073 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +000000858 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_05.xml new file mode 100644 index 00000000..23ddc8e3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +000000000002599 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_06.xml new file mode 100644 index 00000000..3e43d7a4 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +0257364527 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_07.xml new file mode 100644 index 00000000..ce1f798a --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +000000038893 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_08.xml new file mode 100644 index 00000000..aadd554e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +0000000000000111491 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_09.xml new file mode 100644 index 00000000..b152df8c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + +09 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_10.xml new file mode 100644 index 00000000..1f898ebf --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 0012208354443 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_max.xml new file mode 100644 index 00000000..425619e3 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 18446744073709551615 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml new file mode 100644 index 00000000..f962338e --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero.xml new file mode 100644 index 00000000..19baf61f --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..49e4514d --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 000 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_common_example.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_common_example.xml new file mode 100644 index 00000000..d9e4de92 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_common_example.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_explicitly_positive.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_explicitly_positive.xml new file mode 100644 index 00000000..ddaaf8c9 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +1 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_01.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_01.xml new file mode 100644 index 00000000..d426acae --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +00 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_02.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_02.xml new file mode 100644 index 00000000..ea644010 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 06949 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_03.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_03.xml new file mode 100644 index 00000000..02507c18 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 0391 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_04.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_04.xml new file mode 100644 index 00000000..dc7328de --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +000004 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_05.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_05.xml new file mode 100644 index 00000000..7c256829 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 00000000391 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_06.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_06.xml new file mode 100644 index 00000000..54e89514 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +085 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_07.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_07.xml new file mode 100644 index 00000000..b52e6644 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 10233 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_08.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_08.xml new file mode 100644 index 00000000..903ce852 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 044598 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_09.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_09.xml new file mode 100644 index 00000000..4b5bb413 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +00066 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_10.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_10.xml new file mode 100644 index 00000000..ee0a65e1 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + +00000000000000000000003250 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_max.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_max.xml new file mode 100644 index 00000000..fac9db33 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_max.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 65535 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml new file mode 100644 index 00000000..27923195 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 001 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero.xml new file mode 100644 index 00000000..780cac7c --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 0 + diff --git a/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..4cbfba96 --- /dev/null +++ b/test_data/Xml/Expected/extension/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 000 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..29541407 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..e1d42123 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b2df9c82 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..6617f4e1 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..2300d79a --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ac01adea --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..51cd8ee0 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..c98a8c77 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..68fc7e28 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..6b4e7086 --- /dev/null +++ b/test_data/Xml/Expected/file/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dash.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dash.xml new file mode 100644 index 00000000..8b6a3c7e --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dash.xml @@ -0,0 +1,3 @@ + + application/x-abiword + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dots.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dots.xml new file mode 100644 index 00000000..51e95383 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/dots.xml @@ -0,0 +1,3 @@ + + application/vnd.amazon.ebook + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..ec01c327 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 7/6qwqh6g + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..87fbef30 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15j/5j + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..59cc92f0 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + 'VbrwFrYTU/fO7NnLxq ; MX.`10dB732`X5yRy=I56Ov9Us ; pRb~~hdw_C%2Zf="" ; h=1t + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/number prefix and suffix.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/number prefix and suffix.xml new file mode 100644 index 00000000..fc985862 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/number prefix and suffix.xml @@ -0,0 +1,3 @@ + + audio/3gpp2 + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/only_letters.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/only_letters.xml new file mode 100644 index 00000000..591ea176 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/only_letters.xml @@ -0,0 +1,3 @@ + + audio/aac + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/plus.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/plus.xml new file mode 100644 index 00000000..83f0e9ab --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/plus.xml @@ -0,0 +1,3 @@ + + application/vnd.apple.installer+xml + diff --git a/test_data/Xml/Expected/file/contentTypeOverPatternExamples/random_common_MIME_type.xml b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/random_common_MIME_type.xml new file mode 100644 index 00000000..8b7c2975 --- /dev/null +++ b/test_data/Xml/Expected/file/contentTypeOverPatternExamples/random_common_MIME_type.xml @@ -0,0 +1,3 @@ + + application/something-random + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..b94da9fb --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..3ca17d40 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..db489a05 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..c42a5ab9 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..71f7d635 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2d99e766 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..02e46118 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0950bf03 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..2b8151a4 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..839cbb71 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8e67eb4c --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..fe9dd579 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..7a4b4a8e --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..e75621c7 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..599638c0 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..5f17dbc9 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..e303aa25 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..6fb62264 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..21e6bec5 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..6a02f472 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/file/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/file/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..1d278cf8 --- /dev/null +++ b/test_data/Xml/Expected/file/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/file/maximal.xml b/test_data/Xml/Expected/file/maximal.xml new file mode 100644 index 00000000..45f3fd47 --- /dev/null +++ b/test_data/Xml/Expected/file/maximal.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Expected/file/minimal.xml b/test_data/Xml/Expected/file/minimal.xml new file mode 100644 index 00000000..0cef4dbc --- /dev/null +++ b/test_data/Xml/Expected/file/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..967b97e9 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + #%4b%6AT + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..455aa76d --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + RqjJsrvAJ1Uk:%9d'%8C_%81k,%Fcd?yw,@B,M=.EE%8E + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..3d7fb1a3 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + #/%38%21& + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b4ab21e0 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + //QQ%BF(,xe;A.@%94($,=%38@ + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..9c78aa27 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + /;=:&%30%1a;77@%321%A4%21;%FC:=/;=,=%13y:%2D;+J%c6%bcU%D3;j1G:sg=%EcA%f3/@z%29%B7&B;=#@H%8D=U%FE%5e%22%Db?,+ + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..c8f16233 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..66ecbf97 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + #%6A%6AT + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..69c0d00a --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..2e6b3d7c --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + q2t2uv://777646689268.160810318.01435447069935.47:/%Be/%04@%Cd@P%dc:C$&~x=;%3f9+;;sr-i=p,///;%D5@@x&;V@I%16/+;%e4,@%AA@Ih:%8Dg=%F8P,v%dE%3E%03%62%FB=$R,&%ac%71;u%11l8*;,;$%Faj:;;;%ee$%8b%EC@%4Alo;t,%0b%eB%D5%EA:%De;$$1:@/%8e%0D&9%C8M;@5%28%4E%BC@%34;;@%EC=tL)x(/M%D3%aF&%Ec;=%aa$$j;;%B3@hk=e:%DB%24Z;%F6%9E+%8e;=;%ba;;%b3;;p%f11=%34%c0;#lR:+k%BE4%EB + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9ffa2092 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + #%59T=%e1&&%b4%53EYU?,/q%87%c6He + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_01.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_01.xml new file mode 100644 index 00000000..69f82d58 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_01.xml @@ -0,0 +1,3 @@ + + http://www.example.org + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_02.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_02.xml new file mode 100644 index 00000000..7d1e6d7f --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_02.xml @@ -0,0 +1,3 @@ + + ftp://ftp.is.co.za/rfc/rfc1808.txt + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_03.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_03.xml new file mode 100644 index 00000000..b73299b4 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_03.xml @@ -0,0 +1,3 @@ + + mailto:John.Doe@example.org + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_04.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_04.xml new file mode 100644 index 00000000..24e84a93 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_04.xml @@ -0,0 +1,3 @@ + + news:comp.infosystems.www.servers.unix + diff --git a/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_05.xml b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_05.xml new file mode 100644 index 00000000..975c3741 --- /dev/null +++ b/test_data/Xml/Expected/file/valueOverPatternExamples/made_up_05.xml @@ -0,0 +1,3 @@ + + telnet://192.0.2.16:80/ + diff --git a/test_data/Xml/Expected/key/maximal.xml b/test_data/Xml/Expected/key/maximal.xml new file mode 100644 index 00000000..105c5504 --- /dev/null +++ b/test_data/Xml/Expected/key/maximal.xml @@ -0,0 +1,4 @@ + + EventElement + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/key/minimal.xml b/test_data/Xml/Expected/key/minimal.xml new file mode 100644 index 00000000..92ba7390 --- /dev/null +++ b/test_data/Xml/Expected/key/minimal.xml @@ -0,0 +1,4 @@ + + EventElement + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..2568094a --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + EventElement + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..461f844f --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + EventElement + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..dd1431cd --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + EventElement + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f4d47eb8 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + EventElement + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..c6fc0cc3 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + EventElement + J5 + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..3410e25c --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + EventElement + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..dff12756 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + EventElement + 6 + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..105c5504 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EventElement + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..92ba7390 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + EventElement + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..6615bd78 --- /dev/null +++ b/test_data/Xml/Expected/key/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + EventElement + 0 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..30492636 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..6ee22891 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..925228a3 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..58487227 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..cfcec4bb --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..2241bdc7 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..78c97471 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..6550ca87 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..6903f2c1 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..85ad8ec4 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..18cc0230 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..df957d7b --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..75798d67 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..2c9bf0ec --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..ad4d4df4 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..50e62f6b --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..acf33b91 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..7ab72114 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..d0f67746 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..897bf18c --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..58e82596 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..661c6409 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..9d2a236e --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..ca4ed838 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..8ff0bd2f --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..a7718071 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..86459da9 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..50bde7fe --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..c1ab9630 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..aab51ea8 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..86d876f4 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..2198e140 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..1fa6995c --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/maximal.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/maximal.xml new file mode 100644 index 00000000..3ad5bcba --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/minimal.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/minimal.xml new file mode 100644 index 00000000..3ad5bcba --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..e1b3b67c --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2c66f1e3 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..b203cc0d --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..074ac040 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..3ad5bcba --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..9fe96f2d --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..dae79f4a --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..06605e3d --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..9ce64383 --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..e64d526e --- /dev/null +++ b/test_data/Xml/Expected/langStringDefinitionTypeIec61360/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..acc94455 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..f245cca2 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..f1e0c288 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..47b1d5fc --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..9b515cd3 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..3e67abab --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..56d4e209 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..cbc95b12 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..3d0a846e --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..320b478a --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..f179f97f --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..61ea6f48 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..d94bb4af --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..ff9c2773 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..441595d2 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..ecfe968d --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..c480402a --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..aa1a658b --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..93610b11 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..a7aa77b6 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..c642a6c6 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..67868db1 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..3cfe397c --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..4164e68a --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..9de03888 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..b7a3b90b --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..339fed50 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..80f2e3aa --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..8a357a86 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..aaa36070 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..9ca4d87f --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..5473af2e --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..14b7bd8a --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/maximal.xml b/test_data/Xml/Expected/langStringNameType/maximal.xml new file mode 100644 index 00000000..47f19521 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/minimal.xml b/test_data/Xml/Expected/langStringNameType/minimal.xml new file mode 100644 index 00000000..47f19521 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..c6bc9321 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0e92fa2a --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..31fd186e --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..88e6f8d6 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..47f19521 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..7e0f3201 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1e987b2a --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d51b478c --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..daae723d --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9c9f82c8 --- /dev/null +++ b/test_data/Xml/Expected/langStringNameType/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..840c0d84 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..b7696f52 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..61efd6fc --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..8900126e --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..b00bdc3d --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..8d38fe90 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..494efa3b --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..4121874d --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..a0ce1c3c --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..cfd70f3a --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..bdfa3ac2 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..953f9505 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..ec9209cd --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..7f6a0bbd --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..b3b47a1e --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..3fb1dcfd --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..1eb2ecfe --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..2a9726b0 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..0da73e4d --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..64bb96d5 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..960d3541 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..5f210ded --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..da2105ea --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..95055ac1 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..b0b8e419 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..9d707354 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..70966835 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..881fb556 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..456a05c5 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..c6531b5b --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..c36cbbb0 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..1e53ef1d --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..8c33ecfb --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/maximal.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/maximal.xml new file mode 100644 index 00000000..8e29329c --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/minimal.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/minimal.xml new file mode 100644 index 00000000..8e29329c --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..76eef270 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b370d388 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f1e9f9c3 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..b4519e52 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..8e29329c --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..84c04276 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..e2388a95 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..592c5ac8 --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c593052e --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..961d385d --- /dev/null +++ b/test_data/Xml/Expected/langStringPreferredNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..51bc2be9 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..69f72456 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..93a6c540 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..8aa91ea7 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..531279a3 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..e574eedf --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..72765914 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..13699582 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..ac6c6581 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..5d2cd6e7 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..7e41553d --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..4b40e1b9 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..f82c080d --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..8d93655a --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..9e36df04 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..cdc4e8fa --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..0cc72630 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..2f90b464 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..db408897 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..e6207301 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..cedaf0f3 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..b06494da --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..a318b678 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..1da9347f --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..2fcbafe8 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..23f11d75 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..53da61b7 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..723090e8 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..583677ad --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..e0e9b35b --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..3391a6ee --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..388bf6c5 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..301c3566 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/maximal.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/maximal.xml new file mode 100644 index 00000000..0d101c49 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/minimal.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/minimal.xml new file mode 100644 index 00000000..0d101c49 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b6ae166d --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2a44b642 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..fbd4d3ce --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..135fc581 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..0d101c49 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..3ce71543 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a4e351ec --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..0d8223ae --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..563444c2 --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..cb0fbe5d --- /dev/null +++ b/test_data/Xml/Expected/langStringShortNameTypeIec61360/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_1.xml new file mode 100644 index 00000000..2696f4f4 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_1.xml @@ -0,0 +1,4 @@ + + zh-cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_2.xml new file mode 100644 index 00000000..78fe57a6 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_2.xml @@ -0,0 +1,4 @@ + + cmn-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_3.xml new file mode 100644 index 00000000..c7db3cbe --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_3.xml @@ -0,0 +1,4 @@ + + zh-yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_4.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_4.xml new file mode 100644 index 00000000..c65a1ae8 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/extended_language_subtags_4.xml @@ -0,0 +1,4 @@ + + yue-HK + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_1.xml new file mode 100644 index 00000000..140ee0e7 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_1.xml @@ -0,0 +1,4 @@ + + de-DE + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_2.xml new file mode 100644 index 00000000..cc399643 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_2.xml @@ -0,0 +1,4 @@ + + en-US + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_3.xml new file mode 100644 index 00000000..b55633e3 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_3.xml @@ -0,0 +1,4 @@ + + es-419 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_1.xml new file mode 100644 index 00000000..c504786a --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_1.xml @@ -0,0 +1,4 @@ + + de-CH-1901 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_2.xml new file mode 100644 index 00000000..815ce4bc --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_region_variant_2.xml @@ -0,0 +1,4 @@ + + sl-IT-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_1.xml new file mode 100644 index 00000000..53f93c45 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_1.xml @@ -0,0 +1,4 @@ + + zh-Hans-CN + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_2.xml new file mode 100644 index 00000000..03149bd3 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_2.xml @@ -0,0 +1,4 @@ + + sr-Latn-RS + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_variant.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_variant.xml new file mode 100644 index 00000000..b70d9b28 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_script_region_variant.xml @@ -0,0 +1,4 @@ + + hy-Latn-IT-arevela + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml new file mode 100644 index 00000000..23486b3b --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_1.xml @@ -0,0 +1,4 @@ + + zh-Hant + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml new file mode 100644 index 00000000..748592d0 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_2.xml @@ -0,0 +1,4 @@ + + zh-Hans + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml new file mode 100644 index 00000000..95bd5497 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_3.xml @@ -0,0 +1,4 @@ + + sr-Cyrl + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml new file mode 100644 index 00000000..42cf7425 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_subtag_plus_script_subtag_4.xml @@ -0,0 +1,4 @@ + + sr-Latn + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_1.xml new file mode 100644 index 00000000..f53ef246 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_1.xml @@ -0,0 +1,4 @@ + + sl-rozaj + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_2.xml new file mode 100644 index 00000000..d8f7b2cd --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_2.xml @@ -0,0 +1,4 @@ + + sl-rozaj-biske + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_3.xml new file mode 100644 index 00000000..6abeabe9 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/language_variant_3.xml @@ -0,0 +1,4 @@ + + sl-nedis + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_1.xml new file mode 100644 index 00000000..cd7f998c --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_1.xml @@ -0,0 +1,4 @@ + + x-whatever + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_2.xml new file mode 100644 index 00000000..8e5cc261 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_2.xml @@ -0,0 +1,4 @@ + + qaa-Qaaa-QM-x-southern + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_3.xml new file mode 100644 index 00000000..e22d6fcb --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_3.xml @@ -0,0 +1,4 @@ + + de-Qaaa + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_4.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_4.xml new file mode 100644 index 00000000..a95281b8 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_4.xml @@ -0,0 +1,4 @@ + + sr-Latn-QM + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_5.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_5.xml new file mode 100644 index 00000000..3de66ac3 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_registry_values_5.xml @@ -0,0 +1,4 @@ + + sr-Qaaa-RS + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_1.xml new file mode 100644 index 00000000..0b2407b2 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_1.xml @@ -0,0 +1,4 @@ + + de-CH-x-phonebk + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_2.xml new file mode 100644 index 00000000..1a71ea49 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/private_use_subtags_2.xml @@ -0,0 +1,4 @@ + + az-Arab-x-AZE-derbend + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_1.xml new file mode 100644 index 00000000..74f27690 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_1.xml @@ -0,0 +1,4 @@ + + de + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_2.xml new file mode 100644 index 00000000..d7b0c37f --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_2.xml @@ -0,0 +1,4 @@ + + fr + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_3.xml new file mode 100644 index 00000000..8043ff81 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_3.xml @@ -0,0 +1,4 @@ + + ja + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml new file mode 100644 index 00000000..b5b57eef --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/simple_language_subtag_example_of_a_grandfathered_tag.xml @@ -0,0 +1,4 @@ + + i-enochian + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_1.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_1.xml new file mode 100644 index 00000000..197b4a12 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_1.xml @@ -0,0 +1,4 @@ + + en-US-u-islamcal + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_2.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_2.xml new file mode 100644 index 00000000..66ba0fb2 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_2.xml @@ -0,0 +1,4 @@ + + zh-CN-a-myext-x-private + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_3.xml b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_3.xml new file mode 100644 index 00000000..ccfa45a0 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/languageOverPatternExamples/tag_with_extension_3.xml @@ -0,0 +1,4 @@ + + en-a-myext-b-another + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/maximal.xml b/test_data/Xml/Expected/langStringTextType/maximal.xml new file mode 100644 index 00000000..f8744791 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/maximal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/minimal.xml b/test_data/Xml/Expected/langStringTextType/minimal.xml new file mode 100644 index 00000000..f8744791 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/minimal.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..07cce7fe --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..8c0f8f34 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..638dd564 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..aaa5c3c3 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..f8744791 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..d7410caa --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..83b74e08 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 6 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e5efd4cd --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..78b0ff82 --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..5f15f36e --- /dev/null +++ b/test_data/Xml/Expected/langStringTextType/textOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + 0 + diff --git a/test_data/Xml/Expected/levelType/maximal.xml b/test_data/Xml/Expected/levelType/maximal.xml new file mode 100644 index 00000000..22b87210 --- /dev/null +++ b/test_data/Xml/Expected/levelType/maximal.xml @@ -0,0 +1,6 @@ + + false + true + true + true + diff --git a/test_data/Xml/Expected/levelType/minimal.xml b/test_data/Xml/Expected/levelType/minimal.xml new file mode 100644 index 00000000..b57299b2 --- /dev/null +++ b/test_data/Xml/Expected/levelType/minimal.xml @@ -0,0 +1,6 @@ + + false + false + false + true + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..36e9d280 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a0bb35f3 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7afa6fae --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..20c9a417 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..85c344e6 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..d6b7231b --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..3d3f52ae --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ed49c083 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..60d07a42 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..14f7913e --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..78085798 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..48a79c99 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..c9f2c4f6 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d20fb2bf --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..67ff693c --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f1b0df95 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..76c1eaf3 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..966f6cb2 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..91b485f9 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..e95c17ae --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c919e84a --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9f731904 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..d5195275 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..968abd5b --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..595bea5f --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..10b4aca6 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..5c71e292 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..beee923d --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..60390c62 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..00731998 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..d2c0c95b --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/multiLanguageProperty/maximal.xml b/test_data/Xml/Expected/multiLanguageProperty/maximal.xml new file mode 100644 index 00000000..ecedb669 --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/maximal.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Expected/multiLanguageProperty/minimal.xml b/test_data/Xml/Expected/multiLanguageProperty/minimal.xml new file mode 100644 index 00000000..b7c1efcd --- /dev/null +++ b/test_data/Xml/Expected/multiLanguageProperty/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..c43a7c62 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d5cc9c3c --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..15615535 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..79f5caf1 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..124aef2a --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..61a3bb7b --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..23f333ea --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..21fe55da --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..bbacf435 --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..e8a24d1a --- /dev/null +++ b/test_data/Xml/Expected/operation/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..1e46a0f6 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..101d6377 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..e6fa0dde --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f57a13a2 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..0f6017c0 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d04c00ec --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..c7dfcc6e --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..9cee5ba7 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..87712c25 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..b566ca0b --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..855f3bed --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9cb7069c --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..e2ada079 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..17e36e59 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..bb95207d --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..bef1bf90 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..9dc3c22a --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..41ae314b --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..87ffc889 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..7438e183 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/operation/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/operation/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..319dfec5 --- /dev/null +++ b/test_data/Xml/Expected/operation/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/operation/maximal.xml b/test_data/Xml/Expected/operation/maximal.xml new file mode 100644 index 00000000..31a01e28 --- /dev/null +++ b/test_data/Xml/Expected/operation/maximal.xml @@ -0,0 +1,189 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Expected/operation/minimal.xml b/test_data/Xml/Expected/operation/minimal.xml new file mode 100644 index 00000000..b415f296 --- /dev/null +++ b/test_data/Xml/Expected/operation/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/operationVariable/maximal.xml b/test_data/Xml/Expected/operationVariable/maximal.xml new file mode 100644 index 00000000..d791d20f --- /dev/null +++ b/test_data/Xml/Expected/operationVariable/maximal.xml @@ -0,0 +1,8 @@ + + + + something1d0edd81 + Capability + + + diff --git a/test_data/Xml/Expected/operationVariable/minimal.xml b/test_data/Xml/Expected/operationVariable/minimal.xml new file mode 100644 index 00000000..d791d20f --- /dev/null +++ b/test_data/Xml/Expected/operationVariable/minimal.xml @@ -0,0 +1,8 @@ + + + + something1d0edd81 + Capability + + + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..339e6ec4 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..7ad46e07 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..cf209994 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..9bad1448 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..db573c58 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..0dd941b7 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..9a6a4009 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..1c18afb7 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..8d2a6ff1 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..6c9d7f01 --- /dev/null +++ b/test_data/Xml/Expected/property/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..beda8052 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..37abbd37 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b6585bc4 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..51327f0f --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..2713c32e --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..8c533155 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..167a93c8 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..206a89da --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..abea18a8 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..8751d44c --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..580bc41d --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..9cde49f6 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..dd847675 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..cb0a79a7 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..124bcbdd --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..f4cfba93 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..6b744aa5 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..fada2180 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..5acc2f97 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..26b89fb9 --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + xs:gDay + diff --git a/test_data/Xml/Expected/property/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/property/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..50fdcf4a --- /dev/null +++ b/test_data/Xml/Expected/property/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + xs:gDay + diff --git a/test_data/Xml/Expected/property/maximal.xml b/test_data/Xml/Expected/property/maximal.xml new file mode 100644 index 00000000..b8e20e6e --- /dev/null +++ b/test_data/Xml/Expected/property/maximal.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Expected/property/minimal.xml b/test_data/Xml/Expected/property/minimal.xml new file mode 100644 index 00000000..a55cd9a8 --- /dev/null +++ b/test_data/Xml/Expected/property/minimal.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_URI.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_URI.xml new file mode 100644 index 00000000..6163da29 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_URI.xml @@ -0,0 +1,4 @@ + + xs:anyURI + https://github.com/aas-core-works/aas-core-codegen + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml new file mode 100644 index 00000000..dc74a03a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml @@ -0,0 +1,4 @@ + + xs:anyURI + /path/to/somewhere + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_empty.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_empty.xml new file mode 100644 index 00000000..5e60342a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_empty.xml @@ -0,0 +1,4 @@ + + xs:anyURI + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_01.xml new file mode 100644 index 00000000..131d308f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:anyURI + # + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_02.xml new file mode 100644 index 00000000..b6a84f9d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:anyURI + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_03.xml new file mode 100644 index 00000000..d9410598 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:anyURI + A:// + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_04.xml new file mode 100644 index 00000000..5e60342a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:anyURI + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_05.xml new file mode 100644 index 00000000..ed74b141 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:anyURI + #;+; + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_06.xml new file mode 100644 index 00000000..c7db5b55 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:anyURI + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_07.xml new file mode 100644 index 00000000..f0f670f7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:anyURI + q%7E~@$=l#%f6,&;& + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_08.xml new file mode 100644 index 00000000..6c0b5fcb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:anyURI + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_09.xml new file mode 100644 index 00000000..691753c3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:anyURI + #b%39DX%f9a%76u%da%A1@%a9%D3n + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_10.xml new file mode 100644 index 00000000..c8e2b19b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:anyURI + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_integer.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_integer.xml new file mode 100644 index 00000000..171b0261 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_integer.xml @@ -0,0 +1,4 @@ + + xs:anyURI + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml new file mode 100644 index 00000000..ae81f55f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml @@ -0,0 +1,4 @@ + + xs:anyURI + path/to/somewhere + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml new file mode 100644 index 00000000..e8f7cdeb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml new file mode 100644 index 00000000..87d55f7b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0F+40A== + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_01.xml new file mode 100644 index 00000000..b42ecf00 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_02.xml new file mode 100644 index 00000000..a7cc4889 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_03.xml new file mode 100644 index 00000000..7c8b9df9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + n3wT + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_04.xml new file mode 100644 index 00000000..d84374e8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + wfw E + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_05.xml new file mode 100644 index 00000000..f3b6bf66 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + jj5 n + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_06.xml new file mode 100644 index 00000000..7d3632ae --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + j j5 n + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_07.xml new file mode 100644 index 00000000..34e91575 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + S w SO 5 S5r + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_08.xml new file mode 100644 index 00000000..61bbafef --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + UBU iUBU iQ n cy q 7wK + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_09.xml new file mode 100644 index 00000000..1cc52b51 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + HU UH + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_10.xml new file mode 100644 index 00000000..58156bbc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 00000000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml new file mode 100644 index 00000000..cb5b697b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0 FB8 0F+9 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml new file mode 100644 index 00000000..26cb8ddd --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0fb8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml new file mode 100644 index 00000000..665b6141 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0FB8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_as_number.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_as_number.xml new file mode 100644 index 00000000..ea9a75ed --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_as_number.xml @@ -0,0 +1,4 @@ + + xs:boolean + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_in_letters.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_in_letters.xml new file mode 100644 index 00000000..8a8d35f4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_false_in_letters.xml @@ -0,0 +1,4 @@ + + xs:boolean + false + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_as_number.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_as_number.xml new file mode 100644 index 00000000..5066841a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_as_number.xml @@ -0,0 +1,4 @@ + + xs:boolean + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_in_letters.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_in_letters.xml new file mode 100644 index 00000000..7e3fd5a3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Boolean_true_in_letters.xml @@ -0,0 +1,4 @@ + + xs:boolean + true + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_common_example.xml new file mode 100644 index 00000000..ca19ae6c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_common_example.xml @@ -0,0 +1,4 @@ + + xs:byte + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_explicitly_positive.xml new file mode 100644 index 00000000..74866b2d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:byte + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_01.xml new file mode 100644 index 00000000..867970fc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:byte + 05 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_02.xml new file mode 100644 index 00000000..e9079747 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:byte + 000110 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_03.xml new file mode 100644 index 00000000..fe75a173 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:byte + +00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_04.xml new file mode 100644 index 00000000..894f2b0c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:byte + -108 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_05.xml new file mode 100644 index 00000000..f903f706 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:byte + 0001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_06.xml new file mode 100644 index 00000000..8376724f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:byte + 103 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_07.xml new file mode 100644 index 00000000..bf3fbecf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:byte + 06 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_08.xml new file mode 100644 index 00000000..340f407c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:byte + +0000002 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_09.xml new file mode 100644 index 00000000..cbe40e70 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:byte + 000000006 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_10.xml new file mode 100644 index 00000000..1a71e641 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:byte + -00011 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_max.xml new file mode 100644 index 00000000..963cf683 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_max.xml @@ -0,0 +1,4 @@ + + xs:byte + 127 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_min.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_min.xml new file mode 100644 index 00000000..d2f7d6d2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_min.xml @@ -0,0 +1,4 @@ + + xs:byte + -128 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_negative.xml new file mode 100644 index 00000000..71efd05a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_negative.xml @@ -0,0 +1,4 @@ + + xs:byte + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..bfc07804 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:byte + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero.xml new file mode 100644 index 00000000..c4dab246 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero.xml @@ -0,0 +1,4 @@ + + xs:byte + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..5701e611 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:byte + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date.xml new file mode 100644 index 00000000..9a0c9d3c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_negative_year.xml new file mode 100644 index 00000000..40be4168 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_negative_year.xml @@ -0,0 +1,4 @@ + + xs:date + -12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_positive_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_positive_year.xml new file mode 100644 index 00000000..9a4b0fcc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_large_positive_year.xml @@ -0,0 +1,4 @@ + + xs:date + 12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_negative_offset.xml new file mode 100644 index 00000000..c4295aae --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01-02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_positive_offset.xml new file mode 100644 index 00000000..c94e4609 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01+02:34 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_utc.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_utc.xml new file mode 100644 index 00000000..f22ef1cb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_utc.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_zero_offset.xml new file mode 100644 index 00000000..6093c7cc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_date_with_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_01.xml new file mode 100644 index 00000000..c1f75f3d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:date + 0705-04-10+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_02.xml new file mode 100644 index 00000000..37c166dc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:date + -0236-12-31Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_03.xml new file mode 100644 index 00000000..ecce6145 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:date + 9088-11-06 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_04.xml new file mode 100644 index 00000000..bd596f29 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:date + -7506-08-02 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_05.xml new file mode 100644 index 00000000..45eca843 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:date + -3637143-04-09 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_06.xml new file mode 100644 index 00000000..e06d3341 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:date + -0311-11-30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_07.xml new file mode 100644 index 00000000..060f44ba --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:date + -0844-11-30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_08.xml new file mode 100644 index 00000000..5b207be7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:date + 0111-04-04 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_09.xml new file mode 100644 index 00000000..19e53302 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:date + 0412-04-08-10:58 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_10.xml new file mode 100644 index 00000000..cf9d9dfb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:date + 0520-01-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_UTC.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_UTC.xml new file mode 100644 index 00000000..3aae031c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_UTC.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml new file mode 100644 index 00000000..7bddea70 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml new file mode 100644 index 00000000..fc244f30 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml new file mode 100644 index 00000000..d1235ad6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03.0123456789Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml new file mode 100644 index 00000000..bb569ccf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml new file mode 100644 index 00000000..663b32d9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml new file mode 100644 index 00000000..bb569ccf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_without_zone.xml new file mode 100644 index 00000000..b9ca441a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_date_time_without_zone.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_01.xml new file mode 100644 index 00000000..0e49f9be --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0811-10-21T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_02.xml new file mode 100644 index 00000000..f4e59b17 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0819-11-21T24:00:00.00Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_03.xml new file mode 100644 index 00000000..1cbcd7be --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -665280014-06-30T21:15:16Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_04.xml new file mode 100644 index 00000000..879ac0fe --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0811-11-21T24:00:00.0000Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_05.xml new file mode 100644 index 00000000..b2a25422 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 0532-09-07T18:47:52+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_06.xml new file mode 100644 index 00000000..f5e0f518 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 0707-11-02T24:00:00.00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_07.xml new file mode 100644 index 00000000..6b6a0391 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0003-12-20T22:53:54.02567 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_08.xml new file mode 100644 index 00000000..64221ab8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -1092-02-25T24:00:00.0000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_09.xml new file mode 100644 index 00000000..151088f0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -6602-06-30T24:00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_10.xml new file mode 100644 index 00000000..dcbae2fa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -2111111-08-31T23:58:19.269348 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_24_hours.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_24_hours.xml new file mode 100644 index 00000000..dc49505c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_24_hours.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T24:00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_zeros.xml new file mode 100644 index 00000000..33c535e7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_midnight_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T00:00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..9deb64fb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0001-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..482e017f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0005-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..6716dc90 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,4 @@ + + xs:date + -0001-02-29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..6f3100a3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,4 @@ + + xs:date + -0005-02-29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal.xml new file mode 100644 index 00000000..01370986 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal.xml @@ -0,0 +1,4 @@ + + xs:decimal + 1234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml new file mode 100644 index 00000000..19a0295a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml @@ -0,0 +1,4 @@ + + xs:decimal + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml new file mode 100644 index 00000000..ca552159 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:decimal + 0001234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_01.xml new file mode 100644 index 00000000..e8d74cdf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:decimal + .33324 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_02.xml new file mode 100644 index 00000000..5fbb0f75 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:decimal + 01195 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_03.xml new file mode 100644 index 00000000..55cfd799 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:decimal + +875 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_04.xml new file mode 100644 index 00000000..bff3a7d0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:decimal + -8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_05.xml new file mode 100644 index 00000000..01b176de --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:decimal + -0.0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_06.xml new file mode 100644 index 00000000..b3cb3010 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:decimal + -13522106 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_07.xml new file mode 100644 index 00000000..5b63b127 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:decimal + +10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_08.xml new file mode 100644 index 00000000..cf0c3d35 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:decimal + -030725 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_09.xml new file mode 100644 index 00000000..792169b9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:decimal + .3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_10.xml new file mode 100644 index 00000000..90390eaf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:decimal + 0061707 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer.xml new file mode 100644 index 00000000..3b380b88 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer.xml @@ -0,0 +1,4 @@ + + xs:decimal + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..49fcdf19 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:decimal + 0001234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_very_large_decimal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_very_large_decimal.xml new file mode 100644 index 00000000..f641fea0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Decimal_very_large_decimal.xml @@ -0,0 +1,4 @@ + + xs:decimal + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_double.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_double.xml new file mode 100644 index 00000000..d130484d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_double.xml @@ -0,0 +1,4 @@ + + xs:double + 1234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_01.xml new file mode 100644 index 00000000..5a4b8534 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:double + .1118 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_02.xml new file mode 100644 index 00000000..8fb8b3b1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:double + -.662 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_03.xml new file mode 100644 index 00000000..66bd6e2b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:double + .0E0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_04.xml new file mode 100644 index 00000000..1d685b83 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:double + .4 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_05.xml new file mode 100644 index 00000000..35cec710 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:double + .11 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_06.xml new file mode 100644 index 00000000..96150ddc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:double + +76E-86 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_07.xml new file mode 100644 index 00000000..8fb8b3b1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:double + -.662 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_08.xml new file mode 100644 index 00000000..6069aca7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:double + 1e+7 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_09.xml new file mode 100644 index 00000000..56f89e2c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:double + -.66E-45 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_10.xml new file mode 100644 index 00000000..0d1936fc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:double + 140206134 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_inf.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_inf.xml new file mode 100644 index 00000000..7d93e799 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_inf.xml @@ -0,0 +1,4 @@ + + xs:double + INF + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer.xml new file mode 100644 index 00000000..be0961af --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer.xml @@ -0,0 +1,4 @@ + + xs:double + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..1b1a2364 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_integer_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:double + 0001234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..9bfd9fb8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,4 @@ + + xs:double + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_lowest.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_lowest.xml new file mode 100644 index 00000000..ae9c863a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_lowest.xml @@ -0,0 +1,4 @@ + + xs:double + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_max.xml new file mode 100644 index 00000000..3f8dc439 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_max.xml @@ -0,0 +1,4 @@ + + xs:double + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_minus_inf.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_minus_inf.xml new file mode 100644 index 00000000..07442005 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_minus_inf.xml @@ -0,0 +1,4 @@ + + xs:double + -INF + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_nan.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_nan.xml new file mode 100644 index 00000000..32aec560 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_nan.xml @@ -0,0 +1,4 @@ + + xs:double + NaN + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation.xml new file mode 100644 index 00000000..9805ddb8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation.xml @@ -0,0 +1,4 @@ + + xs:double + 12.34e56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative.xml new file mode 100644 index 00000000..1321e91d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative.xml @@ -0,0 +1,4 @@ + + xs:double + -12.34e56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..b8efe7e6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml @@ -0,0 +1,4 @@ + + xs:double + 12.34e-56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive.xml new file mode 100644 index 00000000..a6b0ac38 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive.xml @@ -0,0 +1,4 @@ + + xs:double + +12.34e56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..b84b279f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml @@ -0,0 +1,4 @@ + + xs:double + 12.34e+56 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_large_normal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_large_normal.xml new file mode 100644 index 00000000..7d27e5d9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_large_normal.xml @@ -0,0 +1,4 @@ + + xs:double + 2e307 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_precise_subnormal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_precise_subnormal.xml new file mode 100644 index 00000000..f7e3a820 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_very_precise_subnormal.xml @@ -0,0 +1,4 @@ + + xs:double + 2e-307 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Double_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Double_with_preceding_zeros.xml new file mode 100644 index 00000000..29c4b142 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Double_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:double + 0001234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_day_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_day_seconds.xml new file mode 100644 index 00000000..cb71e578 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_day_seconds.xml @@ -0,0 +1,4 @@ + + xs:duration + P1DT2S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_full.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_full.xml new file mode 100644 index 00000000..3463da5d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_full.xml @@ -0,0 +1,4 @@ + + xs:duration + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_01.xml new file mode 100644 index 00000000..769613c1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:duration + -P009D + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_02.xml new file mode 100644 index 00000000..70445f92 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:duration + P5Y36660767143M + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_03.xml new file mode 100644 index 00000000..e92e342d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:duration + -PT01332.1S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_04.xml new file mode 100644 index 00000000..bfe0f322 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:duration + -P11DT142M + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_05.xml new file mode 100644 index 00000000..f96fb740 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:duration + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_06.xml new file mode 100644 index 00000000..99b228ee --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:duration + -P1M923D + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_07.xml new file mode 100644 index 00000000..e0ae48c4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:duration + -PT0.332S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_08.xml new file mode 100644 index 00000000..b8025229 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:duration + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_09.xml new file mode 100644 index 00000000..03fe8428 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:duration + -PT1.5375209S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_10.xml new file mode 100644 index 00000000..ad24acf2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:duration + PT18688M + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_long_second_fractal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_long_second_fractal.xml new file mode 100644 index 00000000..57d93037 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_long_second_fractal.xml @@ -0,0 +1,4 @@ + + xs:duration + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_many_many_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_many_many_seconds.xml new file mode 100644 index 00000000..0e0e4063 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_many_many_seconds.xml @@ -0,0 +1,4 @@ + + xs:duration + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_month_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_month_seconds.xml new file mode 100644 index 00000000..0aedb312 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_month_seconds.xml @@ -0,0 +1,4 @@ + + xs:duration + PT2M10S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_seconds.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_seconds.xml new file mode 100644 index 00000000..fdab7774 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_seconds.xml @@ -0,0 +1,4 @@ + + xs:duration + PT130S + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_year.xml new file mode 100644 index 00000000..cdbee1b7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Duration_only_year.xml @@ -0,0 +1,4 @@ + + xs:duration + -P1Y + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_float.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_float.xml new file mode 100644 index 00000000..dfa46647 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_float.xml @@ -0,0 +1,4 @@ + + xs:float + 1234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_01.xml new file mode 100644 index 00000000..10bc4b43 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:float + -.80E0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_02.xml new file mode 100644 index 00000000..b19f3c36 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:float + -147E7 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_03.xml new file mode 100644 index 00000000..46dc261c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:float + 18 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_04.xml new file mode 100644 index 00000000..c71c1db8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:float + .1532E+16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_05.xml new file mode 100644 index 00000000..e5ced1a4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:float + +44.6393 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_06.xml new file mode 100644 index 00000000..aad7ffcf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:float + .5885e-29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_07.xml new file mode 100644 index 00000000..0907878a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:float + 1e-7 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_08.xml new file mode 100644 index 00000000..4c63123b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:float + +732.55619 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_09.xml new file mode 100644 index 00000000..0c6aed8e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:float + .1E05 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_10.xml new file mode 100644 index 00000000..2207b26e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:float + 1102 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_inf.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_inf.xml new file mode 100644 index 00000000..604a04e5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_inf.xml @@ -0,0 +1,4 @@ + + xs:float + INF + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer.xml new file mode 100644 index 00000000..f2149030 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer.xml @@ -0,0 +1,4 @@ + + xs:float + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..b276ce61 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_integer_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:float + 0001234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_normal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_normal.xml new file mode 100644 index 00000000..e2e10c6a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_normal.xml @@ -0,0 +1,4 @@ + + xs:float + 340282346638528859811704183484516925440 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_number_less_than_one.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_number_less_than_one.xml new file mode 100644 index 00000000..36503b33 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_number_less_than_one.xml @@ -0,0 +1,4 @@ + + xs:float + 0.999999940395355224609375 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_subnormal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_subnormal.xml new file mode 100644 index 00000000..c064696d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_largest_subnormal.xml @@ -0,0 +1,4 @@ + + xs:float + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..f84f7785 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,4 @@ + + xs:float + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_nan.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_nan.xml new file mode 100644 index 00000000..ae8af296 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_nan.xml @@ -0,0 +1,4 @@ + + xs:float + NaN + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_negative_inf.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_negative_inf.xml new file mode 100644 index 00000000..1febaf5c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_negative_inf.xml @@ -0,0 +1,4 @@ + + xs:float + -INF + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation.xml new file mode 100644 index 00000000..c74cf59f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation.xml @@ -0,0 +1,4 @@ + + xs:float + 12.34e16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative.xml new file mode 100644 index 00000000..be322c56 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative.xml @@ -0,0 +1,4 @@ + + xs:float + -12.34e16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..8091837e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml @@ -0,0 +1,4 @@ + + xs:float + 12.34e-16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive.xml new file mode 100644 index 00000000..6eebf332 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive.xml @@ -0,0 +1,4 @@ + + xs:float + +12.34e16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..5432216b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml @@ -0,0 +1,4 @@ + + xs:float + 12.34e+16 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_number_larger_than_one.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_number_larger_than_one.xml new file mode 100644 index 00000000..02364dd2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_number_larger_than_one.xml @@ -0,0 +1,4 @@ + + xs:float + 1.00000011920928955078125 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_normal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_normal.xml new file mode 100644 index 00000000..a36d0c4a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_normal.xml @@ -0,0 +1,4 @@ + + xs:float + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_subnormal.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_subnormal.xml new file mode 100644 index 00000000..f1950fe3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_smallest_positive_subnormal.xml @@ -0,0 +1,4 @@ + + xs:float + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Float_with_preceding_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Float_with_preceding_zeros.xml new file mode 100644 index 00000000..8d00d533 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Float_with_preceding_zeros.xml @@ -0,0 +1,4 @@ + + xs:float + 0001234.01234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml new file mode 100644 index 00000000..4df413e3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---31 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_double_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_double_digit_day_without_zone.xml new file mode 100644 index 00000000..9b7dcdd1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_double_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---15 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_01.xml new file mode 100644 index 00000000..cd765d74 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---23Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_02.xml new file mode 100644 index 00000000..29729126 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---24 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_03.xml new file mode 100644 index 00000000..a5104586 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_04.xml new file mode 100644 index 00000000..87f6f0af --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---30-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_05.xml new file mode 100644 index 00000000..a440032a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---31-09:25 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_06.xml new file mode 100644 index 00000000..21b8f9a0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---17Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_07.xml new file mode 100644 index 00000000..cace7d32 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---30+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_08.xml new file mode 100644 index 00000000..fedea460 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---30-10:11 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_09.xml new file mode 100644 index 00000000..f2ff81b2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---22Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_10.xml new file mode 100644 index 00000000..208dfe23 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---30Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_negative_offset.xml new file mode 100644 index 00000000..579069bb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01-04:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_positive_offset.xml new file mode 100644 index 00000000..7439294d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_single_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_single_digit_day_without_zone.xml new file mode 100644 index 00000000..8ad121ce --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_single_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_utc_zone.xml new file mode 100644 index 00000000..9543a43a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_day_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_zero_offset.xml new file mode 100644 index 00000000..8b2c1bcb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_day_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml new file mode 100644 index 00000000..a3643163 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-14 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..f331b468 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml new file mode 100644 index 00000000..1c7be873 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --02-29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_01.xml new file mode 100644 index 00000000..3685bb23 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-20 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_02.xml new file mode 100644 index 00000000..e031d598 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --12-06 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_03.xml new file mode 100644 index 00000000..6a34892c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --12-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_04.xml new file mode 100644 index 00000000..fb4e4418 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-21+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_05.xml new file mode 100644 index 00000000..50fc8a2d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --10-07 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_06.xml new file mode 100644 index 00000000..bbd0f69e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --10-30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_07.xml new file mode 100644 index 00000000..2cae5f32 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --12-27 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_08.xml new file mode 100644 index 00000000..561caa37 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --04-30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_09.xml new file mode 100644 index 00000000..38a6bd1a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --10-10-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_10.xml new file mode 100644 index 00000000..13214f35 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --10-11Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_negative_offset.xml new file mode 100644 index 00000000..8135a4fd --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01-04:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_positive_offset.xml new file mode 100644 index 00000000..66886946 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..e981cebe --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --05-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_utc_zone.xml new file mode 100644 index 00000000..0ddb0096 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_zero_offset.xml new file mode 100644 index 00000000..66886946 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_day_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_double_digit_month_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_double_digit_month_without_zone.xml new file mode 100644 index 00000000..4b2bd83f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_double_digit_month_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_01.xml new file mode 100644 index 00000000..14996f68 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-13:34 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_02.xml new file mode 100644 index 00000000..970bcca0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --10+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_03.xml new file mode 100644 index 00000000..c0672d36 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --10+07:39 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_04.xml new file mode 100644 index 00000000..fd555188 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-05:22 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_05.xml new file mode 100644 index 00000000..34cb013b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_06.xml new file mode 100644 index 00000000..a6f307bd --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --12Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_07.xml new file mode 100644 index 00000000..915860a3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --10-13:30 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_08.xml new file mode 100644 index 00000000..8dfd57fe --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --07 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_09.xml new file mode 100644 index 00000000..b18a1b17 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-10:05 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_10.xml new file mode 100644 index 00000000..3c6fcc4e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+12:33 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_negative_offset.xml new file mode 100644 index 00000000..b77913cb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-04:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_positive_offset.xml new file mode 100644 index 00000000..ba6b8fd9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_single_digit_month_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_single_digit_month_without_zone.xml new file mode 100644 index 00000000..9f53e907 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_single_digit_month_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --05 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_utc_zone.xml new file mode 100644 index 00000000..c2188141 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_month_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_zero_offset.xml new file mode 100644 index 00000000..a1e7b866 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_month_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_negative_year.xml new file mode 100644 index 00000000..1ee94f4b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + -20000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_year.xml new file mode 100644 index 00000000..48405097 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_five_digit_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + 20000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_01.xml new file mode 100644 index 00000000..e225fbec --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gYear + 0740-07:36 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_02.xml new file mode 100644 index 00000000..93508c47 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gYear + 125774274 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_03.xml new file mode 100644 index 00000000..53577eae --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gYear + -0444 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_04.xml new file mode 100644 index 00000000..56737c7b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gYear + 0000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_05.xml new file mode 100644 index 00000000..41f20212 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gYear + -0111+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_06.xml new file mode 100644 index 00000000..0f33ea55 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gYear + 11111 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_07.xml new file mode 100644 index 00000000..6be20427 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gYear + 973419862 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_08.xml new file mode 100644 index 00000000..18ff6ffc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gYear + 1717608219759Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_09.xml new file mode 100644 index 00000000..56ca855c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gYear + -0863 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_10.xml new file mode 100644 index 00000000..44489479 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gYear + -0109+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_common_year_month.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_common_year_month.xml new file mode 100644 index 00000000..367726b0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_common_year_month.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_five_digit_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_five_digit_negative_year.xml new file mode 100644 index 00000000..f979a581 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_five_digit_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -20000-04 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_01.xml new file mode 100644 index 00000000..4fd9b13e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -65822-10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_02.xml new file mode 100644 index 00000000..1d0bc3bd --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0730-10-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_03.xml new file mode 100644 index 00000000..da6802d5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -4111-11Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_04.xml new file mode 100644 index 00000000..32fa3bd7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 1000-01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_05.xml new file mode 100644 index 00000000..9bc09e85 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0010-09-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_06.xml new file mode 100644 index 00000000..575d9256 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0555-07 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_07.xml new file mode 100644 index 00000000..b122b8e8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0404-11-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_08.xml new file mode 100644 index 00000000..1480c792 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -0882-11+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_09.xml new file mode 100644 index 00000000..7b9672e2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -0230-09Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_10.xml new file mode 100644 index 00000000..8610bde7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 0119-12-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_negative_year.xml new file mode 100644 index 00000000..0494931d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -2001-10 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_negative_year.xml new file mode 100644 index 00000000..0abd0d26 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + -123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_positive_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_positive_year.xml new file mode 100644 index 00000000..c7967d23 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_very_large_positive_year.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_negative_offset.xml new file mode 100644 index 00000000..f81568d9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10-02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_positive_offset.xml new file mode 100644 index 00000000..dfa2dc19 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_utc_zone.xml new file mode 100644 index 00000000..01527190 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_zero_offset.xml new file mode 100644 index 00000000..f79007be --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_month_with_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_offset.xml new file mode 100644 index 00000000..3171146a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001-04:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_year.xml new file mode 100644 index 00000000..57e46c6b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + -2001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_positive_offset.xml new file mode 100644 index 00000000..5da67af6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_utc_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_utc_zone.xml new file mode 100644 index 00000000..a4de7b33 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_utc_zone.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_negative_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_negative_year.xml new file mode 100644 index 00000000..44824eeb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_negative_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + -123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_positive_year.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_positive_year.xml new file mode 100644 index 00000000..7eff1d67 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_very_large_positive_year.xml @@ -0,0 +1,4 @@ + + xs:gYear + 123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_year_without_zone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_year_without_zone.xml new file mode 100644 index 00000000..8e263ecb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_year_without_zone.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/G_year_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_zero_offset.xml new file mode 100644 index 00000000..40ce201c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/G_year_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_empty.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_empty.xml new file mode 100644 index 00000000..9880c3d1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_empty.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_01.xml new file mode 100644 index 00000000..ee0dadd5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + f22fF9004a6D9AD1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_02.xml new file mode 100644 index 00000000..5b49d164 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_03.xml new file mode 100644 index 00000000..3af33b8f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + FFFFfef3CB + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_04.xml new file mode 100644 index 00000000..10bc9a62 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + A8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_05.xml new file mode 100644 index 00000000..129b6d0c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 3C3C82 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_06.xml new file mode 100644 index 00000000..d6076eff --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 23ee + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_07.xml new file mode 100644 index 00000000..5b49d164 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_08.xml new file mode 100644 index 00000000..f753baf5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_09.xml new file mode 100644 index 00000000..f753baf5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_10.xml new file mode 100644 index 00000000..1f6625d4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + C4E02bbC + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_long_random_hex.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_long_random_hex.xml new file mode 100644 index 00000000..ab326660 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_long_random_hex.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_one.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_one.xml new file mode 100644 index 00000000..44b6e203 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_one.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 11 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two.xml new file mode 100644 index 00000000..a53b0b78 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 12 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two_three_four.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two_three_four.xml new file mode 100644 index 00000000..8f5152aa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Hex_binary_one_two_three_four.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 1234 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_common_example.xml new file mode 100644 index 00000000..5c555d5d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_common_example.xml @@ -0,0 +1,4 @@ + + xs:int + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_explicitly_positive.xml new file mode 100644 index 00000000..0f6ed579 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:int + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_01.xml new file mode 100644 index 00000000..3eb3155f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:int + 00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_02.xml new file mode 100644 index 00000000..bb601ce8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:int + -0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_03.xml new file mode 100644 index 00000000..2e148fe6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:int + 000000000000069268 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_04.xml new file mode 100644 index 00000000..a5f203a1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:int + +478978 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_05.xml new file mode 100644 index 00000000..ca1d5a22 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:int + 7097 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_06.xml new file mode 100644 index 00000000..149d6066 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:int + 68 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_07.xml new file mode 100644 index 00000000..ae4a0a99 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:int + +0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_08.xml new file mode 100644 index 00000000..b27f72fa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:int + 6612453 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_09.xml new file mode 100644 index 00000000..ce6cc177 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:int + -00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_10.xml new file mode 100644 index 00000000..4b580cd3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:int + +0000000946381 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_max.xml new file mode 100644 index 00000000..a47fe6ea --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_max.xml @@ -0,0 +1,4 @@ + + xs:int + 2147483647 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_min.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_min.xml new file mode 100644 index 00000000..12003ba8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_min.xml @@ -0,0 +1,4 @@ + + xs:int + -2147483648 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_negative.xml new file mode 100644 index 00000000..f0317d47 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_negative.xml @@ -0,0 +1,4 @@ + + xs:int + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_prefixed_with_zeros.xml new file mode 100644 index 00000000..2e0a40eb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:int + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero.xml new file mode 100644 index 00000000..a11de5ff --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero.xml @@ -0,0 +1,4 @@ + + xs:int + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..25b104ad --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:int + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_common_example.xml new file mode 100644 index 00000000..8264eb61 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_common_example.xml @@ -0,0 +1,4 @@ + + xs:integer + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_explicitly_positive.xml new file mode 100644 index 00000000..eb224c6c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:integer + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_01.xml new file mode 100644 index 00000000..6138bc25 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:integer + 817778847926480 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_02.xml new file mode 100644 index 00000000..3cb02067 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:integer + +022 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_03.xml new file mode 100644 index 00000000..a37b021f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:integer + -43045 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_04.xml new file mode 100644 index 00000000..7fcda160 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:integer + -3009 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_05.xml new file mode 100644 index 00000000..86a778fc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:integer + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_06.xml new file mode 100644 index 00000000..ff7c627a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:integer + -3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_07.xml new file mode 100644 index 00000000..23ffb9b1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:integer + 8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_08.xml new file mode 100644 index 00000000..d7f0d575 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:integer + 221 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_09.xml new file mode 100644 index 00000000..3bf5544b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:integer + 9191 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_10.xml new file mode 100644 index 00000000..31585e12 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:integer + -3909 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_negative.xml new file mode 100644 index 00000000..bb365c6e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_negative.xml @@ -0,0 +1,4 @@ + + xs:integer + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..cbf7a300 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:integer + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_very_large.xml new file mode 100644 index 00000000..4fa9c390 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:integer + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero.xml new file mode 100644 index 00000000..86a778fc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero.xml @@ -0,0 +1,4 @@ + + xs:integer + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..d490cf9b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:integer + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_common_example.xml new file mode 100644 index 00000000..839624a3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_common_example.xml @@ -0,0 +1,4 @@ + + xs:long + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_explicitly_positive.xml new file mode 100644 index 00000000..1a800f43 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:long + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_01.xml new file mode 100644 index 00000000..9eb74095 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:long + -002728 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_02.xml new file mode 100644 index 00000000..5a8bb5c8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:long + 6257 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_03.xml new file mode 100644 index 00000000..90caf46f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:long + 088 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_04.xml new file mode 100644 index 00000000..9144b2a7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:long + 29 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_05.xml new file mode 100644 index 00000000..fcdbbed7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:long + -288 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_06.xml new file mode 100644 index 00000000..603afd59 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:long + 004775 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_07.xml new file mode 100644 index 00000000..436ad0fb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:long + 2912577609592844 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_08.xml new file mode 100644 index 00000000..d99bccc1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:long + -0161 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_09.xml new file mode 100644 index 00000000..638210ac --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:long + 00000000000048533 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_10.xml new file mode 100644 index 00000000..28a58806 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:long + 3116670676 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_max.xml new file mode 100644 index 00000000..763646ad --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_max.xml @@ -0,0 +1,4 @@ + + xs:long + 9223372036854775807 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_min.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_min.xml new file mode 100644 index 00000000..fde1bcee --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_min.xml @@ -0,0 +1,4 @@ + + xs:long + -9223372036854775808 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_negative.xml new file mode 100644 index 00000000..49f1b8b8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_negative.xml @@ -0,0 +1,4 @@ + + xs:long + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_prefixed_with_zeros.xml new file mode 100644 index 00000000..b742d002 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:long + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero.xml new file mode 100644 index 00000000..4d5a4bea --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero.xml @@ -0,0 +1,4 @@ + + xs:long + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..7f117c04 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:long + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..fbbce8fa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..8dab6736 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -002 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..af3fbe21 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -009 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..23bbb69c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -8 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..b3281151 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..a841a0d2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -00000000000000000000000516481 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..0c756d09 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -003 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..56cf2c7e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -00126 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..82b644ff --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..11267880 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_negative.xml new file mode 100644 index 00000000..b3281151 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_negative.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..fbbce8fa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_very_large.xml new file mode 100644 index 00000000..725a3827 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Negative_integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_common_example.xml new file mode 100644 index 00000000..853a718c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_common_example.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..27c15a4f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml new file mode 100644 index 00000000..70e436c6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..2af1f296 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +4 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..5e65a9f3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 00018 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..696bf959 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 22777 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..c276452a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 22077 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..381f3f89 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +06 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..b99d543d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 09 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..94aa427b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..4bc0ad9f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +5739 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..1fa6c4dd --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +70126 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..60abb9b0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 05688 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_minus_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_minus_zero.xml new file mode 100644 index 00000000..f5648003 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_minus_zero.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + -0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_positive_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_positive_zero.xml new file mode 100644 index 00000000..7e98ab1d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_positive_zero.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + +0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..2f81456d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_very_large.xml new file mode 100644 index 00000000..73fe8ef1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero.xml new file mode 100644 index 00000000..1233e106 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..844934f9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..c708eb23 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..9140d51a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -51 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..335eb72f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -8908938 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..b2b2e2f9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..c708eb23 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..9f3c8f14 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -4006 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..221ccf5a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -83 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..893080e5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -004 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..23b877f4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -551521749598676413553 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..260212a9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -12116166 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..b2b2e2f9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_negative.xml new file mode 100644 index 00000000..82b51f82 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_negative.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..ca3dd1cf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_very_large.xml new file mode 100644 index 00000000..75b203f6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_zero.xml new file mode 100644 index 00000000..91aece23 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Non_positive_integer_zero.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_common_example.xml new file mode 100644 index 00000000..b3dabfb1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_common_example.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..f9e1978e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..2f86ccdb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 550788 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..66753688 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 7775 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..0fe3a781 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + +87138 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..0409b933 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 8093888718 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..5938a91e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 01145 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..108a1644 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..d63e9dea --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + +57345 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..ecc6eba2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 54691 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..3f84f430 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + +01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..688d8b80 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 3 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..618037d4 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_very_large.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_very_large.xml new file mode 100644 index 00000000..b011e9ec --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Positive_integer_very_large.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_common_example.xml new file mode 100644 index 00000000..4bc1c460 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_common_example.xml @@ -0,0 +1,4 @@ + + xs:short + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_explicitly_positive.xml new file mode 100644 index 00000000..bbcc5c58 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:short + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_01.xml new file mode 100644 index 00000000..653cb191 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:short + 9 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_02.xml new file mode 100644 index 00000000..ea0ea66b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:short + 01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_03.xml new file mode 100644 index 00000000..bbcc5c58 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:short + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_04.xml new file mode 100644 index 00000000..2875f45d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:short + 8801 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_05.xml new file mode 100644 index 00000000..60f11b02 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:short + 125 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_06.xml new file mode 100644 index 00000000..a969d5c0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:short + 20518 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_07.xml new file mode 100644 index 00000000..a0585faf --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:short + 60 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_08.xml new file mode 100644 index 00000000..55afa0e0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:short + -01 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_09.xml new file mode 100644 index 00000000..6342ea51 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:short + +31923 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_10.xml new file mode 100644 index 00000000..d80abadb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:short + 22 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_max.xml new file mode 100644 index 00000000..9172fb46 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_max.xml @@ -0,0 +1,4 @@ + + xs:short + 32767 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_min.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_min.xml new file mode 100644 index 00000000..5e027fc2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_min.xml @@ -0,0 +1,4 @@ + + xs:short + -32768 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_negative.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_negative.xml new file mode 100644 index 00000000..d7239444 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_negative.xml @@ -0,0 +1,4 @@ + + xs:short + -1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_prefixed_with_zeros.xml new file mode 100644 index 00000000..b99857b0 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:short + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero.xml new file mode 100644 index 00000000..2a32d127 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero.xml @@ -0,0 +1,4 @@ + + xs:short + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..fc938bd5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:short + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_empty.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_empty.xml new file mode 100644 index 00000000..c02b5083 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_empty.xml @@ -0,0 +1,4 @@ + + xs:string + + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_free_form_text.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_free_form_text.xml new file mode 100644 index 00000000..55cb6a36 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:string + some free & <free> ᦄ form text + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_01.xml new file mode 100644 index 00000000..076ac735 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:string + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_02.xml new file mode 100644 index 00000000..f436e89a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:string + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_03.xml new file mode 100644 index 00000000..a5cd28b6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:string + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_04.xml new file mode 100644 index 00000000..2dbaa49b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:string + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_05.xml new file mode 100644 index 00000000..ad89c4d3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:string + J5 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_06.xml new file mode 100644 index 00000000..4d00a97c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:string + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_07.xml new file mode 100644 index 00000000..f6d8a1d8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:string + 6 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_08.xml new file mode 100644 index 00000000..43112c7c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:string + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_09.xml new file mode 100644 index 00000000..a0124bfa --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:string + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_10.xml new file mode 100644 index 00000000..b7e83e8b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/String_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:string + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_common_example.xml new file mode 100644 index 00000000..aa121958 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_common_example.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_01.xml new file mode 100644 index 00000000..b701b42c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00.00Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_02.xml new file mode 100644 index 00000000..69963032 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:time + 01:19:39.4378+10:53 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_03.xml new file mode 100644 index 00000000..a9b29557 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:time + 01:00:12+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_04.xml new file mode 100644 index 00000000..b830c3f3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00.0Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_05.xml new file mode 100644 index 00000000..b14cbebc --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:time + 01:10:12+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_06.xml new file mode 100644 index 00000000..d5a07e2e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00-14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_07.xml new file mode 100644 index 00000000..4124a93a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:time + 20:55:25 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_08.xml new file mode 100644 index 00000000..401dfb65 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00-10:44 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_09.xml new file mode 100644 index 00000000..39011d8a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00-13:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_10.xml new file mode 100644 index 00000000..39640644 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:time + 24:00:00.000000+14:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_negative_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_negative_offset.xml new file mode 100644 index 00000000..b8fc3338 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52-02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_positive_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_positive_offset.xml new file mode 100644 index 00000000..35e3bbf2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52+02:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_long_second_fractional.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_long_second_fractional.xml new file mode 100644 index 00000000..3c9d2b85 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_long_second_fractional.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52.12345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_second_fractional.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_second_fractional.xml new file mode 100644 index 00000000..d4df78c8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_second_fractional.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52.12679 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_utc_timezone.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_utc_timezone.xml new file mode 100644 index 00000000..2066a573 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_with_utc_timezone.xml @@ -0,0 +1,4 @@ + + xs:time + 19:32:52Z + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Time_zero_offset.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Time_zero_offset.xml new file mode 100644 index 00000000..fcde9196 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Time_zero_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52+00:00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_common_example.xml new file mode 100644 index 00000000..70d7e0ca --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_common_example.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml new file mode 100644 index 00000000..8493d450 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml new file mode 100644 index 00000000..d1ed5af7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 0000000000000000000000000000067 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml new file mode 100644 index 00000000..7a5b02a5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +130 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml new file mode 100644 index 00000000..e5ba8c62 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 232 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml new file mode 100644 index 00000000..176b73f7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +110 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml new file mode 100644 index 00000000..0602c06c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +000000000012 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml new file mode 100644 index 00000000..b3e430a3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 055 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml new file mode 100644 index 00000000..bdc0e21c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 031 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml new file mode 100644 index 00000000..2c3256f9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 0178 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml new file mode 100644 index 00000000..7e81221c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml new file mode 100644 index 00000000..452eda22 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + +00000006 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_max.xml new file mode 100644 index 00000000..f02ee655 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_max.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 255 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..4fbcd8b8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero.xml new file mode 100644 index 00000000..2c3eada2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..def9d1d1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_common_example.xml new file mode 100644 index 00000000..0a8f2d22 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_common_example.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_explicitly_positive.xml new file mode 100644 index 00000000..6045745b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_01.xml new file mode 100644 index 00000000..8c436373 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +000832736002 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_02.xml new file mode 100644 index 00000000..50e868f7 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 0454 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_03.xml new file mode 100644 index 00000000..b01b3431 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 0000000000001161715506 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_04.xml new file mode 100644 index 00000000..3cf8a18c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +0006096840 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_05.xml new file mode 100644 index 00000000..b476a950 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 8547 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_06.xml new file mode 100644 index 00000000..d6ffa81a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +092843 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_07.xml new file mode 100644 index 00000000..31c93a30 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +44 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_08.xml new file mode 100644 index 00000000..7e477627 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +0881299729 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_09.xml new file mode 100644 index 00000000..d32a3153 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +00604 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_10.xml new file mode 100644 index 00000000..a9e80ceb --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + +000101 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_max.xml new file mode 100644 index 00000000..96b4b606 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_max.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 4294967295 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml new file mode 100644 index 00000000..35b6f08e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero.xml new file mode 100644 index 00000000..9e6cb948 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..a186633b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_common_example.xml new file mode 100644 index 00000000..c31fb588 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_common_example.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_explicitly_positive.xml new file mode 100644 index 00000000..40c35735 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_01.xml new file mode 100644 index 00000000..cde3fc5d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_02.xml new file mode 100644 index 00000000..af32e800 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +0013081 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_03.xml new file mode 100644 index 00000000..abca56b8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +00008773 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_04.xml new file mode 100644 index 00000000..ccff2b37 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +000000858 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_05.xml new file mode 100644 index 00000000..e6506ba3 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +000000000002599 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_06.xml new file mode 100644 index 00000000..69259f2f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +0257364527 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_07.xml new file mode 100644 index 00000000..cdb81d88 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +000000038893 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_08.xml new file mode 100644 index 00000000..798bd71d --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +0000000000000111491 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_09.xml new file mode 100644 index 00000000..50962b64 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + +09 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_10.xml new file mode 100644 index 00000000..acdbbac8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 0012208354443 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_max.xml new file mode 100644 index 00000000..ec1c725f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_max.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 18446744073709551615 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml new file mode 100644 index 00000000..bb69d9e2 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero.xml new file mode 100644 index 00000000..9b7d6526 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..c3bcf6ca --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 000 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_common_example.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_common_example.xml new file mode 100644 index 00000000..f838359e --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_common_example.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_explicitly_positive.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_explicitly_positive.xml new file mode 100644 index 00000000..5ec93515 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +1 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_01.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_01.xml new file mode 100644 index 00000000..7c8a402c --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +00 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_02.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_02.xml new file mode 100644 index 00000000..40f94577 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_02.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 06949 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_03.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_03.xml new file mode 100644 index 00000000..4ee84890 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 0391 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_04.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_04.xml new file mode 100644 index 00000000..fb0b898f --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +000004 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_05.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_05.xml new file mode 100644 index 00000000..5efa8666 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 00000000391 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_06.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_06.xml new file mode 100644 index 00000000..af30657a --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +085 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_07.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_07.xml new file mode 100644 index 00000000..867852ee --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_07.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 10233 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_08.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_08.xml new file mode 100644 index 00000000..0a6e77d1 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 044598 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_09.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_09.xml new file mode 100644 index 00000000..61505ca8 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_09.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +00066 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_10.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_10.xml new file mode 100644 index 00000000..2a0bfe73 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + +00000000000000000000003250 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_max.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_max.xml new file mode 100644 index 00000000..4cdda5b6 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_max.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 65535 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml new file mode 100644 index 00000000..5ea0e4d9 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 001 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero.xml new file mode 100644 index 00000000..4e6e01a5 --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 0 + diff --git a/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..db248a8b --- /dev/null +++ b/test_data/Xml/Expected/property/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 000 + diff --git a/test_data/Xml/Expected/qualifier/maximal.xml b/test_data/Xml/Expected/qualifier/maximal.xml new file mode 100644 index 00000000..2b615fcc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/maximal.xml @@ -0,0 +1,53 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Expected/qualifier/minimal.xml b/test_data/Xml/Expected/qualifier/minimal.xml new file mode 100644 index 00000000..b08dbb46 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/minimal.xml @@ -0,0 +1,4 @@ + + something_86027eb8 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..78692aea --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..1fb8164f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..a64efa4e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..1e8bdfe8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ef0e7f0c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..02136636 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..40a36640 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..f549392b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..e2a7ba1c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..d9117488 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/typeOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + xs:gDay + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_URI.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_URI.xml new file mode 100644 index 00000000..85f28836 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_URI.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + https://github.com/aas-core-works/aas-core-codegen + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml new file mode 100644 index 00000000..e47cd70b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_absolute_path_without_scheme.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + /path/to/somewhere + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_empty.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_empty.xml new file mode 100644 index 00000000..7637dd64 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_01.xml new file mode 100644 index 00000000..e1c00456 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + # + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_02.xml new file mode 100644 index 00000000..13e4f68c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_03.xml new file mode 100644 index 00000000..30235586 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + A:// + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_04.xml new file mode 100644 index 00000000..7637dd64 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_05.xml new file mode 100644 index 00000000..5f4c310e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + #;+; + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_06.xml new file mode 100644 index 00000000..4b5b029b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_07.xml new file mode 100644 index 00000000..e18932e3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + q%7E~@$=l#%f6,&;& + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_08.xml new file mode 100644 index 00000000..0e5229c9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_09.xml new file mode 100644 index 00000000..7736197f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + #b%39DX%f9a%76u%da%A1@%a9%D3n + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_10.xml new file mode 100644 index 00000000..31087b95 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_integer.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_integer.xml new file mode 100644 index 00000000..4f7f6d96 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml new file mode 100644 index 00000000..522a3bc9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Any_URI_relative_path_without_scheme.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + path/to/somewhere + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml new file mode 100644 index 00000000..6440735e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_an_empty_value_is_valid.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml new file mode 100644 index 00000000..d963fcf3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_equals_signs_are_used_for_padding.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0F+40A== + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_01.xml new file mode 100644 index 00000000..cdc5a701 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_02.xml new file mode 100644 index 00000000..3c38e2a3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_03.xml new file mode 100644 index 00000000..81c5c04a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + n3wT + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_04.xml new file mode 100644 index 00000000..75cc7962 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + wfw E + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_05.xml new file mode 100644 index 00000000..ff0aa413 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + jj5 n + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_06.xml new file mode 100644 index 00000000..23683c4e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + j j5 n + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_07.xml new file mode 100644 index 00000000..9ff8ea03 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + S w SO 5 S5r + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_08.xml new file mode 100644 index 00000000..8927d930 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + UBU iUBU iQ n cy q 7wK + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_09.xml new file mode 100644 index 00000000..8d519716 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + HU UH + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_10.xml new file mode 100644 index 00000000..fb41fe61 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 00000000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml new file mode 100644 index 00000000..82dfcf37 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0 FB8 0F+9 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml new file mode 100644 index 00000000..85bb9735 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_lowercase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0fb8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml new file mode 100644 index 00000000..5cbd8c0e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Base_64_binary_without_space_uppercase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0FB8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_as_number.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_as_number.xml new file mode 100644 index 00000000..c38ec849 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_as_number.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_in_letters.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_in_letters.xml new file mode 100644 index 00000000..173160e7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_false_in_letters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + false + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_as_number.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_as_number.xml new file mode 100644 index 00000000..2fe495b4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_as_number.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_in_letters.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_in_letters.xml new file mode 100644 index 00000000..8997ec31 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Boolean_true_in_letters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + true + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_common_example.xml new file mode 100644 index 00000000..a84d8c70 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_explicitly_positive.xml new file mode 100644 index 00000000..3ba0eb7d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_01.xml new file mode 100644 index 00000000..9639f346 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 05 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_02.xml new file mode 100644 index 00000000..a2f7b5d2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 000110 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_03.xml new file mode 100644 index 00000000..0800f900 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + +00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_04.xml new file mode 100644 index 00000000..113eeea0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -108 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_05.xml new file mode 100644 index 00000000..c80773ad --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 0001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_06.xml new file mode 100644 index 00000000..19e2f0b6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 103 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_07.xml new file mode 100644 index 00000000..fc525d38 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 06 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_08.xml new file mode 100644 index 00000000..4df36372 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + +0000002 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_09.xml new file mode 100644 index 00000000..a2778241 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 000000006 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_10.xml new file mode 100644 index 00000000..9f8049bc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -00011 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_max.xml new file mode 100644 index 00000000..01df2ede --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 127 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_min.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_min.xml new file mode 100644 index 00000000..84ae41be --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_min.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -128 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_negative.xml new file mode 100644 index 00000000..5669f1b4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..52e3e573 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero.xml new file mode 100644 index 00000000..b354f165 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..7debbd87 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date.xml new file mode 100644 index 00000000..1a552b42 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_negative_year.xml new file mode 100644 index 00000000..7b602870 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_positive_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_positive_year.xml new file mode 100644 index 00000000..c93d5570 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_negative_offset.xml new file mode 100644 index 00000000..9f682d9c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01-02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_positive_offset.xml new file mode 100644 index 00000000..34711405 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01+02:34 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_utc.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_utc.xml new file mode 100644 index 00000000..51aceabf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_utc.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_zero_offset.xml new file mode 100644 index 00000000..09b5421d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_date_with_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_01.xml new file mode 100644 index 00000000..c704cee5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0705-04-10+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_02.xml new file mode 100644 index 00000000..7ef1a498 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0236-12-31Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_03.xml new file mode 100644 index 00000000..0adc7cfa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 9088-11-06 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_04.xml new file mode 100644 index 00000000..f8cdc196 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -7506-08-02 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_05.xml new file mode 100644 index 00000000..6a8327ff --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -3637143-04-09 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_06.xml new file mode 100644 index 00000000..c2b58f12 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0311-11-30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_07.xml new file mode 100644 index 00000000..00d22882 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0844-11-30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_08.xml new file mode 100644 index 00000000..734f7a47 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0111-04-04 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_09.xml new file mode 100644 index 00000000..80ca8923 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0412-04-08-10:58 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_10.xml new file mode 100644 index 00000000..db69e18f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0520-01-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_UTC.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_UTC.xml new file mode 100644 index 00000000..ba3ef080 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml new file mode 100644 index 00000000..36903cf8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml new file mode 100644 index 00000000..4da837a0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml new file mode 100644 index 00000000..71cf9a01 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_long_fractional_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03.0123456789Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml new file mode 100644 index 00000000..23a38ada --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml new file mode 100644 index 00000000..23ad141d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml new file mode 100644 index 00000000..23a38ada --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_with_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_without_zone.xml new file mode 100644 index 00000000..e855fa2c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_01.xml new file mode 100644 index 00000000..68cd6b1b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0811-10-21T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_02.xml new file mode 100644 index 00000000..4766a867 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0819-11-21T24:00:00.00Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_03.xml new file mode 100644 index 00000000..42c082bb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -665280014-06-30T21:15:16Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_04.xml new file mode 100644 index 00000000..fb626bb0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0811-11-21T24:00:00.0000Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_05.xml new file mode 100644 index 00000000..ff7da15e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 0532-09-07T18:47:52+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_06.xml new file mode 100644 index 00000000..91aed01c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 0707-11-02T24:00:00.00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_07.xml new file mode 100644 index 00000000..98c81c70 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0003-12-20T22:53:54.02567 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_08.xml new file mode 100644 index 00000000..af286edb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -1092-02-25T24:00:00.0000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_09.xml new file mode 100644 index 00000000..046931b7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -6602-06-30T24:00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_10.xml new file mode 100644 index 00000000..cd492a32 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -2111111-08-31T23:58:19.269348 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_24_hours.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_24_hours.xml new file mode 100644 index 00000000..fada6d3c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T24:00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_zeros.xml new file mode 100644 index 00000000..398c662a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T00:00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..a36d76c5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0001-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..9f51dc48 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_time_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0005-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..44443a91 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0001-02-29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..1edd9645 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Date_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0005-02-29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal.xml new file mode 100644 index 00000000..86dc0cf0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 1234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml new file mode 100644 index 00000000..7051f53f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_long_fractional.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml new file mode 100644 index 00000000..5b49198f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_decimal_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 0001234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_01.xml new file mode 100644 index 00000000..85312366 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + .33324 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_02.xml new file mode 100644 index 00000000..64d1f703 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 01195 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_03.xml new file mode 100644 index 00000000..41c563e6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + +875 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_04.xml new file mode 100644 index 00000000..e842551f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + -8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_05.xml new file mode 100644 index 00000000..5abc5e61 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + -0.0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_06.xml new file mode 100644 index 00000000..01908f15 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + -13522106 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_07.xml new file mode 100644 index 00000000..48016c09 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + +10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_08.xml new file mode 100644 index 00000000..9727399f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + -030725 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_09.xml new file mode 100644 index 00000000..cfa4bc37 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + .3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_10.xml new file mode 100644 index 00000000..ca1f7d0d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 0061707 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer.xml new file mode 100644 index 00000000..50a3266f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..f3440c07 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 0001234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_very_large_decimal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_very_large_decimal.xml new file mode 100644 index 00000000..c2c26fcc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Decimal_very_large_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_double.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_double.xml new file mode 100644 index 00000000..2fd8bebd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_double.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_01.xml new file mode 100644 index 00000000..b57fecbe --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + .1118 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_02.xml new file mode 100644 index 00000000..36cda35f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -.662 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_03.xml new file mode 100644 index 00000000..a53ddb62 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + .0E0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_04.xml new file mode 100644 index 00000000..fbbf8b22 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + .4 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_05.xml new file mode 100644 index 00000000..a6e67c4b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + .11 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_06.xml new file mode 100644 index 00000000..2b8a1592 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + +76E-86 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_07.xml new file mode 100644 index 00000000..36cda35f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -.662 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_08.xml new file mode 100644 index 00000000..3e8bffd4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1e+7 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_09.xml new file mode 100644 index 00000000..f7be30fc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -.66E-45 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_10.xml new file mode 100644 index 00000000..b7f8251c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 140206134 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_inf.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_inf.xml new file mode 100644 index 00000000..84d3b3da --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + INF + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer.xml new file mode 100644 index 00000000..df7892c3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..5171bbe4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 0001234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..3904acc1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_lowest.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_lowest.xml new file mode 100644 index 00000000..7f23287d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_lowest.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_max.xml new file mode 100644 index 00000000..f7c81ffa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_minus_inf.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_minus_inf.xml new file mode 100644 index 00000000..1f9b47ca --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_minus_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -INF + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_nan.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_nan.xml new file mode 100644 index 00000000..c7435a11 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_nan.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + NaN + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation.xml new file mode 100644 index 00000000..36e5ada3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 12.34e56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative.xml new file mode 100644 index 00000000..f3622196 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + -12.34e56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..c71113f3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 12.34e-56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive.xml new file mode 100644 index 00000000..1711985c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + +12.34e56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..c221eaf2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 12.34e+56 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_large_normal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_large_normal.xml new file mode 100644 index 00000000..cba7e098 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_large_normal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 2e307 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_precise_subnormal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_precise_subnormal.xml new file mode 100644 index 00000000..1a41b90b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_very_precise_subnormal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 2e-307 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_with_preceding_zeros.xml new file mode 100644 index 00000000..e715135d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Double_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 0001234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_day_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_day_seconds.xml new file mode 100644 index 00000000..7ff2aa56 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_day_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1DT2S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_full.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_full.xml new file mode 100644 index 00000000..49f516e7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_full.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_01.xml new file mode 100644 index 00000000..7cd33f57 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -P009D + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_02.xml new file mode 100644 index 00000000..68f3ff57 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P5Y36660767143M + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_03.xml new file mode 100644 index 00000000..10a30f7e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -PT01332.1S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_04.xml new file mode 100644 index 00000000..a8ff1fae --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -P11DT142M + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_05.xml new file mode 100644 index 00000000..8d2b048f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_06.xml new file mode 100644 index 00000000..6e0047bb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -P1M923D + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_07.xml new file mode 100644 index 00000000..59001bd0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -PT0.332S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_08.xml new file mode 100644 index 00000000..3764d7fc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_09.xml new file mode 100644 index 00000000..1bcb539a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -PT1.5375209S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_10.xml new file mode 100644 index 00000000..3e774436 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT18688M + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_long_second_fractal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_long_second_fractal.xml new file mode 100644 index 00000000..c06eef34 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_long_second_fractal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_many_many_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_many_many_seconds.xml new file mode 100644 index 00000000..d38f233c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_many_many_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_month_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_month_seconds.xml new file mode 100644 index 00000000..70e2ff3b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_month_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT2M10S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_seconds.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_seconds.xml new file mode 100644 index 00000000..f54742a5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + PT130S + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_year.xml new file mode 100644 index 00000000..a9ad0459 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Duration_only_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + -P1Y + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_float.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_float.xml new file mode 100644 index 00000000..dccc7b44 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_float.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_01.xml new file mode 100644 index 00000000..e0f1180b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + -.80E0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_02.xml new file mode 100644 index 00000000..ad574818 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + -147E7 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_03.xml new file mode 100644 index 00000000..108a7cf4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 18 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_04.xml new file mode 100644 index 00000000..3acc4044 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + .1532E+16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_05.xml new file mode 100644 index 00000000..f8e15129 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + +44.6393 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_06.xml new file mode 100644 index 00000000..2481c9e0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + .5885e-29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_07.xml new file mode 100644 index 00000000..30984c8b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1e-7 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_08.xml new file mode 100644 index 00000000..d93714d0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + +732.55619 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_09.xml new file mode 100644 index 00000000..1486351c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + .1E05 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_10.xml new file mode 100644 index 00000000..43467bfe --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1102 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_inf.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_inf.xml new file mode 100644 index 00000000..706358ac --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + INF + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer.xml new file mode 100644 index 00000000..071e6fc5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..55466733 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0001234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_normal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_normal.xml new file mode 100644 index 00000000..3e3c1580 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_normal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 340282346638528859811704183484516925440 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_number_less_than_one.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_number_less_than_one.xml new file mode 100644 index 00000000..273d911a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_number_less_than_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0.999999940395355224609375 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_subnormal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_subnormal.xml new file mode 100644 index 00000000..47df7586 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_largest_subnormal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..f7d9d789 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_nan.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_nan.xml new file mode 100644 index 00000000..4165040b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_nan.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + NaN + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_negative_inf.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_negative_inf.xml new file mode 100644 index 00000000..3ffdda51 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_negative_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + -INF + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation.xml new file mode 100644 index 00000000..7309fde9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 12.34e16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative.xml new file mode 100644 index 00000000..17b75778 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + -12.34e16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..404ebfd7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 12.34e-16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive.xml new file mode 100644 index 00000000..aad536a7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + +12.34e16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..430180e4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 12.34e+16 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_number_larger_than_one.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_number_larger_than_one.xml new file mode 100644 index 00000000..e7eebb20 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_number_larger_than_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1.00000011920928955078125 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_normal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_normal.xml new file mode 100644 index 00000000..cf60466d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_normal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_subnormal.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_subnormal.xml new file mode 100644 index 00000000..87d46d7b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_smallest_positive_subnormal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_with_preceding_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_with_preceding_zeros.xml new file mode 100644 index 00000000..6dbdc483 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Float_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 0001234.01234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml new file mode 100644 index 00000000..bf91265e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_day_not_existing_in_all_months_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---31 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_double_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_double_digit_day_without_zone.xml new file mode 100644 index 00000000..30b631c7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---15 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_01.xml new file mode 100644 index 00000000..b773eaf1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---23Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_02.xml new file mode 100644 index 00000000..236551be --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---24 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_03.xml new file mode 100644 index 00000000..b89c9219 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_04.xml new file mode 100644 index 00000000..e640c36b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---30-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_05.xml new file mode 100644 index 00000000..077bccfe --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---31-09:25 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_06.xml new file mode 100644 index 00000000..d580fb46 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---17Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_07.xml new file mode 100644 index 00000000..301c7aa3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---30+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_08.xml new file mode 100644 index 00000000..eb367b39 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---30-10:11 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_09.xml new file mode 100644 index 00000000..29517f0f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---22Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_10.xml new file mode 100644 index 00000000..58898472 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---30Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_negative_offset.xml new file mode 100644 index 00000000..3e2a6b4e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01-04:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_positive_offset.xml new file mode 100644 index 00000000..aa8c7a4a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_single_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_single_digit_day_without_zone.xml new file mode 100644 index 00000000..1e0b418b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_utc_zone.xml new file mode 100644 index 00000000..1b0599e0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_zero_offset.xml new file mode 100644 index 00000000..35e08140 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_day_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml new file mode 100644 index 00000000..1c4f6ffb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-14 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..c1fd7125 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml new file mode 100644 index 00000000..784f2291 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --02-29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_01.xml new file mode 100644 index 00000000..d620ce05 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-20 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_02.xml new file mode 100644 index 00000000..bb2fc93c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --12-06 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_03.xml new file mode 100644 index 00000000..a320600c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --12-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_04.xml new file mode 100644 index 00000000..a88df5c5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-21+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_05.xml new file mode 100644 index 00000000..d00000b7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --10-07 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_06.xml new file mode 100644 index 00000000..f1e366f1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --10-30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_07.xml new file mode 100644 index 00000000..be64d3e6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --12-27 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_08.xml new file mode 100644 index 00000000..3cd61c0a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --04-30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_09.xml new file mode 100644 index 00000000..b82baf03 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --10-10-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_10.xml new file mode 100644 index 00000000..43be82df --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --10-11Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_negative_offset.xml new file mode 100644 index 00000000..4144639b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01-04:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_positive_offset.xml new file mode 100644 index 00000000..bfcac1ec --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..0c7f1f43 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --05-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_utc_zone.xml new file mode 100644 index 00000000..c72cff7a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_zero_offset.xml new file mode 100644 index 00000000..bfcac1ec --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_day_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_double_digit_month_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_double_digit_month_without_zone.xml new file mode 100644 index 00000000..541d6138 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_double_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_01.xml new file mode 100644 index 00000000..a80456f9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-13:34 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_02.xml new file mode 100644 index 00000000..5c183163 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --10+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_03.xml new file mode 100644 index 00000000..66c9db34 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --10+07:39 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_04.xml new file mode 100644 index 00000000..931f8438 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-05:22 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_05.xml new file mode 100644 index 00000000..e90a18e7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_06.xml new file mode 100644 index 00000000..0a1c3e50 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --12Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_07.xml new file mode 100644 index 00000000..7c33a52e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --10-13:30 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_08.xml new file mode 100644 index 00000000..55b86592 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --07 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_09.xml new file mode 100644 index 00000000..0a386325 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-10:05 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_10.xml new file mode 100644 index 00000000..53bf90fe --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+12:33 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_negative_offset.xml new file mode 100644 index 00000000..6471da5e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-04:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_positive_offset.xml new file mode 100644 index 00000000..bc559432 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_single_digit_month_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_single_digit_month_without_zone.xml new file mode 100644 index 00000000..1db62640 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_single_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --05 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_utc_zone.xml new file mode 100644 index 00000000..1e16aa58 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_zero_offset.xml new file mode 100644 index 00000000..b269886b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_month_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_negative_year.xml new file mode 100644 index 00000000..23c914c5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -20000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_year.xml new file mode 100644 index 00000000..d38fcbe2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_five_digit_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 20000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_01.xml new file mode 100644 index 00000000..07ad1c53 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 0740-07:36 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_02.xml new file mode 100644 index 00000000..6e103dc9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 125774274 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_03.xml new file mode 100644 index 00000000..b5547a49 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -0444 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_04.xml new file mode 100644 index 00000000..d3a42fb6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 0000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_05.xml new file mode 100644 index 00000000..343b5515 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -0111+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_06.xml new file mode 100644 index 00000000..39d26fb3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 11111 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_07.xml new file mode 100644 index 00000000..4f1634ba --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 973419862 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_08.xml new file mode 100644 index 00000000..22dcd60f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 1717608219759Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_09.xml new file mode 100644 index 00000000..3348dc12 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -0863 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_10.xml new file mode 100644 index 00000000..108e8da8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -0109+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_common_year_month.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_common_year_month.xml new file mode 100644 index 00000000..71949bc1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_common_year_month.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_five_digit_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_five_digit_negative_year.xml new file mode 100644 index 00000000..0e1a82d4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -20000-04 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_01.xml new file mode 100644 index 00000000..aaa3ba50 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -65822-10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_02.xml new file mode 100644 index 00000000..f790b7cf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0730-10-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_03.xml new file mode 100644 index 00000000..1c3d6357 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -4111-11Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_04.xml new file mode 100644 index 00000000..7830ea82 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 1000-01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_05.xml new file mode 100644 index 00000000..0ba7960d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0010-09-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_06.xml new file mode 100644 index 00000000..a6e6d2c0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0555-07 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_07.xml new file mode 100644 index 00000000..4b599704 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0404-11-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_08.xml new file mode 100644 index 00000000..488d05a2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -0882-11+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_09.xml new file mode 100644 index 00000000..8c0ddd5a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -0230-09Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_10.xml new file mode 100644 index 00000000..5d183fd9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 0119-12-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_negative_year.xml new file mode 100644 index 00000000..0ec25eca --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -2001-10 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_negative_year.xml new file mode 100644 index 00000000..d38df589 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + -123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_positive_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_positive_year.xml new file mode 100644 index 00000000..bb8e1dbd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_negative_offset.xml new file mode 100644 index 00000000..34442331 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10-02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_positive_offset.xml new file mode 100644 index 00000000..be63c977 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_utc_zone.xml new file mode 100644 index 00000000..c08dfc28 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_zero_offset.xml new file mode 100644 index 00000000..ede14443 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_month_with_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_offset.xml new file mode 100644 index 00000000..570b4b15 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001-04:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_year.xml new file mode 100644 index 00000000..767904cb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -2001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_positive_offset.xml new file mode 100644 index 00000000..12429f84 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_utc_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_utc_zone.xml new file mode 100644 index 00000000..9c297e1c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_utc_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_negative_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_negative_year.xml new file mode 100644 index 00000000..180a691d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + -123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_positive_year.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_positive_year.xml new file mode 100644 index 00000000..580fcf97 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_year_without_zone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_year_without_zone.xml new file mode 100644 index 00000000..a4783c25 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_year_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_zero_offset.xml new file mode 100644 index 00000000..a532e43a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/G_year_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_empty.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_empty.xml new file mode 100644 index 00000000..c473eff7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_01.xml new file mode 100644 index 00000000..a41b829b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + f22fF9004a6D9AD1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_02.xml new file mode 100644 index 00000000..709bfec9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_03.xml new file mode 100644 index 00000000..710d7ab1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + FFFFfef3CB + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_04.xml new file mode 100644 index 00000000..9de34aac --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + A8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_05.xml new file mode 100644 index 00000000..5b6105f1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 3C3C82 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_06.xml new file mode 100644 index 00000000..5f1c3ef5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 23ee + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_07.xml new file mode 100644 index 00000000..709bfec9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_08.xml new file mode 100644 index 00000000..c62013d7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_09.xml new file mode 100644 index 00000000..c62013d7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_10.xml new file mode 100644 index 00000000..c8db6fbf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + C4E02bbC + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_long_random_hex.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_long_random_hex.xml new file mode 100644 index 00000000..e23b6a9e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_long_random_hex.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_one.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_one.xml new file mode 100644 index 00000000..f0881b12 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 11 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two.xml new file mode 100644 index 00000000..72647ab5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 12 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two_three_four.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two_three_four.xml new file mode 100644 index 00000000..78da44a4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Hex_binary_one_two_three_four.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 1234 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_common_example.xml new file mode 100644 index 00000000..16e77f17 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_explicitly_positive.xml new file mode 100644 index 00000000..d6f75751 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_01.xml new file mode 100644 index 00000000..da634e06 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_02.xml new file mode 100644 index 00000000..afdc3c6f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_03.xml new file mode 100644 index 00000000..57f4362d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 000000000000069268 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_04.xml new file mode 100644 index 00000000..4e4dbed1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + +478978 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_05.xml new file mode 100644 index 00000000..c6d7a374 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 7097 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_06.xml new file mode 100644 index 00000000..06fbda7f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 68 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_07.xml new file mode 100644 index 00000000..e7d05260 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + +0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_08.xml new file mode 100644 index 00000000..a868d035 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 6612453 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_09.xml new file mode 100644 index 00000000..e16fe972 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_10.xml new file mode 100644 index 00000000..c9a3d4b4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + +0000000946381 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_max.xml new file mode 100644 index 00000000..4cf99d95 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 2147483647 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_min.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_min.xml new file mode 100644 index 00000000..6b278109 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_min.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -2147483648 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_negative.xml new file mode 100644 index 00000000..0305bb43 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_prefixed_with_zeros.xml new file mode 100644 index 00000000..5daa6816 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero.xml new file mode 100644 index 00000000..5436aa9a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..b9b59878 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_common_example.xml new file mode 100644 index 00000000..ef62de46 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_explicitly_positive.xml new file mode 100644 index 00000000..4b4f9452 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_01.xml new file mode 100644 index 00000000..45d1deba --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 817778847926480 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_02.xml new file mode 100644 index 00000000..e40f0824 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + +022 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_03.xml new file mode 100644 index 00000000..b269e9e2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -43045 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_04.xml new file mode 100644 index 00000000..7d7ae1aa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -3009 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_05.xml new file mode 100644 index 00000000..8dd9397a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_06.xml new file mode 100644 index 00000000..e5cd6542 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_07.xml new file mode 100644 index 00000000..d8898812 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_08.xml new file mode 100644 index 00000000..bc3684c3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 221 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_09.xml new file mode 100644 index 00000000..f6f282f7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 9191 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_10.xml new file mode 100644 index 00000000..c7ec1a40 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -3909 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_negative.xml new file mode 100644 index 00000000..9d1bda78 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..a14b4199 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_very_large.xml new file mode 100644 index 00000000..00df4f08 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero.xml new file mode 100644 index 00000000..8dd9397a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..4187643b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_common_example.xml new file mode 100644 index 00000000..9ce7a452 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_explicitly_positive.xml new file mode 100644 index 00000000..ac449913 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_01.xml new file mode 100644 index 00000000..41d755c6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -002728 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_02.xml new file mode 100644 index 00000000..f3f9dc15 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 6257 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_03.xml new file mode 100644 index 00000000..a9c388b2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 088 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_04.xml new file mode 100644 index 00000000..07aa683f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 29 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_05.xml new file mode 100644 index 00000000..c36d97cb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -288 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_06.xml new file mode 100644 index 00000000..ce44deb9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 004775 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_07.xml new file mode 100644 index 00000000..9140e88d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 2912577609592844 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_08.xml new file mode 100644 index 00000000..12d81eec --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -0161 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_09.xml new file mode 100644 index 00000000..16f05ec9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 00000000000048533 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_10.xml new file mode 100644 index 00000000..51839d65 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 3116670676 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_max.xml new file mode 100644 index 00000000..108e4ee6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 9223372036854775807 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_min.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_min.xml new file mode 100644 index 00000000..a8fc12b3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_min.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -9223372036854775808 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_negative.xml new file mode 100644 index 00000000..94274d9a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_prefixed_with_zeros.xml new file mode 100644 index 00000000..0bd05967 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero.xml new file mode 100644 index 00000000..aa90a782 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..789d8b21 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..b60c5b5a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..d6217faf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -002 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..002e03c8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -009 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..fa510b0c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -8 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..32f25459 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..8ca66e39 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -00000000000000000000000516481 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..afd02de6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -003 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..ae7552af --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -00126 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..7d77b434 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..b3a4b87d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_negative.xml new file mode 100644 index 00000000..32f25459 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..b60c5b5a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_very_large.xml new file mode 100644 index 00000000..22ab5d5a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_common_example.xml new file mode 100644 index 00000000..d278c24a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..5bdfa336 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml new file mode 100644 index 00000000..50140464 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..9ce962a1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +4 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..73a2ff48 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 00018 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..a99616e2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 22777 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..fa79cb88 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 22077 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..9baa543a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +06 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..205b71a5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 09 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..112fd5dc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..43f69354 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +5739 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..e07fe5ae --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +70126 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..18c706ec --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 05688 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_minus_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_minus_zero.xml new file mode 100644 index 00000000..c5a5c6f8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_minus_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + -0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_positive_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_positive_zero.xml new file mode 100644 index 00000000..9aeedf2b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_positive_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + +0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..cdc21959 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_very_large.xml new file mode 100644 index 00000000..e6b0cac2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero.xml new file mode 100644 index 00000000..f94653aa --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..da7f3d2d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..c1f8002c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..60ce9f9c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -51 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..cb71f397 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -8908938 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..6e833acb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..c1f8002c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + +0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..5c788605 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -4006 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..c0c3e0e5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -83 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..ac077767 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -004 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..034cdd2a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -551521749598676413553 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..584d35bf --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -12116166 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..6e833acb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -553 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_negative.xml new file mode 100644 index 00000000..738ad6ee --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..521cf2ef --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_very_large.xml new file mode 100644 index 00000000..8240474b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_zero.xml new file mode 100644 index 00000000..332beb6a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Non_positive_integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_common_example.xml new file mode 100644 index 00000000..9a3b192e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..a0937e3a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..dddf7b33 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 550788 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..c4d8828b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 7775 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..4cb7f1f1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + +87138 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..decb3c3b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 8093888718 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..7877609d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 01145 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..556e106b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..3fb0fdac --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + +57345 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..2b0ded83 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 54691 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..f1a6099e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + +01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..cca3ebf9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 3 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..4260277e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_very_large.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_very_large.xml new file mode 100644 index 00000000..f0ce637f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_common_example.xml new file mode 100644 index 00000000..d3a5c2a8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_explicitly_positive.xml new file mode 100644 index 00000000..7e6b173a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_01.xml new file mode 100644 index 00000000..fd5a8719 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 9 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_02.xml new file mode 100644 index 00000000..d12bed1b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_03.xml new file mode 100644 index 00000000..7e6b173a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_04.xml new file mode 100644 index 00000000..30bead64 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 8801 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_05.xml new file mode 100644 index 00000000..1f50846a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 125 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_06.xml new file mode 100644 index 00000000..44b97d62 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 20518 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_07.xml new file mode 100644 index 00000000..87b58e4f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 60 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_08.xml new file mode 100644 index 00000000..0642f626 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + -01 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_09.xml new file mode 100644 index 00000000..601bba87 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + +31923 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_10.xml new file mode 100644 index 00000000..ded2fbb9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 22 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_max.xml new file mode 100644 index 00000000..266f83af --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 32767 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_min.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_min.xml new file mode 100644 index 00000000..753158e2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_min.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + -32768 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_negative.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_negative.xml new file mode 100644 index 00000000..394daa2c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + -1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_prefixed_with_zeros.xml new file mode 100644 index 00000000..03df81ae --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero.xml new file mode 100644 index 00000000..3007ec3f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..f4725da1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_empty.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_empty.xml new file mode 100644 index 00000000..30e2d0f7 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_free_form_text.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_free_form_text.xml new file mode 100644 index 00000000..3e3b791e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + some free & <free> ᦄ form text + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_01.xml new file mode 100644 index 00000000..9f42fac4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_02.xml new file mode 100644 index 00000000..c598a37d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_03.xml new file mode 100644 index 00000000..58e39e40 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_04.xml new file mode 100644 index 00000000..61285132 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_05.xml new file mode 100644 index 00000000..e1f2dfe8 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + J5 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_06.xml new file mode 100644 index 00000000..993430b3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_07.xml new file mode 100644 index 00000000..af5dd386 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 6 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_08.xml new file mode 100644 index 00000000..7851f65c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_09.xml new file mode 100644 index 00000000..5772ab83 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_10.xml new file mode 100644 index 00000000..ae1bf85f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/String_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:string + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_common_example.xml new file mode 100644 index 00000000..b112223d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_01.xml new file mode 100644 index 00000000..e8202369 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00.00Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_02.xml new file mode 100644 index 00000000..09b88ade --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:19:39.4378+10:53 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_03.xml new file mode 100644 index 00000000..ec1760c2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:00:12+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_04.xml new file mode 100644 index 00000000..f5c465ff --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00.0Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_05.xml new file mode 100644 index 00000000..eba85e05 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:10:12+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_06.xml new file mode 100644 index 00000000..dc79ec66 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00-14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_07.xml new file mode 100644 index 00000000..6275ba24 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 20:55:25 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_08.xml new file mode 100644 index 00000000..4cfbb28f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00-10:44 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_09.xml new file mode 100644 index 00000000..4cc40a4c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00-13:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_10.xml new file mode 100644 index 00000000..759fd79f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 24:00:00.000000+14:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_negative_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_negative_offset.xml new file mode 100644 index 00000000..3f220f0e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52-02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_positive_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_positive_offset.xml new file mode 100644 index 00000000..3ab70b13 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52+02:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_long_second_fractional.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_long_second_fractional.xml new file mode 100644 index 00000000..ecbe1927 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_long_second_fractional.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52.12345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_second_fractional.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_second_fractional.xml new file mode 100644 index 00000000..3c97ff2b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_second_fractional.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52.12679 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_utc_timezone.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_utc_timezone.xml new file mode 100644 index 00000000..4788ba3b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_with_utc_timezone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 19:32:52Z + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_zero_offset.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_zero_offset.xml new file mode 100644 index 00000000..953d9d63 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Time_zero_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52+00:00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_common_example.xml new file mode 100644 index 00000000..b506eb10 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml new file mode 100644 index 00000000..29fea5f9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml new file mode 100644 index 00000000..2a8d75e0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 0000000000000000000000000000067 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml new file mode 100644 index 00000000..25c9c578 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +130 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml new file mode 100644 index 00000000..0d135915 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 232 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml new file mode 100644 index 00000000..980096ed --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +110 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml new file mode 100644 index 00000000..03d4081f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +000000000012 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml new file mode 100644 index 00000000..d9e457b6 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 055 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml new file mode 100644 index 00000000..bea70efb --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 031 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml new file mode 100644 index 00000000..2d75507a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 0178 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml new file mode 100644 index 00000000..3847f0c9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml new file mode 100644 index 00000000..ad570247 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + +00000006 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_max.xml new file mode 100644 index 00000000..ba1060a3 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 255 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..597b5763 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero.xml new file mode 100644 index 00000000..cab21549 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..fcfa3e82 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_common_example.xml new file mode 100644 index 00000000..90221c3d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_explicitly_positive.xml new file mode 100644 index 00000000..0d6e5883 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_01.xml new file mode 100644 index 00000000..5189d990 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +000832736002 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_02.xml new file mode 100644 index 00000000..6dd8797b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 0454 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_03.xml new file mode 100644 index 00000000..0e4c1e40 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 0000000000001161715506 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_04.xml new file mode 100644 index 00000000..d5ce9f16 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +0006096840 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_05.xml new file mode 100644 index 00000000..d7e85aa5 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 8547 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_06.xml new file mode 100644 index 00000000..1ff664fc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +092843 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_07.xml new file mode 100644 index 00000000..3a4a976a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +44 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_08.xml new file mode 100644 index 00000000..071bd895 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +0881299729 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_09.xml new file mode 100644 index 00000000..0190153f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +00604 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_10.xml new file mode 100644 index 00000000..44abbbc4 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + +000101 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_max.xml new file mode 100644 index 00000000..e0423e6d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 4294967295 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml new file mode 100644 index 00000000..f6abbadd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero.xml new file mode 100644 index 00000000..1cd85b24 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..f9d2ce69 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_common_example.xml new file mode 100644 index 00000000..87dfd8dd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_explicitly_positive.xml new file mode 100644 index 00000000..8f5cc8d9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_01.xml new file mode 100644 index 00000000..9fff2476 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_02.xml new file mode 100644 index 00000000..f9b637df --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +0013081 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_03.xml new file mode 100644 index 00000000..8e5b93b1 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +00008773 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_04.xml new file mode 100644 index 00000000..3490b026 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +000000858 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_05.xml new file mode 100644 index 00000000..68c9dc1e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +000000000002599 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_06.xml new file mode 100644 index 00000000..9c76d7bc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +0257364527 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_07.xml new file mode 100644 index 00000000..a0b9f583 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +000000038893 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_08.xml new file mode 100644 index 00000000..29e931c2 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +0000000000000111491 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_09.xml new file mode 100644 index 00000000..d85b731f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + +09 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_10.xml new file mode 100644 index 00000000..95f2b139 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 0012208354443 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_max.xml new file mode 100644 index 00000000..c413caa0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 18446744073709551615 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml new file mode 100644 index 00000000..73e7786e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero.xml new file mode 100644 index 00000000..4aa090ec --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..705f3f41 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 000 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_common_example.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_common_example.xml new file mode 100644 index 00000000..8d2a985d --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_common_example.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_explicitly_positive.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_explicitly_positive.xml new file mode 100644 index 00000000..e097b7d9 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +1 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_01.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_01.xml new file mode 100644 index 00000000..faf3da24 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +00 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_02.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_02.xml new file mode 100644 index 00000000..ef441a47 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 06949 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_03.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_03.xml new file mode 100644 index 00000000..d1c86229 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 0391 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_04.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_04.xml new file mode 100644 index 00000000..d2e9557b --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +000004 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_05.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_05.xml new file mode 100644 index 00000000..aa004ffc --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 00000000391 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_06.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_06.xml new file mode 100644 index 00000000..15fc83dd --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +085 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_07.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_07.xml new file mode 100644 index 00000000..befff7ad --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 10233 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_08.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_08.xml new file mode 100644 index 00000000..f20433d0 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 044598 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_09.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_09.xml new file mode 100644 index 00000000..e89cd61c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +00066 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_10.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_10.xml new file mode 100644 index 00000000..7f05808c --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + +00000000000000000000003250 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_max.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_max.xml new file mode 100644 index 00000000..ec8ea30e --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_max.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 65535 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml new file mode 100644 index 00000000..7d7d5c6f --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 001 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero.xml new file mode 100644 index 00000000..c4c6187a --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 0 + diff --git a/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..dc349526 --- /dev/null +++ b/test_data/Xml/Expected/qualifier/valueOverValueExamples/Unsigned_short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 000 + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a5aac6ae --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..0c7fa792 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..45122b70 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d9e31fa7 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..a8ad10bb --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..1bd992e3 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..e52c83d3 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d2bb53af --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..92fca1e7 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + xs:gDay + diff --git a/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..f682ef23 --- /dev/null +++ b/test_data/Xml/Expected/range/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..ee3b3d69 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..28c2b7ed --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..7d9aa48e --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..f69baa87 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f2f2c139 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..54fbe846 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..dbb12f9f --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..fa83eb1f --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..71318d0b --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..68f43d2e --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..30ed5d46 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..c5c5c305 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..1c666567 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..68fe21de --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..a0265a63 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..99f9342a --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..efb25f29 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..be948e27 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..e8eac993 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..a7523f31 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + xs:gDay + diff --git a/test_data/Xml/Expected/range/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/range/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..64342c58 --- /dev/null +++ b/test_data/Xml/Expected/range/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + xs:gDay + diff --git a/test_data/Xml/Expected/range/maximal.xml b/test_data/Xml/Expected/range/maximal.xml new file mode 100644 index 00000000..fc16e499 --- /dev/null +++ b/test_data/Xml/Expected/range/maximal.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Expected/range/minimal.xml b/test_data/Xml/Expected/range/minimal.xml new file mode 100644 index 00000000..2220276d --- /dev/null +++ b/test_data/Xml/Expected/range/minimal.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_URI.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_URI.xml new file mode 100644 index 00000000..6b2e857b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_URI.xml @@ -0,0 +1,5 @@ + + xs:anyURI + https://github.com/aas-core-works/aas-core-codegen + https://github.com/aas-core-works/aas-core-codegen + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_absolute_path_without_scheme.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_absolute_path_without_scheme.xml new file mode 100644 index 00000000..e6501cf0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_absolute_path_without_scheme.xml @@ -0,0 +1,5 @@ + + xs:anyURI + /path/to/somewhere + /path/to/somewhere + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_empty.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_empty.xml new file mode 100644 index 00000000..4f668bed --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_empty.xml @@ -0,0 +1,5 @@ + + xs:anyURI + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_01.xml new file mode 100644 index 00000000..3e3cc629 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:anyURI + # + # + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_02.xml new file mode 100644 index 00000000..dfb6a17b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:anyURI + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + //[d6FA:c:8b:4:7:be7:aD:C8C]:/~.49:f%Fee;%9D%58L/Q%ea'+Q%eb:&%7C,t:;a,@&%dB%2D%Ba&%bF%BF,;%06G%a0%bfk%7b&@&@1@=+%fE6%FF2j4;$;=,%Da$=R%17s+2%68;/v%Ca%a0&$d%Fd7%58@%a0%54D%0BA%00Bw%a59:6;;/%f1:;t%98$J0:Y;?%8Dx:%aC&$/S/L%A5u + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_03.xml new file mode 100644 index 00000000..e761bc40 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:anyURI + A:// + A:// + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_04.xml new file mode 100644 index 00000000..4f668bed --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:anyURI + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_05.xml new file mode 100644 index 00000000..4b9c3302 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:anyURI + #;+; + #;+; + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_06.xml new file mode 100644 index 00000000..3ed889b9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:anyURI + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + //@fr+%64@/%C5vw%A8N/%9f;%59%Ea%A9%Dd?#[= + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_07.xml new file mode 100644 index 00000000..0cc81b8e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:anyURI + q%7E~@$=l#%f6,&;& + q%7E~@$=l#%f6,&;& + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_08.xml new file mode 100644 index 00000000..c4ba0c2c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:anyURI + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + j.:/%dd;=%78%Eaui;j/aTF&%Fd%9A9K;%f8-;;'4!C;,:C/=;k%b4;%09;;C%74%3a,2%C09;%127%5C;%81%d09/+;/%65%41%a0,@%34C_;%6E*;;%42%D9;%BA7%7EY%D4;%60Z=,/:+;$E&+$%Db4'%F2%7E;'+6-r$%64-;l%85%Eb%Ec+%ae/;=$-;;.%02L;,;%3Bj%a2:&@%3Ak$:;%CB;,(h(::=%b1;$+5&%810%04%3e,@$%60:G+%2d%c8%A4%01%5c,=&:O'CG%Eb@isa%2A+&$$%8D7X.+v)%Ed;3%6eo%DB&;7@%86n=9%aC%02;;k%bDH;%C0%BB;%c9,KF%De&%0A%6fP$:%9B%f5H%b8/T;%01$,%dD%8A%6B!/;,++;=;;%8dk$%0F%FB;;N%6B@;Om$%00# + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_09.xml new file mode 100644 index 00000000..c891faaf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:anyURI + #b%39DX%f9a%76u%da%A1@%a9%D3n + #b%39DX%f9a%76u%da%A1@%a9%D3n + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_10.xml new file mode 100644 index 00000000..79f81643 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:anyURI + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + ///%6B%0EX%9f-=++$:3%9az+,c&%3F:'Sx%3d%00:%7f%40:%08,;%5b%90%A1c;(;$:$y+%5b/=t%40+H+a@%E7$G%58;:+R$g$-yT%08&:,%fB;%F5b@;%Eb3%0C%A3n%4A%7dBf%75%2F%fc;vZ-%aFV$;%3a&;;=%fC;;~@+/=%A4# + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_integer.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_integer.xml new file mode 100644 index 00000000..ba1b26e9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_integer.xml @@ -0,0 +1,5 @@ + + xs:anyURI + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_relative_path_without_scheme.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_relative_path_without_scheme.xml new file mode 100644 index 00000000..fda412a9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Any_URI_relative_path_without_scheme.xml @@ -0,0 +1,5 @@ + + xs:anyURI + path/to/somewhere + path/to/somewhere + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_an_empty_value_is_valid.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_an_empty_value_is_valid.xml new file mode 100644 index 00000000..a46dac0c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_an_empty_value_is_valid.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_equals_signs_are_used_for_padding.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_equals_signs_are_used_for_padding.xml new file mode 100644 index 00000000..3b8674e2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_equals_signs_are_used_for_padding.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0F+40A== + 0F+40A== + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_01.xml new file mode 100644 index 00000000..f98d546a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + RJ I k 7 c /F / 1 J8F o 0ivZ v AE 3bj ASP y PI k+ 1 fku W 5M= + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_02.xml new file mode 100644 index 00000000..306af6fd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + Ie 9 20 Y F 5 Ve9 Y c 0W rH p 2 FQaS /xw /t RtE= + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_03.xml new file mode 100644 index 00000000..fce4db29 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + n3wT + n3wT + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_04.xml new file mode 100644 index 00000000..25fdf390 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + wfw E + wfw E + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_05.xml new file mode 100644 index 00000000..1135c885 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + jj5 n + jj5 n + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_06.xml new file mode 100644 index 00000000..93ad1ae9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + j j5 n + j j5 n + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_07.xml new file mode 100644 index 00000000..ab244f39 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + S w SO 5 S5r + S w SO 5 S5r + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_08.xml new file mode 100644 index 00000000..6e9fc0cc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + UBU iUBU iQ n cy q 7wK + UBU iUBU iQ n cy q 7wK + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_09.xml new file mode 100644 index 00000000..5baf9306 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + HU UH + HU UH + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_10.xml new file mode 100644 index 00000000..094eea4e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 00000000 + 00000000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml new file mode 100644 index 00000000..178a0add --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_whitespace_is_allowed_anywhere_in_the_value.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0 FB8 0F+9 + 0 FB8 0F+9 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_lowercase.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_lowercase.xml new file mode 100644 index 00000000..ab381eed --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_lowercase.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0fb8 + 0fb8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_uppercase.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_uppercase.xml new file mode 100644 index 00000000..ed765221 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Base_64_binary_without_space_uppercase.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0FB8 + 0FB8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_as_number.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_as_number.xml new file mode 100644 index 00000000..2f279a59 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_as_number.xml @@ -0,0 +1,5 @@ + + xs:boolean + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_in_letters.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_in_letters.xml new file mode 100644 index 00000000..162778b4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_false_in_letters.xml @@ -0,0 +1,5 @@ + + xs:boolean + false + false + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_as_number.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_as_number.xml new file mode 100644 index 00000000..a33a026f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_as_number.xml @@ -0,0 +1,5 @@ + + xs:boolean + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_in_letters.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_in_letters.xml new file mode 100644 index 00000000..58deb440 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Boolean_true_in_letters.xml @@ -0,0 +1,5 @@ + + xs:boolean + true + true + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_common_example.xml new file mode 100644 index 00000000..249bc806 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_common_example.xml @@ -0,0 +1,5 @@ + + xs:byte + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_explicitly_positive.xml new file mode 100644 index 00000000..7ed4aed3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:byte + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_01.xml new file mode 100644 index 00000000..2c9d6875 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:byte + 05 + 05 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_02.xml new file mode 100644 index 00000000..d5786577 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:byte + 000110 + 000110 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_03.xml new file mode 100644 index 00000000..47e8747f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:byte + +00 + +00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_04.xml new file mode 100644 index 00000000..2f33d90e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:byte + -108 + -108 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_05.xml new file mode 100644 index 00000000..67bf7ffb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:byte + 0001 + 0001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_06.xml new file mode 100644 index 00000000..db772cc1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:byte + 103 + 103 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_07.xml new file mode 100644 index 00000000..ba8ca04e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:byte + 06 + 06 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_08.xml new file mode 100644 index 00000000..dbcfa5c4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:byte + +0000002 + +0000002 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_09.xml new file mode 100644 index 00000000..e3ff3644 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:byte + 000000006 + 000000006 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_10.xml new file mode 100644 index 00000000..6d84aa43 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:byte + -00011 + -00011 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_max.xml new file mode 100644 index 00000000..8f70b772 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_max.xml @@ -0,0 +1,5 @@ + + xs:byte + 127 + 127 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_min.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_min.xml new file mode 100644 index 00000000..4bb9a4a3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_min.xml @@ -0,0 +1,5 @@ + + xs:byte + -128 + -128 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_negative.xml new file mode 100644 index 00000000..377c45f9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_negative.xml @@ -0,0 +1,5 @@ + + xs:byte + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..fb399f9e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:byte + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero.xml new file mode 100644 index 00000000..6b77feb3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero.xml @@ -0,0 +1,5 @@ + + xs:byte + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..0ba488ee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:byte + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date.xml new file mode 100644 index 00000000..a6f88246 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01 + 2022-04-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_negative_year.xml new file mode 100644 index 00000000..f917433b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + xs:date + -12345678901234567890123456789012345678901234567890-04-01 + -12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_positive_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_positive_year.xml new file mode 100644 index 00000000..03e5f23c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + xs:date + 12345678901234567890123456789012345678901234567890-04-01 + 12345678901234567890123456789012345678901234567890-04-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_negative_offset.xml new file mode 100644 index 00000000..e933202e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01-02:00 + 2022-04-01-02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_positive_offset.xml new file mode 100644 index 00000000..7977e606 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01+02:34 + 2022-04-01+02:34 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_utc.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_utc.xml new file mode 100644 index 00000000..160f0b4d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_utc.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01Z + 2022-04-01Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_zero_offset.xml new file mode 100644 index 00000000..2f7510cc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_date_with_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01+00:00 + 2022-04-01+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_01.xml new file mode 100644 index 00000000..021bcb4e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:date + 0705-04-10+14:00 + 0705-04-10+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_02.xml new file mode 100644 index 00000000..4c0e27bb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:date + -0236-12-31Z + -0236-12-31Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_03.xml new file mode 100644 index 00000000..27458fb8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:date + 9088-11-06 + 9088-11-06 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_04.xml new file mode 100644 index 00000000..c5351634 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:date + -7506-08-02 + -7506-08-02 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_05.xml new file mode 100644 index 00000000..83ae0753 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:date + -3637143-04-09 + -3637143-04-09 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_06.xml new file mode 100644 index 00000000..b69c070d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:date + -0311-11-30 + -0311-11-30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_07.xml new file mode 100644 index 00000000..db3c0623 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:date + -0844-11-30 + -0844-11-30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_08.xml new file mode 100644 index 00000000..43ff77f4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:date + 0111-04-04 + 0111-04-04 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_09.xml new file mode 100644 index 00000000..91851d32 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:date + 0412-04-08-10:58 + 0412-04-08-10:58 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_10.xml new file mode 100644 index 00000000..c6dc6e8c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:date + 0520-01-01 + 0520-01-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_UTC.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_UTC.xml new file mode 100644 index 00000000..66ce9b01 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03Z + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_negative_year.xml new file mode 100644 index 00000000..e678ab58 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_negative_year.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + -12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_positive_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_positive_year.xml new file mode 100644 index 00000000..a46d7c6a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_large_positive_year.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + 12345678901234567890123456789012345678901234567890-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_long_fractional_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_long_fractional_seconds.xml new file mode 100644 index 00000000..7ead264e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_long_fractional_seconds.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03.0123456789Z + 2022-04-01T01:02:03.0123456789Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_negative_offset.xml new file mode 100644 index 00000000..67fe7e74 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+00:00 + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_positive_offset.xml new file mode 100644 index 00000000..3d7dc3de --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+02:00 + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_zero_offset.xml new file mode 100644 index 00000000..67fe7e74 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_with_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+00:00 + 2022-04-01T01:02:03+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_without_zone.xml new file mode 100644 index 00000000..4e148203 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03 + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_01.xml new file mode 100644 index 00000000..357de134 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0811-10-21T24:00:00.000000Z + -0811-10-21T24:00:00.000000Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_02.xml new file mode 100644 index 00000000..896c0368 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0819-11-21T24:00:00.00Z + -0819-11-21T24:00:00.00Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_03.xml new file mode 100644 index 00000000..f9e49db3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -665280014-06-30T21:15:16Z + -665280014-06-30T21:15:16Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_04.xml new file mode 100644 index 00000000..1114f7ea --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0811-11-21T24:00:00.0000Z + -0811-11-21T24:00:00.0000Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_05.xml new file mode 100644 index 00000000..64137108 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 0532-09-07T18:47:52+14:00 + 0532-09-07T18:47:52+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_06.xml new file mode 100644 index 00000000..b9f0afe0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 0707-11-02T24:00:00.00 + 0707-11-02T24:00:00.00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_07.xml new file mode 100644 index 00000000..853b35dc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0003-12-20T22:53:54.02567 + -0003-12-20T22:53:54.02567 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_08.xml new file mode 100644 index 00000000..d12f0bd3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -1092-02-25T24:00:00.0000 + -1092-02-25T24:00:00.0000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_09.xml new file mode 100644 index 00000000..ebc98c7f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -6602-06-30T24:00:00 + -6602-06-30T24:00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_10.xml new file mode 100644 index 00000000..96f77812 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -2111111-08-31T23:58:19.269348 + -2111111-08-31T23:58:19.269348 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_24_hours.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_24_hours.xml new file mode 100644 index 00000000..9a77e617 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_24_hours.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T24:00:00 + 2022-04-01T24:00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_zeros.xml new file mode 100644 index 00000000..a22f2ab2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_midnight_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T00:00:00 + 2022-04-01T00:00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..a2246a9d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0001-02-29T01:02:03 + -0001-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..008aec80 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_time_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0005-02-29T01:02:03 + -0005-02-29T01:02:03 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_1_bce_is_a_leap_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_1_bce_is_a_leap_year.xml new file mode 100644 index 00000000..690f1f57 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_1_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + xs:date + -0001-02-29 + -0001-02-29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_5_bce_is_a_leap_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_5_bce_is_a_leap_year.xml new file mode 100644 index 00000000..d5f73b6b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Date_year_5_bce_is_a_leap_year.xml @@ -0,0 +1,5 @@ + + xs:date + -0005-02-29 + -0005-02-29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal.xml new file mode 100644 index 00000000..75d2e429 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal.xml @@ -0,0 +1,5 @@ + + xs:decimal + 1234.01234 + 1234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_long_fractional.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_long_fractional.xml new file mode 100644 index 00000000..3aedb354 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_long_fractional.xml @@ -0,0 +1,5 @@ + + xs:decimal + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_preceding_zeros.xml new file mode 100644 index 00000000..bb00766e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_decimal_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:decimal + 0001234.01234 + 0001234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_01.xml new file mode 100644 index 00000000..e8d70904 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:decimal + .33324 + .33324 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_02.xml new file mode 100644 index 00000000..ebd50fdb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:decimal + 01195 + 01195 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_03.xml new file mode 100644 index 00000000..d1329228 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:decimal + +875 + +875 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_04.xml new file mode 100644 index 00000000..9e4bce85 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:decimal + -8 + -8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_05.xml new file mode 100644 index 00000000..46cc0beb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:decimal + -0.0 + -0.0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_06.xml new file mode 100644 index 00000000..2608a77b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:decimal + -13522106 + -13522106 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_07.xml new file mode 100644 index 00000000..b1d10276 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:decimal + +10 + +10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_08.xml new file mode 100644 index 00000000..922dc610 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:decimal + -030725 + -030725 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_09.xml new file mode 100644 index 00000000..3c72bf90 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:decimal + .3 + .3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_10.xml new file mode 100644 index 00000000..062025e3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:decimal + 0061707 + 0061707 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer.xml new file mode 100644 index 00000000..cdfaa47a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer.xml @@ -0,0 +1,5 @@ + + xs:decimal + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..cbf65259 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:decimal + 0001234 + 0001234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_very_large_decimal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_very_large_decimal.xml new file mode 100644 index 00000000..6599651e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Decimal_very_large_decimal.xml @@ -0,0 +1,5 @@ + + xs:decimal + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.12345678901234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_double.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_double.xml new file mode 100644 index 00000000..a0e099d2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_double.xml @@ -0,0 +1,5 @@ + + xs:double + 1234.01234 + 1234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_01.xml new file mode 100644 index 00000000..074e25a3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:double + .1118 + .1118 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_02.xml new file mode 100644 index 00000000..3f4b86d4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:double + -.662 + -.662 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_03.xml new file mode 100644 index 00000000..8f02aab9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:double + .0E0 + .0E0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_04.xml new file mode 100644 index 00000000..f7ca49c0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:double + .4 + .4 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_05.xml new file mode 100644 index 00000000..3a05a8b8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:double + .11 + .11 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_06.xml new file mode 100644 index 00000000..b0d4661f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:double + +76E-86 + +76E-86 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_07.xml new file mode 100644 index 00000000..3f4b86d4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:double + -.662 + -.662 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_08.xml new file mode 100644 index 00000000..456268eb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:double + 1e+7 + 1e+7 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_09.xml new file mode 100644 index 00000000..1a280fd1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:double + -.66E-45 + -.66E-45 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_10.xml new file mode 100644 index 00000000..bfe7cd60 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:double + 140206134 + 140206134 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_inf.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_inf.xml new file mode 100644 index 00000000..35710c4b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_inf.xml @@ -0,0 +1,5 @@ + + xs:double + INF + INF + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer.xml new file mode 100644 index 00000000..d903aa8d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer.xml @@ -0,0 +1,5 @@ + + xs:double + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..6ed2067c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:double + 0001234 + 0001234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..bda63591 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + xs:double + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_lowest.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_lowest.xml new file mode 100644 index 00000000..8f866bd8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_lowest.xml @@ -0,0 +1,5 @@ + + xs:double + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_max.xml new file mode 100644 index 00000000..a252c889 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_max.xml @@ -0,0 +1,5 @@ + + xs:double + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_minus_inf.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_minus_inf.xml new file mode 100644 index 00000000..28b20982 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_minus_inf.xml @@ -0,0 +1,5 @@ + + xs:double + -INF + -INF + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_nan.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_nan.xml new file mode 100644 index 00000000..bd70d546 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_nan.xml @@ -0,0 +1,5 @@ + + xs:double + NaN + NaN + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation.xml new file mode 100644 index 00000000..a73a8d71 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation.xml @@ -0,0 +1,5 @@ + + xs:double + 12.34e56 + 12.34e56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative.xml new file mode 100644 index 00000000..1232d578 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + xs:double + -12.34e56 + -12.34e56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..d7cc0dfb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + xs:double + 12.34e-56 + 12.34e-56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive.xml new file mode 100644 index 00000000..92197654 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + xs:double + +12.34e56 + +12.34e56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..2fe8f642 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + xs:double + 12.34e+56 + 12.34e+56 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_large_normal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_large_normal.xml new file mode 100644 index 00000000..bf98a1a2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_large_normal.xml @@ -0,0 +1,5 @@ + + xs:double + 2e307 + 2e307 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_precise_subnormal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_precise_subnormal.xml new file mode 100644 index 00000000..cc13f359 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_very_precise_subnormal.xml @@ -0,0 +1,5 @@ + + xs:double + 2e-307 + 2e-307 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Double_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Double_with_preceding_zeros.xml new file mode 100644 index 00000000..bfdda027 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Double_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:double + 0001234.01234 + 0001234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_day_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_day_seconds.xml new file mode 100644 index 00000000..c08d00bc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_day_seconds.xml @@ -0,0 +1,5 @@ + + xs:duration + P1DT2S + P1DT2S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_full.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_full.xml new file mode 100644 index 00000000..d12f008d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_full.xml @@ -0,0 +1,5 @@ + + xs:duration + P1Y2M3DT5H20M30.123S + P1Y2M3DT5H20M30.123S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_01.xml new file mode 100644 index 00000000..245eebdf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:duration + -P009D + -P009D + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_02.xml new file mode 100644 index 00000000..780fc3e0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:duration + P5Y36660767143M + P5Y36660767143M + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_03.xml new file mode 100644 index 00000000..166b8460 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:duration + -PT01332.1S + -PT01332.1S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_04.xml new file mode 100644 index 00000000..23019f3b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:duration + -P11DT142M + -P11DT142M + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_05.xml new file mode 100644 index 00000000..f5ade95b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:duration + PT88M48936316289.34291243605107045S + PT88M48936316289.34291243605107045S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_06.xml new file mode 100644 index 00000000..b1d0c37d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:duration + -P1M923D + -P1M923D + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_07.xml new file mode 100644 index 00000000..8fb08f90 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:duration + -PT0.332S + -PT0.332S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_08.xml new file mode 100644 index 00000000..006bdd8b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:duration + -PT313148178698146281H866062127724898M + -PT313148178698146281H866062127724898M + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_09.xml new file mode 100644 index 00000000..9c0a5592 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:duration + -PT1.5375209S + -PT1.5375209S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_10.xml new file mode 100644 index 00000000..9e1a7afc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:duration + PT18688M + PT18688M + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_long_second_fractal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_long_second_fractal.xml new file mode 100644 index 00000000..1488445c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_long_second_fractal.xml @@ -0,0 +1,5 @@ + + xs:duration + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + PT1.12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_many_many_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_many_many_seconds.xml new file mode 100644 index 00000000..07242927 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_many_many_seconds.xml @@ -0,0 +1,5 @@ + + xs:duration + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + PT12345678901234567890123456789012345678901234567890123456789012345678901234567890S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_month_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_month_seconds.xml new file mode 100644 index 00000000..c013b6a5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_month_seconds.xml @@ -0,0 +1,5 @@ + + xs:duration + PT2M10S + PT2M10S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_seconds.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_seconds.xml new file mode 100644 index 00000000..7ed8e66d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_seconds.xml @@ -0,0 +1,5 @@ + + xs:duration + PT130S + PT130S + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_year.xml new file mode 100644 index 00000000..05d0b3bf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Duration_only_year.xml @@ -0,0 +1,5 @@ + + xs:duration + -P1Y + -P1Y + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_float.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_float.xml new file mode 100644 index 00000000..960cb981 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_float.xml @@ -0,0 +1,5 @@ + + xs:float + 1234.01234 + 1234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_01.xml new file mode 100644 index 00000000..4d60fc42 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:float + -.80E0 + -.80E0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_02.xml new file mode 100644 index 00000000..be6f93df --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:float + -147E7 + -147E7 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_03.xml new file mode 100644 index 00000000..cab2193d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:float + 18 + 18 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_04.xml new file mode 100644 index 00000000..31d18d4f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:float + .1532E+16 + .1532E+16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_05.xml new file mode 100644 index 00000000..38500106 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:float + +44.6393 + +44.6393 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_06.xml new file mode 100644 index 00000000..98fbd7a6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:float + .5885e-29 + .5885e-29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_07.xml new file mode 100644 index 00000000..f482f068 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:float + 1e-7 + 1e-7 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_08.xml new file mode 100644 index 00000000..a1f8795f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:float + +732.55619 + +732.55619 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_09.xml new file mode 100644 index 00000000..229558bc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:float + .1E05 + .1E05 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_10.xml new file mode 100644 index 00000000..0c8de519 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:float + 1102 + 1102 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_inf.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_inf.xml new file mode 100644 index 00000000..de6e4062 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_inf.xml @@ -0,0 +1,5 @@ + + xs:float + INF + INF + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer.xml new file mode 100644 index 00000000..f8676534 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer.xml @@ -0,0 +1,5 @@ + + xs:float + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer_with_preceding_zeros.xml new file mode 100644 index 00000000..f4dfb6f9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_integer_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:float + 0001234 + 0001234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_normal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_normal.xml new file mode 100644 index 00000000..7be1e9be --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_normal.xml @@ -0,0 +1,5 @@ + + xs:float + 340282346638528859811704183484516925440 + 340282346638528859811704183484516925440 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_number_less_than_one.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_number_less_than_one.xml new file mode 100644 index 00000000..0e95a09c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_number_less_than_one.xml @@ -0,0 +1,5 @@ + + xs:float + 0.999999940395355224609375 + 0.999999940395355224609375 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_subnormal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_subnormal.xml new file mode 100644 index 00000000..0190bf7d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_largest_subnormal.xml @@ -0,0 +1,5 @@ + + xs:float + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + 0.00000000000000000000000000000000000001175494210692441075487029444849287348827052428745893333857174530571588870475618904265502351336181163787841796875 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_loss_of_precision_is_not_detected_by_design.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_loss_of_precision_is_not_detected_by_design.xml new file mode 100644 index 00000000..61750c59 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_loss_of_precision_is_not_detected_by_design.xml @@ -0,0 +1,5 @@ + + xs:float + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + 1234.1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_nan.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_nan.xml new file mode 100644 index 00000000..0e8d4e0a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_nan.xml @@ -0,0 +1,5 @@ + + xs:float + NaN + NaN + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_negative_inf.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_negative_inf.xml new file mode 100644 index 00000000..a26a9aad --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_negative_inf.xml @@ -0,0 +1,5 @@ + + xs:float + -INF + -INF + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation.xml new file mode 100644 index 00000000..86b29722 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation.xml @@ -0,0 +1,5 @@ + + xs:float + 12.34e16 + 12.34e16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative.xml new file mode 100644 index 00000000..cb1f334b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative.xml @@ -0,0 +1,5 @@ + + xs:float + -12.34e16 + -12.34e16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative_exponent.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative_exponent.xml new file mode 100644 index 00000000..dd42a5f7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_negative_exponent.xml @@ -0,0 +1,5 @@ + + xs:float + 12.34e-16 + 12.34e-16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive.xml new file mode 100644 index 00000000..8b175571 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive.xml @@ -0,0 +1,5 @@ + + xs:float + +12.34e16 + +12.34e16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive_exponent.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive_exponent.xml new file mode 100644 index 00000000..9a3030f9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_scientific_notation_positive_exponent.xml @@ -0,0 +1,5 @@ + + xs:float + 12.34e+16 + 12.34e+16 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_number_larger_than_one.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_number_larger_than_one.xml new file mode 100644 index 00000000..e0e71b0f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_number_larger_than_one.xml @@ -0,0 +1,5 @@ + + xs:float + 1.00000011920928955078125 + 1.00000011920928955078125 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_normal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_normal.xml new file mode 100644 index 00000000..53fb7f7b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_normal.xml @@ -0,0 +1,5 @@ + + xs:float + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + 0.000000000000000000000000000000000000011754943508222875079687365372222456778186655567720875215087517062784172594547271728515625 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_subnormal.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_subnormal.xml new file mode 100644 index 00000000..ebbcad61 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_smallest_positive_subnormal.xml @@ -0,0 +1,5 @@ + + xs:float + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + 0.00000000000000000000000000000000000000000000140129846432481707092372958328991613128026194187651577175706828388979108268586060148663818836212158203125 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Float_with_preceding_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Float_with_preceding_zeros.xml new file mode 100644 index 00000000..db01437e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Float_with_preceding_zeros.xml @@ -0,0 +1,5 @@ + + xs:float + 0001234.01234 + 0001234.01234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_day_not_existing_in_all_months_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_day_not_existing_in_all_months_without_zone.xml new file mode 100644 index 00000000..ee040891 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_day_not_existing_in_all_months_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---31 + ---31 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_double_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_double_digit_day_without_zone.xml new file mode 100644 index 00000000..ad86ce60 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---15 + ---15 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_01.xml new file mode 100644 index 00000000..17c114bd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---23Z + ---23Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_02.xml new file mode 100644 index 00000000..61bf59b6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---24 + ---24 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_03.xml new file mode 100644 index 00000000..091d3e33 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---10 + ---10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_04.xml new file mode 100644 index 00000000..b6dfb3f4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---30-14:00 + ---30-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_05.xml new file mode 100644 index 00000000..49521ad4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---31-09:25 + ---31-09:25 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_06.xml new file mode 100644 index 00000000..b994af7b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---17Z + ---17Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_07.xml new file mode 100644 index 00000000..97144832 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---30+00:00 + ---30+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_08.xml new file mode 100644 index 00000000..f04e3df2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---30-10:11 + ---30-10:11 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_09.xml new file mode 100644 index 00000000..688bb9cd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---22Z + ---22Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_10.xml new file mode 100644 index 00000000..240e7197 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---30Z + ---30Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_negative_offset.xml new file mode 100644 index 00000000..b7e3a001 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01-04:00 + ---01-04:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_positive_offset.xml new file mode 100644 index 00000000..8300ae26 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01+02:00 + ---01+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_single_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_single_digit_day_without_zone.xml new file mode 100644 index 00000000..7ad512ed --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01 + ---01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_utc_zone.xml new file mode 100644 index 00000000..a828aeb4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01Z + ---01Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_day_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_zero_offset.xml new file mode 100644 index 00000000..0e7280a3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_day_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01+00:00 + ---01+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml new file mode 100644 index 00000000..4103aa82 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_double_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-14 + --11-14 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..24c07014 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_double_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01 + --11-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml new file mode 100644 index 00000000..476a561f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_february_29th_which_does_not_exist_in_all_years.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --02-29 + --02-29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_01.xml new file mode 100644 index 00000000..4afc9fe6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-20 + --11-20 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_02.xml new file mode 100644 index 00000000..068ad5d2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --12-06 + --12-06 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_03.xml new file mode 100644 index 00000000..316ccfce --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --12-01 + --12-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_04.xml new file mode 100644 index 00000000..58a89ae4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-21+14:00 + --11-21+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_05.xml new file mode 100644 index 00000000..10e0c630 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --10-07 + --10-07 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_06.xml new file mode 100644 index 00000000..df65a325 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --10-30 + --10-30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_07.xml new file mode 100644 index 00000000..4be7b521 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --12-27 + --12-27 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_08.xml new file mode 100644 index 00000000..0d49dd0d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --04-30 + --04-30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_09.xml new file mode 100644 index 00000000..470b9ef2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --10-10-14:00 + --10-10-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_10.xml new file mode 100644 index 00000000..8490f2fe --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --10-11Z + --10-11Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_negative_offset.xml new file mode 100644 index 00000000..b086e03e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01-04:00 + --11-01-04:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_positive_offset.xml new file mode 100644 index 00000000..4b558cb0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01+02:00 + --11-01+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml new file mode 100644 index 00000000..8e559ea9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_single_digit_month_single_digit_day_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --05-01 + --05-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_utc_zone.xml new file mode 100644 index 00000000..d928a342 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01Z + --11-01Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_zero_offset.xml new file mode 100644 index 00000000..4b558cb0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_day_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01+02:00 + --11-01+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_double_digit_month_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_double_digit_month_without_zone.xml new file mode 100644 index 00000000..335c5e11 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_double_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11 + --11 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_01.xml new file mode 100644 index 00000000..f774c3c9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-13:34 + --11-13:34 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_02.xml new file mode 100644 index 00000000..9eede84e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --10+14:00 + --10+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_03.xml new file mode 100644 index 00000000..c0d00c34 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --10+07:39 + --10+07:39 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_04.xml new file mode 100644 index 00000000..d34c7848 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-05:22 + --11-05:22 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_05.xml new file mode 100644 index 00000000..3b5cb114 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --01 + --01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_06.xml new file mode 100644 index 00000000..2128e5ee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --12Z + --12Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_07.xml new file mode 100644 index 00000000..10048fca --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --10-13:30 + --10-13:30 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_08.xml new file mode 100644 index 00000000..e8dc542d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --07 + --07 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_09.xml new file mode 100644 index 00000000..f689de22 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-10:05 + --11-10:05 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_10.xml new file mode 100644 index 00000000..5afe4e4d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+12:33 + --11+12:33 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_negative_offset.xml new file mode 100644 index 00000000..bcb1a308 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-04:00 + --11-04:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_positive_offset.xml new file mode 100644 index 00000000..b693b7ee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+02:00 + --11+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_single_digit_month_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_single_digit_month_without_zone.xml new file mode 100644 index 00000000..2f56c176 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_single_digit_month_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --05 + --05 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_utc_zone.xml new file mode 100644 index 00000000..60dc6fba --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11Z + --11Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_month_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_zero_offset.xml new file mode 100644 index 00000000..b5083e69 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_month_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+00:00 + --11+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_negative_year.xml new file mode 100644 index 00000000..cc317015 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + -20000 + -20000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_year.xml new file mode 100644 index 00000000..6d39038b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_five_digit_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + 20000 + 20000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_01.xml new file mode 100644 index 00000000..4b49a633 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gYear + 0740-07:36 + 0740-07:36 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_02.xml new file mode 100644 index 00000000..97b7734c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gYear + 125774274 + 125774274 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_03.xml new file mode 100644 index 00000000..4fe6e901 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gYear + -0444 + -0444 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_04.xml new file mode 100644 index 00000000..61da7df5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gYear + 0000 + 0000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_05.xml new file mode 100644 index 00000000..ea127d0a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gYear + -0111+14:00 + -0111+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_06.xml new file mode 100644 index 00000000..dd0362ec --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gYear + 11111 + 11111 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_07.xml new file mode 100644 index 00000000..7b69f1df --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gYear + 973419862 + 973419862 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_08.xml new file mode 100644 index 00000000..cca8e023 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gYear + 1717608219759Z + 1717608219759Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_09.xml new file mode 100644 index 00000000..840dd183 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gYear + -0863 + -0863 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_10.xml new file mode 100644 index 00000000..e2722ee2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gYear + -0109+14:00 + -0109+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_common_year_month.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_common_year_month.xml new file mode 100644 index 00000000..80dd4cb7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_common_year_month.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10 + 2001-10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_five_digit_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_five_digit_negative_year.xml new file mode 100644 index 00000000..5b92ad97 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_five_digit_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -20000-04 + -20000-04 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_01.xml new file mode 100644 index 00000000..a67597e4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -65822-10 + -65822-10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_02.xml new file mode 100644 index 00000000..b900f9fc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0730-10-14:00 + 0730-10-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_03.xml new file mode 100644 index 00000000..5f79c573 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -4111-11Z + -4111-11Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_04.xml new file mode 100644 index 00000000..bc8ad793 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 1000-01 + 1000-01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_05.xml new file mode 100644 index 00000000..77199987 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0010-09-14:00 + 0010-09-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_06.xml new file mode 100644 index 00000000..8c518518 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0555-07 + 0555-07 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_07.xml new file mode 100644 index 00000000..01777f92 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0404-11-14:00 + 0404-11-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_08.xml new file mode 100644 index 00000000..10c2ec29 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -0882-11+14:00 + -0882-11+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_09.xml new file mode 100644 index 00000000..380f7c61 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -0230-09Z + -0230-09Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_10.xml new file mode 100644 index 00000000..9fb5386d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 0119-12-14:00 + 0119-12-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_negative_year.xml new file mode 100644 index 00000000..00192edf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -2001-10 + -2001-10 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_negative_year.xml new file mode 100644 index 00000000..eafbd655 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + -123456789012345678901234567890123456789012345678901234567890-04 + -123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_positive_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_positive_year.xml new file mode 100644 index 00000000..5a3b37b1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 123456789012345678901234567890123456789012345678901234567890-04 + 123456789012345678901234567890123456789012345678901234567890-04 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_negative_offset.xml new file mode 100644 index 00000000..9617af3a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10-02:00 + 2001-10-02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_positive_offset.xml new file mode 100644 index 00000000..9d959819 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10+02:00 + 2001-10+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_utc_zone.xml new file mode 100644 index 00000000..dc7cf4cc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10Z + 2001-10Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_zero_offset.xml new file mode 100644 index 00000000..d07e2ab9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_month_with_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10+00:00 + 2001-10+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_offset.xml new file mode 100644 index 00000000..e2ca392c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001-04:00 + 2001-04:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_year.xml new file mode 100644 index 00000000..9cf911aa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + -2001 + -2001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_positive_offset.xml new file mode 100644 index 00000000..54291a92 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001+02:00 + 2001+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_utc_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_utc_zone.xml new file mode 100644 index 00000000..f1673b6a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_utc_zone.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001Z + 2001Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_negative_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_negative_year.xml new file mode 100644 index 00000000..729e56e9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_negative_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + -123456789012345678901234567890123456789012345678901234567890 + -123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_positive_year.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_positive_year.xml new file mode 100644 index 00000000..6be464e9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_very_large_positive_year.xml @@ -0,0 +1,5 @@ + + xs:gYear + 123456789012345678901234567890123456789012345678901234567890 + 123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_year_without_zone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_year_without_zone.xml new file mode 100644 index 00000000..14b7a46d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_year_without_zone.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001 + 2001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/G_year_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_zero_offset.xml new file mode 100644 index 00000000..fa32191d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/G_year_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001+00:00 + 2001+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_empty.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_empty.xml new file mode 100644 index 00000000..61151a20 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_empty.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_01.xml new file mode 100644 index 00000000..581a00c5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + f22fF9004a6D9AD1 + f22fF9004a6D9AD1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_02.xml new file mode 100644 index 00000000..6d9aa3bb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 00 + 00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_03.xml new file mode 100644 index 00000000..89aa48cd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + FFFFfef3CB + FFFFfef3CB + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_04.xml new file mode 100644 index 00000000..a0dfffec --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + A8 + A8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_05.xml new file mode 100644 index 00000000..14547fd1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 3C3C82 + 3C3C82 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_06.xml new file mode 100644 index 00000000..2bc61452 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 23ee + 23ee + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_07.xml new file mode 100644 index 00000000..6d9aa3bb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 00 + 00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_08.xml new file mode 100644 index 00000000..83f3a989 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + aBe5ccF85fbf32 + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_09.xml new file mode 100644 index 00000000..83f3a989 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + aBe5ccF85fbf32 + aBe5ccF85fbf32 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_10.xml new file mode 100644 index 00000000..a989d0d6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + C4E02bbC + C4E02bbC + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_long_random_hex.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_long_random_hex.xml new file mode 100644 index 00000000..07dcb3f0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_long_random_hex.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e67 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_one.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_one.xml new file mode 100644 index 00000000..8f49e50e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_one.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 11 + 11 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two.xml new file mode 100644 index 00000000..3b2da2e7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 12 + 12 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two_three_four.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two_three_four.xml new file mode 100644 index 00000000..ba77dc1f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Hex_binary_one_two_three_four.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 1234 + 1234 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_common_example.xml new file mode 100644 index 00000000..40caec0f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_common_example.xml @@ -0,0 +1,5 @@ + + xs:int + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_explicitly_positive.xml new file mode 100644 index 00000000..90bcb9e4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:int + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_01.xml new file mode 100644 index 00000000..8fee50f4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:int + 00 + 00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_02.xml new file mode 100644 index 00000000..c91edfdf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:int + -0 + -0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_03.xml new file mode 100644 index 00000000..4e852ba6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:int + 000000000000069268 + 000000000000069268 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_04.xml new file mode 100644 index 00000000..6ea17788 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:int + +478978 + +478978 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_05.xml new file mode 100644 index 00000000..054acc99 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:int + 7097 + 7097 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_06.xml new file mode 100644 index 00000000..52c9a7f7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:int + 68 + 68 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_07.xml new file mode 100644 index 00000000..b564bcd6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:int + +0 + +0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_08.xml new file mode 100644 index 00000000..ca354b83 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:int + 6612453 + 6612453 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_09.xml new file mode 100644 index 00000000..9d68123c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:int + -00 + -00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_10.xml new file mode 100644 index 00000000..36e9baeb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:int + +0000000946381 + +0000000946381 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_max.xml new file mode 100644 index 00000000..b5394634 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_max.xml @@ -0,0 +1,5 @@ + + xs:int + 2147483647 + 2147483647 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_min.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_min.xml new file mode 100644 index 00000000..ee656d6c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_min.xml @@ -0,0 +1,5 @@ + + xs:int + -2147483648 + -2147483648 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_negative.xml new file mode 100644 index 00000000..831d70d3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_negative.xml @@ -0,0 +1,5 @@ + + xs:int + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_prefixed_with_zeros.xml new file mode 100644 index 00000000..28c06352 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:int + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero.xml new file mode 100644 index 00000000..eb872114 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero.xml @@ -0,0 +1,5 @@ + + xs:int + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..90243255 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:int + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_common_example.xml new file mode 100644 index 00000000..1615dc06 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_common_example.xml @@ -0,0 +1,5 @@ + + xs:integer + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_explicitly_positive.xml new file mode 100644 index 00000000..431ef65a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:integer + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_01.xml new file mode 100644 index 00000000..a9ce7134 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:integer + 817778847926480 + 817778847926480 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_02.xml new file mode 100644 index 00000000..3594e60f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:integer + +022 + +022 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_03.xml new file mode 100644 index 00000000..a839987b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:integer + -43045 + -43045 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_04.xml new file mode 100644 index 00000000..56a4799d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:integer + -3009 + -3009 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_05.xml new file mode 100644 index 00000000..78a772ab --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:integer + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_06.xml new file mode 100644 index 00000000..8d99dac7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:integer + -3 + -3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_07.xml new file mode 100644 index 00000000..ed4d93c2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:integer + 8 + 8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_08.xml new file mode 100644 index 00000000..159d8c62 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:integer + 221 + 221 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_09.xml new file mode 100644 index 00000000..ea888633 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:integer + 9191 + 9191 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_10.xml new file mode 100644 index 00000000..b9767fa0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:integer + -3909 + -3909 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_negative.xml new file mode 100644 index 00000000..9c0e736d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_negative.xml @@ -0,0 +1,5 @@ + + xs:integer + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..dc9aa275 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:integer + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_very_large.xml new file mode 100644 index 00000000..47d4b2b6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:integer + 1234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero.xml new file mode 100644 index 00000000..78a772ab --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero.xml @@ -0,0 +1,5 @@ + + xs:integer + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..beca64e3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:integer + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_common_example.xml new file mode 100644 index 00000000..32563da0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_common_example.xml @@ -0,0 +1,5 @@ + + xs:long + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_explicitly_positive.xml new file mode 100644 index 00000000..6fe9e162 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:long + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_01.xml new file mode 100644 index 00000000..f028fdbc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:long + -002728 + -002728 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_02.xml new file mode 100644 index 00000000..a63f9836 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:long + 6257 + 6257 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_03.xml new file mode 100644 index 00000000..9163f257 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:long + 088 + 088 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_04.xml new file mode 100644 index 00000000..49da7265 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:long + 29 + 29 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_05.xml new file mode 100644 index 00000000..2de07cae --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:long + -288 + -288 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_06.xml new file mode 100644 index 00000000..59d240a5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:long + 004775 + 004775 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_07.xml new file mode 100644 index 00000000..8a4de384 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:long + 2912577609592844 + 2912577609592844 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_08.xml new file mode 100644 index 00000000..14349cd6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:long + -0161 + -0161 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_09.xml new file mode 100644 index 00000000..2dff4bb3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:long + 00000000000048533 + 00000000000048533 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_10.xml new file mode 100644 index 00000000..04bf601b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:long + 3116670676 + 3116670676 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_max.xml new file mode 100644 index 00000000..adb9e0c9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_max.xml @@ -0,0 +1,5 @@ + + xs:long + 9223372036854775807 + 9223372036854775807 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_min.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_min.xml new file mode 100644 index 00000000..dc52d220 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_min.xml @@ -0,0 +1,5 @@ + + xs:long + -9223372036854775808 + -9223372036854775808 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_negative.xml new file mode 100644 index 00000000..d14bfba1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_negative.xml @@ -0,0 +1,5 @@ + + xs:long + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_prefixed_with_zeros.xml new file mode 100644 index 00000000..413c955a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:long + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero.xml new file mode 100644 index 00000000..823f3d32 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero.xml @@ -0,0 +1,5 @@ + + xs:long + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..65680ac2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:long + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..d689341c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -001 + -001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..f94e6f94 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -002 + -002 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..f674edb7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -009 + -009 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..11f0c01d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -8 + -8 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..c45711ab --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..8441783b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -00000000000000000000000516481 + -00000000000000000000000516481 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..7d301f79 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -003 + -003 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..1c6c4186 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -00126 + -00126 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..b340e4fd --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -01 + -01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..8aef8bc7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -3 + -3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_negative.xml new file mode 100644 index 00000000..c45711ab --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_negative.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..d689341c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -001 + -001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_very_large.xml new file mode 100644 index 00000000..d6df14ee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_common_example.xml new file mode 100644 index 00000000..513906a3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_common_example.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..41a9a0ad --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml new file mode 100644 index 00000000..6b81b511 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_explicitly_positive_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +001 + +001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_01.xml new file mode 100644 index 00000000..d9153d30 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +4 + +4 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_02.xml new file mode 100644 index 00000000..bfa8c663 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 00018 + 00018 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_03.xml new file mode 100644 index 00000000..180464c9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 22777 + 22777 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_04.xml new file mode 100644 index 00000000..68a5729c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 22077 + 22077 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_05.xml new file mode 100644 index 00000000..88d08e9a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +06 + +06 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_06.xml new file mode 100644 index 00000000..ac400e1e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 09 + 09 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_07.xml new file mode 100644 index 00000000..970c3e3c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +3 + +3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_08.xml new file mode 100644 index 00000000..cfbf2fa1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +5739 + +5739 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_09.xml new file mode 100644 index 00000000..360d6558 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +70126 + +70126 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_10.xml new file mode 100644 index 00000000..6e752208 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 05688 + 05688 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_minus_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_minus_zero.xml new file mode 100644 index 00000000..d1311218 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_minus_zero.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + -0 + -0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_positive_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_positive_zero.xml new file mode 100644 index 00000000..5b36fbc1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_positive_zero.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + +0 + +0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..a70311f6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_very_large.xml new file mode 100644 index 00000000..f664e27d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero.xml new file mode 100644 index 00000000..ef1c7fb3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..2b7a3956 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_explicitly_positive_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..e9da78c1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + +0 + +0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..868c4c3a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -51 + -51 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..3a1f95ee --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -8908938 + -8908938 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..42acdbfe --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -553 + -553 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..e9da78c1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + +0 + +0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..77fac07e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -4006 + -4006 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..f04f9311 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -83 + -83 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..4752e89f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -004 + -004 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..3d60942a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -551521749598676413553 + -551521749598676413553 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..f0d7862b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -12116166 + -12116166 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..42acdbfe --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -553 + -553 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_negative.xml new file mode 100644 index 00000000..6f6163f7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_negative.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..5a09a594 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -001 + -001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_very_large.xml new file mode 100644 index 00000000..04e04cd2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -1234567890123456789012345678901234567890123456789012345678901234567890 + -1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_zero.xml new file mode 100644 index 00000000..a6d3cd8b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Non_positive_integer_zero.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_common_example.xml new file mode 100644 index 00000000..e523071e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_common_example.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..2836ae65 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_01.xml new file mode 100644 index 00000000..cc4c269c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 550788 + 550788 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_02.xml new file mode 100644 index 00000000..6ef3236e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 7775 + 7775 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_03.xml new file mode 100644 index 00000000..3e46825b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + +87138 + +87138 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_04.xml new file mode 100644 index 00000000..5164d4da --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 8093888718 + 8093888718 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_05.xml new file mode 100644 index 00000000..c6690209 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 01145 + 01145 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_06.xml new file mode 100644 index 00000000..c9d7d3a0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 01 + 01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_07.xml new file mode 100644 index 00000000..4e5850d5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + +57345 + +57345 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_08.xml new file mode 100644 index 00000000..9239ba29 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 54691 + 54691 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_09.xml new file mode 100644 index 00000000..bc249795 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + +01 + +01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_10.xml new file mode 100644 index 00000000..4f3b25df --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 3 + 3 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_prefixed_with_zeros.xml new file mode 100644 index 00000000..7ac940ef --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_very_large.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_very_large.xml new file mode 100644 index 00000000..e59103e5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Positive_integer_very_large.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 1234567890123456789012345678901234567890123456789012345678901234567890 + 1234567890123456789012345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_common_example.xml new file mode 100644 index 00000000..717db6de --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_common_example.xml @@ -0,0 +1,5 @@ + + xs:short + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_explicitly_positive.xml new file mode 100644 index 00000000..77b24df2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:short + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_01.xml new file mode 100644 index 00000000..eef62651 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:short + 9 + 9 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_02.xml new file mode 100644 index 00000000..b6612af0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:short + 01 + 01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_03.xml new file mode 100644 index 00000000..77b24df2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:short + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_04.xml new file mode 100644 index 00000000..6894da5f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:short + 8801 + 8801 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_05.xml new file mode 100644 index 00000000..5b9c2575 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:short + 125 + 125 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_06.xml new file mode 100644 index 00000000..58309db8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:short + 20518 + 20518 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_07.xml new file mode 100644 index 00000000..839f2917 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:short + 60 + 60 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_08.xml new file mode 100644 index 00000000..a96b8cab --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:short + -01 + -01 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_09.xml new file mode 100644 index 00000000..fd571477 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:short + +31923 + +31923 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_10.xml new file mode 100644 index 00000000..a8c71f89 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:short + 22 + 22 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_max.xml new file mode 100644 index 00000000..f8557c05 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_max.xml @@ -0,0 +1,5 @@ + + xs:short + 32767 + 32767 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_min.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_min.xml new file mode 100644 index 00000000..3010fbb0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_min.xml @@ -0,0 +1,5 @@ + + xs:short + -32768 + -32768 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_negative.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_negative.xml new file mode 100644 index 00000000..4b4ed545 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_negative.xml @@ -0,0 +1,5 @@ + + xs:short + -1 + -1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_prefixed_with_zeros.xml new file mode 100644 index 00000000..d09b50aa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:short + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero.xml new file mode 100644 index 00000000..0f90c62b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero.xml @@ -0,0 +1,5 @@ + + xs:short + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..e9fc790a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:short + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_empty.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_empty.xml new file mode 100644 index 00000000..5c90155d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_empty.xml @@ -0,0 +1,5 @@ + + xs:string + + + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_free_form_text.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_free_form_text.xml new file mode 100644 index 00000000..1dd4abd7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:string + some free & <free> ᦄ form text + some free & <free> ᦄ form text + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_01.xml new file mode 100644 index 00000000..30938020 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:string + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_02.xml new file mode 100644 index 00000000..df7c5f5f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:string + 𠤢4𠤢 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_03.xml new file mode 100644 index 00000000..e5e32cf3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:string + [\h$񒺟ìÖċŠ1¿ + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_04.xml new file mode 100644 index 00000000..d93ca3fa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:string + öĖa􍣡™| + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_05.xml new file mode 100644 index 00000000..578825f8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:string + J5 + J5 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_06.xml new file mode 100644 index 00000000..55875274 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:string + Ûă<P󨱽²|dnœÞ® + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_07.xml new file mode 100644 index 00000000..fbc5775a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:string + 6 + 6 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_08.xml new file mode 100644 index 00000000..fd716a13 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:string + 򤑌M𪠇𛔊򂄲 + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_09.xml new file mode 100644 index 00000000..e87e46e2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:string + <ă<P󨱽²|dnœÞ® + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_10.xml new file mode 100644 index 00000000..398f4955 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/String_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:string + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_common_example.xml new file mode 100644 index 00000000..a2e8eba1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_common_example.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52 + 21:32:52 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_01.xml new file mode 100644 index 00000000..7a214603 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00.00Z + 24:00:00.00Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_02.xml new file mode 100644 index 00000000..3e3a294a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:time + 01:19:39.4378+10:53 + 01:19:39.4378+10:53 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_03.xml new file mode 100644 index 00000000..dd89fade --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:time + 01:00:12+14:00 + 01:00:12+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_04.xml new file mode 100644 index 00000000..9c1daef9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00.0Z + 24:00:00.0Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_05.xml new file mode 100644 index 00000000..b1ff52b7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:time + 01:10:12+14:00 + 01:10:12+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_06.xml new file mode 100644 index 00000000..6842d093 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00-14:00 + 24:00:00-14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_07.xml new file mode 100644 index 00000000..345932e5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:time + 20:55:25 + 20:55:25 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_08.xml new file mode 100644 index 00000000..0a9e7f2b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00-10:44 + 24:00:00-10:44 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_09.xml new file mode 100644 index 00000000..d375c8d8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00-13:00 + 24:00:00-13:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_10.xml new file mode 100644 index 00000000..522e110b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:time + 24:00:00.000000+14:00 + 24:00:00.000000+14:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_negative_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_negative_offset.xml new file mode 100644 index 00000000..c2ebe8e7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52-02:00 + 21:32:52-02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_positive_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_positive_offset.xml new file mode 100644 index 00000000..7c907bb3 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52+02:00 + 21:32:52+02:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_long_second_fractional.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_long_second_fractional.xml new file mode 100644 index 00000000..ab4ca27b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_long_second_fractional.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52.12345678901234567890123456789012345678901234567890 + 21:32:52.12345678901234567890123456789012345678901234567890 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_second_fractional.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_second_fractional.xml new file mode 100644 index 00000000..a9b2a328 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_second_fractional.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52.12679 + 21:32:52.12679 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_utc_timezone.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_utc_timezone.xml new file mode 100644 index 00000000..8ae790a8 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_with_utc_timezone.xml @@ -0,0 +1,5 @@ + + xs:time + 19:32:52Z + 19:32:52Z + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Time_zero_offset.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Time_zero_offset.xml new file mode 100644 index 00000000..bc57f2dc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Time_zero_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52+00:00 + 21:32:52+00:00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_common_example.xml new file mode 100644 index 00000000..96568f54 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_common_example.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_explicitly_positive.xml new file mode 100644 index 00000000..efb01d12 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_01.xml new file mode 100644 index 00000000..6f1bb03a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 0000000000000000000000000000067 + 0000000000000000000000000000067 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_02.xml new file mode 100644 index 00000000..dc39cfd0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +130 + +130 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_03.xml new file mode 100644 index 00000000..a3ae2ef0 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 232 + 232 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_04.xml new file mode 100644 index 00000000..e54bac65 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +110 + +110 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_05.xml new file mode 100644 index 00000000..f2d342fa --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +000000000012 + +000000000012 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_06.xml new file mode 100644 index 00000000..c208a4eb --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 055 + 055 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_07.xml new file mode 100644 index 00000000..d2f7879e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 031 + 031 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_08.xml new file mode 100644 index 00000000..70272e52 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 0178 + 0178 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_09.xml new file mode 100644 index 00000000..201781d9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +00 + +00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_10.xml new file mode 100644 index 00000000..31390895 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + +00000006 + +00000006 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_max.xml new file mode 100644 index 00000000..2a6eeb09 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_max.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 255 + 255 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_prefixed_with_zeros.xml new file mode 100644 index 00000000..f758d843 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero.xml new file mode 100644 index 00000000..60acc53b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..39306ea5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_byte_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_common_example.xml new file mode 100644 index 00000000..6346e4cf --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_common_example.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_explicitly_positive.xml new file mode 100644 index 00000000..f6c300a2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_01.xml new file mode 100644 index 00000000..c79b2914 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +000832736002 + +000832736002 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_02.xml new file mode 100644 index 00000000..1a2db48a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 0454 + 0454 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_03.xml new file mode 100644 index 00000000..4d27ee6f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 0000000000001161715506 + 0000000000001161715506 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_04.xml new file mode 100644 index 00000000..382adfce --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +0006096840 + +0006096840 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_05.xml new file mode 100644 index 00000000..1ffbc909 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 8547 + 8547 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_06.xml new file mode 100644 index 00000000..722857fc --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +092843 + +092843 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_07.xml new file mode 100644 index 00000000..1fa30d2f --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +44 + +44 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_08.xml new file mode 100644 index 00000000..8bd9c775 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +0881299729 + +0881299729 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_09.xml new file mode 100644 index 00000000..ae6ecc43 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +00604 + +00604 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_10.xml new file mode 100644 index 00000000..6177b4d6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + +000101 + +000101 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_max.xml new file mode 100644 index 00000000..c1a8b7c5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_max.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 4294967295 + 4294967295 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_prefixed_with_zeros.xml new file mode 100644 index 00000000..708204d2 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero.xml new file mode 100644 index 00000000..11139e45 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..fa5602c4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_int_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_common_example.xml new file mode 100644 index 00000000..918b6a93 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_common_example.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_explicitly_positive.xml new file mode 100644 index 00000000..c142028b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_01.xml new file mode 100644 index 00000000..5d70bc40 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 00 + 00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_02.xml new file mode 100644 index 00000000..9a96375b --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +0013081 + +0013081 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_03.xml new file mode 100644 index 00000000..3ea12977 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +00008773 + +00008773 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_04.xml new file mode 100644 index 00000000..90a089f9 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +000000858 + +000000858 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_05.xml new file mode 100644 index 00000000..a2eda88d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +000000000002599 + +000000000002599 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_06.xml new file mode 100644 index 00000000..ff7af777 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +0257364527 + +0257364527 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_07.xml new file mode 100644 index 00000000..e3de83c5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +000000038893 + +000000038893 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_08.xml new file mode 100644 index 00000000..b143454d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +0000000000000111491 + +0000000000000111491 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_09.xml new file mode 100644 index 00000000..090c2401 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + +09 + +09 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_10.xml new file mode 100644 index 00000000..eeb8a68a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 0012208354443 + 0012208354443 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_max.xml new file mode 100644 index 00000000..4869e748 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_max.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 18446744073709551615 + 18446744073709551615 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_prefixed_with_zeros.xml new file mode 100644 index 00000000..52fd2fd1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero.xml new file mode 100644 index 00000000..51bc8a4c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..407afe10 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_long_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 000 + 000 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_common_example.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_common_example.xml new file mode 100644 index 00000000..fd4c93b6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_common_example.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 1 + 1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_explicitly_positive.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_explicitly_positive.xml new file mode 100644 index 00000000..c78571f1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +1 + +1 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_01.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_01.xml new file mode 100644 index 00000000..ad29f31e --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +00 + +00 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_02.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_02.xml new file mode 100644 index 00000000..48fc4fd1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_02.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 06949 + 06949 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_03.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_03.xml new file mode 100644 index 00000000..1a0b6fca --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 0391 + 0391 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_04.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_04.xml new file mode 100644 index 00000000..6bbea120 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +000004 + +000004 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_05.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_05.xml new file mode 100644 index 00000000..bba52f84 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 00000000391 + 00000000391 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_06.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_06.xml new file mode 100644 index 00000000..89b099d5 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +085 + +085 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_07.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_07.xml new file mode 100644 index 00000000..41983f16 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_07.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 10233 + 10233 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_08.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_08.xml new file mode 100644 index 00000000..4a04188c --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 044598 + 044598 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_09.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_09.xml new file mode 100644 index 00000000..5e88c24a --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_09.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +00066 + +00066 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_10.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_10.xml new file mode 100644 index 00000000..cce675d7 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + +00000000000000000000003250 + +00000000000000000000003250 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_max.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_max.xml new file mode 100644 index 00000000..8efc54d4 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_max.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 65535 + 65535 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_prefixed_with_zeros.xml new file mode 100644 index 00000000..09e181d1 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 001 + 001 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero.xml new file mode 100644 index 00000000..00a84be6 --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 0 + 0 + diff --git a/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero_prefixed_with_zeros.xml b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..3699395d --- /dev/null +++ b/test_data/Xml/Expected/range/overMinMaxExamples/Unsigned_short_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 000 + 000 + diff --git a/test_data/Xml/Expected/reference/external_reference_first_key_in_generic_globally_identifiables.xml b/test_data/Xml/Expected/reference/external_reference_first_key_in_generic_globally_identifiables.xml new file mode 100644 index 00000000..f10e0aee --- /dev/null +++ b/test_data/Xml/Expected/reference/external_reference_first_key_in_generic_globally_identifiables.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + GlobalReference + https://example.com/something + + + diff --git a/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_fragment_keys.xml b/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_fragment_keys.xml new file mode 100644 index 00000000..9e827282 --- /dev/null +++ b/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_fragment_keys.xml @@ -0,0 +1,13 @@ + + ExternalReference + + + GlobalReference + https://example.com/something + + + FragmentReference + something-more + + + diff --git a/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_globally_identifiable.xml b/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_globally_identifiable.xml new file mode 100644 index 00000000..17bf4224 --- /dev/null +++ b/test_data/Xml/Expected/reference/external_reference_last_key_in_generic_globally_identifiable.xml @@ -0,0 +1,13 @@ + + ExternalReference + + + GlobalReference + https://example.com/something + + + GlobalReference + something-more + + + diff --git a/test_data/Xml/Expected/reference/maximal.xml b/test_data/Xml/Expected/reference/maximal.xml new file mode 100644 index 00000000..1c02ffbc --- /dev/null +++ b/test_data/Xml/Expected/reference/maximal.xml @@ -0,0 +1,18 @@ + + ExternalReference + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Expected/reference/minimal.xml b/test_data/Xml/Expected/reference/minimal.xml new file mode 100644 index 00000000..455c4621 --- /dev/null +++ b/test_data/Xml/Expected/reference/minimal.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Expected/reference/model_reference_first_key_in_globally_and_aas_identifiables.xml b/test_data/Xml/Expected/reference/model_reference_first_key_in_globally_and_aas_identifiables.xml new file mode 100644 index 00000000..2b2e192d --- /dev/null +++ b/test_data/Xml/Expected/reference/model_reference_first_key_in_globally_and_aas_identifiables.xml @@ -0,0 +1,9 @@ + + ModelReference + + + Submodel + https://example.com/something + + + diff --git a/test_data/Xml/Expected/reference/model_reference_fragment_after_blob.xml b/test_data/Xml/Expected/reference/model_reference_fragment_after_blob.xml new file mode 100644 index 00000000..dcae508c --- /dev/null +++ b/test_data/Xml/Expected/reference/model_reference_fragment_after_blob.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + Blob + something_more + + + FragmentReference + yet_something_more + + + diff --git a/test_data/Xml/Expected/reference/model_reference_valid_key_value_after_list.xml b/test_data/Xml/Expected/reference/model_reference_valid_key_value_after_list.xml new file mode 100644 index 00000000..01e64c01 --- /dev/null +++ b/test_data/Xml/Expected/reference/model_reference_valid_key_value_after_list.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + SubmodelElementList + something_more + + + Property + 123 + + + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..14398136 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..65e51274 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f2924151 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..a0a3cb55 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..20e267fa --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..eb0961bf --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..b82a9e03 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..3d91c8d0 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..1ae3d486 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..279d7e76 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..910100bd --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..ad6fbf36 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..6b011b4a --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..a9f12bc6 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f52e346a --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..e9d43aba --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..7ef5a5cb --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..23da10d6 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..396410e1 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..338b4213 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..98f4f3eb --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..80967d05 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..9b3fa57a --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..b9269719 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..c68608e3 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..dd01d203 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..490d2e4c --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..43dca067 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..67672da7 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..ea6313a4 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..c6e3171b --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/referenceElement/maximal.xml b/test_data/Xml/Expected/referenceElement/maximal.xml new file mode 100644 index 00000000..c5edf29a --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/maximal.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Expected/referenceElement/minimal.xml b/test_data/Xml/Expected/referenceElement/minimal.xml new file mode 100644 index 00000000..c0d95949 --- /dev/null +++ b/test_data/Xml/Expected/referenceElement/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..716c3080 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..98d5ae25 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6895e629 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..d7d22982 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..fec09054 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..ee90774b --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..3dafd112 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ab6c3fee --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..99b18aa1 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..2c1b971b --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..808eee18 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..54e2174f --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..a9f35b43 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..aadb7663 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..1b317839 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..2168a23b --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..d2392d46 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..49d232f3 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..b6738932 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..0e32dc6a --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c10a6f1d --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..0fdbc38b --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..2a5ade0c --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..a629d3b3 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..3a3daa2e --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..9b4a20db --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..24649f8d --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..973eda1c --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..1f3f647e --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..0bd48624 --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..527a475e --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/relationshipElement/maximal.xml b/test_data/Xml/Expected/relationshipElement/maximal.xml new file mode 100644 index 00000000..4f5b53bd --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/maximal.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Expected/relationshipElement/minimal.xml b/test_data/Xml/Expected/relationshipElement/minimal.xml new file mode 100644 index 00000000..2462482f --- /dev/null +++ b/test_data/Xml/Expected/relationshipElement/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dash.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dash.xml new file mode 100644 index 00000000..dfc48edd --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dash.xml @@ -0,0 +1,4 @@ + + #; + application/x-abiword + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dots.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dots.xml new file mode 100644 index 00000000..3434cea1 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/dots.xml @@ -0,0 +1,4 @@ + + #; + application/vnd.amazon.ebook + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..88124b4c --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + #; + 7/6qwqh6g + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..db2534bf --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + #; + 15j/5j + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..04007107 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + #; + 'VbrwFrYTU/fO7NnLxq ; MX.`10dB732`X5yRy=I56Ov9Us ; pRb~~hdw_C%2Zf="" ; h=1t + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/number prefix and suffix.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/number prefix and suffix.xml new file mode 100644 index 00000000..2ee2259c --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/number prefix and suffix.xml @@ -0,0 +1,4 @@ + + #; + audio/3gpp2 + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/only_letters.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/only_letters.xml new file mode 100644 index 00000000..a3f1e37a --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/only_letters.xml @@ -0,0 +1,4 @@ + + #; + audio/aac + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/plus.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/plus.xml new file mode 100644 index 00000000..2a38caea --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/plus.xml @@ -0,0 +1,4 @@ + + #; + application/vnd.apple.installer+xml + diff --git a/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/random_common_MIME_type.xml b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/random_common_MIME_type.xml new file mode 100644 index 00000000..02746a14 --- /dev/null +++ b/test_data/Xml/Expected/resource/contentTypeOverPatternExamples/random_common_MIME_type.xml @@ -0,0 +1,4 @@ + + #; + application/something-random + diff --git a/test_data/Xml/Expected/resource/maximal.xml b/test_data/Xml/Expected/resource/maximal.xml new file mode 100644 index 00000000..db2534bf --- /dev/null +++ b/test_data/Xml/Expected/resource/maximal.xml @@ -0,0 +1,4 @@ + + #; + 15j/5j + diff --git a/test_data/Xml/Expected/resource/minimal.xml b/test_data/Xml/Expected/resource/minimal.xml new file mode 100644 index 00000000..3e39ea66 --- /dev/null +++ b/test_data/Xml/Expected/resource/minimal.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..0abaed9c --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + #%4b%6AT + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..6e9956c0 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + RqjJsrvAJ1Uk:%9d'%8C_%81k,%Fcd?yw,@B,M=.EE%8E + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5a6ed255 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + #/%38%21& + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f4e3f797 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + //QQ%BF(,xe;A.@%94($,=%38@ + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..b59d9087 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + /;=:&%30%1a;77@%321%A4%21;%FC:=/;=,=%13y:%2D;+J%c6%bcU%D3;j1G:sg=%EcA%f3/@z%29%B7&B;=#@H%8D=U%FE%5e%22%Db?,+ + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..3e39ea66 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..fa736bae --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + #%6A%6AT + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..5228a043 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..6ea827d4 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + q2t2uv://777646689268.160810318.01435447069935.47:/%Be/%04@%Cd@P%dc:C$&~x=;%3f9+;;sr-i=p,///;%D5@@x&;V@I%16/+;%e4,@%AA@Ih:%8Dg=%F8P,v%dE%3E%03%62%FB=$R,&%ac%71;u%11l8*;,;$%Faj:;;;%ee$%8b%EC@%4Alo;t,%0b%eB%D5%EA:%De;$$1:@/%8e%0D&9%C8M;@5%28%4E%BC@%34;;@%EC=tL)x(/M%D3%aF&%Ec;=%aa$$j;;%B3@hk=e:%DB%24Z;%F6%9E+%8e;=;%ba;;%b3;;p%f11=%34%c0;#lR:+k%BE4%EB + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..3ecc6df3 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + #%59T=%e1&&%b4%53EYU?,/q%87%c6He + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_01.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_01.xml new file mode 100644 index 00000000..81a960e6 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_01.xml @@ -0,0 +1,3 @@ + + http://www.example.org + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_02.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_02.xml new file mode 100644 index 00000000..aebe430c --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_02.xml @@ -0,0 +1,3 @@ + + ftp://ftp.is.co.za/rfc/rfc1808.txt + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_03.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_03.xml new file mode 100644 index 00000000..be4adcbc --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_03.xml @@ -0,0 +1,3 @@ + + mailto:John.Doe@example.org + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_04.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_04.xml new file mode 100644 index 00000000..bb13ce4f --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_04.xml @@ -0,0 +1,3 @@ + + news:comp.infosystems.www.servers.unix + diff --git a/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_05.xml b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_05.xml new file mode 100644 index 00000000..14664120 --- /dev/null +++ b/test_data/Xml/Expected/resource/pathOverPatternExamples/made_up_05.xml @@ -0,0 +1,3 @@ + + telnet://192.0.2.16:80/ + diff --git a/test_data/Xml/Expected/specificAssetId/maximal.xml b/test_data/Xml/Expected/specificAssetId/maximal.xml new file mode 100644 index 00000000..1d397eae --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/maximal.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Expected/specificAssetId/minimal.xml b/test_data/Xml/Expected/specificAssetId/minimal.xml new file mode 100644 index 00000000..b2c29c67 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/minimal.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..cc86574d --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..87800f34 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..43595623 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..fb5e66ed --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..d9ce65ea --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b2c29c67 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..98191328 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ae6fa204 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..f30f3025 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..7318ec69 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/nameOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..b5ebf1e9 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..b2c29c67 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..7e159c18 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f8e355fb --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..60cc43fb --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + J5 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..630d4db5 --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..3d20dbcd --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 6 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..d03dc82f --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..4fac5b9c --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..52bfb52a --- /dev/null +++ b/test_data/Xml/Expected/specificAssetId/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8ed79e2b --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..90cfc6b4 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..f8042c7b --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..dbe664ec --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..5040ea2b --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..7f035aeb --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..725b6a75 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..3c72f875 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..deddae11 --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + 0 + diff --git a/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a94d36ff --- /dev/null +++ b/test_data/Xml/Expected/submodel/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + 0 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..2fe8355a --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..5e5b1c54 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..6186223c --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..f54970a0 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..549a414f --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..94c15d48 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..28f591db --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..f5de88d3 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..3ae6d545 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..a659b387 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..423913f8 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..9c943bf3 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..8cd6530b --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..199954dd --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..9c12076b --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..83322c61 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..303f47cd --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..f1122574 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..a7c021f9 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..824faa43 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..6ee976f8 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..6a0a2cee --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..3477e3a2 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..eb6b8d44 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..39c811d3 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..016300df --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..d29dd53c --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..653bc3f6 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..fdb0ce80 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..652dc132 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + 0 + diff --git a/test_data/Xml/Expected/submodel/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..77752639 --- /dev/null +++ b/test_data/Xml/Expected/submodel/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + 0 + diff --git a/test_data/Xml/Expected/submodel/maximal.xml b/test_data/Xml/Expected/submodel/maximal.xml new file mode 100644 index 00000000..7add5d4d --- /dev/null +++ b/test_data/Xml/Expected/submodel/maximal.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Expected/submodel/minimal.xml b/test_data/Xml/Expected/submodel/minimal.xml new file mode 100644 index 00000000..a659b387 --- /dev/null +++ b/test_data/Xml/Expected/submodel/minimal.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..37c8311f --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..fec8a407 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..5d6b77c6 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..4501610d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..0e8d3784 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..d4a4ce4c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..4063fd87 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..6c113153 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..c7db4571 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..0add8254 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..f2cbae52 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,3 @@ + + a-_-_-_-_-_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..0f80cae5 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,3 @@ + + strange-name_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..76378b62 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + fULCVpULCVq + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..be107f53 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + AopQejF + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..290bb262 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + Jk0k1414Di + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..89fc15a1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + pVz10Vz10vZZNO9hM + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..8cbcfac9 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + t8x1pz9WS4TGV + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..b09db363 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + tWC + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..184de98d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + xF2bO_Uje6 + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ba9e800b --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + EO5DYAe + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..4ca7d5c7 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + nRdRe + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..60f313bd --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + P7gn + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..a3fce04c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,3 @@ + + a-_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..81320b00 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,3 @@ + + a----------------b + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..29d517dd --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,3 @@ + + a________________ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..40a41125 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,3 @@ + + a0 + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..ea0180b3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,3 @@ + + aa + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..68cf5ca7 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,3 @@ + + a_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..5437ff65 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,3 @@ + + AZ + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..6670e1eb --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,3 @@ + + a-b + diff --git a/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..4c916723 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,3 @@ + + A_ + diff --git a/test_data/Xml/Expected/submodelElementCollection/maximal.xml b/test_data/Xml/Expected/submodelElementCollection/maximal.xml new file mode 100644 index 00000000..a01fbc83 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/maximal.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Expected/submodelElementCollection/minimal.xml b/test_data/Xml/Expected/submodelElementCollection/minimal.xml new file mode 100644 index 00000000..56a2b73c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementCollection/minimal.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..2e8fc6cb --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..04697cfa --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + 𠤢4𠤢 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..9a70d481 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + [\h$񒺟ìÖċŠ1¿ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..7fec854a --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + öĖa􍣡™| + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..07aa91e0 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + J5 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..fde592ea --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..911c84d1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + 6 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..ea9775c1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..7e4c5e12 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + <ă<P󨱽²|dnœÞ® + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..54ca2f97 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/categoryOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + 0 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/alternating_hyphen_underscore.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/alternating_hyphen_underscore.xml new file mode 100644 index 00000000..d53a03d3 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/alternating_hyphen_underscore.xml @@ -0,0 +1,4 @@ + + a-_-_-_-_-_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/ends_with_underscore.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/ends_with_underscore.xml new file mode 100644 index 00000000..fa364295 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/ends_with_underscore.xml @@ -0,0 +1,4 @@ + + strange-name_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..d94bb0c0 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,4 @@ + + fULCVpULCVq + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..2246525d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,4 @@ + + AopQejF + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..2fdc1b9c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,4 @@ + + Jk0k1414Di + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..1f3b4e18 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,4 @@ + + pVz10Vz10vZZNO9hM + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..d0e53999 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,4 @@ + + t8x1pz9WS4TGV + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..239c4697 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,4 @@ + + tWC + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..8849a43a --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,4 @@ + + xF2bO_Uje6 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..498b516d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,4 @@ + + EO5DYAe + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..94e63f57 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,4 @@ + + nRdRe + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..cb9a7386 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,4 @@ + + P7gn + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/hyphen_then_underscore.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/hyphen_then_underscore.xml new file mode 100644 index 00000000..d1293533 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/hyphen_then_underscore.xml @@ -0,0 +1,4 @@ + + a-_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_internal_hyphens.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_internal_hyphens.xml new file mode 100644 index 00000000..7f1282f1 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_internal_hyphens.xml @@ -0,0 +1,4 @@ + + a----------------b + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_underscores.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_underscores.xml new file mode 100644 index 00000000..cc932449 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/many_underscores.xml @@ -0,0 +1,4 @@ + + a________________ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_digit.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_digit.xml new file mode 100644 index 00000000..6cb2b968 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_digit.xml @@ -0,0 +1,4 @@ + + a0 + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_lower.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_lower.xml new file mode 100644 index 00000000..29d4ef2c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_lower.xml @@ -0,0 +1,4 @@ + + aa + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_underscore.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_underscore.xml new file mode 100644 index 00000000..8e5f15c5 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_underscore.xml @@ -0,0 +1,4 @@ + + a_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_upper.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_upper.xml new file mode 100644 index 00000000..671490dc --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/minimal_upper.xml @@ -0,0 +1,4 @@ + + AZ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/single_internal_hyphen.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/single_internal_hyphen.xml new file mode 100644 index 00000000..446ecfae --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/single_internal_hyphen.xml @@ -0,0 +1,4 @@ + + a-b + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/underscore_after_first.xml b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/underscore_after_first.xml new file mode 100644 index 00000000..5cdd9bef --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/idShortOverPatternExamples/underscore_after_first.xml @@ -0,0 +1,4 @@ + + A_ + BasicEventElement + diff --git a/test_data/Xml/Expected/submodelElementList/list_id_short_in_value.xml b/test_data/Xml/Expected/submodelElementList/list_id_short_in_value.xml new file mode 100644 index 00000000..fb195960 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/list_id_short_in_value.xml @@ -0,0 +1,11 @@ + + someList + Property + xs:boolean + + + something + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/list_no_semantic_id_list_element.xml b/test_data/Xml/Expected/submodelElementList/list_no_semantic_id_list_element.xml new file mode 100644 index 00000000..c41c9cd2 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/list_no_semantic_id_list_element.xml @@ -0,0 +1,31 @@ + + someList + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/list_one_child_without_semantic_id.xml b/test_data/Xml/Expected/submodelElementList/list_one_child_without_semantic_id.xml new file mode 100644 index 00000000..b9c1470c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/list_one_child_without_semantic_id.xml @@ -0,0 +1,31 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/list_two_properties.xml b/test_data/Xml/Expected/submodelElementList/list_two_properties.xml new file mode 100644 index 00000000..c72859e8 --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/list_two_properties.xml @@ -0,0 +1,40 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/maximal.xml b/test_data/Xml/Expected/submodelElementList/maximal.xml new file mode 100644 index 00000000..bbbd7c0d --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/maximal.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Expected/submodelElementList/minimal.xml b/test_data/Xml/Expected/submodelElementList/minimal.xml new file mode 100644 index 00000000..130aff6c --- /dev/null +++ b/test_data/Xml/Expected/submodelElementList/minimal.xml @@ -0,0 +1,3 @@ + + BasicEventElement + diff --git a/test_data/Xml/Expected/valueList/maximal.xml b/test_data/Xml/Expected/valueList/maximal.xml new file mode 100644 index 00000000..306c2cf5 --- /dev/null +++ b/test_data/Xml/Expected/valueList/maximal.xml @@ -0,0 +1,7 @@ + + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/valueList/minimal.xml b/test_data/Xml/Expected/valueList/minimal.xml new file mode 100644 index 00000000..306c2cf5 --- /dev/null +++ b/test_data/Xml/Expected/valueList/minimal.xml @@ -0,0 +1,7 @@ + + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Expected/valueReferencePair/maximal.xml b/test_data/Xml/Expected/valueReferencePair/maximal.xml new file mode 100644 index 00000000..cf12fb71 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/maximal.xml @@ -0,0 +1,12 @@ + + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Expected/valueReferencePair/minimal.xml b/test_data/Xml/Expected/valueReferencePair/minimal.xml new file mode 100644 index 00000000..37a011ad --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/minimal.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_01.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_01.xml new file mode 100644 index 00000000..de34e0db --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_01.xml @@ -0,0 +1,3 @@ + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_02.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_02.xml new file mode 100644 index 00000000..d78eb432 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_02.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_03.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_03.xml new file mode 100644 index 00000000..fdddcab3 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_03.xml @@ -0,0 +1,3 @@ + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_04.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_04.xml new file mode 100644 index 00000000..29617776 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_04.xml @@ -0,0 +1,3 @@ + + öĖa􍣡™| + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_05.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_05.xml new file mode 100644 index 00000000..ced9e2dc --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_05.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_06.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_06.xml new file mode 100644 index 00000000..79128662 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_06.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_07.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_07.xml new file mode 100644 index 00000000..1b166f4b --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_07.xml @@ -0,0 +1,3 @@ + + 6 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_08.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_08.xml new file mode 100644 index 00000000..37a011ad --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_08.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_09.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_09.xml new file mode 100644 index 00000000..27f4ca2f --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_09.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_10.xml b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_10.xml new file mode 100644 index 00000000..85111c94 --- /dev/null +++ b/test_data/Xml/Expected/valueReferencePair/valueOverPatternExamples/fuzzed_10.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml new file mode 100644 index 00000000..5b29f7fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + Blob + https://example.com/something + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml.errors new file mode 100644 index 00000000..00d2ab9e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_first_key_not_in_globally_identifiables.xml.errors @@ -0,0 +1,6 @@ +: Invariant violated: +Constraint AASd-121: For References the value of type of the first key of keys shall be one of Globally Identifiables.; +: Invariant violated: +Constraint AASd-122: For external references the value of type of the first key of keys shall be one of Generic Globally Identifiables.; +: Invariant violated: +Constraint AASd-124: For external references the last key of keys shall be either one of Generic Globally Identifiables or one of Generic Fragment Keys. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml new file mode 100644 index 00000000..ca7733d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml @@ -0,0 +1,13 @@ + + ExternalReference + + + GlobalReference + https://example.com/something + + + Blob + something_more + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml.errors new file mode 100644 index 00000000..6a37e0f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/external_reference_violation_invalid_last_key.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-124: For external references the last key of keys shall be either one of Generic Globally Identifiables or one of Generic Fragment Keys. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml new file mode 100644 index 00000000..305035b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml @@ -0,0 +1,9 @@ + + ModelReference + + + GlobalReference + https://example.com/something + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml.errors new file mode 100644 index 00000000..dde38a54 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_aas_identifiables.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-123: For model references the value of type of the first key of keys shall be one of AAS identifiables. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml new file mode 100644 index 00000000..c9848c26 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml @@ -0,0 +1,9 @@ + + ModelReference + + + Blob + https://example.com/something + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml.errors new file mode 100644 index 00000000..2c028c01 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_first_key_not_in_globally_identifiables.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-121: For References the value of type of the first key of keys shall be one of Globally Identifiables.; +: Invariant violated: +Constraint AASd-123: For model references the value of type of the first key of keys shall be one of AAS identifiables. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml new file mode 100644 index 00000000..6b19535b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + FragmentReference + something_more + + + Property + yet_something_more + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml.errors new file mode 100644 index 00000000..dd9bd5cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_in_the_middle.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-126: For model references with more than one key in keys the value of type of the last key in the reference key chain may be one of Generic Fragment Keys or no key at all shall have a value out of Generic Fragment Keys. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml new file mode 100644 index 00000000..1e28bb96 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + Property + something_more + + + FragmentReference + yet_something_more + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml.errors new file mode 100644 index 00000000..71f8a974 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_fragment_reference_not_after_file_or_blob.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-127: For model references, with more than one key in keys a key with type Fragment Reference shall be preceded by a key with type File or Blob. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml new file mode 100644 index 00000000..8571adb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml @@ -0,0 +1,17 @@ + + ModelReference + + + Submodel + https://example.com/something + + + SubmodelElementList + something_more + + + Property + -1 + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml.errors new file mode 100644 index 00000000..b9965198 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_invalid_key_value_after_list.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-128: For model references, the value of a key preceded by a key with type Submodel element list is an integer number denoting the position in the array of the submodel element list. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml new file mode 100644 index 00000000..bbe4e2fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml @@ -0,0 +1,13 @@ + + ModelReference + + + Submodel + https://example.com/something + + + GlobalReference + something_more + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml.errors new file mode 100644 index 00000000..8a837a74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/reference/model_reference_violation_second_key_not_in_fragment_keys.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-125: For model references with more than one key in keys the value of type of each of the keys following the first key of keys shall be one of Fragment Keys. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml new file mode 100644 index 00000000..5f630203 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml @@ -0,0 +1,40 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + something-very-different-from-the-expected + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml.errors new file mode 100644 index 00000000..28890846 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_semantic_id_list_element.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-107: If a first level child element has a semantic ID it shall be identical to semantic ID list element.; +: Invariant violated: +Constraint AASd-114: If two first level child elements have a semantic ID then they shall be identical. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml new file mode 100644 index 00000000..8f8ab17b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml @@ -0,0 +1,40 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml.errors new file mode 100644 index 00000000..dbe36e7a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_type_value_list_element.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-108: All first level child elements shall have the same submodel element type as specified in type value list element. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml new file mode 100644 index 00000000..191a3d2a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml @@ -0,0 +1,40 @@ + + someList + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:int + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml.errors new file mode 100644 index 00000000..5f343b52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_of_value_type_list_element.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-109: If type value list element is equal to Property or Range value type list element shall be set and all first level child elements shall have the value type as specified in value type list element. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml new file mode 100644 index 00000000..e759e57b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml @@ -0,0 +1,31 @@ + + someList + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + something-very-different-from-the-expected + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + yet-something-different-in-the-opposite-direction + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml.errors b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml.errors new file mode 100644 index 00000000..a95d4aab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/ConstraintViolation/submodelElementList/list_violation_semantic_id_mismatch_between_elements.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-114: If two first level child elements have a semantic ID then they shall be identical. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml new file mode 100644 index 00000000..ef35aeee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-02-29T12:13:14Z + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml.errors new file mode 100644 index 00000000..a24819ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/basicEventElement/lastUpdate.xml.errors @@ -0,0 +1,2 @@ +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml new file mode 100644 index 00000000..9b2f97fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-02-29T12:13:14Z + diff --git a/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml.errors b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml.errors new file mode 100644 index 00000000..698e336a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/DateTimeUtcViolationOnFebruary29th/eventPayload/timeStamp.xml.errors @@ -0,0 +1,2 @@ +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml new file mode 100644 index 00000000..ec3ce30b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:anyURI + `` + `` + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_01.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml new file mode 100644 index 00000000..009825ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:anyURI + ''1ƒ𐧂 + ''1ƒ𐧂 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml new file mode 100644 index 00000000..15dde2e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:anyURI + ''ÿ􈰚쎸Ⱥ«Ù + ''ÿ􈰚쎸Ⱥ«Ù + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml new file mode 100644 index 00000000..c8238963 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:anyURI + `0 + `0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml new file mode 100644 index 00000000..8ec0e468 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:anyURI + —LùÙ + —LùÙ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml new file mode 100644 index 00000000..c2792774 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml @@ -0,0 +1,5 @@ + + xs:anyURI + http://datypic.com#f% rag + http://datypic.com#f% rag + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml new file mode 100644 index 00000000..f7ffbf73 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml @@ -0,0 +1,5 @@ + + xs:anyURI + http://datypic.com#frag1#frag2 + http://datypic.com#frag1#frag2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Any_URI_too_many_fragments.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml new file mode 100644 index 00000000..d800e16c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + FB8 + FB8 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml new file mode 100644 index 00000000..5956e89c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + ==0F + ==0F + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml new file mode 100644 index 00000000..267a3608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + #/ + #/ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml new file mode 100644 index 00000000..578cb32e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 0 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml new file mode 100644 index 00000000..302ad827 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + 򤞈 񷩎񠴔ú + 򤞈 񷩎񠴔ú + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml new file mode 100644 index 00000000..9ff65340 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + ]]P + ]]P + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml new file mode 100644 index 00000000..6bc63639 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + í + í + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml new file mode 100644 index 00000000..94b4d44f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:base64Binary + ‚ + ‚ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Base_64_binary_negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..5d51631a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + xs:boolean + 0000 + 0000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml new file mode 100644 index 00000000..3502a3b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml @@ -0,0 +1,5 @@ + + xs:boolean + False + False + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_camelcase.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml new file mode 100644 index 00000000..8b8c1fec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml @@ -0,0 +1,5 @@ + + xs:boolean + FALSE + FALSE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_false_in_uppercase.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml new file mode 100644 index 00000000..0fe0bcaf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + xs:boolean + 򼅡󚈲6󚈲 + 򼅡󚈲6󚈲 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_01.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml new file mode 100644 index 00000000..2d359255 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + xs:boolean + 𵯴 + 𵯴 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml new file mode 100644 index 00000000..1bc2e300 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + xs:boolean +  º񌯽n +  º񌯽n + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml new file mode 100644 index 00000000..a81792b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + xs:boolean + 򪸏za𶢻‰ + 򪸏za𶢻‰ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..c6225827 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + xs:boolean + 0001 + 0001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml new file mode 100644 index 00000000..4b2f3e8e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml @@ -0,0 +1,5 @@ + + xs:boolean + True + True + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_camelcase.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml new file mode 100644 index 00000000..1b2539ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml @@ -0,0 +1,5 @@ + + xs:boolean + TRUE + TRUE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Boolean_true_in_uppercase.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml new file mode 100644 index 00000000..7d9db664 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml @@ -0,0 +1,5 @@ + + xs:byte + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml new file mode 100644 index 00000000..1bcd8917 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml @@ -0,0 +1,5 @@ + + xs:byte + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml new file mode 100644 index 00000000..21aba0f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:byte + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml new file mode 100644 index 00000000..28e8b829 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:byte + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml new file mode 100644 index 00000000..9b6aebf7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:byte + 128 + 128 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml new file mode 100644 index 00000000..dda6db64 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml @@ -0,0 +1,5 @@ + + xs:byte + -129 + -129 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_min_minus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml new file mode 100644 index 00000000..3353960c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml @@ -0,0 +1,5 @@ + + xs:byte + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Byte_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml new file mode 100644 index 00000000..821de64c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01T01:02:03Z + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_UTC.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml new file mode 100644 index 00000000..d1495b1b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01T01:02:03+02:00 + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml new file mode 100644 index 00000000..90bd7f62 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01T01:02:03 + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml new file mode 100644 index 00000000..7b946261 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01-15:00 + 2022-04-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml new file mode 100644 index 00000000..e6a81921 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01+15:00 + 2022-04-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml new file mode 100644 index 00000000..3ef6389e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + xs:date + 2022-04-01+02:00:12 + 2022-04-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_date_with_seconds_in_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml new file mode 100644 index 00000000..1c4274cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml @@ -0,0 +1,5 @@ + + xs:date + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml new file mode 100644 index 00000000..1520afce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + xs:date + 2011-02-29 + 2011-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_non_existing_february_29th.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml new file mode 100644 index 00000000..261012fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01 + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml new file mode 100644 index 00000000..98360085 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03-15:00 + 2022-04-01T01:02:03-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml new file mode 100644 index 00000000..5fc57dde --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+15:00 + 2022-04-01T01:02:03+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml new file mode 100644 index 00000000..415f9beb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03+02:00:12 + 2022-04-01T01:02:03+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_seconds_in_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml new file mode 100644 index 00000000..f6302752 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml @@ -0,0 +1,5 @@ + + xs:dateTime + unexpected-prefix-2022-04-01T01:02:03Z + unexpected-prefix-2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_prefix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml new file mode 100644 index 00000000..a75f20ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02:03Z-unexpected-suffix + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_time_with_unexpected_suffix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml new file mode 100644 index 00000000..3b295028 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01Z + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml new file mode 100644 index 00000000..942b90ae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml @@ -0,0 +1,5 @@ + + xs:dateTime + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml new file mode 100644 index 00000000..25aabe29 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2011-02-29T01:02:03Z + 2011-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_non_existing_february_29th.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml new file mode 100644 index 00000000..2b111f67 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01Z + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_minutes.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml new file mode 100644 index 00000000..852699f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 2022-04-01T01:02Z + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_without_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml new file mode 100644 index 00000000..2b2cc43b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + xs:dateTime + -0004-02-29T01:02:03 + -0004-02-29T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_4_bce_february_29th.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..92ea276b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + xs:dateTime + 0000-01-02T01:02:03 + 0000-01-02T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_time_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml new file mode 100644 index 00000000..a68f0561 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + xs:date + -0004-02-29 + -0004-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_4_bce_february_29th.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..24526456 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + xs:date + 0000-01-02 + 0000-01-02 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Date_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml new file mode 100644 index 00000000..b97b2064 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml @@ -0,0 +1,5 @@ + + xs:decimal + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml new file mode 100644 index 00000000..8f4dc69a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:decimal + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Decimal_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml new file mode 100644 index 00000000..5b466dbe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml @@ -0,0 +1,5 @@ + + xs:double + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml new file mode 100644 index 00000000..82f49ba8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:double + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml new file mode 100644 index 00000000..ad13ba13 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml @@ -0,0 +1,5 @@ + + xs:double + inf + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_inf_case_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml new file mode 100644 index 00000000..756db45f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml @@ -0,0 +1,5 @@ + + xs:double + nan + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_nan_case_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..5ba1ae1d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + xs:double + 12.34e5.6 + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml new file mode 100644 index 00000000..35aa8988 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml @@ -0,0 +1,5 @@ + + xs:double + +INF + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_plus_inf.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml new file mode 100644 index 00000000..0d708123 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml @@ -0,0 +1,5 @@ + + xs:double + 1.123456789e1234567890 + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Double_too_large.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml new file mode 100644 index 00000000..cd9f6684 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml @@ -0,0 +1,5 @@ + + xs:duration + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml new file mode 100644 index 00000000..8be58b58 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:duration + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml new file mode 100644 index 00000000..ddc907db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml @@ -0,0 +1,5 @@ + + xs:duration + 1234 + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_integer.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml new file mode 100644 index 00000000..e72c5775 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml @@ -0,0 +1,5 @@ + + xs:duration + 1Y + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_leading_P_missing.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml new file mode 100644 index 00000000..52516f3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml @@ -0,0 +1,5 @@ + + xs:duration + P-1Y + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_negative_years.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml new file mode 100644 index 00000000..c0b17289 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml @@ -0,0 +1,5 @@ + + xs:duration + P1Y-1M + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_positive_year_negative_months.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml new file mode 100644 index 00000000..04aaaf38 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml @@ -0,0 +1,5 @@ + + xs:duration + P1S + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_separator_T_missing.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml new file mode 100644 index 00000000..cad02fee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml @@ -0,0 +1,5 @@ + + xs:duration + P1M2Y + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Duration_the_order_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml new file mode 100644 index 00000000..e19c9bc4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml @@ -0,0 +1,5 @@ + + xs:float + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml new file mode 100644 index 00000000..bbb2aea6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:float + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml new file mode 100644 index 00000000..aaad911f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml @@ -0,0 +1,5 @@ + + xs:float + inf + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_inf_case_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml new file mode 100644 index 00000000..cfd356ff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml @@ -0,0 +1,5 @@ + + xs:float + nan + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_nan_case_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..b806efef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + xs:float + 12.34e5.6 + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml new file mode 100644 index 00000000..21f8cf63 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml @@ -0,0 +1,5 @@ + + xs:float + +INF + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_plus_inf.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml new file mode 100644 index 00000000..bb1ea1a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml @@ -0,0 +1,5 @@ + + xs:float + 1.123456789e1234567890 + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Float_too_large.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml new file mode 100644 index 00000000..a741c658 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---35 + ---35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_day_outside_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml new file mode 100644 index 00000000..41995704 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml @@ -0,0 +1,5 @@ + + xs:gDay + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml new file mode 100644 index 00000000..0f1159b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gDay + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml new file mode 100644 index 00000000..1aa705fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01-15:00 + ---01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..9a5cc4e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01+15:00:12 + ---01+15:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml new file mode 100644 index 00000000..c7d3e802 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---01+15:00 + ---01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml new file mode 100644 index 00000000..73b84630 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + xs:gDay + 15 + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_dashes.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml new file mode 100644 index 00000000..3da8b55d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + xs:gDay + ---5 + ---5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_missing_leading_digit.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml new file mode 100644 index 00000000..15f8f806 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + xs:gDay + --30- + --30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_day_unexpected_suffix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml new file mode 100644 index 00000000..eb230e40 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --01-35 + --01-35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_day_outside_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml new file mode 100644 index 00000000..ca821375 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml new file mode 100644 index 00000000..21724f70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml new file mode 100644 index 00000000..2f405a8b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01-15:00 + --11-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..1fc8c868 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01+02:00:12 + --11-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml new file mode 100644 index 00000000..b3d9667b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --11-01+15:00 + --11-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml new file mode 100644 index 00000000..db856b1d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + 01-15 + 01-15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_dashes.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml new file mode 100644 index 00000000..93db69b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --1-5 + --1-5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_missing_leading_digit.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml new file mode 100644 index 00000000..2a99c8ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + --04-31 + --04-31 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_non_existing_april_31st.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..09879ab1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + xs:gMonthDay + -01-30- + -01-30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_day_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml new file mode 100644 index 00000000..8e9c7067 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml @@ -0,0 +1,5 @@ + + xs:gMonth + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml new file mode 100644 index 00000000..4953a3e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gMonth + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml new file mode 100644 index 00000000..4a4e6b19 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11-15:00 + --11-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..73e0a36f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+02:00:12 + --11+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml new file mode 100644 index 00000000..890b0c23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --11+15:00 + --11+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml new file mode 100644 index 00000000..f9f19e60 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + xs:gMonth + 01 + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_dashes.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml new file mode 100644 index 00000000..4d09d913 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --1 + --1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_missing_leading_digit.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml new file mode 100644 index 00000000..dc31dffe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml @@ -0,0 +1,5 @@ + + xs:gMonth + --13 + --13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_month_outside_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..d733d004 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + xs:gMonth + -01- + -01- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_month_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml new file mode 100644 index 00000000..2de499f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml @@ -0,0 +1,5 @@ + + xs:gYear + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml new file mode 100644 index 00000000..955b9b3d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gYear + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml new file mode 100644 index 00000000..de317e87 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001-15:00 + 2001-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..6d7d0ec9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001+02:00:12 + 2001+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml new file mode 100644 index 00000000..2b92ca22 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001+15:00 + 2001+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml new file mode 100644 index 00000000..67bcc32d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml @@ -0,0 +1,5 @@ + + xs:gYear + 01 + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_missing_century.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml new file mode 100644 index 00000000..63ba802c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml new file mode 100644 index 00000000..ccd71120 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml new file mode 100644 index 00000000..e47898f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10-15:00 + 2001-10-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..301cf062 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10+02:00:12 + 2001-10+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml new file mode 100644 index 00000000..41d31e42 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-10+15:00 + 2001-10+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml new file mode 100644 index 00000000..a75f2832 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 01-13 + 01-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_century.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml new file mode 100644 index 00000000..560f031d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001 + 2001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_missing_month.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml new file mode 100644 index 00000000..88e045fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml @@ -0,0 +1,5 @@ + + xs:gYearMonth + 2001-13 + 2001-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_month_month_out_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml new file mode 100644 index 00000000..9c60d2e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml @@ -0,0 +1,5 @@ + + xs:gYear + 2001-12 + 2001-12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/G_year_unexpected_month.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml new file mode 100644 index 00000000..363730a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml new file mode 100644 index 00000000..64474bb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 123 + 123 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_odd_number_of_digits.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml new file mode 100644 index 00000000..03e94e26 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml @@ -0,0 +1,5 @@ + + xs:hexBinary + 1 + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Hex_binary_single_digit.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml new file mode 100644 index 00000000..97c99604 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml @@ -0,0 +1,5 @@ + + xs:int + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml new file mode 100644 index 00000000..eff28969 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml @@ -0,0 +1,5 @@ + + xs:int + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml new file mode 100644 index 00000000..2b503a63 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:int + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml new file mode 100644 index 00000000..d085b279 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:int + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml new file mode 100644 index 00000000..d9276335 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:int + 2147483648 + 2147483648 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml new file mode 100644 index 00000000..1024629e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml @@ -0,0 +1,5 @@ + + xs:int + -2147483649 + -2147483649 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_min_minus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml new file mode 100644 index 00000000..0f7a01dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml @@ -0,0 +1,5 @@ + + xs:int + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Int_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml new file mode 100644 index 00000000..7f598d67 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:integer + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml new file mode 100644 index 00000000..38fb5fdf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml @@ -0,0 +1,5 @@ + + xs:integer + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml new file mode 100644 index 00000000..af8cf45c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:integer + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml new file mode 100644 index 00000000..d74b838e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:integer + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml new file mode 100644 index 00000000..8a1f6b27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml @@ -0,0 +1,5 @@ + + xs:integer + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Integer_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml new file mode 100644 index 00000000..2db7e80c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml @@ -0,0 +1,5 @@ + + xs:long + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml new file mode 100644 index 00000000..3516849e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml @@ -0,0 +1,5 @@ + + xs:long + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml new file mode 100644 index 00000000..57cc0005 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:long + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml new file mode 100644 index 00000000..7ab9b73c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:long + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml new file mode 100644 index 00000000..21a98a77 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:long + 9223372036854775808 + 9223372036854775808 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml new file mode 100644 index 00000000..1defcf9a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml @@ -0,0 +1,5 @@ + + xs:long + -9223372036854775809 + -9223372036854775809 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_min_minus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml new file mode 100644 index 00000000..2de9750f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml @@ -0,0 +1,5 @@ + + xs:long + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Long_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml new file mode 100644 index 00000000..26113bed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml new file mode 100644 index 00000000..0ba3f38a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..e9fd791c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + +1 + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..be0d500b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + +0 + +0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_explicitly_positive_zero.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml new file mode 100644 index 00000000..67fb5804 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml new file mode 100644 index 00000000..fbe28332 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + 1 + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_implicitly_positive.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml new file mode 100644 index 00000000..8c07abd3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -2**5 + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml new file mode 100644 index 00000000..c8c71a7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + -1e2 + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml new file mode 100644 index 00000000..ad7f3d70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + 0 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..8d7e9cbc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:negativeInteger + 000 + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Negative_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml new file mode 100644 index 00000000..afbb70a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml new file mode 100644 index 00000000..e6c8b8cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml new file mode 100644 index 00000000..a94cd7f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml new file mode 100644 index 00000000..97a913d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml @@ -0,0 +1,5 @@ + + xs:nonNegativeInteger + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_negative_integer_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml new file mode 100644 index 00000000..82cf5966 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml new file mode 100644 index 00000000..1286ca86 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..9225c34c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + +1 + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_explicitly_positive.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml new file mode 100644 index 00000000..ccdc2aee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml new file mode 100644 index 00000000..42702765 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + 1 + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_implicitly_positive.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml new file mode 100644 index 00000000..c170971e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -2**5 + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml new file mode 100644 index 00000000..fb354f9c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml @@ -0,0 +1,5 @@ + + xs:nonPositiveInteger + -1e2 + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Non_positive_integer_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml new file mode 100644 index 00000000..14cdf352 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml new file mode 100644 index 00000000..7149b32d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml new file mode 100644 index 00000000..2b5604d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml new file mode 100644 index 00000000..b5350641 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml new file mode 100644 index 00000000..e7fa7fae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 0 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..a3d8d4fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + xs:positiveInteger + 000 + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Positive_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml new file mode 100644 index 00000000..4f5a76f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml @@ -0,0 +1,5 @@ + + xs:short + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml new file mode 100644 index 00000000..77623c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml @@ -0,0 +1,5 @@ + + xs:short + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml new file mode 100644 index 00000000..e5fede0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:short + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml new file mode 100644 index 00000000..6f8a591e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:short + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml new file mode 100644 index 00000000..fc39b0c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:short + 32768 + 32768 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml new file mode 100644 index 00000000..3a3b262d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml @@ -0,0 +1,5 @@ + + xs:short + -32769 + -32769 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_min_minus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml new file mode 100644 index 00000000..9f2b413d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml @@ -0,0 +1,5 @@ + + xs:short + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Short_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml new file mode 100644 index 00000000..9b15c6bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml @@ -0,0 +1,5 @@ + + xs:time + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml new file mode 100644 index 00000000..f6fa47af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:time + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml new file mode 100644 index 00000000..9a9fe66f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml @@ -0,0 +1,5 @@ + + xs:time + 25:25:10 + 25:25:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_hour_out_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml new file mode 100644 index 00000000..e07010ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52-15:00 + 21:32:52-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_negative_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..d0c93dad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52-02:00:12 + 21:32:52-02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml new file mode 100644 index 00000000..fd9a4298 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32:52+15:00 + 21:32:52+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_invalid_positive_offset.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml new file mode 100644 index 00000000..1ac358ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml @@ -0,0 +1,5 @@ + + xs:time + 01:61:10 + 01:61:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_minute_out_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml new file mode 100644 index 00000000..23b78b87 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml @@ -0,0 +1,5 @@ + + xs:time + 1:20:10 + 1:20:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_padded_zeros.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml new file mode 100644 index 00000000..d925bc4e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml @@ -0,0 +1,5 @@ + + xs:time + 21:32 + 21:32 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_missing_seconds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml new file mode 100644 index 00000000..a58cb610 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml @@ -0,0 +1,5 @@ + + xs:time + -10:00:00 + -10:00:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml new file mode 100644 index 00000000..c94b53b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml @@ -0,0 +1,5 @@ + + xs:time + 01:02:61 + 01:02:61 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Time_second_out_of_range.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml new file mode 100644 index 00000000..d91b3b78 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml new file mode 100644 index 00000000..911f1bbf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml new file mode 100644 index 00000000..465ccb32 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml new file mode 100644 index 00000000..388fefef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml new file mode 100644 index 00000000..ed6943ff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 256 + 256 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml new file mode 100644 index 00000000..b9e6909d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml new file mode 100644 index 00000000..d19d86b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml @@ -0,0 +1,5 @@ + + xs:unsignedByte + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_byte_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml new file mode 100644 index 00000000..ecedc737 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml new file mode 100644 index 00000000..d5981791 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml new file mode 100644 index 00000000..26cca8d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml new file mode 100644 index 00000000..2aaef012 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml new file mode 100644 index 00000000..61899b85 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 4294967296 + 4294967296 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml new file mode 100644 index 00000000..9f20e249 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml new file mode 100644 index 00000000..3e1820a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml @@ -0,0 +1,5 @@ + + xs:unsignedInt + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_int_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml new file mode 100644 index 00000000..20b92862 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml new file mode 100644 index 00000000..203e808d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml new file mode 100644 index 00000000..32e0247e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml new file mode 100644 index 00000000..a5e9fc16 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml new file mode 100644 index 00000000..3dff8446 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 18446744073709551616 + 18446744073709551616 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml new file mode 100644 index 00000000..66de7701 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml new file mode 100644 index 00000000..0cc35ebc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml @@ -0,0 +1,5 @@ + + xs:unsignedLong + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_long_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml new file mode 100644 index 00000000..9b5a832a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 1.2 + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_decimal.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml new file mode 100644 index 00000000..0cb44f4f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml new file mode 100644 index 00000000..625fe755 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + some free form text + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml new file mode 100644 index 00000000..6c208c24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 2**5 + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_mathematical_formula.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml new file mode 100644 index 00000000..54f4a40f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 65536 + 65536 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_max_plus_one.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml new file mode 100644 index 00000000..abbfb051 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + -1 + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml new file mode 100644 index 00000000..79deaf22 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml @@ -0,0 +1,5 @@ + + xs:unsignedShort + 1e2 + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml.errors new file mode 100644 index 00000000..17548c94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidRangeExample/range/Unsigned_short_scientific.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max must be consistent with the value type.; +: Invariant violated: +Min must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml new file mode 100644 index 00000000..1c10ae5b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + `` + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml new file mode 100644 index 00000000..9fc04e58 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + ''1ƒ𐧂 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml new file mode 100644 index 00000000..8e5b0a07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + ''ÿ􈰚쎸Ⱥ«Ù + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml new file mode 100644 index 00000000..b0e52dc9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + `0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml new file mode 100644 index 00000000..127a1bf8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + —LùÙ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml new file mode 100644 index 00000000..4dd43da8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + http://datypic.com#f% rag + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml new file mode 100644 index 00000000..002ca424 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:anyURI + http://datypic.com#frag1#frag2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Any_URI_too_many_fragments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml new file mode 100644 index 00000000..01a7d79c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + FB8 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml new file mode 100644 index 00000000..38e186bc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + ==0F + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml new file mode 100644 index 00000000..cd83fe3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + #/ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml new file mode 100644 index 00000000..fd6d6761 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml new file mode 100644 index 00000000..368fcb2f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + 򤞈 񷩎񠴔ú + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml new file mode 100644 index 00000000..c830e3cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + ]]P + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml new file mode 100644 index 00000000..2084dc19 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + í + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml new file mode 100644 index 00000000..2200fe21 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:base64Binary + ‚ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Base_64_binary_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..ca467fe3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 0000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml new file mode 100644 index 00000000..395449b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + False + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml new file mode 100644 index 00000000..6914f6a5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + FALSE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_false_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml new file mode 100644 index 00000000..16841afc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 򼅡󚈲6󚈲 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml new file mode 100644 index 00000000..27b7eca2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 𵯴 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml new file mode 100644 index 00000000..19e534c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean +  º񌯽n + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml new file mode 100644 index 00000000..316fe23a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 򪸏za𶢻‰ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..03112347 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + 0001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml new file mode 100644 index 00000000..3e485449 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + True + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml new file mode 100644 index 00000000..c986104f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:boolean + TRUE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Boolean_true_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml new file mode 100644 index 00000000..ecef09c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml new file mode 100644 index 00000000..cf9c36d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml new file mode 100644 index 00000000..5b85c240 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml new file mode 100644 index 00000000..b0f77614 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml new file mode 100644 index 00000000..56757fcb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 128 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml new file mode 100644 index 00000000..96786db3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + -129 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml new file mode 100644 index 00000000..003e7e7b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:byte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml new file mode 100644 index 00000000..d654bec8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_UTC.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml new file mode 100644 index 00000000..da89ba56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_with_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml new file mode 100644 index 00000000..0c506f56 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_time_without_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml new file mode 100644 index 00000000..b627ee4b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml new file mode 100644 index 00000000..6f0c9631 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml new file mode 100644 index 00000000..0bf25fee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2022-04-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_date_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml new file mode 100644 index 00000000..193148ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml new file mode 100644 index 00000000..7951636e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 2011-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml new file mode 100644 index 00000000..28e951d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml new file mode 100644 index 00000000..3d58783b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml new file mode 100644 index 00000000..993c0c75 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml new file mode 100644 index 00000000..1953f592 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml new file mode 100644 index 00000000..a79be86e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + unexpected-prefix-2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_prefix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml new file mode 100644 index 00000000..779a55e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_time_with_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml new file mode 100644 index 00000000..457b0604 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_date_with_time_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml new file mode 100644 index 00000000..d61052f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml new file mode 100644 index 00000000..fec1b5e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2011-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml new file mode 100644 index 00000000..e99bf84a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_minutes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml new file mode 100644 index 00000000..be84dcb8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_without_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml new file mode 100644 index 00000000..84ce3669 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + -0004-02-29T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..71adc3c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:dateTime + 0000-01-02T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_time_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml new file mode 100644 index 00000000..5e488c6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + -0004-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..69c39211 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:date + 0000-01-02 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Date_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml new file mode 100644 index 00000000..7cd664d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml new file mode 100644 index 00000000..04260d4f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:decimal + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Decimal_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml new file mode 100644 index 00000000..32098c53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml new file mode 100644 index 00000000..864e6877 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml new file mode 100644 index 00000000..78fa1879 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml new file mode 100644 index 00000000..f95a2992 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..390af089 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml new file mode 100644 index 00000000..11eb5fdb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml new file mode 100644 index 00000000..ad654d40 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:double + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Double_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml new file mode 100644 index 00000000..6ac28d5b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml new file mode 100644 index 00000000..33165855 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml new file mode 100644 index 00000000..35f5ac45 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_integer.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml new file mode 100644 index 00000000..86bd3ca7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml new file mode 100644 index 00000000..3589cfe0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_negative_years.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml new file mode 100644 index 00000000..961fdad1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml new file mode 100644 index 00000000..b02d02b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml new file mode 100644 index 00000000..74bcf915 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:duration + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Duration_the_order_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml new file mode 100644 index 00000000..89f76d08 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml new file mode 100644 index 00000000..57bead30 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml new file mode 100644 index 00000000..4e9d9203 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml new file mode 100644 index 00000000..8d5cdecf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..68a2a9e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml new file mode 100644 index 00000000..24e8140a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml new file mode 100644 index 00000000..71d54769 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:float + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Float_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml new file mode 100644 index 00000000..4d1a49cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml new file mode 100644 index 00000000..e00d9a91 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml new file mode 100644 index 00000000..d5c18776 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml new file mode 100644 index 00000000..e83a609c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..e272b3f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01+15:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml new file mode 100644 index 00000000..e8b7e701 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml new file mode 100644 index 00000000..f001a8f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml new file mode 100644 index 00000000..e3788ebd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml new file mode 100644 index 00000000..960705b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gDay + --30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_day_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml new file mode 100644 index 00000000..34ca14b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --01-35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml new file mode 100644 index 00000000..41351048 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml new file mode 100644 index 00000000..ada7416d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml new file mode 100644 index 00000000..2a246572 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..b44d9545 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml new file mode 100644 index 00000000..8a0fc318 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --11-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml new file mode 100644 index 00000000..c3367859 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + 01-15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml new file mode 100644 index 00000000..2437f736 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --1-5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml new file mode 100644 index 00000000..b9d10736 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + --04-31 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_non_existing_april_31st.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..5899fac8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonthDay + -01-30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_day_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml new file mode 100644 index 00000000..14d3547c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml new file mode 100644 index 00000000..3c88376e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml new file mode 100644 index 00000000..2a929b1e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..db3ad555 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml new file mode 100644 index 00000000..cc93be28 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --11+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml new file mode 100644 index 00000000..920902ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml new file mode 100644 index 00000000..cfc118b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml new file mode 100644 index 00000000..f9e9cf94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + --13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_month_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..1d688d6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gMonth + -01- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_month_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml new file mode 100644 index 00000000..4566f7b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml new file mode 100644 index 00000000..c46534a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml new file mode 100644 index 00000000..5e58d794 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..2c76f095 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml new file mode 100644 index 00000000..4dafc233 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml new file mode 100644 index 00000000..8297fbe0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml new file mode 100644 index 00000000..846223ac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml new file mode 100644 index 00000000..405b0657 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml new file mode 100644 index 00000000..1f58811e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..83f78b89 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml new file mode 100644 index 00000000..68512ecb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-10+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml new file mode 100644 index 00000000..714d1458 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 01-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml new file mode 100644 index 00000000..30fe3f18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_missing_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml new file mode 100644 index 00000000..06cb14c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYearMonth + 2001-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_month_month_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml new file mode 100644 index 00000000..da534891 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:gYear + 2001-12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/G_year_unexpected_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml new file mode 100644 index 00000000..871e25f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml new file mode 100644 index 00000000..cf2c92b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 123 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_odd_number_of_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml new file mode 100644 index 00000000..dbff545b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:hexBinary + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Hex_binary_single_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml new file mode 100644 index 00000000..b47cb827 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml new file mode 100644 index 00000000..2b7476f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml new file mode 100644 index 00000000..fcb8b3df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml new file mode 100644 index 00000000..f4e7ce7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml new file mode 100644 index 00000000..854fb2e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 2147483648 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml new file mode 100644 index 00000000..c216fcb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + -2147483649 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml new file mode 100644 index 00000000..0ca6205d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:int + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml new file mode 100644 index 00000000..b2590f7a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml new file mode 100644 index 00000000..9ea11260 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml new file mode 100644 index 00000000..8bbee357 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml new file mode 100644 index 00000000..e23a2ae7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml new file mode 100644 index 00000000..3b37792e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:integer + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml new file mode 100644 index 00000000..c359d7ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml new file mode 100644 index 00000000..baf8e375 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml new file mode 100644 index 00000000..d7a4cf6c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml new file mode 100644 index 00000000..6e5378d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml new file mode 100644 index 00000000..fae5af0b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 9223372036854775808 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml new file mode 100644 index 00000000..800ad2dd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + -9223372036854775809 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml new file mode 100644 index 00000000..347d41d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:long + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml new file mode 100644 index 00000000..7d843571 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml new file mode 100644 index 00000000..0e8624b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..ac4d40d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..774b785e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + +0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_explicitly_positive_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml new file mode 100644 index 00000000..c9b5c6d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml new file mode 100644 index 00000000..656eeb65 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml new file mode 100644 index 00000000..e353258d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml new file mode 100644 index 00000000..12507386 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml new file mode 100644 index 00000000..bd4abde1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..e089c028 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:negativeInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Negative_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml new file mode 100644 index 00000000..ea508305 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml new file mode 100644 index 00000000..5cbc1ea8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml new file mode 100644 index 00000000..2d5e0556 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml new file mode 100644 index 00000000..552a759d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonNegativeInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_negative_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml new file mode 100644 index 00000000..c3c74e41 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml new file mode 100644 index 00000000..4ae71f88 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..a1058269 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml new file mode 100644 index 00000000..35e56aa7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml new file mode 100644 index 00000000..897d32ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml new file mode 100644 index 00000000..cb9158f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml new file mode 100644 index 00000000..4af97511 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:nonPositiveInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Non_positive_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml new file mode 100644 index 00000000..40ff4a10 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml new file mode 100644 index 00000000..48f875c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml new file mode 100644 index 00000000..d0c13108 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml new file mode 100644 index 00000000..0c653fdd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml new file mode 100644 index 00000000..8742e253 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..bd60bef5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:positiveInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Positive_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml new file mode 100644 index 00000000..593def8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml new file mode 100644 index 00000000..d60b45e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml new file mode 100644 index 00000000..9155d64b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml new file mode 100644 index 00000000..343fb001 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml new file mode 100644 index 00000000..fe541051 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 32768 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml new file mode 100644 index 00000000..7b109591 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + -32769 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml new file mode 100644 index 00000000..52da85e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:short + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml new file mode 100644 index 00000000..d42cbe24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml new file mode 100644 index 00000000..c345e1b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml new file mode 100644 index 00000000..13a1ba76 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 25:25:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_hour_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml new file mode 100644 index 00000000..5ce4d763 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..f4e6968b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52-02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml new file mode 100644 index 00000000..fdfead39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32:52+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml new file mode 100644 index 00000000..cdcd4e0c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:61:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_minute_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml new file mode 100644 index 00000000..b81c0dae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 1:20:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_padded_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml new file mode 100644 index 00000000..4e10d43b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 21:32 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_missing_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml new file mode 100644 index 00000000..593dc828 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + -10:00:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml new file mode 100644 index 00000000..e2f6b880 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:time + 01:02:61 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Time_second_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml new file mode 100644 index 00000000..cc20e1b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml new file mode 100644 index 00000000..42334b40 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml new file mode 100644 index 00000000..8444ad1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml new file mode 100644 index 00000000..f89388f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml new file mode 100644 index 00000000..57a04c74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 256 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml new file mode 100644 index 00000000..ae0fa97b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml new file mode 100644 index 00000000..440e9764 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedByte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml new file mode 100644 index 00000000..f1f6e1f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml new file mode 100644 index 00000000..fb9f01ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml new file mode 100644 index 00000000..d754ceec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml new file mode 100644 index 00000000..aa6e4382 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml new file mode 100644 index 00000000..299549de --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 4294967296 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml new file mode 100644 index 00000000..b52d18b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml new file mode 100644 index 00000000..95b849d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedInt + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml new file mode 100644 index 00000000..cf09b66b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml new file mode 100644 index 00000000..6c8de5c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml new file mode 100644 index 00000000..ad87ebde --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml new file mode 100644 index 00000000..820cb6e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml new file mode 100644 index 00000000..4d2b1ac5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 18446744073709551616 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml new file mode 100644 index 00000000..6bae643d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml new file mode 100644 index 00000000..bb006583 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedLong + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml new file mode 100644 index 00000000..6c25e9ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml new file mode 100644 index 00000000..21ab03d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml new file mode 100644 index 00000000..5f495643 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml new file mode 100644 index 00000000..a6ceaab9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml new file mode 100644 index 00000000..78212e3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 65536 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml new file mode 100644 index 00000000..e54d5ce6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml new file mode 100644 index 00000000..74103ed6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + xs:unsignedShort + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml.errors new file mode 100644 index 00000000..14049f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/extension/value/Unsigned_short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +The value must match the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml new file mode 100644 index 00000000..6a5c20b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:anyURI + `` + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml new file mode 100644 index 00000000..fd0bfd4c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:anyURI + ''1ƒ𐧂 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml new file mode 100644 index 00000000..8bf99804 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:anyURI + ''ÿ􈰚쎸Ⱥ«Ù + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml new file mode 100644 index 00000000..f2f33394 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:anyURI + `0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml new file mode 100644 index 00000000..85ba8c7e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:anyURI + —LùÙ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml new file mode 100644 index 00000000..df2d2c0c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml @@ -0,0 +1,4 @@ + + xs:anyURI + http://datypic.com#f% rag + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml new file mode 100644 index 00000000..c11c6aea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml @@ -0,0 +1,4 @@ + + xs:anyURI + http://datypic.com#frag1#frag2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Any_URI_too_many_fragments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml new file mode 100644 index 00000000..c19e59eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + FB8 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml new file mode 100644 index 00000000..737837d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + ==0F + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml new file mode 100644 index 00000000..34d75d79 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + #/ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml new file mode 100644 index 00000000..d8279e3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml new file mode 100644 index 00000000..8becfbeb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + 򤞈 񷩎񠴔ú + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml new file mode 100644 index 00000000..a6e83bae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + ]]P + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml new file mode 100644 index 00000000..bab74c0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + í + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml new file mode 100644 index 00000000..cedae722 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:base64Binary + ‚ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Base_64_binary_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..014bc358 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml @@ -0,0 +1,4 @@ + + xs:boolean + 0000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml new file mode 100644 index 00000000..5271afa3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml @@ -0,0 +1,4 @@ + + xs:boolean + False + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml new file mode 100644 index 00000000..37d2fea4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml @@ -0,0 +1,4 @@ + + xs:boolean + FALSE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_false_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml new file mode 100644 index 00000000..9edcb92b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + xs:boolean + 򼅡󚈲6󚈲 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml new file mode 100644 index 00000000..b2af1a0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + xs:boolean + 𵯴 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml new file mode 100644 index 00000000..19d1ce3c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + xs:boolean +  º񌯽n + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml new file mode 100644 index 00000000..9de80ea8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml @@ -0,0 +1,4 @@ + + xs:boolean + 򪸏za𶢻‰ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..d04b0d61 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml @@ -0,0 +1,4 @@ + + xs:boolean + 0001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml new file mode 100644 index 00000000..8753c485 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml @@ -0,0 +1,4 @@ + + xs:boolean + True + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml new file mode 100644 index 00000000..52d72026 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml @@ -0,0 +1,4 @@ + + xs:boolean + TRUE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Boolean_true_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml new file mode 100644 index 00000000..e4866872 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml @@ -0,0 +1,4 @@ + + xs:byte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml new file mode 100644 index 00000000..af06ae05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml @@ -0,0 +1,4 @@ + + xs:byte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml new file mode 100644 index 00000000..ebbedec9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:byte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml new file mode 100644 index 00000000..d0104e1c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:byte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml new file mode 100644 index 00000000..6b140d8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:byte + 128 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml new file mode 100644 index 00000000..24f8cc5e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml @@ -0,0 +1,4 @@ + + xs:byte + -129 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml new file mode 100644 index 00000000..26e01d7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml @@ -0,0 +1,4 @@ + + xs:byte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml new file mode 100644 index 00000000..12aae186 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_UTC.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml new file mode 100644 index 00000000..d67978e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_with_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml new file mode 100644 index 00000000..a2cdc0b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_time_without_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml new file mode 100644 index 00000000..15433bb2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml new file mode 100644 index 00000000..61138bd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml new file mode 100644 index 00000000..3a63a0c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml @@ -0,0 +1,4 @@ + + xs:date + 2022-04-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_date_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml new file mode 100644 index 00000000..5340b6f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml @@ -0,0 +1,4 @@ + + xs:date + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml new file mode 100644 index 00000000..edaea7df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml @@ -0,0 +1,4 @@ + + xs:date + 2011-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml new file mode 100644 index 00000000..fd99e9df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml new file mode 100644 index 00000000..bce116fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml new file mode 100644 index 00000000..ad28d7e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml new file mode 100644 index 00000000..ba1cc146 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml new file mode 100644 index 00000000..cb3fad8c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml @@ -0,0 +1,4 @@ + + xs:dateTime + unexpected-prefix-2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_prefix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml new file mode 100644 index 00000000..4ade7fcd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_time_with_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml new file mode 100644 index 00000000..f28111c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_date_with_time_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml new file mode 100644 index 00000000..ca6aae2f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml @@ -0,0 +1,4 @@ + + xs:dateTime + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml new file mode 100644 index 00000000..9d923413 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2011-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml new file mode 100644 index 00000000..d4f70990 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_minutes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml new file mode 100644 index 00000000..5b1fafd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_without_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml new file mode 100644 index 00000000..79a80292 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml @@ -0,0 +1,4 @@ + + xs:dateTime + -0004-02-29T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..13d3b69d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml @@ -0,0 +1,4 @@ + + xs:dateTime + 0000-01-02T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_time_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml new file mode 100644 index 00000000..a19665c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml @@ -0,0 +1,4 @@ + + xs:date + -0004-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..2d6b826e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml @@ -0,0 +1,4 @@ + + xs:date + 0000-01-02 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Date_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml new file mode 100644 index 00000000..c7f99c55 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml @@ -0,0 +1,4 @@ + + xs:decimal + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml new file mode 100644 index 00000000..788c3e0f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:decimal + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Decimal_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml new file mode 100644 index 00000000..7bca4804 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml @@ -0,0 +1,4 @@ + + xs:double + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml new file mode 100644 index 00000000..e5c0a943 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:double + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml new file mode 100644 index 00000000..27b4084a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml @@ -0,0 +1,4 @@ + + xs:double + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml new file mode 100644 index 00000000..baa6bf3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml @@ -0,0 +1,4 @@ + + xs:double + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..beb3a8e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml @@ -0,0 +1,4 @@ + + xs:double + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml new file mode 100644 index 00000000..99d867ac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml @@ -0,0 +1,4 @@ + + xs:double + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml new file mode 100644 index 00000000..4b93d4fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml @@ -0,0 +1,4 @@ + + xs:double + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Double_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml new file mode 100644 index 00000000..34319dfd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml @@ -0,0 +1,4 @@ + + xs:duration + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml new file mode 100644 index 00000000..0a85455b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:duration + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml new file mode 100644 index 00000000..d9c0c91e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml @@ -0,0 +1,4 @@ + + xs:duration + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_integer.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml new file mode 100644 index 00000000..044ef9ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml @@ -0,0 +1,4 @@ + + xs:duration + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml new file mode 100644 index 00000000..7d642d1e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml @@ -0,0 +1,4 @@ + + xs:duration + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_negative_years.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml new file mode 100644 index 00000000..a6a69b1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml @@ -0,0 +1,4 @@ + + xs:duration + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml new file mode 100644 index 00000000..696ce784 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml @@ -0,0 +1,4 @@ + + xs:duration + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml new file mode 100644 index 00000000..c6e1d584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml @@ -0,0 +1,4 @@ + + xs:duration + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Duration_the_order_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml new file mode 100644 index 00000000..adc2b9e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml @@ -0,0 +1,4 @@ + + xs:float + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml new file mode 100644 index 00000000..f8def164 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:float + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml new file mode 100644 index 00000000..1512806e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml @@ -0,0 +1,4 @@ + + xs:float + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml new file mode 100644 index 00000000..07da9133 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml @@ -0,0 +1,4 @@ + + xs:float + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..218f90af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml @@ -0,0 +1,4 @@ + + xs:float + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml new file mode 100644 index 00000000..20c103aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml @@ -0,0 +1,4 @@ + + xs:float + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml new file mode 100644 index 00000000..523ab4f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml @@ -0,0 +1,4 @@ + + xs:float + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Float_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml new file mode 100644 index 00000000..bc37f6b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml new file mode 100644 index 00000000..411c08a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml @@ -0,0 +1,4 @@ + + xs:gDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml new file mode 100644 index 00000000..a6284354 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml new file mode 100644 index 00000000..ad4f0644 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..e7254a4c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01+15:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml new file mode 100644 index 00000000..9e1891a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml new file mode 100644 index 00000000..d898e57c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml @@ -0,0 +1,4 @@ + + xs:gDay + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml new file mode 100644 index 00000000..cbdf57be --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml @@ -0,0 +1,4 @@ + + xs:gDay + ---5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml new file mode 100644 index 00000000..c84ac961 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml @@ -0,0 +1,4 @@ + + xs:gDay + --30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_day_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml new file mode 100644 index 00000000..6bdaad92 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --01-35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml new file mode 100644 index 00000000..01e30e57 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml new file mode 100644 index 00000000..c6d35b67 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml new file mode 100644 index 00000000..2707af09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..40057dce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml new file mode 100644 index 00000000..3deae706 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --11-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml new file mode 100644 index 00000000..e1b4c450 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + 01-15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml new file mode 100644 index 00000000..3b9f0f72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --1-5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml new file mode 100644 index 00000000..070c9dca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + --04-31 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_non_existing_april_31st.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..7c505622 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml @@ -0,0 +1,4 @@ + + xs:gMonthDay + -01-30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_day_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml new file mode 100644 index 00000000..865cc2e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml @@ -0,0 +1,4 @@ + + xs:gMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml new file mode 100644 index 00000000..095c53ec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml new file mode 100644 index 00000000..f843a870 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..91244751 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml new file mode 100644 index 00000000..c89b8378 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --11+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml new file mode 100644 index 00000000..bdabf1f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml @@ -0,0 +1,4 @@ + + xs:gMonth + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml new file mode 100644 index 00000000..5a41e18c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml new file mode 100644 index 00000000..a86ebf33 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml @@ -0,0 +1,4 @@ + + xs:gMonth + --13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_month_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..7d8ba18c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml @@ -0,0 +1,4 @@ + + xs:gMonth + -01- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_month_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml new file mode 100644 index 00000000..96a4d7d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml @@ -0,0 +1,4 @@ + + xs:gYear + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml new file mode 100644 index 00000000..d90c1f30 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gYear + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml new file mode 100644 index 00000000..755a1dc6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..633b7a00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml new file mode 100644 index 00000000..d4f23eaa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml new file mode 100644 index 00000000..ac9c2cbe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml @@ -0,0 +1,4 @@ + + xs:gYear + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml new file mode 100644 index 00000000..fcb761b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml new file mode 100644 index 00000000..e15c5761 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml new file mode 100644 index 00000000..45e2e88f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..cfea9e4c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml new file mode 100644 index 00000000..26df37a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-10+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml new file mode 100644 index 00000000..5d6e5a23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 01-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml new file mode 100644 index 00000000..d33db45a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_missing_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml new file mode 100644 index 00000000..de2ba16b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml @@ -0,0 +1,4 @@ + + xs:gYearMonth + 2001-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_month_month_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml new file mode 100644 index 00000000..20e59932 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml @@ -0,0 +1,4 @@ + + xs:gYear + 2001-12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/G_year_unexpected_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml new file mode 100644 index 00000000..8591e7ec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml new file mode 100644 index 00000000..cc75b69f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 123 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_odd_number_of_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml new file mode 100644 index 00000000..b84ec1a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml @@ -0,0 +1,4 @@ + + xs:hexBinary + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Hex_binary_single_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml new file mode 100644 index 00000000..92d7f866 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml @@ -0,0 +1,4 @@ + + xs:int + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml new file mode 100644 index 00000000..d883573a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml @@ -0,0 +1,4 @@ + + xs:int + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml new file mode 100644 index 00000000..e110f381 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:int + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml new file mode 100644 index 00000000..9d70b635 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:int + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml new file mode 100644 index 00000000..9206a8ac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:int + 2147483648 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml new file mode 100644 index 00000000..e5bae675 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml @@ -0,0 +1,4 @@ + + xs:int + -2147483649 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml new file mode 100644 index 00000000..62b9e4c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml @@ -0,0 +1,4 @@ + + xs:int + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml new file mode 100644 index 00000000..ebc232ba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:integer + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml new file mode 100644 index 00000000..2ba2d6eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml @@ -0,0 +1,4 @@ + + xs:integer + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml new file mode 100644 index 00000000..84d5094c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:integer + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml new file mode 100644 index 00000000..694b4d81 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:integer + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml new file mode 100644 index 00000000..f614ebb2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml @@ -0,0 +1,4 @@ + + xs:integer + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml new file mode 100644 index 00000000..0ff35d10 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml @@ -0,0 +1,4 @@ + + xs:long + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml new file mode 100644 index 00000000..ae0c36ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml @@ -0,0 +1,4 @@ + + xs:long + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml new file mode 100644 index 00000000..e540c6e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:long + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml new file mode 100644 index 00000000..368676a5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:long + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml new file mode 100644 index 00000000..e6bf4d9f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:long + 9223372036854775808 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml new file mode 100644 index 00000000..63b0d9be --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml @@ -0,0 +1,4 @@ + + xs:long + -9223372036854775809 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml new file mode 100644 index 00000000..26f6afe2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml @@ -0,0 +1,4 @@ + + xs:long + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml new file mode 100644 index 00000000..0ff89640 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml new file mode 100644 index 00000000..4906c876 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..25dfe28a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..d8025dca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + +0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_explicitly_positive_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml new file mode 100644 index 00000000..4ed088a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml new file mode 100644 index 00000000..42b21692 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml new file mode 100644 index 00000000..5024c874 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml new file mode 100644 index 00000000..95d8bf3f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml new file mode 100644 index 00000000..6cfae1ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..33717342 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:negativeInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Negative_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml new file mode 100644 index 00000000..27a622fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml new file mode 100644 index 00000000..1bda6457 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml new file mode 100644 index 00000000..03fb0a45 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml new file mode 100644 index 00000000..df5954fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml @@ -0,0 +1,4 @@ + + xs:nonNegativeInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_negative_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml new file mode 100644 index 00000000..25b04da9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml new file mode 100644 index 00000000..22fedd4b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..50982667 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml new file mode 100644 index 00000000..3475d10b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml new file mode 100644 index 00000000..5c049590 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml new file mode 100644 index 00000000..b81efac9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml new file mode 100644 index 00000000..2e3a0f82 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml @@ -0,0 +1,4 @@ + + xs:nonPositiveInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Non_positive_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml new file mode 100644 index 00000000..3015cb34 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml new file mode 100644 index 00000000..71a82655 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml new file mode 100644 index 00000000..72767d81 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml new file mode 100644 index 00000000..799e5a33 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml new file mode 100644 index 00000000..af20aaaa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..c48b40c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,4 @@ + + xs:positiveInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Positive_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml new file mode 100644 index 00000000..292a00bd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml @@ -0,0 +1,4 @@ + + xs:short + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml new file mode 100644 index 00000000..59b69d54 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml @@ -0,0 +1,4 @@ + + xs:short + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml new file mode 100644 index 00000000..b483710d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:short + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml new file mode 100644 index 00000000..da90d93b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:short + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml new file mode 100644 index 00000000..0754a9c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:short + 32768 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml new file mode 100644 index 00000000..02f8e77b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml @@ -0,0 +1,4 @@ + + xs:short + -32769 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml new file mode 100644 index 00000000..1408e5c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml @@ -0,0 +1,4 @@ + + xs:short + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml new file mode 100644 index 00000000..bffbe924 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml @@ -0,0 +1,4 @@ + + xs:time + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml new file mode 100644 index 00000000..61dbf114 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:time + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml new file mode 100644 index 00000000..34fc3241 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml @@ -0,0 +1,4 @@ + + xs:time + 25:25:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_hour_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml new file mode 100644 index 00000000..0dec4406 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..1488b7a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52-02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml new file mode 100644 index 00000000..84e0e6c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32:52+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml new file mode 100644 index 00000000..a8dd3b84 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml @@ -0,0 +1,4 @@ + + xs:time + 01:61:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_minute_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml new file mode 100644 index 00000000..7cf34f89 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml @@ -0,0 +1,4 @@ + + xs:time + 1:20:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_padded_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml new file mode 100644 index 00000000..0b1163d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml @@ -0,0 +1,4 @@ + + xs:time + 21:32 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_missing_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml new file mode 100644 index 00000000..1ac97398 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml @@ -0,0 +1,4 @@ + + xs:time + -10:00:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml new file mode 100644 index 00000000..60d14ba1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml @@ -0,0 +1,4 @@ + + xs:time + 01:02:61 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Time_second_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml new file mode 100644 index 00000000..25ae108e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml new file mode 100644 index 00000000..5f6f99eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml new file mode 100644 index 00000000..fb62045e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml new file mode 100644 index 00000000..80f673f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml new file mode 100644 index 00000000..ef00fb4c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 256 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml new file mode 100644 index 00000000..1044e147 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml new file mode 100644 index 00000000..6f9dc35f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml @@ -0,0 +1,4 @@ + + xs:unsignedByte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml new file mode 100644 index 00000000..3cc06ab0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml new file mode 100644 index 00000000..5e42384d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml new file mode 100644 index 00000000..42b47c5e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml new file mode 100644 index 00000000..55135d1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml new file mode 100644 index 00000000..f7f40113 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 4294967296 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml new file mode 100644 index 00000000..4f2bcd2c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml new file mode 100644 index 00000000..c36272a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml @@ -0,0 +1,4 @@ + + xs:unsignedInt + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml new file mode 100644 index 00000000..6bd9a48d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml new file mode 100644 index 00000000..355877a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml new file mode 100644 index 00000000..03c9887b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml new file mode 100644 index 00000000..cb767f24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml new file mode 100644 index 00000000..23943337 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 18446744073709551616 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml new file mode 100644 index 00000000..7c55221a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml new file mode 100644 index 00000000..60638ff3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml @@ -0,0 +1,4 @@ + + xs:unsignedLong + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml new file mode 100644 index 00000000..bb7ccf80 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml new file mode 100644 index 00000000..11db732d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml new file mode 100644 index 00000000..0788ef1e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml new file mode 100644 index 00000000..1e58bacb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml new file mode 100644 index 00000000..7d0c4fc3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 65536 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml new file mode 100644 index 00000000..cc20bacf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml new file mode 100644 index 00000000..2f699e03 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml @@ -0,0 +1,4 @@ + + xs:unsignedShort + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml.errors new file mode 100644 index 00000000..1edfe87f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/property/value/Unsigned_short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be consistent with the value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml new file mode 100644 index 00000000..7f5cc708 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + `` + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml new file mode 100644 index 00000000..84d4979a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + ''1ƒ𐧂 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml new file mode 100644 index 00000000..80d2a159 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + ''ÿ􈰚쎸Ⱥ«Ù + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml new file mode 100644 index 00000000..d3b9f02a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + `0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml new file mode 100644 index 00000000..c80fa8ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + —LùÙ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml new file mode 100644 index 00000000..3a7fe104 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + http://datypic.com#f% rag + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_percentage_followed_by_non_two_hexadecimal_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml new file mode 100644 index 00000000..a7fcb73d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:anyURI + http://datypic.com#frag1#frag2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Any_URI_too_many_fragments.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml new file mode 100644 index 00000000..30f0104f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + FB8 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_an_odd_number_of_characters_is_not_valid.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml new file mode 100644 index 00000000..48cd408a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + ==0F + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_equals_signs_may_only_appear_at_the_end.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml new file mode 100644 index 00000000..84ae28e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + #/ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml new file mode 100644 index 00000000..e03729c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml new file mode 100644 index 00000000..4048fa52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + 򤞈 񷩎񠴔ú + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml new file mode 100644 index 00000000..2b403994 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + ]]P + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml new file mode 100644 index 00000000..c86d7321 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + í + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml new file mode 100644 index 00000000..de626ad9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:base64Binary + ‚ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Base_64_binary_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..c3ed8812 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 0000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml new file mode 100644 index 00000000..13289884 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + False + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml new file mode 100644 index 00000000..2e7c6ad2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + FALSE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_false_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml new file mode 100644 index 00000000..83474649 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 򼅡󚈲6󚈲 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml new file mode 100644 index 00000000..3071b6bb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 𵯴 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml new file mode 100644 index 00000000..cd6f5325 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean +  º񌯽n + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml new file mode 100644 index 00000000..0ce4b54f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 򪸏za𶢻‰ + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml new file mode 100644 index 00000000..1e2bb056 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + 0001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_as_number_with_leading_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml new file mode 100644 index 00000000..0bb6c206 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + True + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_camelcase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml new file mode 100644 index 00000000..16c49b25 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:boolean + TRUE + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Boolean_true_in_uppercase.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml new file mode 100644 index 00000000..f7b56915 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml new file mode 100644 index 00000000..b96327f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml new file mode 100644 index 00000000..e74ebfa3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml new file mode 100644 index 00000000..90ee3f68 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml new file mode 100644 index 00000000..f54ac5cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 128 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml new file mode 100644 index 00000000..d7bc1ea5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + -129 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml new file mode 100644 index 00000000..3a2e3083 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:byte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml new file mode 100644 index 00000000..9d065aed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_UTC.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml new file mode 100644 index 00000000..8e2b4697 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_with_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml new file mode 100644 index 00000000..fec71aeb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_time_without_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml new file mode 100644 index 00000000..95cca188 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml new file mode 100644 index 00000000..aee44780 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml new file mode 100644 index 00000000..ab46a349 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2022-04-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_date_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml new file mode 100644 index 00000000..5ba19701 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml new file mode 100644 index 00000000..10fa4f5b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 2011-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml new file mode 100644 index 00000000..e83ae8d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml new file mode 100644 index 00000000..6ad3dd11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml new file mode 100644 index 00000000..052b901e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml new file mode 100644 index 00000000..f1a7aad0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_seconds_in_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml new file mode 100644 index 00000000..e85ca6cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + unexpected-prefix-2022-04-01T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_prefix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml new file mode 100644 index 00000000..c0bd69e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_time_with_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml new file mode 100644 index 00000000..4423b871 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_date_with_time_zone.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml new file mode 100644 index 00000000..7bd43abc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml new file mode 100644 index 00000000..a0afa473 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2011-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_non_existing_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml new file mode 100644 index 00000000..d08c67f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_minutes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml new file mode 100644 index 00000000..8c4c11ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_without_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml new file mode 100644 index 00000000..2762c3b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + -0004-02-29T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..67ba71be --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:dateTime + 0000-01-02T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_time_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml new file mode 100644 index 00000000..ccbeef32 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + -0004-02-29 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_4_bce_february_29th.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml new file mode 100644 index 00000000..29631ba5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:date + 0000-01-02 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Date_year_zero_doesnt_exist.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml new file mode 100644 index 00000000..9ab5a29a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml new file mode 100644 index 00000000..bfe69373 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:decimal + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Decimal_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml new file mode 100644 index 00000000..e1e8665d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml new file mode 100644 index 00000000..3b6a273d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml new file mode 100644 index 00000000..aa48c08d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml new file mode 100644 index 00000000..9b62bcfe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..e5541b2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml new file mode 100644 index 00000000..36e29f8f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml new file mode 100644 index 00000000..a4a7b5c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:double + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Double_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml new file mode 100644 index 00000000..e8fb7246 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml new file mode 100644 index 00000000..fd0988d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml new file mode 100644 index 00000000..6b483d98 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_integer.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml new file mode 100644 index 00000000..70832428 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml new file mode 100644 index 00000000..983d20cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_negative_years.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml new file mode 100644 index 00000000..0ecb8f14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml new file mode 100644 index 00000000..b92cf9e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml new file mode 100644 index 00000000..6a4c6f9b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:duration + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Duration_the_order_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml new file mode 100644 index 00000000..ef859c6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml new file mode 100644 index 00000000..c2185c96 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml new file mode 100644 index 00000000..da20e230 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + inf + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_inf_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml new file mode 100644 index 00000000..66bc6276 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + nan + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_nan_case_matters.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml new file mode 100644 index 00000000..10df05d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 12.34e5.6 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_no_fraction_in_scientific_notation.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml new file mode 100644 index 00000000..0b224903 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + +INF + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_plus_inf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml new file mode 100644 index 00000000..5ab2f284 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:float + 1.123456789e1234567890 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Float_too_large.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml new file mode 100644 index 00000000..b8797b87 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml new file mode 100644 index 00000000..ed12411e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml new file mode 100644 index 00000000..f24471e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml new file mode 100644 index 00000000..fe2d5a94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..3d66260a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01+15:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml new file mode 100644 index 00000000..b21c20a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml new file mode 100644 index 00000000..62eef8df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml new file mode 100644 index 00000000..67927a6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + ---5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml new file mode 100644 index 00000000..a6b85eee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + --30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_day_unexpected_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml new file mode 100644 index 00000000..4680c391 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --01-35 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_day_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml new file mode 100644 index 00000000..0168f1cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml new file mode 100644 index 00000000..784a31ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml new file mode 100644 index 00000000..fd808188 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..fa7f8362 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml new file mode 100644 index 00000000..6aece915 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --11-01+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml new file mode 100644 index 00000000..b5b23030 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + 01-15 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml new file mode 100644 index 00000000..b8dc8772 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --1-5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml new file mode 100644 index 00000000..eb641885 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + --04-31 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_non_existing_april_31st.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..806ba04f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonthDay + -01-30- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_day_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml new file mode 100644 index 00000000..cd842422 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml new file mode 100644 index 00000000..c9cbb062 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml new file mode 100644 index 00000000..d4b0b47d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..318b0b6d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml new file mode 100644 index 00000000..5e2c1b3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --11+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml new file mode 100644 index 00000000..56d8073c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_dashes.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml new file mode 100644 index 00000000..585c6dfa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_missing_leading_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml new file mode 100644 index 00000000..3c51c7cf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + --13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_month_outside_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml new file mode 100644 index 00000000..71491993 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gMonth + -01- + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_month_unexpected_prefix_and_suffix.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml new file mode 100644 index 00000000..d83e37e6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml new file mode 100644 index 00000000..1ff59ec7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml new file mode 100644 index 00000000..d5f36857 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..755579fb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml new file mode 100644 index 00000000..72275b69 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml new file mode 100644 index 00000000..ce9ad296 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 01 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml new file mode 100644 index 00000000..b3450ea9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml new file mode 100644 index 00000000..dab1277f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml new file mode 100644 index 00000000..1a18e944 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..9908981a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10+02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml new file mode 100644 index 00000000..6275785e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-10+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml new file mode 100644 index 00000000..dbcca32d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 01-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_century.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml new file mode 100644 index 00000000..e724e9ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_missing_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml new file mode 100644 index 00000000..f6f57459 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYearMonth + 2001-13 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_month_month_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml new file mode 100644 index 00000000..48d3a2a7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gYear + 2001-12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/G_year_unexpected_month.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml new file mode 100644 index 00000000..e2baa18f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml new file mode 100644 index 00000000..9b235f05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 123 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_odd_number_of_digits.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml new file mode 100644 index 00000000..e0d066da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:hexBinary + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Hex_binary_single_digit.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml new file mode 100644 index 00000000..afb6ad39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml new file mode 100644 index 00000000..49921d72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml new file mode 100644 index 00000000..4a0b1f48 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml new file mode 100644 index 00000000..e7d302e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml new file mode 100644 index 00000000..f0d978b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 2147483648 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml new file mode 100644 index 00000000..71d2ee0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + -2147483649 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml new file mode 100644 index 00000000..820537d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:int + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml new file mode 100644 index 00000000..364a3f38 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml new file mode 100644 index 00000000..dd0e6490 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml new file mode 100644 index 00000000..e9ec4820 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml new file mode 100644 index 00000000..773c32c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml new file mode 100644 index 00000000..6791bab4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:integer + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml new file mode 100644 index 00000000..d43b340a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml new file mode 100644 index 00000000..61fa8e5f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml new file mode 100644 index 00000000..3e9a1d0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml new file mode 100644 index 00000000..a4c44493 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml new file mode 100644 index 00000000..8ccf42a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 9223372036854775808 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml new file mode 100644 index 00000000..d0857d7f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + -9223372036854775809 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml new file mode 100644 index 00000000..165280eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:long + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml new file mode 100644 index 00000000..2859564a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml new file mode 100644 index 00000000..0201e0ce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml new file mode 100644 index 00000000..b52d7ac4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml new file mode 100644 index 00000000..261c4586 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + +0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_explicitly_positive_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml new file mode 100644 index 00000000..00d7df02 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml new file mode 100644 index 00000000..1fcc95c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml new file mode 100644 index 00000000..1f2d03e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml new file mode 100644 index 00000000..f038f0b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml new file mode 100644 index 00000000..75681da6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..e00d50cc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:negativeInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Negative_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml new file mode 100644 index 00000000..fa3bac23 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml new file mode 100644 index 00000000..ef0e6770 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml new file mode 100644 index 00000000..15d8c85f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml new file mode 100644 index 00000000..309f672c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonNegativeInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_negative_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml new file mode 100644 index 00000000..ab26e01a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml new file mode 100644 index 00000000..c96ee066 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml new file mode 100644 index 00000000..8dc8b9a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + +1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_explicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml new file mode 100644 index 00000000..85a259e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml new file mode 100644 index 00000000..d2d8b0b0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + 1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_implicitly_positive.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml new file mode 100644 index 00000000..9a528742 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml new file mode 100644 index 00000000..9e97a48a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:nonPositiveInteger + -1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Non_positive_integer_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml new file mode 100644 index 00000000..3cae9820 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml new file mode 100644 index 00000000..90435f11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml new file mode 100644 index 00000000..4f61b0bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml new file mode 100644 index 00000000..31cde728 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml new file mode 100644 index 00000000..b55c21cb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml new file mode 100644 index 00000000..18852a42 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:positiveInteger + 000 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Positive_integer_zero_prefixed_with_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml new file mode 100644 index 00000000..7ecd6746 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml new file mode 100644 index 00000000..ac32063a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml new file mode 100644 index 00000000..30ddabe1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml new file mode 100644 index 00000000..5624eefc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml new file mode 100644 index 00000000..19ded2ae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 32768 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml new file mode 100644 index 00000000..cd06d078 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + -32769 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_min_minus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml new file mode 100644 index 00000000..40c3e97a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:short + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml new file mode 100644 index 00000000..6f9c57e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml new file mode 100644 index 00000000..0f320af4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml new file mode 100644 index 00000000..5124cf46 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 25:25:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_hour_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml new file mode 100644 index 00000000..420002b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52-15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_negative_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml new file mode 100644 index 00000000..cd941c52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52-02:00:12 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_offset_with_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml new file mode 100644 index 00000000..5f939eee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32:52+15:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_invalid_positive_offset.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml new file mode 100644 index 00000000..7a535bf7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:61:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_minute_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml new file mode 100644 index 00000000..71252373 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 1:20:10 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_padded_zeros.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml new file mode 100644 index 00000000..e793d482 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 21:32 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_missing_seconds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml new file mode 100644 index 00000000..af29162b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + -10:00:00 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml new file mode 100644 index 00000000..1f8bd5df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:time + 01:02:61 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Time_second_out_of_range.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml new file mode 100644 index 00000000..20f82d0b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml new file mode 100644 index 00000000..93a54a33 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml new file mode 100644 index 00000000..2ff7f892 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml new file mode 100644 index 00000000..773fe8a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml new file mode 100644 index 00000000..e81cf2b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 256 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml new file mode 100644 index 00000000..e78bd76c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml new file mode 100644 index 00000000..8660d1fc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedByte + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_byte_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml new file mode 100644 index 00000000..ed421ce1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml new file mode 100644 index 00000000..c26402e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml new file mode 100644 index 00000000..c7f12b16 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml new file mode 100644 index 00000000..bb5c7a66 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml new file mode 100644 index 00000000..e8bac79f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 4294967296 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml new file mode 100644 index 00000000..165352d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml new file mode 100644 index 00000000..c316cba0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedInt + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_int_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml new file mode 100644 index 00000000..680eb323 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml new file mode 100644 index 00000000..906eb6f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml new file mode 100644 index 00000000..ae56e09c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml new file mode 100644 index 00000000..9d012d69 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml new file mode 100644 index 00000000..4c3d1e22 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 18446744073709551616 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml new file mode 100644 index 00000000..3b1f7c00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml new file mode 100644 index 00000000..ace1f5de --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedLong + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_long_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml new file mode 100644 index 00000000..964a30f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 1.2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_decimal.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml new file mode 100644 index 00000000..7cdf4634 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_empty.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml new file mode 100644 index 00000000..8c2c24ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_free_form_text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml new file mode 100644 index 00000000..1620f6af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 2**5 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_mathematical_formula.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml new file mode 100644 index 00000000..cc07667f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 65536 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_max_plus_one.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml new file mode 100644 index 00000000..fc784e09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_negative.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml new file mode 100644 index 00000000..21e51b7c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:unsignedShort + 1e2 + diff --git a/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml.errors b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml.errors new file mode 100644 index 00000000..d66cf2af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/InvalidValueExample/qualifier/value/Unsigned_short_scientific.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Constraint AASd-020: The value shall be consistent to the data type as defined in value type. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml new file mode 100644 index 00000000..ad21b35f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml @@ -0,0 +1,70 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 11612 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml.errors new file mode 100644 index 00000000..7825f85e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/revision.xml.errors @@ -0,0 +1,2 @@ +revision: Invariant violated: +Revision type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml new file mode 100644 index 00000000..e0c68859 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml @@ -0,0 +1,70 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml.errors new file mode 100644 index 00000000..1127fa5f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/templateId.xml.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml new file mode 100644 index 00000000..cf1e0193 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml @@ -0,0 +1,70 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 11612 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml.errors new file mode 100644 index 00000000..91be2cf3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/administrativeInformation/version.xml.errors @@ -0,0 +1,2 @@ +version: Invariant violated: +Version type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml new file mode 100644 index 00000000..63d94d49 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml new file mode 100644 index 00000000..6afd10db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/annotatedRelationshipElement/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml new file mode 100644 index 00000000..7efb4141 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml new file mode 100644 index 00000000..34b11afb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml new file mode 100644 index 00000000..d8f4734a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetAdministrationShell/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml new file mode 100644 index 00000000..eb15acea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml @@ -0,0 +1,22 @@ + + NotApplicable + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ®123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml.errors new file mode 100644 index 00000000..bd71b88a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/assetType.xml.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml new file mode 100644 index 00000000..8f5d29b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml @@ -0,0 +1,22 @@ + + NotApplicable + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml.errors new file mode 100644 index 00000000..3655ea14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/assetInformation/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml new file mode 100644 index 00000000..6d856167 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml new file mode 100644 index 00000000..31bdf8f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml new file mode 100644 index 00000000..9c01e897 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml.errors new file mode 100644 index 00000000..bc93bef1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/basicEventElement/messageTopic.xml.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +Message topic type shall have a maximum length of 255 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml new file mode 100644 index 00000000..810dcc42 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml new file mode 100644 index 00000000..035ea341 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml.errors new file mode 100644 index 00000000..7e381584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/contentType.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +Content type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml new file mode 100644 index 00000000..1e5c3634 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/blob/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml new file mode 100644 index 00000000..14e204d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml new file mode 100644 index 00000000..94427634 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/capability/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml new file mode 100644 index 00000000..fd81e95b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml new file mode 100644 index 00000000..74a3fd36 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml new file mode 100644 index 00000000..bb83a408 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/conceptDescription/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml new file mode 100644 index 00000000..9ae8724b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml.errors new file mode 100644 index 00000000..31fce69b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/dataSpecificationIec61360/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Value type IEC 61360 shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml new file mode 100644 index 00000000..552f7c77 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml new file mode 100644 index 00000000..8308c09a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml.errors new file mode 100644 index 00000000..3655ea14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml new file mode 100644 index 00000000..05c1bb4d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/entity/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml new file mode 100644 index 00000000..bd5bb822 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml @@ -0,0 +1,54 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™|1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml.errors new file mode 100644 index 00000000..156ad8e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/eventPayload/topic.xml.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +Message topic type shall have a maximum length of 255 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml new file mode 100644 index 00000000..4967545e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml @@ -0,0 +1,63 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ®123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml.errors new file mode 100644 index 00000000..398b8ba7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/extension/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml new file mode 100644 index 00000000..f5956f75 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml new file mode 100644 index 00000000..f74d43f1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml.errors new file mode 100644 index 00000000..7e381584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/contentType.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +Content type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml new file mode 100644 index 00000000..b3d8806d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml new file mode 100644 index 00000000..f2107f0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml.errors new file mode 100644 index 00000000..291f98d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/file/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml new file mode 100644 index 00000000..71241df9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml @@ -0,0 +1,4 @@ + + EventElement + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml.errors new file mode 100644 index 00000000..291f98d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/key/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml new file mode 100644 index 00000000..8db4c0f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors new file mode 100644 index 00000000..93032656 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 1023 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml new file mode 100644 index 00000000..d4b8a08e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J51234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml.errors new file mode 100644 index 00000000..254b7e3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringNameType/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml new file mode 100644 index 00000000..74fb1f33 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors new file mode 100644 index 00000000..2f04fe2e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 255 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml new file mode 100644 index 00000000..f891b85e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J512345678901234567 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml.errors new file mode 100644 index 00000000..97bd88cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringShortNameTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 18 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml new file mode 100644 index 00000000..8f5e17e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J512345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml.errors new file mode 100644 index 00000000..93032656 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/langStringTextType/text.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +String shall have a maximum length of 1023 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml new file mode 100644 index 00000000..b754c520 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml new file mode 100644 index 00000000..1f7adcf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/multiLanguageProperty/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml new file mode 100644 index 00000000..7003e291 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml @@ -0,0 +1,189 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml new file mode 100644 index 00000000..43f7b303 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml @@ -0,0 +1,189 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/operation/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml new file mode 100644 index 00000000..cf79ef06 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml new file mode 100644 index 00000000..3d8eb524 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/property/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml new file mode 100644 index 00000000..0d5b26f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml @@ -0,0 +1,53 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 612345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml.errors new file mode 100644 index 00000000..54bb6697 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/qualifier/type.xml.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml new file mode 100644 index 00000000..a04a931b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml new file mode 100644 index 00000000..2e2dd1aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/range/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml new file mode 100644 index 00000000..8102d3ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml new file mode 100644 index 00000000..9ac807f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/referenceElement/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml new file mode 100644 index 00000000..d32f60ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml new file mode 100644 index 00000000..b74ec52b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/relationshipElement/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml new file mode 100644 index 00000000..c67d25ba --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml @@ -0,0 +1,4 @@ + + #; + 15j/5j123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml.errors new file mode 100644 index 00000000..7e381584 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/contentType.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +Content type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml new file mode 100644 index 00000000..630a6990 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml @@ -0,0 +1,4 @@ + + #;1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml.errors new file mode 100644 index 00000000..a7262fe3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/resource/path.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml new file mode 100644 index 00000000..93eab757 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ®12345678901234567890123456789012345678901234567890123 + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml.errors new file mode 100644 index 00000000..b33cd31a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +Label type shall have a maximum length of 64 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml new file mode 100644 index 00000000..9aefa629 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml.errors new file mode 100644 index 00000000..291f98d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/specificAssetId/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml new file mode 100644 index 00000000..df3c695e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml new file mode 100644 index 00000000..a00bf7f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml.errors new file mode 100644 index 00000000..1b121160 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +Identifier shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml new file mode 100644 index 00000000..2d7edd3d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodel/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml new file mode 100644 index 00000000..705b03ea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml new file mode 100644 index 00000000..347ca6d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementCollection/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml new file mode 100644 index 00000000..baedfe5a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml.errors new file mode 100644 index 00000000..85213c70 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml new file mode 100644 index 00000000..125ac034 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901 + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml.errors new file mode 100644 index 00000000..cac60de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/submodelElementList/idShort.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +Name type shall have a maximum length of 128 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml new file mode 100644 index 00000000..e6a3f9b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml @@ -0,0 +1,12 @@ + + 򤑌M𪠇𛔊򂄲1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml.errors new file mode 100644 index 00000000..31fce69b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MaxLengthViolation/valueReferencePair/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +Value type IEC 61360 shall have a maximum length of 2048 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml new file mode 100644 index 00000000..6fa2a237 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml @@ -0,0 +1,15 @@ + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml new file mode 100644 index 00000000..bf9cc4d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml @@ -0,0 +1,70 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml.errors new file mode 100644 index 00000000..0d18a55a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/revision.xml.errors @@ -0,0 +1,4 @@ +revision: Invariant violated: +The value must not be empty.; +revision: Invariant violated: +Revision type shall match the revision pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml new file mode 100644 index 00000000..66a7b5c4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml @@ -0,0 +1,70 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml.errors new file mode 100644 index 00000000..3a76eab2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/templateId.xml.errors @@ -0,0 +1,2 @@ +templateId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml new file mode 100644 index 00000000..99bda1f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml @@ -0,0 +1,70 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml.errors new file mode 100644 index 00000000..e40bec5a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/administrativeInformation/version.xml.errors @@ -0,0 +1,4 @@ +version: Invariant violated: +The value must not be empty.; +version: Invariant violated: +Version type shall match the version pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml new file mode 100644 index 00000000..41e31c1b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml.errors new file mode 100644 index 00000000..a0861dd5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/annotations.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Annotations must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml new file mode 100644 index 00000000..86afdb3b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml new file mode 100644 index 00000000..45b5716e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml new file mode 100644 index 00000000..a1b91204 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..3cab3a74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml @@ -0,0 +1,111 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml new file mode 100644 index 00000000..bb40d9c4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml @@ -0,0 +1,159 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml new file mode 100644 index 00000000..6ae35bb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml new file mode 100644 index 00000000..90192bc7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..bee8576d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml @@ -0,0 +1,138 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml new file mode 100644 index 00000000..88c02f07 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml new file mode 100644 index 00000000..bf9a13fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml new file mode 100644 index 00000000..caeff5c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml new file mode 100644 index 00000000..0e7498a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml @@ -0,0 +1,68 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml new file mode 100644 index 00000000..d63ad466 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml @@ -0,0 +1,116 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml new file mode 100644 index 00000000..0111c8b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml new file mode 100644 index 00000000..59817512 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml new file mode 100644 index 00000000..f64d8bc0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml.errors new file mode 100644 index 00000000..cced5c00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetAdministrationShell/submodels.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Submodels must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml new file mode 100644 index 00000000..2bc8eb08 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml @@ -0,0 +1,22 @@ + + NotApplicable + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml.errors new file mode 100644 index 00000000..4e8ce9c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/assetType.xml.errors @@ -0,0 +1,2 @@ +assetType: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml new file mode 100644 index 00000000..24b60a50 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml @@ -0,0 +1,22 @@ + + NotApplicable + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml.errors new file mode 100644 index 00000000..3aac43a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml new file mode 100644 index 00000000..5ce5a379 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml @@ -0,0 +1,9 @@ + + NotApplicable + 0 + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml.errors new file mode 100644 index 00000000..a87da60e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/assetInformation/specificAssetIds.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-131: Either the global asset ID shall be defined or at least one specific asset ID.; +: Invariant violated: +Specific asset IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml new file mode 100644 index 00000000..ab217cfd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml new file mode 100644 index 00000000..77d48a7d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml new file mode 100644 index 00000000..6afa3b48 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..bb6f6169 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml @@ -0,0 +1,117 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml new file mode 100644 index 00000000..46cdfcc4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml @@ -0,0 +1,165 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml new file mode 100644 index 00000000..c92b4af4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml new file mode 100644 index 00000000..e37dda4c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml @@ -0,0 +1,172 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml.errors new file mode 100644 index 00000000..a76cfa6d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/messageTopic.xml.errors @@ -0,0 +1,2 @@ +messageTopic: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml new file mode 100644 index 00000000..7e1e42eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..2d83beb5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/basicEventElement/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml new file mode 100644 index 00000000..9981f602 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml new file mode 100644 index 00000000..6e4c6d0c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/contentType.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml new file mode 100644 index 00000000..dfd64f2e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml new file mode 100644 index 00000000..a4fcde98 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml new file mode 100644 index 00000000..71a19cc5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml @@ -0,0 +1,87 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml new file mode 100644 index 00000000..295fe0b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml @@ -0,0 +1,135 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml new file mode 100644 index 00000000..bb081001 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml new file mode 100644 index 00000000..df5b03a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml @@ -0,0 +1,129 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml new file mode 100644 index 00000000..28b8c82e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/blob/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml new file mode 100644 index 00000000..4ebd3d83 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml new file mode 100644 index 00000000..fc399b3c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml new file mode 100644 index 00000000..07a17679 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml new file mode 100644 index 00000000..953da9c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml new file mode 100644 index 00000000..5d74aa09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml @@ -0,0 +1,133 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml new file mode 100644 index 00000000..b370266b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml new file mode 100644 index 00000000..da29f92d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml new file mode 100644 index 00000000..6fe12370 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/capability/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml new file mode 100644 index 00000000..215c1678 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml new file mode 100644 index 00000000..7b7d8ab2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml new file mode 100644 index 00000000..d9f63482 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml new file mode 100644 index 00000000..487d2f61 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml @@ -0,0 +1,46 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml new file mode 100644 index 00000000..e318830b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml @@ -0,0 +1,106 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml new file mode 100644 index 00000000..16797d09 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml new file mode 100644 index 00000000..0f570c27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml new file mode 100644 index 00000000..b737d8fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml @@ -0,0 +1,103 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml.errors new file mode 100644 index 00000000..759e44b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/conceptDescription/isCaseOf.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Is-case-of must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml new file mode 100644 index 00000000..16493234 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml.errors new file mode 100644 index 00000000..19aa8cad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/definition.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Definition must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml new file mode 100644 index 00000000..1d955416 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml @@ -0,0 +1,36 @@ + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml.errors new file mode 100644 index 00000000..3b811557 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/preferredName.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Preferred name must have at least one item.; +: Invariant violated: +Constraint AASc-002: preferred name shall be provided at least in English. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml new file mode 100644 index 00000000..2932d9a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml.errors new file mode 100644 index 00000000..2ae2a42e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/shortName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Short name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml new file mode 100644 index 00000000..da56d23c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml.errors new file mode 100644 index 00000000..8ffe22d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/sourceOfDefinition.xml.errors @@ -0,0 +1,2 @@ +sourceOfDefinition: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml new file mode 100644 index 00000000..cb190305 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml.errors new file mode 100644 index 00000000..3e8f74be --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/symbol.xml.errors @@ -0,0 +1,2 @@ +symbol: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml new file mode 100644 index 00000000..a5fa693c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml.errors new file mode 100644 index 00000000..cfa1da72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/unit.xml.errors @@ -0,0 +1,2 @@ +unit: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml new file mode 100644 index 00000000..7d490f6a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml new file mode 100644 index 00000000..83b4199d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml @@ -0,0 +1,41 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml.errors new file mode 100644 index 00000000..037b8fec --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/dataSpecificationIec61360/valueFormat.xml.errors @@ -0,0 +1,2 @@ +valueFormat: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml new file mode 100644 index 00000000..925be0f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml new file mode 100644 index 00000000..959f7394 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml new file mode 100644 index 00000000..27625439 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml new file mode 100644 index 00000000..26681cca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml @@ -0,0 +1,106 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml new file mode 100644 index 00000000..5fc0fc91 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml @@ -0,0 +1,154 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml new file mode 100644 index 00000000..232c8d90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml.errors new file mode 100644 index 00000000..3aac43a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/globalAssetId.xml.errors @@ -0,0 +1,2 @@ +globalAssetId: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml new file mode 100644 index 00000000..622090fd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml new file mode 100644 index 00000000..6d1b406a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml new file mode 100644 index 00000000..d53bd4b5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml.errors new file mode 100644 index 00000000..b7e28d9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/specificAssetIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Specific asset IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml new file mode 100644 index 00000000..4941dbf8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml.errors new file mode 100644 index 00000000..f39337b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/statements.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Statements must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml new file mode 100644 index 00000000..bf8de3e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/entity/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml new file mode 100644 index 00000000..8278b5ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml @@ -0,0 +1,13 @@ + + + + + 0 + + + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml.errors new file mode 100644 index 00000000..f106a93f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/assetAdministrationShells.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Asset administration shells must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml new file mode 100644 index 00000000..9e58f4db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml @@ -0,0 +1,24 @@ + + + + J5 + + Role + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Type + 򤑌M𪠇𛔊򂄲 + + + + + + 0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml.errors new file mode 100644 index 00000000..41ca3fc0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/conceptDescriptions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Concept descriptions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml new file mode 100644 index 00000000..ac9557d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml @@ -0,0 +1,24 @@ + + + + J5 + + Role + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Type + 򤑌M𪠇𛔊򂄲 + + + + + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml.errors new file mode 100644 index 00000000..cced5c00 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/environment/submodels.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Submodels must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml new file mode 100644 index 00000000..dfb6027a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml @@ -0,0 +1,54 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml.errors new file mode 100644 index 00000000..b22e7b77 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/eventPayload/topic.xml.errors @@ -0,0 +1,2 @@ +topic: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml new file mode 100644 index 00000000..74637188 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml @@ -0,0 +1,63 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml.errors new file mode 100644 index 00000000..baac5cdd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml new file mode 100644 index 00000000..e669a616 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml @@ -0,0 +1,44 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml.errors new file mode 100644 index 00000000..761273ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/refersTo.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Refers-to must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml new file mode 100644 index 00000000..a65ba05a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml @@ -0,0 +1,35 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/extension/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml new file mode 100644 index 00000000..8a89f5fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml new file mode 100644 index 00000000..9ca531c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/contentType.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml new file mode 100644 index 00000000..de4d828a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml new file mode 100644 index 00000000..d954ac16 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml new file mode 100644 index 00000000..6ab6793e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml @@ -0,0 +1,87 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml new file mode 100644 index 00000000..f5c4dc05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml @@ -0,0 +1,135 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml new file mode 100644 index 00000000..1350c6f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml new file mode 100644 index 00000000..e8fa8f3c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml @@ -0,0 +1,129 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml new file mode 100644 index 00000000..9e34de31 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml new file mode 100644 index 00000000..c7153634 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/file/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml new file mode 100644 index 00000000..aa1c9c95 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml @@ -0,0 +1,4 @@ + + EventElement + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/key/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml new file mode 100644 index 00000000..52a13918 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringDefinitionTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml new file mode 100644 index 00000000..eb116fe3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringNameType/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml new file mode 100644 index 00000000..2198a671 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringPreferredNameTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml new file mode 100644 index 00000000..d2022a37 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringShortNameTypeIec61360/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml new file mode 100644 index 00000000..89a559ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml.errors new file mode 100644 index 00000000..7cdab4c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/langStringTextType/text.xml.errors @@ -0,0 +1,2 @@ +text: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml new file mode 100644 index 00000000..7dca910c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml new file mode 100644 index 00000000..93cb4cea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml new file mode 100644 index 00000000..cd3b21b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml new file mode 100644 index 00000000..f56e6c2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml new file mode 100644 index 00000000..95bcd346 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml @@ -0,0 +1,152 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml new file mode 100644 index 00000000..e95023fa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml new file mode 100644 index 00000000..fcfa77d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml @@ -0,0 +1,146 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml new file mode 100644 index 00000000..0c5e131b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml new file mode 100644 index 00000000..9ca1671d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml.errors new file mode 100644 index 00000000..51c7186f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/multiLanguageProperty/value.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml new file mode 100644 index 00000000..b1b9707e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml @@ -0,0 +1,189 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml new file mode 100644 index 00000000..32716513 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml new file mode 100644 index 00000000..b553755a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml new file mode 100644 index 00000000..bf328061 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml new file mode 100644 index 00000000..926b79f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml @@ -0,0 +1,182 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml new file mode 100644 index 00000000..9c2fa98c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml @@ -0,0 +1,189 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml new file mode 100644 index 00000000..d0a86322 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml.errors new file mode 100644 index 00000000..fa29eda5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inoutputVariables.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Inoutput variables must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml new file mode 100644 index 00000000..c800c2eb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml @@ -0,0 +1,181 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml.errors new file mode 100644 index 00000000..36304a74 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/inputVariables.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Input variables must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml new file mode 100644 index 00000000..6e798589 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml @@ -0,0 +1,174 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml.errors new file mode 100644 index 00000000..87964da2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/outputVariables.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Output variables must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml new file mode 100644 index 00000000..ee2638ed --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml @@ -0,0 +1,176 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml new file mode 100644 index 00000000..6368e28c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/operation/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml new file mode 100644 index 00000000..36f40c6c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml new file mode 100644 index 00000000..1094bc61 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml new file mode 100644 index 00000000..11fa0491 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml new file mode 100644 index 00000000..d0e8ed1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml @@ -0,0 +1,96 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml new file mode 100644 index 00000000..a7fd686e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml @@ -0,0 +1,144 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml new file mode 100644 index 00000000..bee5ec94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml new file mode 100644 index 00000000..2c3f0843 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml @@ -0,0 +1,138 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml new file mode 100644 index 00000000..34dd2826 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/property/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml new file mode 100644 index 00000000..2266ecee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml @@ -0,0 +1,25 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + ValueQualifier + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml new file mode 100644 index 00000000..ffc96c93 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml @@ -0,0 +1,53 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml.errors new file mode 100644 index 00000000..ae07aabf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/qualifier/type.xml.errors @@ -0,0 +1,2 @@ +type: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml new file mode 100644 index 00000000..f006d861 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml new file mode 100644 index 00000000..f6267df3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml new file mode 100644 index 00000000..63b335a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml new file mode 100644 index 00000000..634d48d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml @@ -0,0 +1,88 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml new file mode 100644 index 00000000..97c212df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml @@ -0,0 +1,136 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml new file mode 100644 index 00000000..b7423635 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml new file mode 100644 index 00000000..acb32ee5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml new file mode 100644 index 00000000..17a06224 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml @@ -0,0 +1,115 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/range/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml new file mode 100644 index 00000000..2a56969c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml @@ -0,0 +1,13 @@ + + ExternalReference + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml.errors new file mode 100644 index 00000000..cb0c3fd5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/reference/keys.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Keys must contain at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml new file mode 100644 index 00000000..78dd9895 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml new file mode 100644 index 00000000..d144f778 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml new file mode 100644 index 00000000..4c92af12 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..67407647 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml @@ -0,0 +1,94 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml new file mode 100644 index 00000000..1c000d9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml @@ -0,0 +1,142 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml new file mode 100644 index 00000000..79b219c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml new file mode 100644 index 00000000..80252649 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml @@ -0,0 +1,136 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..556e6eb9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/referenceElement/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml new file mode 100644 index 00000000..970a3eee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml new file mode 100644 index 00000000..9385a31f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml new file mode 100644 index 00000000..9f6b6eb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..c24aea39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml @@ -0,0 +1,103 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml new file mode 100644 index 00000000..d2324d2d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml @@ -0,0 +1,151 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml new file mode 100644 index 00000000..18465a0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml new file mode 100644 index 00000000..5039307e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml @@ -0,0 +1,145 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..1b302f1f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/relationshipElement/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml new file mode 100644 index 00000000..a330ccfb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml @@ -0,0 +1,4 @@ + + #; + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/contentType.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml new file mode 100644 index 00000000..298f915a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml @@ -0,0 +1,4 @@ + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml.errors new file mode 100644 index 00000000..14110946 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/resource/path.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml new file mode 100644 index 00000000..ca959291 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml.errors new file mode 100644 index 00000000..baac5cdd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/name.xml.errors @@ -0,0 +1,2 @@ +name: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml new file mode 100644 index 00000000..4dea3e67 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml @@ -0,0 +1,23 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml new file mode 100644 index 00000000..ba09bcb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml @@ -0,0 +1,51 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/specificAssetId/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml new file mode 100644 index 00000000..78e335df --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml new file mode 100644 index 00000000..acea5054 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml new file mode 100644 index 00000000..8b3c38f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml new file mode 100644 index 00000000..6ef2969c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml @@ -0,0 +1,97 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml new file mode 100644 index 00000000..22bd6a57 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml @@ -0,0 +1,145 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml new file mode 100644 index 00000000..6f8f4f5f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml.errors new file mode 100644 index 00000000..309501d4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/id.xml.errors @@ -0,0 +1,2 @@ +id: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml new file mode 100644 index 00000000..6be2f1b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml new file mode 100644 index 00000000..40502f94 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml @@ -0,0 +1,139 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml new file mode 100644 index 00000000..3dd02969 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml.errors new file mode 100644 index 00000000..74312df8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/submodelElements.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Submodel elements must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml new file mode 100644 index 00000000..a5a5a7b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml @@ -0,0 +1,124 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodel/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml new file mode 100644 index 00000000..9e291039 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml new file mode 100644 index 00000000..a82bfa14 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml @@ -0,0 +1,154 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml new file mode 100644 index 00000000..eaa11356 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml @@ -0,0 +1,154 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml new file mode 100644 index 00000000..3b833b77 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml @@ -0,0 +1,108 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml new file mode 100644 index 00000000..064b4978 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml @@ -0,0 +1,156 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml new file mode 100644 index 00000000..d3e668ee --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml new file mode 100644 index 00000000..bfa6d411 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml new file mode 100644 index 00000000..311b46e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml @@ -0,0 +1,135 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml new file mode 100644 index 00000000..fe251361 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml.errors new file mode 100644 index 00000000..51c7186f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementCollection/value.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml new file mode 100644 index 00000000..c4739715 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml.errors new file mode 100644 index 00000000..94caab90 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/category.xml.errors @@ -0,0 +1,2 @@ +category: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml new file mode 100644 index 00000000..2cef876d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml.errors new file mode 100644 index 00000000..435baae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/description.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Description must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml new file mode 100644 index 00000000..62b0bfea --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml.errors new file mode 100644 index 00000000..655d5ce8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/displayName.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Display name must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml new file mode 100644 index 00000000..2a743794 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml.errors new file mode 100644 index 00000000..e3751d59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/embeddedDataSpecifications.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Embedded data specifications must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml new file mode 100644 index 00000000..15182dc1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml @@ -0,0 +1,171 @@ + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml.errors new file mode 100644 index 00000000..3bd4456e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/extensions.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Extensions must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml new file mode 100644 index 00000000..bb38eb1e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml @@ -0,0 +1,178 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml.errors new file mode 100644 index 00000000..011d3392 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/idShort.xml.errors @@ -0,0 +1,4 @@ +idShort: Invariant violated: +The value must not be empty.; +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml new file mode 100644 index 00000000..a888b2da --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml @@ -0,0 +1,165 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml.errors new file mode 100644 index 00000000..78bd35b6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/qualifiers.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Qualifiers must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml new file mode 100644 index 00000000..4283b543 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml.errors new file mode 100644 index 00000000..eb91cf6f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/supplementalSemanticIds.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Supplemental semantic IDs must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml new file mode 100644 index 00000000..23b1804c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml.errors new file mode 100644 index 00000000..51c7186f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/submodelElementList/value.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value must be either not set or have at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml new file mode 100644 index 00000000..42719347 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml.errors new file mode 100644 index 00000000..3b3a1aae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueList/valueReferencePairs.xml.errors @@ -0,0 +1,2 @@ +: Invariant violated: +Value reference pair types must contain at least one item. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml new file mode 100644 index 00000000..5e7bc811 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml @@ -0,0 +1,12 @@ + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml.errors b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml.errors new file mode 100644 index 00000000..97d5cf04 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/MinLengthViolation/valueReferencePair/value.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +The value must not be empty. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml new file mode 100644 index 00000000..36f2035c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml @@ -0,0 +1,3 @@ + + 1.0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml.errors new file mode 100644 index 00000000..493f7374 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/dot.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified then also revision shall be unspecified. This means, a revision requires a version. If there is no version there is no revision either. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml new file mode 100644 index 00000000..8b48eec8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml @@ -0,0 +1,3 @@ + + 1.0rc1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml.errors new file mode 100644 index 00000000..d3b7754d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/letter.xml.errors @@ -0,0 +1,6 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified then also revision shall be unspecified. This means, a revision requires a version. If there is no version there is no revision either. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern.; +revision: Invariant violated: +Revision type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml new file mode 100644 index 00000000..d42c0311 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml @@ -0,0 +1,3 @@ + + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml.errors new file mode 100644 index 00000000..493f7374 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/revision/negative.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Constraint AASd-005: If version is not specified then also revision shall be unspecified. This means, a revision requires a version. If there is no version there is no revision either. Revision is optional.; +revision: Invariant violated: +Revision type shall match the revision pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml new file mode 100644 index 00000000..b3676bcf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml @@ -0,0 +1,3 @@ + + 1.0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml.errors new file mode 100644 index 00000000..7f6d5d6c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/dot.xml.errors @@ -0,0 +1,2 @@ +version: Invariant violated: +Version type shall match the version pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml new file mode 100644 index 00000000..b584cd17 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml @@ -0,0 +1,3 @@ + + 1.0rc1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml.errors new file mode 100644 index 00000000..d13ed64b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/letter.xml.errors @@ -0,0 +1,4 @@ +version: Invariant violated: +Version type shall match the version pattern.; +version: Invariant violated: +Version type shall have a maximum length of 4 characters. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml new file mode 100644 index 00000000..1383564f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml @@ -0,0 +1,3 @@ + + -1 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml.errors new file mode 100644 index 00000000..7f6d5d6c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/administrativeInformation/version/negative.xml.errors @@ -0,0 +1,2 @@ +version: Invariant violated: +Version type shall match the version pattern. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..c0777426 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..0a5eb807 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..1f3bd5bc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..d015b661 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..58982e51 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/annotatedRelationshipElement/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..d70532e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,8 @@ + + 򚪾󰾫7 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..60623c3a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,8 @@ + + 15 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..89c7d10b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,8 @@ + + ‡Y񐅽󍈪 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..af5e59b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,8 @@ + + 9䠄񓝝 + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..4d9a398d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,8 @@ + + @ + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/assetAdministrationShell/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..69f3a9ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,18 @@ + + 򚪾󰾫7 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..a82ee6f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,18 @@ + + 15 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..2e8b28d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,18 @@ + + ‡Y񐅽󍈪 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..9ef01449 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,18 @@ + + 9䠄񓝝 + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..019b3bd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,18 @@ + + @ + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..03ba4f97 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml new file mode 100644 index 00000000..086c919e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml new file mode 100644 index 00000000..99fafcaa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml new file mode 100644 index 00000000..4de22b2e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/empty.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml new file mode 100644 index 00000000..acd8f72c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2026-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml.errors new file mode 100644 index 00000000..a24819ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml new file mode 100644 index 00000000..484ff7cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + <1𼨆򈷐Å\H󀨓 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml new file mode 100644 index 00000000..0ac34600 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 𢬣񂡼Í·ð˜²+š񁅿 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml new file mode 100644 index 00000000..e96bd457 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 񊒳ð…񇐯 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml new file mode 100644 index 00000000..e6e8355e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 󢮾e𓕍—ñ> + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml new file mode 100644 index 00000000..de32ee40 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 􃶦𮝸 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml new file mode 100644 index 00000000..cf197a9d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + hh + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml new file mode 100644 index 00000000..752599f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + E…𑄦𠧃Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml new file mode 100644 index 00000000..c0edaa25 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 󉻽󉻽񻫾𛾨􉂌𓺶 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml new file mode 100644 index 00000000..b88bc451 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml new file mode 100644 index 00000000..43b1b96c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml new file mode 100644 index 00000000..575af9a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_minutes.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml new file mode 100644 index 00000000..c1df70b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml.errors new file mode 100644 index 00000000..70748a53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/lastUpdate/without_seconds.xml.errors @@ -0,0 +1,4 @@ +lastUpdate: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +lastUpdate: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml new file mode 100644 index 00000000..a9ddbd4d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/empty.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml new file mode 100644 index 00000000..eb8ba15b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/free_form_text.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml new file mode 100644 index 00000000..7c5624ae --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/integer.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml new file mode 100644 index 00000000..10609c25 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/leading_P_missing.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml new file mode 100644 index 00000000..0b2563ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/negative_years.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml new file mode 100644 index 00000000..9f1d2935 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/positive_year_negative_months.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml new file mode 100644 index 00000000..06d74bf3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/separator_T_missing.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml new file mode 100644 index 00000000..bf96ab24 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml.errors new file mode 100644 index 00000000..0382a48f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/maxInterval/the_order_matters.xml.errors @@ -0,0 +1,4 @@ +: Invariant violated: +Max. interval is not applicable for input direction.; +maxInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml new file mode 100644 index 00000000..7fe15224 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/empty.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml new file mode 100644 index 00000000..106cecce --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + some free form text + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/free_form_text.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml new file mode 100644 index 00000000..5d63f7f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/integer.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml new file mode 100644 index 00000000..4ab7006c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + 1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/leading_P_missing.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml new file mode 100644 index 00000000..7fc05e1a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P-1Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/negative_years.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml new file mode 100644 index 00000000..c398f342 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1Y-1M + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/positive_year_negative_months.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml new file mode 100644 index 00000000..874bcef0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1S + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/separator_T_missing.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml new file mode 100644 index 00000000..428db811 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + P1M2Y + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml.errors new file mode 100644 index 00000000..ecf61183 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/basicEventElement/minInterval/the_order_matters.xml.errors @@ -0,0 +1,2 @@ +minInterval: Invariant violated: +The value must match the pattern of xs:duration. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml new file mode 100644 index 00000000..7c50a046 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/empty.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml new file mode 100644 index 00000000..c3ac82d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + 𡔹 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml new file mode 100644 index 00000000..aa5dac93 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ÐÐ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml new file mode 100644 index 00000000..bdab2f3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 󝵽§…°¢󃡚>3󸴷 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml new file mode 100644 index 00000000..247fea72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + q•d + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml new file mode 100644 index 00000000..b0cd3964 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml new file mode 100644 index 00000000..7c50a046 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml new file mode 100644 index 00000000..528a9b64 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + |ä + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml new file mode 100644 index 00000000..ee0acc2a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 𜮰𜮰 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml new file mode 100644 index 00000000..0153c2c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/contentType/number.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..58eed317 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..f2f06c3d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..70963c9a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..3f130055 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..abf3a477 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/blob/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..f2537853 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..e3288e30 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ac4fb0ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..2b96a053 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..e187a8c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/capability/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..cb2a4658 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..170d9809 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..43331b71 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..b16a2d0d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..172066b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/conceptDescription/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..a90ee7af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..767725a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..09b907cb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..a07d44e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..8e94dc59 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/entity/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml new file mode 100644 index 00000000..29924baa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02:03Z-unexpected-suffix + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_UTC_and_suffix.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml new file mode 100644 index 00000000..fcdb50a5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02:03+02:00 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_with_offset.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml new file mode 100644 index 00000000..f99e148d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02:03 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/date_time_without_zone.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml new file mode 100644 index 00000000..7a462480 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/empty.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml new file mode 100644 index 00000000..432c001f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2026-02-29T01:02:03Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml.errors new file mode 100644 index 00000000..698e336a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/invalid_february_29th.xml.errors @@ -0,0 +1,2 @@ +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml new file mode 100644 index 00000000..b118e6d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + <1𼨆򈷐Å\H󀨓 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_02.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml new file mode 100644 index 00000000..c5f0fa9c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 𢬣񂡼Í·ð˜²+š񁅿 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_03.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml new file mode 100644 index 00000000..9d24ddd0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 񊒳ð…񇐯 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_04.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml new file mode 100644 index 00000000..a7830350 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 󢮾e𓕍—ñ> + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_05.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml new file mode 100644 index 00000000..c8948423 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 􃶦𮝸 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_06.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml new file mode 100644 index 00000000..56dd2b5c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + hh + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml new file mode 100644 index 00000000..0cb6225c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + E…𑄦𠧃Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_09.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml new file mode 100644 index 00000000..7dcae4b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 󉻽󉻽񻫾𛾨􉂌𓺶 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/negatively_fuzzed_10.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml new file mode 100644 index 00000000..15af49fe --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml new file mode 100644 index 00000000..ea94d5ff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/only_date_with_time_zone.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml new file mode 100644 index 00000000..863c875b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_minutes.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml new file mode 100644 index 00000000..9736e979 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T01:02Z + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml.errors new file mode 100644 index 00000000..bc9c5682 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/eventPayload/timeStamp/without_seconds.xml.errors @@ -0,0 +1,4 @@ +timeStamp: Invariant violated: +The value must match the pattern of xs:dateTime with the time zone fixed to UTC.; +timeStamp: Invariant violated: +The value must represent a valid xs:dateTime with the time zone fixed to UTC. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml new file mode 100644 index 00000000..4b969ae2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/empty.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml new file mode 100644 index 00000000..6b9baa3d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + 𡔹 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml new file mode 100644 index 00000000..f80954ad --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ÐÐ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml new file mode 100644 index 00000000..2b4be5cd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 󝵽§…°¢󃡚>3󸴷 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml new file mode 100644 index 00000000..58692d52 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + q•d + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml new file mode 100644 index 00000000..b075f9aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml new file mode 100644 index 00000000..4b969ae2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml new file mode 100644 index 00000000..9d088666 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + |ä + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml new file mode 100644 index 00000000..73afac3e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 𜮰𜮰 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml new file mode 100644 index 00000000..bfbde42e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml @@ -0,0 +1,3 @@ + + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/contentType/number.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..c75dbc9f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..046b5cb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..70e56eff --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..e5ed5eb3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..2e927258 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml new file mode 100644 index 00000000..feeb92db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 񊾤 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml new file mode 100644 index 00000000..962fcd93 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml new file mode 100644 index 00000000..a4fe339b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + çö + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml new file mode 100644 index 00000000..ad9aa020 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + †䀣𖗅 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml new file mode 100644 index 00000000..5f76d2db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ񩤊 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml new file mode 100644 index 00000000..1726de1e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + ࠁࠁ𦊩 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml new file mode 100644 index 00000000..15a33e27 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + PKâ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml new file mode 100644 index 00000000..8deae130 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + ð"u + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml new file mode 100644 index 00000000..89c24cd1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 00𐀇 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml new file mode 100644 index 00000000..2d29cbda --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml @@ -0,0 +1,3 @@ + + http://exa mple.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_01.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml new file mode 100644 index 00000000..5aabef13 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml @@ -0,0 +1,3 @@ + + ://example.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml.errors new file mode 100644 index 00000000..f96fa608 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/file/value/negatively_made_up_02.xml.errors @@ -0,0 +1,2 @@ +value: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml new file mode 100644 index 00000000..06dd5604 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml new file mode 100644 index 00000000..a33854f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..5dbd2903 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..7c024019 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..07e586c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..0c2c54f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..e64810db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..acfce553 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..a57bf888 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..6c9a9346 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringDefinitionTypeIec61360/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml new file mode 100644 index 00000000..e923e7d2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml new file mode 100644 index 00000000..34843cf4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..71f23570 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..9677cb2b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..aec6d791 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..d528564f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..43cc07d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..9827ff8a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..08520ff3 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..ceaf4d2f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringNameType/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml new file mode 100644 index 00000000..ce8464a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml new file mode 100644 index 00000000..2b72cd58 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..468c5bb6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..2b2aa406 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..440470db --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..da4aa170 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..6035664d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..4175809f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..13439e96 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..2429ad67 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringPreferredNameTypeIec61360/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml new file mode 100644 index 00000000..a7d46f12 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml new file mode 100644 index 00000000..2d29d0aa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..8f5242a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..97929758 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..d4b3a083 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..8ef66238 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..eeaa7460 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..ec0af1d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..075074d7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..660fc945 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringShortNameTypeIec61360/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml new file mode 100644 index 00000000..45f7c22c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml @@ -0,0 +1,4 @@ + + + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/empty.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml new file mode 100644 index 00000000..e2dda353 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml @@ -0,0 +1,4 @@ + + some free-form text + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/free_form_text.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml new file mode 100644 index 00000000..2a65662e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + Ûg􅅖²򅘴e´򗞕 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml new file mode 100644 index 00000000..9ae88bc1 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + 󉻽󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml new file mode 100644 index 00000000..e1fe8717 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + 0 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml new file mode 100644 index 00000000..69b10d43 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 􀬁7111 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml new file mode 100644 index 00000000..a743914f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + 󯺏 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml new file mode 100644 index 00000000..2a0ef0ab --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + 󉻽 + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml new file mode 100644 index 00000000..89e37a48 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + øPí + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml new file mode 100644 index 00000000..608e4b82 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + pÜ򃯋®AÇ + J5 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..78ea1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/langStringTextType/language/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +language: Invariant violated: +The value must represent a value language tag conformant to BCP 47. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..965da5ef --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..c92187dc --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..9e565cf5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..9735ce0a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..047ce012 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/multiLanguageProperty/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..52d99d89 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..0beaf72e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..4c71cfbd --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..218e7889 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..1c87704b --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/operation/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..f1cf2d05 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..7ec4d0bf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..ff2288c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..00fbf28c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..7cd74dc2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/property/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..19400b78 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..ddda6d97 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..a6c7e917 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..628c9a9f --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..d7957bd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + xs:gDay + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/range/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..7c76097d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..8d9e5bac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..4475bcaf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..7a2ccec7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..9828eda4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/referenceElement/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..86a56edf --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..cce0cb54 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..a1ccf7e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..87cfbe8d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..9b8481c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/relationshipElement/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml new file mode 100644 index 00000000..a330ccfb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml @@ -0,0 +1,4 @@ + + #; + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/empty.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml new file mode 100644 index 00000000..b4fedb60 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml @@ -0,0 +1,4 @@ + + #; + 𡔹 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml new file mode 100644 index 00000000..f58fc57c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + #; + ÐÐ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml new file mode 100644 index 00000000..6c3ed8f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + #; + 󝵽§…°¢󃡚>3󸴷 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml new file mode 100644 index 00000000..7b4a4b72 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + #; + q•d + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml new file mode 100644 index 00000000..07f5b26a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml @@ -0,0 +1,4 @@ + + #; + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml new file mode 100644 index 00000000..a330ccfb --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml @@ -0,0 +1,4 @@ + + #; + + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..45f054c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_08.xml.errors @@ -0,0 +1,4 @@ +contentType: Invariant violated: +The value must not be empty.; +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml new file mode 100644 index 00000000..32d4d2b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml @@ -0,0 +1,4 @@ + + #; + |ä + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml new file mode 100644 index 00000000..25113c6d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml @@ -0,0 +1,4 @@ + + #; + 𜮰𜮰 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml new file mode 100644 index 00000000..6c30cf53 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml @@ -0,0 +1,4 @@ + + #; + 1234 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml.errors new file mode 100644 index 00000000..4cde04c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/contentType/number.xml.errors @@ -0,0 +1,2 @@ +contentType: Invariant violated: +The value must represent a valid content MIME type according to RFC 2046. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml new file mode 100644 index 00000000..cee9ae29 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 񊾤 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml new file mode 100644 index 00000000..eb714b22 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml new file mode 100644 index 00000000..dc49b577 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml @@ -0,0 +1,3 @@ + + çö + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_03.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml new file mode 100644 index 00000000..4f43ed5c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + †䀣𖗅 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml new file mode 100644 index 00000000..9cbfe4e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + 󝺮ꨁ񩤊 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml new file mode 100644 index 00000000..802cc2f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml @@ -0,0 +1,3 @@ + + ࠁࠁ𦊩 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_07.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml new file mode 100644 index 00000000..98211693 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml @@ -0,0 +1,3 @@ + + PKâ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_08.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml new file mode 100644 index 00000000..240b790a --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml @@ -0,0 +1,3 @@ + + ð"u + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_09.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml new file mode 100644 index 00000000..e39ab8af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml @@ -0,0 +1,3 @@ + + 00𐀇 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_fuzzed_10.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml new file mode 100644 index 00000000..7c6e3e40 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml @@ -0,0 +1,3 @@ + + http://exa mple.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_01.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml new file mode 100644 index 00000000..e6c54177 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml @@ -0,0 +1,3 @@ + + ://example.org + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml.errors new file mode 100644 index 00000000..19404d11 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/resource/path/negatively_made_up_02.xml.errors @@ -0,0 +1,2 @@ +path: Invariant violated: +String with max 2048 and min 1 characters conformant to a URI as per RFC 2396. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..74d19e18 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..2e5fdcb4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..cacd6476 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..e42766e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..5d8a2aaa --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + 0 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodel/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..6d8de4ca --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,3 @@ + + 򚪾󰾫7 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..8b3f1c6c --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,3 @@ + + 15 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..99e4d738 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,3 @@ + + ‡Y񐅽󍈪 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..eb1100ac --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,3 @@ + + 9䠄񓝝 + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..9b31a83e --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,3 @@ + + @ + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementCollection/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml new file mode 100644 index 00000000..c3955ae6 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml @@ -0,0 +1,4 @@ + + 򚪾󰾫7 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_01.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml new file mode 100644 index 00000000..2f3eb6d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml @@ -0,0 +1,4 @@ + + 15 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_02.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml new file mode 100644 index 00000000..074a3cd4 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml @@ -0,0 +1,4 @@ + + ‡Y񐅽󍈪 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_04.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml new file mode 100644 index 00000000..606c71af --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml @@ -0,0 +1,4 @@ + + 9䠄񓝝 + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_05.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml new file mode 100644 index 00000000..82e1bfa8 --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml @@ -0,0 +1,4 @@ + + @ + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml.errors b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml.errors new file mode 100644 index 00000000..c7fbb71d --- /dev/null +++ b/test_data/Xml/Unexpected/Invalid/PatternViolation/submodelElementList/idShort/negatively_fuzzed_06.xml.errors @@ -0,0 +1,2 @@ +idShort: Invariant violated: +ID-short of Referables shall only feature letters, digits, hyphen (``-``) and underscore (``_``); starting mandatory with a letter, and not ending with a hyphen, *I.e.* ``^[a-zA-Z][a-zA-Z0-9_-]*[a-zA-Z0-9_]+$``. \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml.exception new file mode 100644 index 00000000..5963df22 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/administrativeInformation/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element administrativeInformation, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml.exception new file mode 100644 index 00000000..5299de3b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/annotatedRelationshipElement/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element annotatedRelationshipElement, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml new file mode 100644 index 00000000..24cd6cb0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml @@ -0,0 +1,7 @@ + + 0 + + NotApplicable + 6 + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml.exception new file mode 100644 index 00000000..975f88b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetAdministrationShell/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element assetAdministrationShell, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml new file mode 100644 index 00000000..d62ee2ac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml @@ -0,0 +1,4 @@ + + NotApplicable + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml.exception new file mode 100644 index 00000000..53464454 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/assetInformation/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element assetInformation, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml new file mode 100644 index 00000000..6772ec63 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml @@ -0,0 +1,17 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml.exception new file mode 100644 index 00000000..c1b3b961 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/basicEventElement/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element basicEventElement, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml.exception new file mode 100644 index 00000000..a2e60d77 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/blob/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element blob, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml.exception new file mode 100644 index 00000000..0ab34b24 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/capability/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element capability, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml new file mode 100644 index 00000000..1494bae6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml.exception new file mode 100644 index 00000000..a7af4665 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/conceptDescription/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element conceptDescription, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml new file mode 100644 index 00000000..31f23d6e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml @@ -0,0 +1,8 @@ + + + + en-JM-x-c7dddb5b + 6 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml.exception new file mode 100644 index 00000000..08b02b46 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/dataSpecificationIec61360/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element dataSpecificationIec61360, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml new file mode 100644 index 00000000..40ecceda --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml @@ -0,0 +1,21 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + + + + + en-JM-x-b435b532 + 0 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml.exception new file mode 100644 index 00000000..0c7278f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/embeddedDataSpecification/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element embeddedDataSpecification, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml.exception new file mode 100644 index 00000000..886fb523 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/entity/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element entity, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml.exception new file mode 100644 index 00000000..c237a183 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/environment/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element environment, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml new file mode 100644 index 00000000..1a48feb0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml @@ -0,0 +1,25 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml.exception new file mode 100644 index 00000000..b639ff93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/eventPayload/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element eventPayload, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml new file mode 100644 index 00000000..dabc8d38 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml.exception new file mode 100644 index 00000000..0eef0739 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/extension/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element extension, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml.exception new file mode 100644 index 00000000..7a9c8a58 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/file/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element file, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml new file mode 100644 index 00000000..b19a88fd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml @@ -0,0 +1,4 @@ + + EventElement + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml.exception new file mode 100644 index 00000000..b32883c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/key/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element key, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml new file mode 100644 index 00000000..1ccdf690 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml.exception new file mode 100644 index 00000000..3d82cd7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringDefinitionTypeIec61360/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringDefinitionTypeIec61360, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml new file mode 100644 index 00000000..1ccdf690 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml.exception new file mode 100644 index 00000000..55d02ed4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringNameType/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringNameType, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml new file mode 100644 index 00000000..1ccdf690 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml.exception new file mode 100644 index 00000000..e0e279fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringPreferredNameTypeIec61360/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringPreferredNameTypeIec61360, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml new file mode 100644 index 00000000..1ccdf690 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml.exception new file mode 100644 index 00000000..91e15b20 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringShortNameTypeIec61360/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringShortNameTypeIec61360, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml new file mode 100644 index 00000000..1ccdf690 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml @@ -0,0 +1,4 @@ + + en-JM-x-8fafefb1 + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml.exception new file mode 100644 index 00000000..ae782284 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/langStringTextType/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element langStringTextType, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml new file mode 100644 index 00000000..03ffc3f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml @@ -0,0 +1,6 @@ + + false + false + false + true + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml.exception new file mode 100644 index 00000000..48f25eac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/levelType/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element levelType, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml.exception new file mode 100644 index 00000000..cc2fb27c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/multiLanguageProperty/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element multiLanguageProperty, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml.exception new file mode 100644 index 00000000..c0632e8b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operation/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operation, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml new file mode 100644 index 00000000..cd3d6805 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml @@ -0,0 +1,8 @@ + + + + something1d0edd81 + Capability + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml.exception new file mode 100644 index 00000000..52a64c5e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/operationVariable/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element operationVariable, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml new file mode 100644 index 00000000..e424caf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml.exception new file mode 100644 index 00000000..af151df5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/property/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element property, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml new file mode 100644 index 00000000..8db2a4e7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml @@ -0,0 +1,4 @@ + + something_86027eb8 + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml.exception new file mode 100644 index 00000000..52d4237f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/qualifier/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element qualifier, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml new file mode 100644 index 00000000..e424caf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml.exception new file mode 100644 index 00000000..da0f484c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/range/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element range, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml new file mode 100644 index 00000000..5cb44f85 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml @@ -0,0 +1,9 @@ + + ExternalReference + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml.exception new file mode 100644 index 00000000..0cd796ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/reference/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element reference, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml.exception new file mode 100644 index 00000000..8b866d61 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/referenceElement/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element referenceElement, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml.exception new file mode 100644 index 00000000..339359a6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/relationshipElement/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element relationshipElement, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml new file mode 100644 index 00000000..d8004eb6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml @@ -0,0 +1,3 @@ + + #; + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml.exception new file mode 100644 index 00000000..3b9f0f2b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/resource/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element resource, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml new file mode 100644 index 00000000..3e190614 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml.exception new file mode 100644 index 00000000..ecce4416 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/specificAssetId/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element specificAssetId, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml new file mode 100644 index 00000000..1494bae6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml.exception new file mode 100644 index 00000000..221c1ac4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodel/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodel, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml new file mode 100644 index 00000000..4342e02e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml.exception new file mode 100644 index 00000000..439e9225 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementCollection/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelElementCollection, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml new file mode 100644 index 00000000..bf17bf3d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml @@ -0,0 +1,3 @@ + + BasicEventElement + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml.exception new file mode 100644 index 00000000..3cd9e88e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/submodelElementList/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element submodelElementList, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml new file mode 100644 index 00000000..8418b359 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml @@ -0,0 +1,7 @@ + + + + öĖa􍣡™| + + + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml.exception new file mode 100644 index 00000000..ee25c908 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueList/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element valueList, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml new file mode 100644 index 00000000..7974ed1f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml @@ -0,0 +1,3 @@ + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml.exception b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml.exception new file mode 100644 index 00000000..ac9d3056 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/InvalidClassName/valueReferencePair/wrong.xml.exception @@ -0,0 +1 @@ +Expected an XML element valueReferencePair, but got an XML element utterlyInvalid at: utterlyInvalid \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml new file mode 100644 index 00000000..bcc67f30 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml.exception new file mode 100644 index 00000000..02a822c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/assetInformation.xml.exception @@ -0,0 +1 @@ +The required property assetInformation has not been given in the XML representation of an instance of class AssetAdministrationShell at: assetAdministrationShell \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml new file mode 100644 index 00000000..828d26cd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml @@ -0,0 +1,6 @@ + + + NotApplicable + 6 + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml.exception new file mode 100644 index 00000000..1b50169a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetAdministrationShell/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class AssetAdministrationShell at: assetAdministrationShell \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml new file mode 100644 index 00000000..4fed6d33 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml @@ -0,0 +1,3 @@ + + 0 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml.exception new file mode 100644 index 00000000..50ab5c2a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/assetInformation/assetKind.xml.exception @@ -0,0 +1 @@ +The required property assetKind has not been given in the XML representation of an instance of class AssetInformation at: assetInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml new file mode 100644 index 00000000..21352b62 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml @@ -0,0 +1,16 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + on + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml.exception new file mode 100644 index 00000000..b78c3916 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/direction.xml.exception @@ -0,0 +1 @@ +The required property direction has not been given in the XML representation of an instance of class BasicEventElement at: basicEventElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml new file mode 100644 index 00000000..f641045e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml @@ -0,0 +1,4 @@ + + input + on + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml.exception new file mode 100644 index 00000000..90fd510e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/observed.xml.exception @@ -0,0 +1 @@ +The required property observed has not been given in the XML representation of an instance of class BasicEventElement at: basicEventElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml new file mode 100644 index 00000000..766d9e12 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml @@ -0,0 +1,16 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml.exception new file mode 100644 index 00000000..239f2e96 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/basicEventElement/state.xml.exception @@ -0,0 +1 @@ +The required property state has not been given in the XML representation of an instance of class BasicEventElement at: basicEventElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml new file mode 100644 index 00000000..98acc31d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml.exception new file mode 100644 index 00000000..84afcc8c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/conceptDescription/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class ConceptDescription at: conceptDescription \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml new file mode 100644 index 00000000..8a761ae7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml.exception new file mode 100644 index 00000000..026475f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/dataSpecificationIec61360/preferredName.xml.exception @@ -0,0 +1 @@ +The required property preferredName has not been given in the XML representation of an instance of class DataSpecificationIec61360 at: dataSpecificationIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml new file mode 100644 index 00000000..bca91933 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml @@ -0,0 +1,12 @@ + + + + + + en-JM-x-b435b532 + 0 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml.exception new file mode 100644 index 00000000..e0ec129e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecification.xml.exception @@ -0,0 +1 @@ +The required property dataSpecification has not been given in the XML representation of an instance of class EmbeddedDataSpecification at: embeddedDataSpecification \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml new file mode 100644 index 00000000..6fc46125 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml @@ -0,0 +1,11 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception new file mode 100644 index 00000000..0767ed63 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception @@ -0,0 +1 @@ +The required property dataSpecificationContent has not been given in the XML representation of an instance of class EmbeddedDataSpecification at: embeddedDataSpecification \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml new file mode 100644 index 00000000..8c663d28 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml @@ -0,0 +1,16 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml.exception new file mode 100644 index 00000000..cc68ca48 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/observableReference.xml.exception @@ -0,0 +1 @@ +The required property observableReference has not been given in the XML representation of an instance of class EventPayload at: eventPayload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml new file mode 100644 index 00000000..1e3db5f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml @@ -0,0 +1,12 @@ + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml.exception new file mode 100644 index 00000000..1bdf62cd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/source.xml.exception @@ -0,0 +1 @@ +The required property source has not been given in the XML representation of an instance of class EventPayload at: eventPayload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml new file mode 100644 index 00000000..6f654b79 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml @@ -0,0 +1,24 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml.exception new file mode 100644 index 00000000..811e1765 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/eventPayload/timeStamp.xml.exception @@ -0,0 +1 @@ +The required property timeStamp has not been given in the XML representation of an instance of class EventPayload at: eventPayload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml new file mode 100644 index 00000000..92cd6f48 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml.exception new file mode 100644 index 00000000..f22bf4bc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/extension/name.xml.exception @@ -0,0 +1 @@ +The required property name has not been given in the XML representation of an instance of class Extension at: extension \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml new file mode 100644 index 00000000..88272efc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml @@ -0,0 +1,3 @@ + + <ă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml.exception new file mode 100644 index 00000000..725fb3bb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/type.xml.exception @@ -0,0 +1 @@ +The required property type has not been given in the XML representation of an instance of class Key at: key \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml new file mode 100644 index 00000000..ae08de49 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml @@ -0,0 +1,3 @@ + + EventElement + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml.exception new file mode 100644 index 00000000..745da5ae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/key/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class Key at: key \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml new file mode 100644 index 00000000..6170b748 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml.exception new file mode 100644 index 00000000..df5b73cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringDefinitionTypeIec61360 at: langStringDefinitionTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml new file mode 100644 index 00000000..95fc283e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml.exception new file mode 100644 index 00000000..36add87f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringDefinitionTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringDefinitionTypeIec61360 at: langStringDefinitionTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml new file mode 100644 index 00000000..3685dd03 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml.exception new file mode 100644 index 00000000..649a1241 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringNameType at: langStringNameType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml new file mode 100644 index 00000000..4c953ab7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml.exception new file mode 100644 index 00000000..86229a01 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringNameType/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringNameType at: langStringNameType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml new file mode 100644 index 00000000..f1a11496 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml.exception new file mode 100644 index 00000000..ea58e45f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringPreferredNameTypeIec61360 at: langStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml new file mode 100644 index 00000000..3881ada6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml.exception new file mode 100644 index 00000000..600d5743 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringPreferredNameTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringPreferredNameTypeIec61360 at: langStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml new file mode 100644 index 00000000..eb3db82c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml.exception new file mode 100644 index 00000000..a4fb881d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringShortNameTypeIec61360 at: langStringShortNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml new file mode 100644 index 00000000..53c4ad8c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml.exception new file mode 100644 index 00000000..3b938b3f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringShortNameTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringShortNameTypeIec61360 at: langStringShortNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml new file mode 100644 index 00000000..256120b4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml @@ -0,0 +1,3 @@ + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml.exception new file mode 100644 index 00000000..6225990a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/language.xml.exception @@ -0,0 +1 @@ +The required property language has not been given in the XML representation of an instance of class LangStringTextType at: langStringTextType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml new file mode 100644 index 00000000..d2d57ada --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml @@ -0,0 +1,3 @@ + + en-JM-x-8fafefb1 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml.exception new file mode 100644 index 00000000..4bedaeb5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/langStringTextType/text.xml.exception @@ -0,0 +1 @@ +The required property text has not been given in the XML representation of an instance of class LangStringTextType at: langStringTextType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml new file mode 100644 index 00000000..f8d07cb5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml @@ -0,0 +1,5 @@ + + false + false + false + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml.exception new file mode 100644 index 00000000..4f332aca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/max.xml.exception @@ -0,0 +1 @@ +The required property max has not been given in the XML representation of an instance of class LevelType at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml new file mode 100644 index 00000000..db5fc389 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml @@ -0,0 +1,5 @@ + + false + false + true + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml.exception new file mode 100644 index 00000000..54bdd21a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/min.xml.exception @@ -0,0 +1 @@ +The required property min has not been given in the XML representation of an instance of class LevelType at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml new file mode 100644 index 00000000..9143943a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml @@ -0,0 +1,5 @@ + + false + false + true + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml.exception new file mode 100644 index 00000000..01deba81 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/nom.xml.exception @@ -0,0 +1 @@ +The required property nom has not been given in the XML representation of an instance of class LevelType at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml new file mode 100644 index 00000000..a6e4b75b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml @@ -0,0 +1,5 @@ + + false + false + true + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml.exception new file mode 100644 index 00000000..ce0eba16 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/levelType/typ.xml.exception @@ -0,0 +1 @@ +The required property typ has not been given in the XML representation of an instance of class LevelType at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml new file mode 100644 index 00000000..a529db9a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml.exception new file mode 100644 index 00000000..c8cbdd4c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/operationVariable/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class OperationVariable at: operationVariable \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml new file mode 100644 index 00000000..9f12c8ac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml.exception new file mode 100644 index 00000000..c38556b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/property/valueType.xml.exception @@ -0,0 +1 @@ +The required property valueType has not been given in the XML representation of an instance of class Property at: property \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml new file mode 100644 index 00000000..87aca8cc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml @@ -0,0 +1,3 @@ + + xs:gDay + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml.exception new file mode 100644 index 00000000..f7adeba3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/type.xml.exception @@ -0,0 +1 @@ +The required property type has not been given in the XML representation of an instance of class Qualifier at: qualifier \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml new file mode 100644 index 00000000..54f60b2c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml @@ -0,0 +1,3 @@ + + something_86027eb8 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml.exception new file mode 100644 index 00000000..9bca84cb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/qualifier/valueType.xml.exception @@ -0,0 +1 @@ +The required property valueType has not been given in the XML representation of an instance of class Qualifier at: qualifier \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml new file mode 100644 index 00000000..7be7565b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml.exception new file mode 100644 index 00000000..1d4baf59 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/range/valueType.xml.exception @@ -0,0 +1 @@ +The required property valueType has not been given in the XML representation of an instance of class Range at: range \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml new file mode 100644 index 00000000..d97272ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml @@ -0,0 +1,3 @@ + + ExternalReference + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml.exception new file mode 100644 index 00000000..41f9d23a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/keys.xml.exception @@ -0,0 +1 @@ +The required property keys has not been given in the XML representation of an instance of class Reference at: reference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml new file mode 100644 index 00000000..04d68446 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml @@ -0,0 +1,8 @@ + + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml.exception new file mode 100644 index 00000000..7d05c7ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/reference/type.xml.exception @@ -0,0 +1 @@ +The required property type has not been given in the XML representation of an instance of class Reference at: reference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml new file mode 100644 index 00000000..529cf4b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml.exception new file mode 100644 index 00000000..074ebb7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/resource/path.xml.exception @@ -0,0 +1 @@ +The required property path has not been given in the XML representation of an instance of class Resource at: resource \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml new file mode 100644 index 00000000..ab4ecf9e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml @@ -0,0 +1,3 @@ + + 𠤢4𠤢 + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml.exception new file mode 100644 index 00000000..9881c53a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/name.xml.exception @@ -0,0 +1 @@ +The required property name has not been given in the XML representation of an instance of class SpecificAssetId at: specificAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml new file mode 100644 index 00000000..b3228d91 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml @@ -0,0 +1,3 @@ + + Ûă<P󨱽²|dnœÞ® + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml.exception new file mode 100644 index 00000000..434bf95a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/specificAssetId/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class SpecificAssetId at: specificAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml new file mode 100644 index 00000000..2f1a451a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml.exception new file mode 100644 index 00000000..2a0e1c38 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodel/id.xml.exception @@ -0,0 +1 @@ +The required property id has not been given in the XML representation of an instance of class Submodel at: submodel \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml new file mode 100644 index 00000000..e3406924 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml.exception new file mode 100644 index 00000000..3190825b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/submodelElementList/typeValueListElement.xml.exception @@ -0,0 +1 @@ +The required property typeValueListElement has not been given in the XML representation of an instance of class SubmodelElementList at: submodelElementList \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml new file mode 100644 index 00000000..88e61a12 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml.exception new file mode 100644 index 00000000..be55cbf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueList/valueReferencePairs.xml.exception @@ -0,0 +1 @@ +The required property valueReferencePairs has not been given in the XML representation of an instance of class ValueList at: valueList \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml new file mode 100644 index 00000000..24bf7872 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml @@ -0,0 +1 @@ + diff --git a/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml.exception new file mode 100644 index 00000000..95169f37 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/RequiredViolation/valueReferencePair/value.xml.exception @@ -0,0 +1 @@ +The required property value has not been given in the XML representation of an instance of class ValueReferencePair at: valueReferencePair \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml new file mode 100644 index 00000000..984f55b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml @@ -0,0 +1,62 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + Unexpected string value + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml.exception new file mode 100644 index 00000000..dac50950 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/creator.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: administrativeInformation/creator \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml new file mode 100644 index 00000000..ec7c2b29 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml @@ -0,0 +1,15 @@ + + Unexpected string value + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..f6a9f6a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: administrativeInformation/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml new file mode 100644 index 00000000..b5c1b49b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml @@ -0,0 +1,78 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml.exception new file mode 100644 index 00000000..9a53ec2f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/revision.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element revision, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: administrativeInformation/revision \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml new file mode 100644 index 00000000..5233c77b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml @@ -0,0 +1,78 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + 116 + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml.exception new file mode 100644 index 00000000..3ae1753f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/templateId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element templateId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: administrativeInformation/templateId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml new file mode 100644 index 00000000..d13d8d71 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml @@ -0,0 +1,78 @@ + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 116 + + ExternalReference + + + GlobalReference + urn:an-example:13:f3f732d5 + + + + [\h$񒺟ìÖċŠ1¿ + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml.exception new file mode 100644 index 00000000..a34eda61 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/administrativeInformation/version.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element version, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: administrativeInformation/version \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml new file mode 100644 index 00000000..c184bc9a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml.exception new file mode 100644 index 00000000..ab339276 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/annotations.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/annotations \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml new file mode 100644 index 00000000..6f040e02 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml @@ -0,0 +1,174 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml.exception new file mode 100644 index 00000000..73772500 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: annotatedRelationshipElement/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml new file mode 100644 index 00000000..dc659187 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml.exception new file mode 100644 index 00000000..bb18c545 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml new file mode 100644 index 00000000..41d3257d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml.exception new file mode 100644 index 00000000..e6cf0553 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..1c9b6348 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml @@ -0,0 +1,111 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..41eda5e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml new file mode 100644 index 00000000..10d646db --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml @@ -0,0 +1,159 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml.exception new file mode 100644 index 00000000..09ca4efd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml new file mode 100644 index 00000000..b671f51d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml.exception new file mode 100644 index 00000000..b2101a32 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/first.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElement/first \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml new file mode 100644 index 00000000..beb5f0ac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml @@ -0,0 +1,174 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml.exception new file mode 100644 index 00000000..4baa1b39 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: annotatedRelationshipElement/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml new file mode 100644 index 00000000..04137dd2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml.exception new file mode 100644 index 00000000..e0c99ae0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml new file mode 100644 index 00000000..b659d869 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + Unexpected string value + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml.exception new file mode 100644 index 00000000..be819f60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/second.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElement/second \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml new file mode 100644 index 00000000..fb381b18 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml @@ -0,0 +1,158 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml.exception new file mode 100644 index 00000000..1f8f1ba4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: annotatedRelationshipElement/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..a36ba41b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml @@ -0,0 +1,138 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + + + Jk0k1414Di + + + fULCVpULCVq + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..f871b685 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/annotatedRelationshipElement/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: annotatedRelationshipElement/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml new file mode 100644 index 00000000..79c42113 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml.exception new file mode 100644 index 00000000..5bc5dcc9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShell/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml new file mode 100644 index 00000000..d7f223f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml @@ -0,0 +1,120 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + Unexpected string value + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml.exception new file mode 100644 index 00000000..836c6f18 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/assetInformation.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShell/assetInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml new file mode 100644 index 00000000..e570b90c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml.exception new file mode 100644 index 00000000..e991d2af --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: assetAdministrationShell/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml new file mode 100644 index 00000000..1fce8d36 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml @@ -0,0 +1,115 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml.exception new file mode 100644 index 00000000..85d464d8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/derivedFrom.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetAdministrationShell/derivedFrom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml new file mode 100644 index 00000000..5af3f206 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml.exception new file mode 100644 index 00000000..cc947ad2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml new file mode 100644 index 00000000..e8d1c9c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml.exception new file mode 100644 index 00000000..051d6baa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml new file mode 100644 index 00000000..98fbf80e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml @@ -0,0 +1,68 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Unexpected string value + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..ea883827 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml new file mode 100644 index 00000000..bbbee785 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml @@ -0,0 +1,116 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml.exception new file mode 100644 index 00000000..9ed47b1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml new file mode 100644 index 00000000..17d7912a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml.exception new file mode 100644 index 00000000..7261ee9c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: assetAdministrationShell/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml new file mode 100644 index 00000000..697d8c7c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + + + ModelReference + + + Submodel + urn:some-company:10:b41a9a96 + + + + + ModelReference + + + Submodel + urn:some-company:08:ebc5356c + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml.exception new file mode 100644 index 00000000..d2761ef1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: assetAdministrationShell/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml new file mode 100644 index 00000000..aed8e86c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + AssetAdministrationShell + urn:some-company:05:3dfe70e9 + + + + + Type + öĖa􍣡™| + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml.exception new file mode 100644 index 00000000..f926b3c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetAdministrationShell/submodels.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetAdministrationShell/submodels \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml new file mode 100644 index 00000000..fbaf87fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml @@ -0,0 +1,30 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml.exception new file mode 100644 index 00000000..b9ae8d3e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetKind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of AssetKind: + at: assetInformation/assetKind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml new file mode 100644 index 00000000..9362513a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml @@ -0,0 +1,30 @@ + + NotApplicable + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml.exception new file mode 100644 index 00000000..cc7f5d4a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/assetType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element assetType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: assetInformation/assetType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml new file mode 100644 index 00000000..709b2513 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml @@ -0,0 +1,20 @@ + + NotApplicable + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml.exception new file mode 100644 index 00000000..3c91f600 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/defaultThumbnail.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: assetInformation/defaultThumbnail \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml new file mode 100644 index 00000000..5340191d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml @@ -0,0 +1,30 @@ + + NotApplicable + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml.exception new file mode 100644 index 00000000..457eb976 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/globalAssetId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element globalAssetId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: assetInformation/globalAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml new file mode 100644 index 00000000..87cdffbb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml @@ -0,0 +1,9 @@ + + NotApplicable + 0 + Unexpected string value + Ûă<P󨱽²|dnœÞ® + + news:comp.infosystems.www.servers.unix + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml.exception new file mode 100644 index 00000000..2f5f228a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/assetInformation/specificAssetIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: assetInformation/specificAssetIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml new file mode 100644 index 00000000..d044e1e2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml.exception new file mode 100644 index 00000000..80ff6bab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: basicEventElement/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml new file mode 100644 index 00000000..76add57d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml.exception new file mode 100644 index 00000000..ecd42657 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml new file mode 100644 index 00000000..18dacdca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml.exception new file mode 100644 index 00000000..99f3eda8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/direction.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of Direction: + at: basicEventElement/direction \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml new file mode 100644 index 00000000..64a2fe9d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml @@ -0,0 +1,163 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml.exception new file mode 100644 index 00000000..213d6ebf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..47bf4754 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml @@ -0,0 +1,117 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..b8e3eebe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml new file mode 100644 index 00000000..b38dc44a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml @@ -0,0 +1,165 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml.exception new file mode 100644 index 00000000..165ed3df --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml new file mode 100644 index 00000000..d32d1745 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml.exception new file mode 100644 index 00000000..9bb008f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: basicEventElement/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml new file mode 100644 index 00000000..1cccbef4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml.exception new file mode 100644 index 00000000..ba077edf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/lastUpdate.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element lastUpdate, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: basicEventElement/lastUpdate \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml new file mode 100644 index 00000000..ba242654 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml.exception new file mode 100644 index 00000000..d5e690b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/maxInterval.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element maxInterval, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: basicEventElement/maxInterval \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml new file mode 100644 index 00000000..a9497394 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + Unexpected string value + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml.exception new file mode 100644 index 00000000..d893ba97 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageBroker.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElement/messageBroker \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml new file mode 100644 index 00000000..233741b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml.exception new file mode 100644 index 00000000..1127743a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/messageTopic.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element messageTopic, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: basicEventElement/messageTopic \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml new file mode 100644 index 00000000..05db7f92 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + + ExternalReference + + + GlobalReference + unexpected reference + + + + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml.exception new file mode 100644 index 00000000..f7d0f518 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/minInterval.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element minInterval, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: basicEventElement/minInterval \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml new file mode 100644 index 00000000..ff07b938 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml.exception new file mode 100644 index 00000000..3dd3c202 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/observed.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElement/observed \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml new file mode 100644 index 00000000..952822ea --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml.exception new file mode 100644 index 00000000..b97425fb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml new file mode 100644 index 00000000..285449df --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml @@ -0,0 +1,164 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml.exception new file mode 100644 index 00000000..d72314a4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: basicEventElement/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml new file mode 100644 index 00000000..e120506d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + + ExternalReference + + + GlobalReference + unexpected reference + + + + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml.exception new file mode 100644 index 00000000..4b8823a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/state.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of StateOfEvent: + at: basicEventElement/state \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..cd0af37c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + output + on + 𠤢4𠤢 + + ModelReference + + + Submodel + urn:example:13:931c2029 + + + Property + something839c2657 + + + + 0001-01-01T00:00:00Z + -P11DT142M + PT18688M + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..c00be5f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/basicEventElement/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: basicEventElement/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml new file mode 100644 index 00000000..6ce3a0e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml.exception new file mode 100644 index 00000000..6a7654eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: blob/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml new file mode 100644 index 00000000..b23707e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml.exception new file mode 100644 index 00000000..a6666212 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/contentType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element contentType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: blob/contentType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml new file mode 100644 index 00000000..0564a1fd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml.exception new file mode 100644 index 00000000..9faca17d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml new file mode 100644 index 00000000..7ffb3556 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml.exception new file mode 100644 index 00000000..9c70b99b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml new file mode 100644 index 00000000..db2672a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml @@ -0,0 +1,87 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..c8ccf681 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml new file mode 100644 index 00000000..870262e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml @@ -0,0 +1,135 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml.exception new file mode 100644 index 00000000..e1eb3183 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml new file mode 100644 index 00000000..17ac6669 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml.exception new file mode 100644 index 00000000..6c2015c6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: blob/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml new file mode 100644 index 00000000..5400fcd7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml @@ -0,0 +1,129 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml.exception new file mode 100644 index 00000000..9f6020d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml new file mode 100644 index 00000000..998a13f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml.exception new file mode 100644 index 00000000..e6d42386 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: blob/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml new file mode 100644 index 00000000..5691d5f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + RyaIxQ6R/Wrra8w= + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..c92b00da --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: blob/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml new file mode 100644 index 00000000..8303c739 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml.exception new file mode 100644 index 00000000..e768baae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/blob/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: blob/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml new file mode 100644 index 00000000..96b95a43 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml.exception new file mode 100644 index 00000000..7481a6a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: capability/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml new file mode 100644 index 00000000..b3419025 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml.exception new file mode 100644 index 00000000..cbff968a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml new file mode 100644 index 00000000..2c0e8bef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml.exception new file mode 100644 index 00000000..81fb4361 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml new file mode 100644 index 00000000..f0169714 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml @@ -0,0 +1,85 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..16051fef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml new file mode 100644 index 00000000..de5eef8e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml @@ -0,0 +1,133 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml.exception new file mode 100644 index 00000000..01c089a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml new file mode 100644 index 00000000..29ebb115 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml.exception new file mode 100644 index 00000000..64f8408d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: capability/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml new file mode 100644 index 00000000..4633b02c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml @@ -0,0 +1,127 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml.exception new file mode 100644 index 00000000..ce28a1a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml new file mode 100644 index 00000000..2b8a6957 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml @@ -0,0 +1,132 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml.exception new file mode 100644 index 00000000..43ebf212 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: capability/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml new file mode 100644 index 00000000..50541c7a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml @@ -0,0 +1,112 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..2a3fea87 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/capability/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: capability/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml new file mode 100644 index 00000000..53b8020c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml @@ -0,0 +1,113 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml.exception new file mode 100644 index 00000000..b54f21c9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: conceptDescription/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml new file mode 100644 index 00000000..ebd07b79 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml.exception new file mode 100644 index 00000000..34848144 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: conceptDescription/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml new file mode 100644 index 00000000..594e1080 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml.exception new file mode 100644 index 00000000..d078f7ca --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml new file mode 100644 index 00000000..447ca25a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml.exception new file mode 100644 index 00000000..6ed1d2f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml new file mode 100644 index 00000000..370b0964 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml @@ -0,0 +1,46 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..fcaa5617 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml new file mode 100644 index 00000000..7c6ee318 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml @@ -0,0 +1,106 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml.exception new file mode 100644 index 00000000..ef188362 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml new file mode 100644 index 00000000..00900026 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml.exception new file mode 100644 index 00000000..5d6928b8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: conceptDescription/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml new file mode 100644 index 00000000..8fbbfbc4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + + + ExternalReference + + + GlobalReference + urn:another-company:06:66cbf3c6 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml.exception new file mode 100644 index 00000000..1d8d2481 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: conceptDescription/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml new file mode 100644 index 00000000..3087f19f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml @@ -0,0 +1,103 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc1291c8 + öĖa􍣡™| + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + en-JM-x-bc009eeb + Ûă<P󨱽²|dnœÞ® + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml.exception new file mode 100644 index 00000000..110e020b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/conceptDescription/isCaseOf.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: conceptDescription/isCaseOf \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml new file mode 100644 index 00000000..4dd33fcf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml.exception new file mode 100644 index 00000000..1836ce08 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/dataType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeIec61360: + at: dataSpecificationIec61360/dataType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml new file mode 100644 index 00000000..b70fc63e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + Unexpected string value + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml.exception new file mode 100644 index 00000000..fa9b892a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/definition.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationIec61360/definition \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml new file mode 100644 index 00000000..2f1c4887 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml.exception new file mode 100644 index 00000000..72eab576 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/levelType.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: dataSpecificationIec61360/levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml new file mode 100644 index 00000000..918252ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml @@ -0,0 +1,36 @@ + + Unexpected string value + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml.exception new file mode 100644 index 00000000..e0788974 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/preferredName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationIec61360/preferredName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml new file mode 100644 index 00000000..1e162eef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml @@ -0,0 +1,36 @@ + + + + en-JM-x-c7dddb5b + 6 + + + Unexpected string value + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml.exception new file mode 100644 index 00000000..27e75a22 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/shortName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: dataSpecificationIec61360/shortName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml new file mode 100644 index 00000000..dac9b996 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml.exception new file mode 100644 index 00000000..cb5f1d60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/sourceOfDefinition.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element sourceOfDefinition, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: dataSpecificationIec61360/sourceOfDefinition \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml new file mode 100644 index 00000000..2411e1a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + unexpected reference + + + + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml.exception new file mode 100644 index 00000000..3c01f706 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/symbol.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element symbol, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: dataSpecificationIec61360/symbol \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml new file mode 100644 index 00000000..4f23271f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml.exception new file mode 100644 index 00000000..070ae39c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unit.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element unit, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: dataSpecificationIec61360/unit \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml new file mode 100644 index 00000000..385e03ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml @@ -0,0 +1,33 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + Unexpected string value + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml.exception new file mode 100644 index 00000000..7ad3cd7b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/unitId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: dataSpecificationIec61360/unitId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml new file mode 100644 index 00000000..1c1d5cd6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 0 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml.exception new file mode 100644 index 00000000..3918e7f5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: dataSpecificationIec61360/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml new file mode 100644 index 00000000..90c02cac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml @@ -0,0 +1,49 @@ + + + + en-JM-x-c7dddb5b + 6 + + + + + en-JM-x-db8b8a3d + öĖa􍣡™| + + + [\h$񒺟ìÖċŠ1¿ + + ExternalReference + + + GlobalReference + urn:example:01:c23a7921 + + + + <ă<P󨱽²|dnœÞ® + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + RATIONAL_MEASURE + + + en-JM-x-b7bc1552 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 򤑌M𪠇𛔊򂄲 + + false + false + true + true + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml.exception new file mode 100644 index 00000000..76c0b05b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/dataSpecificationIec61360/valueFormat.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element valueFormat, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: dataSpecificationIec61360/valueFormat \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml new file mode 100644 index 00000000..82711015 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml @@ -0,0 +1,17 @@ + + Unexpected string value + + + + + en-JM-x-719cdf87 + <ă<P󨱽²|dnœÞ® + + + en-JM-x-2ffc5cd0 + 𠤢4𠤢 + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml.exception new file mode 100644 index 00000000..b7e7b779 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecification.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: embeddedDataSpecification/dataSpecification \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml new file mode 100644 index 00000000..c9c5d694 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception new file mode 100644 index 00000000..d13d9dda --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/embeddedDataSpecification/dataSpecificationContent.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: embeddedDataSpecification/dataSpecificationContent \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml new file mode 100644 index 00000000..987f76cd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml.exception new file mode 100644 index 00000000..2010bae8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: entity/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml new file mode 100644 index 00000000..e0aa72af --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml.exception new file mode 100644 index 00000000..34e11589 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml new file mode 100644 index 00000000..a5e39976 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml.exception new file mode 100644 index 00000000..46b8f4b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml new file mode 100644 index 00000000..68bd7cf6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml @@ -0,0 +1,106 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..1ff37e77 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml new file mode 100644 index 00000000..3e9d7a58 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml.exception new file mode 100644 index 00000000..45d483be --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/entityType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of EntityType: + at: entity/entityType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml new file mode 100644 index 00000000..5958452d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml @@ -0,0 +1,154 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml.exception new file mode 100644 index 00000000..3f197ee6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml new file mode 100644 index 00000000..bc5da491 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml.exception new file mode 100644 index 00000000..6c9dbe86 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/globalAssetId.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element globalAssetId, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: entity/globalAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml new file mode 100644 index 00000000..2592094a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml.exception new file mode 100644 index 00000000..f2c3d16c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: entity/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml new file mode 100644 index 00000000..bf3d4f5b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml.exception new file mode 100644 index 00000000..ccf63049 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml new file mode 100644 index 00000000..78864348 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml.exception new file mode 100644 index 00000000..c4984a78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: entity/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml new file mode 100644 index 00000000..a6c84c83 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml @@ -0,0 +1,148 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml.exception new file mode 100644 index 00000000..7c6f7194 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/specificAssetIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/specificAssetIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml new file mode 100644 index 00000000..16596a1f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml.exception new file mode 100644 index 00000000..e463adb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/statements.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/statements \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml new file mode 100644 index 00000000..0b285b0c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingc6aab7cd + + + CoManagedEntity + 0 + + + 𠤢4𠤢 + 𠤢4𠤢 + + + 0 + 0 + + + 6 + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..01c81751 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/entity/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: entity/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml new file mode 100644 index 00000000..70785137 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml @@ -0,0 +1,13 @@ + + Unexpected string value + + + 0 + + + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml.exception new file mode 100644 index 00000000..c91655c0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/assetAdministrationShells.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: environment/assetAdministrationShells \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml new file mode 100644 index 00000000..281cad05 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml @@ -0,0 +1,24 @@ + + + + J5 + + Role + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Type + 򤑌M𪠇𛔊򂄲 + + + + + + 0 + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml.exception new file mode 100644 index 00000000..8d71ade4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/conceptDescriptions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: environment/conceptDescriptions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml new file mode 100644 index 00000000..8a30f1ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml @@ -0,0 +1,24 @@ + + + + J5 + + Role + J5 + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + Type + 򤑌M𪠇𛔊򂄲 + + + + Unexpected string value + + + 0 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml.exception new file mode 100644 index 00000000..588615f3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/environment/submodels.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: environment/submodels \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml new file mode 100644 index 00000000..4d98c19c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml @@ -0,0 +1,46 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml.exception new file mode 100644 index 00000000..322611d6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableReference.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/observableReference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml new file mode 100644 index 00000000..eb868aaf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml @@ -0,0 +1,46 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + Unexpected string value + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml.exception new file mode 100644 index 00000000..5e933d8f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/observableSemanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/observableSemanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml new file mode 100644 index 00000000..18c16240 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml @@ -0,0 +1,62 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml.exception new file mode 100644 index 00000000..d34ce85c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/payload.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element payload, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: eventPayload/payload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml new file mode 100644 index 00000000..0f5de948 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml @@ -0,0 +1,42 @@ + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml.exception new file mode 100644 index 00000000..c49bac83 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/source.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/source \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml new file mode 100644 index 00000000..4cf11297 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml @@ -0,0 +1,46 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + Unexpected string value + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml.exception new file mode 100644 index 00000000..3f34d0ab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/sourceSemanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/sourceSemanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml new file mode 100644 index 00000000..5023a43b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml @@ -0,0 +1,46 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + Unexpected string value + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml.exception new file mode 100644 index 00000000..2b1ad6ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/subjectId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: eventPayload/subjectId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml new file mode 100644 index 00000000..e5d331f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml @@ -0,0 +1,62 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + öĖa􍣡™| + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml.exception new file mode 100644 index 00000000..08ae0d3b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/timeStamp.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element timeStamp, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: eventPayload/timeStamp \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml new file mode 100644 index 00000000..9d3c8ab7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml @@ -0,0 +1,62 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ExternalReference + + + GlobalReference + urn:an-example:12:1ed44768 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + + ExternalReference + + + GlobalReference + urn:something:16:2204ae04 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:01:0e4f465d + + + + 2022-04-01T24:00:00-00:00 + /TsF2AbyQb1dIa0= + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml.exception new file mode 100644 index 00000000..46f8a236 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/eventPayload/topic.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element topic, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: eventPayload/topic \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml new file mode 100644 index 00000000..49aee22a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml @@ -0,0 +1,71 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml.exception new file mode 100644 index 00000000..ec559f75 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/name.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element name, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: extension/name \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml new file mode 100644 index 00000000..f08a2cfb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml @@ -0,0 +1,44 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml.exception new file mode 100644 index 00000000..e7781ded --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/refersTo.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: extension/refersTo \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml new file mode 100644 index 00000000..7729496c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml @@ -0,0 +1,55 @@ + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml.exception new file mode 100644 index 00000000..58a31682 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: extension/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml new file mode 100644 index 00000000..ef235167 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml @@ -0,0 +1,35 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + Ûă<P󨱽²|dnœÞ® + xs:gDay + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..a9af626a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: extension/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml new file mode 100644 index 00000000..a0910705 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml @@ -0,0 +1,71 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + xs:gDay + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml.exception new file mode 100644 index 00000000..c540a277 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: extension/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml new file mode 100644 index 00000000..cd2e0948 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml @@ -0,0 +1,71 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---01 + + + ExternalReference + + + GlobalReference + urn:an-example:18:1d00b242 + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:00:b45040ec + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml.exception new file mode 100644 index 00000000..46f5a6e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/extension/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: extension/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml new file mode 100644 index 00000000..e380ec35 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml.exception new file mode 100644 index 00000000..b78907dd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: file/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml new file mode 100644 index 00000000..6aca4a47 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml.exception new file mode 100644 index 00000000..bf96c8dd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/contentType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element contentType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: file/contentType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml new file mode 100644 index 00000000..b211412d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml.exception new file mode 100644 index 00000000..c18cc2dd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml new file mode 100644 index 00000000..7f2d4da9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml @@ -0,0 +1,133 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml.exception new file mode 100644 index 00000000..942f6064 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml new file mode 100644 index 00000000..c6c42b62 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml @@ -0,0 +1,87 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..d1ff2e1d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml new file mode 100644 index 00000000..9e637c26 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml @@ -0,0 +1,135 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml.exception new file mode 100644 index 00000000..1f9e708e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml new file mode 100644 index 00000000..d0e4880f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml.exception new file mode 100644 index 00000000..b0d57aac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: file/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml new file mode 100644 index 00000000..15817fcf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml @@ -0,0 +1,129 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml.exception new file mode 100644 index 00000000..d1e45dd2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml new file mode 100644 index 00000000..880884db --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml.exception new file mode 100644 index 00000000..56d01011 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: file/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml new file mode 100644 index 00000000..e7067ebb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml @@ -0,0 +1,114 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + //bVfwa.f./%DC%60O@=;;%63;6%9b;l%E8Ib@$e::9%c0;w%0F;P%bD!v,$;@$;,=$%454-:R%2C%5E%4b2B=%eB%Da%0E%C4p%5c&;%de@%82%fB;v%bbw5q=%57%EE%1c;%e0%2A%af%1c0%eDm%5c%D2&;k*%12%5B;%A0&,:&$;:&%33;+,;%6c5;l%1D%35+%4a&%Fe+lk,+;C,~W=+=%3bn;;-p%3f%66R+%53;o%Bd$BIW%0d%Be%0E+l=I(k%Ac:,R%e6%9E%21%7f%54;;N%F3X@%8f%03%AE(=%9b:/;%F20;0L%27%4F;;%b0:9;%D5%31%1C;21u@%CE%fAE@$=#T%7D + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..dd29a7d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: file/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml new file mode 100644 index 00000000..113e10b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml.exception new file mode 100644 index 00000000..76f3e122 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/file/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: file/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml new file mode 100644 index 00000000..cf722fd2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 򤑌M𪠇𛔊򂄲 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml.exception new file mode 100644 index 00000000..4bead418 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/type.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of KeyTypes: + at: key/type \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml new file mode 100644 index 00000000..d00cb6d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml @@ -0,0 +1,12 @@ + + EventElement + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml.exception new file mode 100644 index 00000000..66bcbfee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/key/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: key/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml new file mode 100644 index 00000000..a9333451 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml.exception new file mode 100644 index 00000000..63257aa7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringDefinitionTypeIec61360/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml new file mode 100644 index 00000000..00ed473c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml.exception new file mode 100644 index 00000000..975ec3e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringDefinitionTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringDefinitionTypeIec61360/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml new file mode 100644 index 00000000..20c9dc0d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml.exception new file mode 100644 index 00000000..75bfdcaa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringNameType/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml new file mode 100644 index 00000000..d536dc60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml.exception new file mode 100644 index 00000000..9ba2747a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringNameType/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringNameType/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml new file mode 100644 index 00000000..c877fbcc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml.exception new file mode 100644 index 00000000..c415ad50 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringPreferredNameTypeIec61360/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml new file mode 100644 index 00000000..bccfb58b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml.exception new file mode 100644 index 00000000..fe7eaa1a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringPreferredNameTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringPreferredNameTypeIec61360/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml new file mode 100644 index 00000000..876581fb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml.exception new file mode 100644 index 00000000..bad7d118 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringShortNameTypeIec61360/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml new file mode 100644 index 00000000..962a14c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml.exception new file mode 100644 index 00000000..a8231fc8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringShortNameTypeIec61360/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringShortNameTypeIec61360/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml new file mode 100644 index 00000000..12a41409 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + J5 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml.exception new file mode 100644 index 00000000..ddebb5fd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/language.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element language, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringTextType/language \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml new file mode 100644 index 00000000..05c71d42 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml @@ -0,0 +1,12 @@ + + en-JM-x-8fafefb1 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml.exception new file mode 100644 index 00000000..2424732f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/langStringTextType/text.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element text, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: langStringTextType/text \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml new file mode 100644 index 00000000..6ced169f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml @@ -0,0 +1,14 @@ + + false + true + true + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml.exception new file mode 100644 index 00000000..5b265957 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/max.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: levelType/max \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml new file mode 100644 index 00000000..8a844585 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml @@ -0,0 +1,14 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + true + true + true + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml.exception new file mode 100644 index 00000000..29c571ec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/min.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: levelType/min \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml new file mode 100644 index 00000000..3fcf8707 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml @@ -0,0 +1,14 @@ + + false + + ExternalReference + + + GlobalReference + unexpected reference + + + + true + true + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml.exception new file mode 100644 index 00000000..9c932e68 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/nom.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: levelType/nom \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml new file mode 100644 index 00000000..4d3a4959 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml @@ -0,0 +1,14 @@ + + false + true + + ExternalReference + + + GlobalReference + unexpected reference + + + + true + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml.exception new file mode 100644 index 00000000..06231ee6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/levelType/typ.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: levelType/typ \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml new file mode 100644 index 00000000..017c8f5a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml @@ -0,0 +1,167 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml.exception new file mode 100644 index 00000000..3645ade4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: multiLanguageProperty/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml new file mode 100644 index 00000000..117d2aba --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml.exception new file mode 100644 index 00000000..b27985d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml new file mode 100644 index 00000000..79bcb4c4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml.exception new file mode 100644 index 00000000..1c34556b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml new file mode 100644 index 00000000..9c30c003 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml @@ -0,0 +1,104 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..e5c23a90 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml new file mode 100644 index 00000000..4757ac97 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml @@ -0,0 +1,152 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml.exception new file mode 100644 index 00000000..480185c7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml new file mode 100644 index 00000000..1e86517e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml @@ -0,0 +1,167 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml.exception new file mode 100644 index 00000000..d64cc5c8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: multiLanguageProperty/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml new file mode 100644 index 00000000..a6a52a61 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml @@ -0,0 +1,146 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml.exception new file mode 100644 index 00000000..5bd76eb7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml new file mode 100644 index 00000000..c78761b1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml.exception new file mode 100644 index 00000000..3cfba40e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: multiLanguageProperty/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml new file mode 100644 index 00000000..1921809f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml @@ -0,0 +1,131 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..6919eeb1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml new file mode 100644 index 00000000..cae4b8d5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml.exception new file mode 100644 index 00000000..d9ba019a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/value.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: multiLanguageProperty/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml new file mode 100644 index 00000000..e81ede2e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + en-JM-x-2daaf0fe + J5 + + + en-JM-x-bef971b8 + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml.exception new file mode 100644 index 00000000..8095452d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/multiLanguageProperty/valueId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: multiLanguageProperty/valueId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml new file mode 100644 index 00000000..03e4c6e8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml @@ -0,0 +1,197 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml.exception new file mode 100644 index 00000000..4534ccd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: operation/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml new file mode 100644 index 00000000..c705ed8a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml.exception new file mode 100644 index 00000000..6c889e40 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml new file mode 100644 index 00000000..2e0ba886 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml @@ -0,0 +1,180 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml.exception new file mode 100644 index 00000000..0d53aba9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml new file mode 100644 index 00000000..e0191869 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..a3e717fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml new file mode 100644 index 00000000..fb3f932d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml @@ -0,0 +1,182 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml.exception new file mode 100644 index 00000000..39fe36f4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml new file mode 100644 index 00000000..415d4669 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml @@ -0,0 +1,197 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml.exception new file mode 100644 index 00000000..0eb0652f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: operation/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml new file mode 100644 index 00000000..bdd5bc12 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml.exception new file mode 100644 index 00000000..d792172c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inoutputVariables.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/inoutputVariables \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml new file mode 100644 index 00000000..3265bd91 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml @@ -0,0 +1,181 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml.exception new file mode 100644 index 00000000..46d70692 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/inputVariables.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/inputVariables \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml new file mode 100644 index 00000000..0a996ea8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml @@ -0,0 +1,174 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + Unexpected string value + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml.exception new file mode 100644 index 00000000..8bda5a60 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/outputVariables.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/outputVariables \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml new file mode 100644 index 00000000..f12dc435 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml @@ -0,0 +1,176 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml.exception new file mode 100644 index 00000000..9512fe5f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml new file mode 100644 index 00000000..3ecd8b14 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml @@ -0,0 +1,181 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml.exception new file mode 100644 index 00000000..55dd81a8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: operation/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml new file mode 100644 index 00000000..01b8a8c2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml @@ -0,0 +1,161 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + + + something0ce83fc0 + + + + + + + + + something7b7837d1 + + + + + + + somethingf21eb6bb + + + + + + + + + something732046d1 + SubmodelElementCollection + + + + + + + something68b52b82 + + + + + + + something0a93cb4d + + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..6cb8c800 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operation/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: operation/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml new file mode 100644 index 00000000..f0d73ff9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml.exception new file mode 100644 index 00000000..82b57485 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/operationVariable/value.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: operationVariable/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml new file mode 100644 index 00000000..a4737353 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml.exception new file mode 100644 index 00000000..0e853a70 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: property/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml new file mode 100644 index 00000000..2642e753 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml.exception new file mode 100644 index 00000000..3df07912 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml new file mode 100644 index 00000000..377ec547 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml @@ -0,0 +1,142 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml.exception new file mode 100644 index 00000000..f2484d9e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml new file mode 100644 index 00000000..ad059c3b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml @@ -0,0 +1,96 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..e1c74883 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml new file mode 100644 index 00000000..f3a49bee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml @@ -0,0 +1,144 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml.exception new file mode 100644 index 00000000..e5293075 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml new file mode 100644 index 00000000..7a12c8f6 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml.exception new file mode 100644 index 00000000..a092ee8b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: property/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml new file mode 100644 index 00000000..194d5422 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml @@ -0,0 +1,138 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml.exception new file mode 100644 index 00000000..90dfbc61 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml new file mode 100644 index 00000000..77b7c706 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml.exception new file mode 100644 index 00000000..8b7562d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: property/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml new file mode 100644 index 00000000..95555259 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..f945c761 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: property/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml new file mode 100644 index 00000000..b849fe4d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml.exception new file mode 100644 index 00000000..dc8ca9b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: property/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml new file mode 100644 index 00000000..2b965636 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml.exception new file mode 100644 index 00000000..162d6cd9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: property/valueId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml new file mode 100644 index 00000000..7b8e0d72 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml @@ -0,0 +1,159 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml.exception new file mode 100644 index 00000000..3c108952 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/property/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: property/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml new file mode 100644 index 00000000..df6d34ae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml @@ -0,0 +1,61 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml.exception new file mode 100644 index 00000000..4569cf01 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/kind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of QualifierKind: + at: qualifier/kind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml new file mode 100644 index 00000000..9b7de8c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml @@ -0,0 +1,45 @@ + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml.exception new file mode 100644 index 00000000..057a1f0e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: qualifier/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml new file mode 100644 index 00000000..9b5bdbd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml @@ -0,0 +1,25 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + ValueQualifier + 6 + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..b061f145 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: qualifier/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml new file mode 100644 index 00000000..3a4170fc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml @@ -0,0 +1,61 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + + ExternalReference + + + GlobalReference + unexpected reference + + + + xs:gDay + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml.exception new file mode 100644 index 00000000..c1ce53ad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/type.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element type, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: qualifier/type \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml new file mode 100644 index 00000000..099d6d89 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml @@ -0,0 +1,61 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + xs:gDay + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml.exception new file mode 100644 index 00000000..800682cc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: qualifier/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml new file mode 100644 index 00000000..6f70f62c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml @@ -0,0 +1,45 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + xs:gDay + ---01 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml.exception new file mode 100644 index 00000000..312b84e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: qualifier/valueId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml new file mode 100644 index 00000000..769d59a0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml @@ -0,0 +1,61 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + ValueQualifier + 6 + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---01 + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml.exception new file mode 100644 index 00000000..7ab724ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/qualifier/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: qualifier/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml new file mode 100644 index 00000000..adac5c26 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml.exception new file mode 100644 index 00000000..92f35a72 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: range/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml new file mode 100644 index 00000000..9cc2f6b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml.exception new file mode 100644 index 00000000..fa750aa1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml new file mode 100644 index 00000000..92022c2d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml @@ -0,0 +1,134 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml.exception new file mode 100644 index 00000000..81668357 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml new file mode 100644 index 00000000..fa0ebcfb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml @@ -0,0 +1,88 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..761190e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml new file mode 100644 index 00000000..29c4e90e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml @@ -0,0 +1,136 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml.exception new file mode 100644 index 00000000..2a689c1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml new file mode 100644 index 00000000..53388341 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml.exception new file mode 100644 index 00000000..00b9ae34 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: range/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml new file mode 100644 index 00000000..cbb4231d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml.exception new file mode 100644 index 00000000..06f00571 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/max.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element max, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: range/max \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml new file mode 100644 index 00000000..47ba4732 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml.exception new file mode 100644 index 00000000..097a8558 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/min.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element min, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: range/min \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml new file mode 100644 index 00000000..716318f7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml.exception new file mode 100644 index 00000000..c4ec48e5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml new file mode 100644 index 00000000..c4a7e995 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml @@ -0,0 +1,135 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml.exception new file mode 100644 index 00000000..a0e513b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: range/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml new file mode 100644 index 00000000..f3b536f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml @@ -0,0 +1,115 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + xs:gDay + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..2bfdf74f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: range/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml new file mode 100644 index 00000000..1af37719 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml @@ -0,0 +1,151 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + ---01+02:00 + ---15 + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml.exception new file mode 100644 index 00000000..166dc7eb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/range/valueType.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: range/valueType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml new file mode 100644 index 00000000..cc87d1e0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml @@ -0,0 +1,13 @@ + + ExternalReference + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml.exception new file mode 100644 index 00000000..18625d65 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/keys.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: reference/keys \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml new file mode 100644 index 00000000..dbc2c928 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml @@ -0,0 +1,10 @@ + + ExternalReference + Unexpected string value + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml.exception new file mode 100644 index 00000000..750662ef --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/referredSemanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: reference/referredSemanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml new file mode 100644 index 00000000..04f65142 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml @@ -0,0 +1,26 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:another-example:00:3fff168c + + + + + + GlobalReference + urn:example:10:6914e6d2 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml.exception new file mode 100644 index 00000000..0a8b8e8e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/reference/type.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ReferenceTypes: + at: reference/type \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml new file mode 100644 index 00000000..0eada7a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml.exception new file mode 100644 index 00000000..35aac419 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: referenceElement/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml new file mode 100644 index 00000000..9d4ded91 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml.exception new file mode 100644 index 00000000..2c3b858e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml new file mode 100644 index 00000000..758929ac --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml @@ -0,0 +1,140 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml.exception new file mode 100644 index 00000000..70765be2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..04168597 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml @@ -0,0 +1,94 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..81b14151 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml new file mode 100644 index 00000000..15c06982 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml @@ -0,0 +1,142 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml.exception new file mode 100644 index 00000000..5459beed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml new file mode 100644 index 00000000..c41c8569 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml @@ -0,0 +1,157 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml.exception new file mode 100644 index 00000000..3a509569 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: referenceElement/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml new file mode 100644 index 00000000..7dac2fcf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml @@ -0,0 +1,136 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml.exception new file mode 100644 index 00000000..50504e66 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml new file mode 100644 index 00000000..4cdf6af0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml.exception new file mode 100644 index 00000000..4fa6d670 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: referenceElement/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..178815d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml @@ -0,0 +1,121 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:03:cb2f6043 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..3d215033 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: referenceElement/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml new file mode 100644 index 00000000..afc99d78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml.exception new file mode 100644 index 00000000..f5d2c3d9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/referenceElement/value.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: referenceElement/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml new file mode 100644 index 00000000..0962d8df --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml.exception new file mode 100644 index 00000000..1cffeaf1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: relationshipElement/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml new file mode 100644 index 00000000..0969f601 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml.exception new file mode 100644 index 00000000..8f47b7cb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml new file mode 100644 index 00000000..6848fc6f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml @@ -0,0 +1,149 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml.exception new file mode 100644 index 00000000..8ec1ec3a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml new file mode 100644 index 00000000..53616840 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml @@ -0,0 +1,103 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..0a352b67 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml new file mode 100644 index 00000000..d921e509 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml @@ -0,0 +1,151 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml.exception new file mode 100644 index 00000000..13488d93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml new file mode 100644 index 00000000..3e61208f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml.exception new file mode 100644 index 00000000..0f640e05 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/first.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElement/first \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml new file mode 100644 index 00000000..23c1e4b2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml @@ -0,0 +1,166 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml.exception new file mode 100644 index 00000000..81364661 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: relationshipElement/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml new file mode 100644 index 00000000..026c0aa3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml @@ -0,0 +1,145 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml.exception new file mode 100644 index 00000000..a29ca489 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml new file mode 100644 index 00000000..300eb45e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml.exception new file mode 100644 index 00000000..8a8220b9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/second.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElement/second \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml new file mode 100644 index 00000000..493bcd97 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml.exception new file mode 100644 index 00000000..764e9221 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: relationshipElement/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml new file mode 100644 index 00000000..b5a05e7c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml @@ -0,0 +1,130 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:07:f74c3f33 + + + + + ExternalReference + + + GlobalReference + urn:example:00:9301d0e0 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..1b32bdf9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/relationshipElement/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: relationshipElement/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml new file mode 100644 index 00000000..053aa26a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml @@ -0,0 +1,12 @@ + + #; + + ExternalReference + + + GlobalReference + unexpected reference + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml.exception new file mode 100644 index 00000000..b3f465f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/contentType.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element contentType, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: resource/contentType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml new file mode 100644 index 00000000..b9b9e850 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml @@ -0,0 +1,12 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 15j/5j + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml.exception new file mode 100644 index 00000000..c1605297 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/resource/path.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element path, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: resource/path \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml new file mode 100644 index 00000000..0b230a0f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml @@ -0,0 +1,43 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml.exception new file mode 100644 index 00000000..613c6a4a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/externalSubjectId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: specificAssetId/externalSubjectId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml new file mode 100644 index 00000000..1df865ff --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml @@ -0,0 +1,59 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml.exception new file mode 100644 index 00000000..00f5597e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/name.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element name, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: specificAssetId/name \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml new file mode 100644 index 00000000..6d33e3df --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml @@ -0,0 +1,43 @@ + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml.exception new file mode 100644 index 00000000..68f3a8dd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: specificAssetId/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml new file mode 100644 index 00000000..dec6c403 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml @@ -0,0 +1,23 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + Ûă<P󨱽²|dnœÞ® + 򤑌M𪠇𛔊򂄲 + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..ef716994 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: specificAssetId/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml new file mode 100644 index 00000000..8123050f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml @@ -0,0 +1,59 @@ + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Ûă<P󨱽²|dnœÞ® + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:an-example:01:3a080c99 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml.exception new file mode 100644 index 00000000..392c15d1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/specificAssetId/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: specificAssetId/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml new file mode 100644 index 00000000..35af22e3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml @@ -0,0 +1,152 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml.exception new file mode 100644 index 00000000..9fe3a062 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/administration.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodel/administration \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml new file mode 100644 index 00000000..4175032e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml.exception new file mode 100644 index 00000000..c951e73e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: submodel/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml new file mode 100644 index 00000000..7f4f9715 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml.exception new file mode 100644 index 00000000..87d49632 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml new file mode 100644 index 00000000..3ba8ebd8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml @@ -0,0 +1,143 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml.exception new file mode 100644 index 00000000..02b0bb49 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml new file mode 100644 index 00000000..b6ed6f46 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml @@ -0,0 +1,97 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..293eac24 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml new file mode 100644 index 00000000..aba37e66 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml @@ -0,0 +1,145 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml.exception new file mode 100644 index 00000000..9f252e1e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml new file mode 100644 index 00000000..afea6b87 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml.exception new file mode 100644 index 00000000..9bfac252 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/id.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element id, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: submodel/id \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml new file mode 100644 index 00000000..3cf854f2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml.exception new file mode 100644 index 00000000..ac496ec8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: submodel/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml new file mode 100644 index 00000000..03715c91 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml @@ -0,0 +1,160 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml.exception new file mode 100644 index 00000000..71d012f0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/kind.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of ModellingKind: + at: submodel/kind \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml new file mode 100644 index 00000000..8a8407e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml @@ -0,0 +1,139 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml.exception new file mode 100644 index 00000000..8dfab1f9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml new file mode 100644 index 00000000..d3340800 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml.exception new file mode 100644 index 00000000..e4ab4572 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodel/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml new file mode 100644 index 00000000..49bfd3fd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml @@ -0,0 +1,144 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml.exception new file mode 100644 index 00000000..8b282dab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/submodelElements.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/submodelElements \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml new file mode 100644 index 00000000..cd0e969d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml @@ -0,0 +1,124 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + 0 + Instance + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + somethingb873bd6b + xs:long + + + something8fecda82 + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..87dd1190 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodel/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodel/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml new file mode 100644 index 00000000..cd1633e1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml @@ -0,0 +1,171 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml.exception new file mode 100644 index 00000000..2667df9f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: submodelElementCollection/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml new file mode 100644 index 00000000..a56a2aec --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml @@ -0,0 +1,154 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml.exception new file mode 100644 index 00000000..933dd00b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml new file mode 100644 index 00000000..182d6896 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml @@ -0,0 +1,154 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml.exception new file mode 100644 index 00000000..acaffa96 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml new file mode 100644 index 00000000..00784171 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml @@ -0,0 +1,108 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..a9fbc621 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml new file mode 100644 index 00000000..408e7a86 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml @@ -0,0 +1,156 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml.exception new file mode 100644 index 00000000..62afeaaf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml new file mode 100644 index 00000000..b8b04f98 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml @@ -0,0 +1,171 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml.exception new file mode 100644 index 00000000..de22d628 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: submodelElementCollection/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml new file mode 100644 index 00000000..51978bed --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml.exception new file mode 100644 index 00000000..3281225f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml new file mode 100644 index 00000000..8fa8bb78 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml @@ -0,0 +1,155 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml.exception new file mode 100644 index 00000000..17f58f45 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementCollection/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml new file mode 100644 index 00000000..ff0b1910 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml @@ -0,0 +1,135 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + + something11e03ee7 + + + somethinge32e9b9a + + ModelReference + + + Submodel + urn:another-example:14:b7e1a1d2 + + + Property + somethinga1b38be3 + + + + output + off + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..4c4f3ae7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml new file mode 100644 index 00000000..61634367 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml @@ -0,0 +1,141 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + a-_ + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml.exception new file mode 100644 index 00000000..ba9e3025 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementCollection/value.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementCollection/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml new file mode 100644 index 00000000..110dda35 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml.exception new file mode 100644 index 00000000..8dd36401 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/category.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element category, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: submodelElementList/category \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml new file mode 100644 index 00000000..5e74a006 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + Unexpected string value + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml.exception new file mode 100644 index 00000000..3eb2fdda --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/description.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/description \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml new file mode 100644 index 00000000..be99a8ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml @@ -0,0 +1,169 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + Unexpected string value + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml.exception new file mode 100644 index 00000000..508e2e73 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/displayName.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/displayName \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml new file mode 100644 index 00000000..dbc7bb7d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml @@ -0,0 +1,123 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + Unexpected string value + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml.exception new file mode 100644 index 00000000..23487deb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/embeddedDataSpecifications.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/embeddedDataSpecifications \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml new file mode 100644 index 00000000..c95d91c3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml @@ -0,0 +1,171 @@ + + Unexpected string value + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml.exception new file mode 100644 index 00000000..8b03695b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/extensions.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/extensions \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml new file mode 100644 index 00000000..14c02b5a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml.exception new file mode 100644 index 00000000..470b5656 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/idShort.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element idShort, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: submodelElementList/idShort \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml new file mode 100644 index 00000000..45b2b90a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml.exception new file mode 100644 index 00000000..92a9d81c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/orderRelevant.xml.exception @@ -0,0 +1 @@ +The XML content could not be de-serialized as Boolean: Expected a value as xs:boolean, but got: at: submodelElementList/orderRelevant \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml new file mode 100644 index 00000000..3de5746a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml @@ -0,0 +1,165 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + Unexpected string value + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml.exception new file mode 100644 index 00000000..e57aedee --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/qualifiers.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/qualifiers \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml new file mode 100644 index 00000000..37908d6e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml @@ -0,0 +1,170 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + Unexpected string value + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml.exception new file mode 100644 index 00000000..7444fed0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementList/semanticId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml new file mode 100644 index 00000000..88eab4fc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml @@ -0,0 +1,170 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + Unexpected string value + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml.exception new file mode 100644 index 00000000..3c05965b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/semanticIdListElement.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: submodelElementList/semanticIdListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml new file mode 100644 index 00000000..8b6e4f6f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml @@ -0,0 +1,150 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + Unexpected string value + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml.exception new file mode 100644 index 00000000..e86d96b3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/supplementalSemanticIds.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/supplementalSemanticIds \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml new file mode 100644 index 00000000..739751c5 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + + ExternalReference + + + GlobalReference + unexpected reference + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml.exception new file mode 100644 index 00000000..d6a33fa8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/typeValueListElement.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of AasSubmodelElements: + at: submodelElementList/typeValueListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml new file mode 100644 index 00000000..6169a326 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml @@ -0,0 +1,153 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + xs:boolean + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml.exception new file mode 100644 index 00000000..0367f55d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/value.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: submodelElementList/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml new file mode 100644 index 00000000..12c56775 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml @@ -0,0 +1,186 @@ + + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + + + 6 + + + 11ÕÑ𐻨´K􂬭e<󡗞¨ngA + someList + + + en-JM-x-99426152 + [\h$񒺟ìÖċŠ1¿ + + + en-JM-x-431996fc + <ă<P󨱽²|dnœÞ® + + + + + en-JM-x-7ca6ed73 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-588ccbcc + 𠤢4𠤢 + + + + ExternalReference + + + GlobalReference + urn:another-company:14:e9fb9bbe + + + + + + ExternalReference + + + GlobalReference + urn:another-example:14:967c1fae + + + + + ExternalReference + + + GlobalReference + urn:another-company:10:c92b4b06 + + + + + ExternalReference + + + GlobalReference + urn:another-example:06:1f165292 + + + + + + + something_22f3ec3a + xs:integer + + + something_1ad7ac81 + xs:double + + + something_c7954a19 + xs:long + + + + + + ExternalReference + + + GlobalReference + urn:another-company:03:97fadb7b + + + + + + + + en-JM-x-87ce29ed + J5 + + + en-JM-x-7c40ee17 + Ûă<P󨱽²|dnœÞ® + + + en-JM-x-f49c2ad1 + [\h$񒺟ìÖċŠ1¿ + + + + + + + + ExternalReference + + + GlobalReference + urn:an-example:10:3fc193a2 + + + + + + + + en-JM-x-e705ce52 + 0 + + + en-JM-x-27e497c3 + [\h$񒺟ìÖċŠ1¿ + + + + + + + false + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + Property + + ExternalReference + + + GlobalReference + unexpected reference + + + + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + + ExternalReference + + + GlobalReference + urn:yet-another-company:10:245e0e92 + + + + xs:boolean + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml.exception new file mode 100644 index 00000000..343f2a1b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/submodelElementList/valueTypeListElement.xml.exception @@ -0,0 +1,2 @@ +The text could not be parsed as a literal of DataTypeDefXsd: + at: submodelElementList/valueTypeListElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml new file mode 100644 index 00000000..a89b3a94 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml @@ -0,0 +1,3 @@ + + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml.exception new file mode 100644 index 00000000..b0315143 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueList/valueReferencePairs.xml.exception @@ -0,0 +1 @@ +Expected a start element opening an item of the list, but got an XML Characters at: valueList/valueReferencePairs \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml new file mode 100644 index 00000000..bffd3018 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml @@ -0,0 +1,20 @@ + + + ExternalReference + + + GlobalReference + unexpected reference + + + + + ExternalReference + + + GlobalReference + urn:something:02:6f744b32 + + + + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml.exception new file mode 100644 index 00000000..d9384889 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/value.xml.exception @@ -0,0 +1 @@ +Expected an XML end element to conclude the element value, but got the node of type Start-Element with the value <['https://admin-shell.io/aas/3/1']::type> at: valueReferencePair/value \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml new file mode 100644 index 00000000..90cae9f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + Unexpected string value + diff --git a/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml.exception b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml.exception new file mode 100644 index 00000000..2d72e552 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/TypeViolation/valueReferencePair/valueId.xml.exception @@ -0,0 +1 @@ +Expected an XML element, but got the node of type Characters with the value Unexpected string value at: valueReferencePair/valueId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml new file mode 100644 index 00000000..42eba573 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml.exception new file mode 100644 index 00000000..f6583209 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/administrativeInformation/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AdministrativeInformation, but got an unexpected element with the name unexpectedAdditionalProperty at: administrativeInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml new file mode 100644 index 00000000..73315669 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml.exception new file mode 100644 index 00000000..8ee6d4a1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/annotatedRelationshipElement/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AnnotatedRelationshipElement, but got an unexpected element with the name unexpectedAdditionalProperty at: annotatedRelationshipElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml new file mode 100644 index 00000000..8f0ae298 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml @@ -0,0 +1,8 @@ + + 0 + + NotApplicable + 6 + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml.exception new file mode 100644 index 00000000..c361e5b7 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetAdministrationShell/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AssetAdministrationShell, but got an unexpected element with the name unexpectedAdditionalProperty at: assetAdministrationShell \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml new file mode 100644 index 00000000..236c408c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml @@ -0,0 +1,5 @@ + + NotApplicable + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml.exception new file mode 100644 index 00000000..c23a9e72 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/assetInformation/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class AssetInformation, but got an unexpected element with the name unexpectedAdditionalProperty at: assetInformation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml new file mode 100644 index 00000000..bf3b9cf3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml @@ -0,0 +1,18 @@ + + + ModelReference + + + Submodel + urn:yet-another-company:02:3262900a + + + Property + something0e5ec53f + + + + input + on + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml.exception new file mode 100644 index 00000000..dd1637fd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/basicEventElement/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class BasicEventElement, but got an unexpected element with the name unexpectedAdditionalProperty at: basicEventElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml new file mode 100644 index 00000000..9b84efeb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml.exception new file mode 100644 index 00000000..bf2f8551 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/blob/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Blob, but got an unexpected element with the name unexpectedAdditionalProperty at: blob \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml new file mode 100644 index 00000000..fc867686 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml.exception new file mode 100644 index 00000000..d03912cf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/capability/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Capability, but got an unexpected element with the name unexpectedAdditionalProperty at: capability \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml new file mode 100644 index 00000000..85a167ce --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml @@ -0,0 +1,4 @@ + + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml.exception new file mode 100644 index 00000000..31ff75d0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/conceptDescription/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ConceptDescription, but got an unexpected element with the name unexpectedAdditionalProperty at: conceptDescription \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml new file mode 100644 index 00000000..d6125d36 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml @@ -0,0 +1,9 @@ + + + + en-JM-x-c7dddb5b + 6 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml.exception new file mode 100644 index 00000000..a1ba4339 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/dataSpecificationIec61360/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class DataSpecificationIec61360, but got an unexpected element with the name unexpectedAdditionalProperty at: dataSpecificationIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml new file mode 100644 index 00000000..0276a9de --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml @@ -0,0 +1,22 @@ + + + ExternalReference + + + GlobalReference + urn:some-company:10:9ac9d1a6 + + + + + + + + en-JM-x-b435b532 + 0 + + + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml.exception new file mode 100644 index 00000000..4602af85 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/embeddedDataSpecification/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class EmbeddedDataSpecification, but got an unexpected element with the name unexpectedAdditionalProperty at: embeddedDataSpecification \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml new file mode 100644 index 00000000..6b4e2975 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml.exception new file mode 100644 index 00000000..4be1daab --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/entity/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Entity, but got an unexpected element with the name unexpectedAdditionalProperty at: entity \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml new file mode 100644 index 00000000..4806c556 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml.exception new file mode 100644 index 00000000..2fe625c1 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/environment/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Environment, but got an unexpected element with the name unexpectedAdditionalProperty at: environment \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml new file mode 100644 index 00000000..c6891d52 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml @@ -0,0 +1,26 @@ + + + ModelReference + + + Submodel + urn:some-company:15:84fd2b1b + + + EventElement + something3a3b97e8 + + + + + ModelReference + + + Submodel + urn:something:13:06d93ead + + + + 2022-04-01T24:00:00-00:00 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml.exception new file mode 100644 index 00000000..b48f1366 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/eventPayload/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class EventPayload, but got an unexpected element with the name unexpectedAdditionalProperty at: eventPayload \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml new file mode 100644 index 00000000..e42f9097 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml @@ -0,0 +1,4 @@ + + Ûă<P󨱽²|dnœÞ® + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml.exception new file mode 100644 index 00000000..d45482ae --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/extension/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Extension, but got an unexpected element with the name unexpectedAdditionalProperty at: extension \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml new file mode 100644 index 00000000..937cbc93 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml.exception new file mode 100644 index 00000000..380166db --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/file/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class File, but got an unexpected element with the name unexpectedAdditionalProperty at: file \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml new file mode 100644 index 00000000..e2d2b83b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml @@ -0,0 +1,5 @@ + + EventElement + <ă<P󨱽²|dnœÞ® + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml.exception new file mode 100644 index 00000000..be31ef1f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/key/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Key, but got an unexpected element with the name unexpectedAdditionalProperty at: key \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml new file mode 100644 index 00000000..71e1ffdf --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml.exception new file mode 100644 index 00000000..684c5d56 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringDefinitionTypeIec61360/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringDefinitionTypeIec61360, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringDefinitionTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml new file mode 100644 index 00000000..c701a36b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml.exception new file mode 100644 index 00000000..a3f75fa9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringNameType/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringNameType, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringNameType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml new file mode 100644 index 00000000..21bf2165 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml.exception new file mode 100644 index 00000000..d407a1a3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringPreferredNameTypeIec61360/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringPreferredNameTypeIec61360, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringPreferredNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml new file mode 100644 index 00000000..f5898cf0 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml.exception new file mode 100644 index 00000000..246fd0de --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringShortNameTypeIec61360/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringShortNameTypeIec61360, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringShortNameTypeIec61360 \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml new file mode 100644 index 00000000..e6ff2753 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml @@ -0,0 +1,5 @@ + + en-JM-x-8fafefb1 + J5 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml.exception new file mode 100644 index 00000000..10000513 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/langStringTextType/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LangStringTextType, but got an unexpected element with the name unexpectedAdditionalProperty at: langStringTextType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml new file mode 100644 index 00000000..95d2bf9f --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml @@ -0,0 +1,7 @@ + + false + false + false + true + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml.exception new file mode 100644 index 00000000..3336ddbd --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/levelType/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class LevelType, but got an unexpected element with the name unexpectedAdditionalProperty at: levelType \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml new file mode 100644 index 00000000..06a50b8d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml.exception new file mode 100644 index 00000000..e7186995 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/multiLanguageProperty/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class MultiLanguageProperty, but got an unexpected element with the name unexpectedAdditionalProperty at: multiLanguageProperty \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml new file mode 100644 index 00000000..64ba24aa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml.exception new file mode 100644 index 00000000..5f7ffadc --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operation/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Operation, but got an unexpected element with the name unexpectedAdditionalProperty at: operation \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml new file mode 100644 index 00000000..d3a210fe --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml @@ -0,0 +1,9 @@ + + + + something1d0edd81 + Capability + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml.exception new file mode 100644 index 00000000..7aca893b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/operationVariable/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class OperationVariable, but got an unexpected element with the name unexpectedAdditionalProperty at: operationVariable \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml new file mode 100644 index 00000000..9cbb24a9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml @@ -0,0 +1,4 @@ + + xs:gDay + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml.exception new file mode 100644 index 00000000..18a3b996 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/property/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Property, but got an unexpected element with the name unexpectedAdditionalProperty at: property \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml new file mode 100644 index 00000000..1c379e8a --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml @@ -0,0 +1,5 @@ + + something_86027eb8 + xs:gDay + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml.exception new file mode 100644 index 00000000..a147043b --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/qualifier/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Qualifier, but got an unexpected element with the name unexpectedAdditionalProperty at: qualifier \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml new file mode 100644 index 00000000..28059d52 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml @@ -0,0 +1,4 @@ + + xs:gDay + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml.exception new file mode 100644 index 00000000..d1a453ad --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/range/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Range, but got an unexpected element with the name unexpectedAdditionalProperty at: range \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml new file mode 100644 index 00000000..6f79055c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml @@ -0,0 +1,10 @@ + + ExternalReference + + + GlobalReference + urn:example:10:6914e6d2 + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml.exception new file mode 100644 index 00000000..df2b458d --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/reference/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Reference, but got an unexpected element with the name unexpectedAdditionalProperty at: reference \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml new file mode 100644 index 00000000..b02003e4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml.exception new file mode 100644 index 00000000..1308e312 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/referenceElement/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ReferenceElement, but got an unexpected element with the name unexpectedAdditionalProperty at: referenceElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml new file mode 100644 index 00000000..40d478cb --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml.exception new file mode 100644 index 00000000..a7a3df6c --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/relationshipElement/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class RelationshipElement, but got an unexpected element with the name unexpectedAdditionalProperty at: relationshipElement \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml new file mode 100644 index 00000000..073e3de9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml @@ -0,0 +1,4 @@ + + #; + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml.exception new file mode 100644 index 00000000..3b1f2825 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/resource/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Resource, but got an unexpected element with the name unexpectedAdditionalProperty at: resource \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml new file mode 100644 index 00000000..7d724c8e --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml @@ -0,0 +1,5 @@ + + Ûă<P󨱽²|dnœÞ® + 𠤢4𠤢 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml.exception new file mode 100644 index 00000000..fb3dc577 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/specificAssetId/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SpecificAssetId, but got an unexpected element with the name unexpectedAdditionalProperty at: specificAssetId \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml new file mode 100644 index 00000000..7b037ea4 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml @@ -0,0 +1,4 @@ + + 0 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml.exception new file mode 100644 index 00000000..019406a2 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodel/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class Submodel, but got an unexpected element with the name unexpectedAdditionalProperty at: submodel \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml new file mode 100644 index 00000000..0d8752e9 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml @@ -0,0 +1,3 @@ + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml.exception new file mode 100644 index 00000000..bac53f19 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementCollection/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelElementCollection, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelElementCollection \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml new file mode 100644 index 00000000..6e3af9d3 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml @@ -0,0 +1,4 @@ + + BasicEventElement + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml.exception new file mode 100644 index 00000000..31125542 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/submodelElementList/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class SubmodelElementList, but got an unexpected element with the name unexpectedAdditionalProperty at: submodelElementList \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml new file mode 100644 index 00000000..09d9fa15 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml @@ -0,0 +1,8 @@ + + + + öĖa􍣡™| + + + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml.exception new file mode 100644 index 00000000..3d14d540 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueList/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ValueList, but got an unexpected element with the name unexpectedAdditionalProperty at: valueList \ No newline at end of file diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml new file mode 100644 index 00000000..b28ad4f8 --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml @@ -0,0 +1,4 @@ + + 򤑌M𪠇𛔊򂄲 + UNEXPECTED-ADDITIONAL-PROPERTY + diff --git a/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml.exception b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml.exception new file mode 100644 index 00000000..55274aaa --- /dev/null +++ b/test_data/Xml/Unexpected/Unserializable/UnexpectedAdditionalProperty/valueReferencePair/instance.xml.exception @@ -0,0 +1 @@ +We expected properties of the class ValueReferencePair, but got an unexpected element with the name unexpectedAdditionalProperty at: valueReferencePair \ No newline at end of file