2 Replies Latest reply on May 25, 2006 6:07 PM by rnd_buddy

    XML Schema & DSL

    culpepperthomas

      Hi,
      I would appriciate any help.
      I am getting the folowing:

      cvc-complex-type.2.4.a: Invalid content was found starting with element 'plan:condition'.

      This is my .xsd file snipit:

      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
      targetNamespace="http://localhost:8080/webapps/ROOT/schema/plan"

      elementFormDefault="qualified"

      xmlns:plan="http://localhost:8080/webapps/ROOT/schema/plan"

      xmlns:rules="http://drools.org/rules">

      This is my .drl file snipit:
      <?xml version="1.0"?>

      <rule-set name="plan"

      xmlns:plan="http://localhost:8080/webapps/ROOT/schema/plan"

      xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"

      xmlns="http://drools.org/rules"

      xs:schemaLocation="http://drools.org/rules rules.xsd
      http://localhost:8080/webapps/ROOT/schema/plan plan.xsd">