From 09d1edaf9a355159dd426f3e17890c3d242bc8ad Mon Sep 17 00:00:00 2001 From: Falko Menge Date: Wed, 10 Jan 2024 17:20:02 +0100 Subject: [PATCH] Add XML schema --- bpmn-icon.xsd | 24 ++++++++++++++++++++++++ example.bpmn | 7 ++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 bpmn-icon.xsd diff --git a/bpmn-icon.xsd b/bpmn-icon.xsd new file mode 100644 index 0000000..03614f7 --- /dev/null +++ b/bpmn-icon.xsd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + This attribute points to the id of the iconDefinition. + + + + + + diff --git a/example.bpmn b/example.bpmn index 80504a0..588e294 100644 --- a/example.bpmn +++ b/example.bpmn @@ -3,7 +3,12 @@ xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:icon="http://www.omg.org/spec/BPMN/non-normative/Icon" - id="Definitions" targetNamespace="http://example.org"> + id="Definitions" targetNamespace="http://example.org" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + http://www.omg.org/spec/BPMN/non-normative/Icon + ./bpmn-icon.xsd + ">