2 Replies Latest reply on May 31, 2006 12:25 PM by fabdib

    jbpm jpdl xml error

      Hi to everyone,
      i'm tryng a little jbpm flow, in my application the xml code is this:

      ProcessDefinition pd = ProcessDefinition.parseXmlString(
      "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
      "<process-definition xmlns=\"urn:jbpm.org:jpdl-3.1\" name=\"jbay\">" +
      "<start-state name=\"start\">" +
      " <transition name=\"to_auction\" to=\"auction\">" +
      "</start-state>" +
      "<state name=\"auction\">" +
      " "+
      " <action class=\"it.domino.jbpmExp.helloActionHandler\" />"+
      " "+
      " <transition name=\"to_end\" to=\"end1\">" +
      "" +
      "<end-state name=\"end1\"></end-state>" +
      "</process-definition>");

      so when i'm running the application i've this warning:

      16:17:16,328 WARN [JpdlParser] couldn't set xml parser property 'http://java.sun.com/xml/jaxp/properties/schemaLanguage' to 'http://www.w3.org/2001/XMLSchema'
      org.xml.sax.SAXNotRecognizedException: Property: http://java.sun.com/xml/jaxp/properties/schemaLanguage
      at org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:272)
      at org.apache.crimson.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:190)
      at org.jbpm.jpdl.xml.JpdlParser.createXmlReader(JpdlParser.java:77)

      i'm using jboss 3.2.7,
      how i can resolve this problem?

      Thaxs in advance,
      Fabio.