Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(dsp-tools-xmlupload): add Warning section (DSP-1693) #69

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/dsp-tools-xmlupload.md
Expand Up @@ -169,13 +169,18 @@ The `<resource>` element contains a property element (e.g. `<text-prop>`) for ea
describing the resource. The property element itself contains one or several value elements (e.g. `<text>`) and must
have an attribute `name` with the name of the property as defined in the project specific ontology.

Example for a property element of type text (`<text-prop>`) with the value element `<text>`:
Example for a property element of type text (`<text-prop>`) with two value elements `<text>`:

```xml
<text-prop name=":hasTranslation">
<text encoding="utf8">Dies ist eine Übersetzung</text>
<text encoding="utf8">Und eine andere Übersetzung</text>
</text-prop>
```

| ⚠ Look out |
|:----------|
| In case of a cardinality 1-n, you must **NOT** create multiple `<text-prop>` tags, but multiple `<text>` tags in one single `<text-prop>`! |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| In case of a cardinality 1-n, you must **NOT** create multiple `<text-prop>` tags, but multiple `<text>` tags in one single `<text-prop>`! |
| In case of a cardinality 1-n, don't use multiple `<text-prop>` tags, but multiple `<text>` tags inside `<text-prop>`.|

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put it more neutrally.


The following property elements exist:

Expand Down