<activiti:expression> vs <expression> validation errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2011 06:47 PM
I checked svn and the xsd is not changed recently and neither are the testcases where this fails. No I also run the '5.1' designer (0.6?) in the same eclipse so I'm not sure which is ok. According to the xsd there should be prefixes…
Anybody?
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2011 04:36 AM
Those errors surely must have been there before, because nothing has moved in that area in the last weeks;
I'm assuming you are talking about these XML snippets:
<activiti:field name="html">
<expression>
Both with an without prefix, the processes work.
I checked the parser, and it seems to be a bit too liberal about the namespace.
I believe that the prefix must be there, so I updated the code accordingly.
Is this also what you think is correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2011 05:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2011 05:41 PM
There are more elements with validation errors… but some might be related to me having an 'older' xsd from the designer
Description Resource Path Location Type
cvc-complex-type.2.1: Element 'activiti:formProperty' must have no character or element information item [children], because the type's content type is empty. FormsTest.testFormPropertyDetails.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/engine/test/forms line 26 XML Problem
cvc-complex-type.2.1: Element 'activiti:formProperty' must have no character or element information item [children], because the type's content type is empty. FormsTest.testFormPropertyDetails.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/engine/test/forms line 26 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:executionListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. ExecutionListenersProcess.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/executionlistener line 8 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:executionListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. ExecutionListenersProcess.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/executionlistener line 18 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:executionListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. ExecutionListenersProcess.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/executionlistener line 24 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:executionListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. ExecutionListenersProcess.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/executionlistener line 8 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:executionListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. ExecutionListenersProcess.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/executionlistener line 18 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:executionListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. ExecutionListenersProcess.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/executionlistener line 24 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testAssigneeAssignment.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testAssigneeAssignment.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testCandidateGroupAssignment.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testCandidateGroupAssignment.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testCandidateUserAssignment.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testCandidateUserAssignment.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testOverwriteExistingAssignments.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testOverwriteExistingAssignments.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testOverwriteExistingAssignmentsFromVariable.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. CustomTaskAssignmentTest.testOverwriteExistingAssignmentsFromVariable.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. TaskListenerTest.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. TaskListenerTest.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/tasklistener line 32 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. TaskListenerTest.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/tasklistener line 17 XML Problem
cvc-complex-type.2.4.b: The content of element 'activiti:taskListener' is not complete. One of '{"http://activiti.org/bpmn':field}' is expected. TaskListenerTest.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/tasklistener line 32 XML Problem
cvc-complex-type.2.4.d: Invalid content was found starting with element 'activiti:field'. No child element is expected at this point. ExecutionListenersFieldInjectionProcess.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/executionlistener line 10 XML Problem
cvc-complex-type.2.4.d: Invalid content was found starting with element 'activiti:field'. No child element is expected at this point. ExecutionListenersFieldInjectionProcess.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/executionlistener line 10 XML Problem
cvc-complex-type.2.4.d: Invalid content was found starting with element 'activiti:field'. No child element is expected at this point. TaskListenerTest.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/tasklistener line 21 XML Problem
cvc-complex-type.2.4.d: Invalid content was found starting with element 'activiti:field'. No child element is expected at this point. TaskListenerTest.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/tasklistener line 21 XML Problem
cvc-complex-type.3.2.2: Attribute 'datePattern' is not allowed to appear in element 'activiti:formProperty'. FormsTest.testFormPropertyDetails.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/engine/test/forms line 19 XML Problem
cvc-complex-type.3.2.2: Attribute 'datePattern' is not allowed to appear in element 'activiti:formProperty'. FormsTest.testFormPropertyDetails.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/engine/test/forms line 19 XML Problem
cvc-complex-type.4: Attribute 'event' must appear on element 'activiti:executionListener'. ExecutionListenersProcess.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/examples/bpmn/executionlistener line 19 XML Problem
cvc-complex-type.4: Attribute 'event' must appear on element 'activiti:executionListener'. ExecutionListenersProcess.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/examples/bpmn/executionlistener line 19 XML Problem
cvc-complex-type.4: Attribute 'event' must appear on element 'activiti:executionListener'. FullHistoryTest.testVariableUpdates.bpmn20.xml /activiti-engine/src/test/resources/org/activiti/standalone/history line 19 XML Problem
cvc-complex-type.4: Attribute 'event' must appear on element 'activiti:executionListener'. FullHistoryTest.testVariableUpdates.bpmn20.xml /activiti-engine/target/test-classes/org/activiti/standalone/history line 19 XML Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2011 03:11 AM
- The event attribute on an executionListener is indeed not mandatory, altough the xsd required it
Fixed it on trunk. That should already fix 3/4 of the validation errors above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2011 12:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2011 02:28 PM
Cheers,
Ronald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2011 02:43 PM
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2011 07:07 PM
Ronald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2011 06:57 PM
Thanks,
