[JBoss-user] [JBoss jBPM] - Re: Schema validation problem with JpdlXmlReader.readProcess

2006-01-25 Thread armorris007
Thanks for the clarification.

JIRA issue duly created:
http://jira.jboss.com/jira/browse/JBPM-517

Cheers.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919523#3919523

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919523


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Schema validation problem with JpdlXmlReader.readProcess

2006-01-24 Thread [EMAIL PROTECTED]
You are right. The end-tasks feature belongs to the branch 3.1. The 3.0.2 
release included a schema which (correctly) did not define that attribute. When 
the feature was implemented the published schema for v3.0 was updated, and it 
(incorrectly) defines that attribute.

Could you open a new JIRA issue, linked to 421, to track this confusion?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919479#3919479

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919479


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Schema validation problem with JpdlXmlReader.readProcess

2006-01-24 Thread armorris007
Looking at this JIRA issue:
http://jira.jboss.com/jira/browse/JBPM-421

Does this mean the 'end-tasks' functionality was only introduced in 3.1 yet the 
3.0.xsd schema incorrectly includes this as a valid attribute of a task node?

Andy



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919338#3919338

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919338


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Schema validation problem with JpdlXmlReader.readProcess

2006-01-20 Thread armorris007
Hi Ravi,

Thanks for your response, however, your test case doesn't include the embedded 
schema definition, against which the validation seems to be failing:

E.g. (see the schema attributes in the process-definition node below)

anonymous wrote : 
  |  String procdef = ""+
  | "http://jbpm.org/3/jpdl\";  
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""; +
  | " xsi:schemaLocation=\"http://jbpm.org/3/jpdl 
http://jbpm.org/xsd/jpdl-3.0.xsd\"; "+
  | "name='test'>"+
  | "" +
  | ""+
  | "" +
  | "";
  | ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlString(procdef);
  | 

Using the above example you will get the following exception:

anonymous wrote : 
  | org.jbpm.jpdl.JpdlException: [[ERROR] process definition line 1: 
cvc-complex-type.3.2.2: Attribute 'end-tasks' is not allowed to appear in 
element 'task-node'.]
  | 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:119)
  | 
org.jbpm.graph.def.ProcessDefinition.parseXmlString(ProcessDefinition.java:120)
  | 
  | 

Cheers,

Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918663#3918663

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918663


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Schema validation problem with JpdlXmlReader.readProcess

2006-01-19 Thread ummadiravi78
I have tested the same. It works fine for me with jbpm-3.0.2. No complaits 
about end-tasks attribute. Here is the code I tested.


import org.jbpm.graph.def.ProcessDefinition;
public class ProcessdefTest {

public static void main(String args[]) {
String procdef = ""+
 ""+ 
 "" + 
 ""+
 "" + 
 "";
ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlString(procdef);
System.out.println("Done");
}

}

May be you want to check the version of the jbpm.jar taken by the classpath.

Ravi Prakash


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918318#3918318

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918318


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user