Thanks for the quick reply, but unfortunately even when I take out the extra
(reset) the facts are not loaded into memory. Also, for some reason I
thought that a deffacts told Jess what facts to load into memory when a
reset command was issued - my mistake.

Is my XML ok?

XML snippet:

-------------------------
<?xml version="1.0" encoding="US-ASCII"?>
<facts>
  <name>
    MAIN::deffact_st_type_alias
  </name>
  <fact>
    <name>
      MAIN::street_type_alias
    </name>
    <slot>
      <name>
        actual
      </name>
      <value><type>SYMBOL</type>ACCESS</value></slot>
    <slot>
      <name>
        alias
      </name>
      <value><type>SYMBOL</type>ACCS</value>
    </slot>
  </fact>
  <fact>
    <name>
      MAIN::street_type_alias
    </name>
    <slot>
      <name>
        actual
      </name>
      <value><type>SYMBOL</type>ALLEY</value></slot>
    <slot>
      <name>
        alias
      </name>
      <value><type>SYMBOL</type>ALLY</value>
    </slot>
  </fact>
  <fact>
    <name>
      MAIN::street_type_alias
    </name>
    <slot>
      <name>
        actual
      </name>
      <value><type>SYMBOL</type>ALLEYWAY</value></slot>
    <slot>
      <name>
        alias
      </name>
      <value><type>SYMBOL</type>ALWY</value>
    </slot>
  </fact>
  <fact>
    <name>
      MAIN::street_type_alias
    </name>
    <slot>
      <name>
        actual
      </name>
      <value><type>SYMBOL</type>AMBLE</value></slot>
    <slot>
      <name>
        alias
      </name>
      <value><type>SYMBOL</type>AMBL</value>
    </slot>
  </fact>

SNIP

  <fact>
    <name>
      MAIN::street_type_alias
    </name>
    <slot>
      <name>
        actual
      </name>
      <value><type>SYMBOL</type>YARD</value></slot>
    <slot>
      <name>
        alias
      </name>
      <value><type>SYMBOL</type>YARD</value>
    </slot>
  </fact>
</facts>

----------------------------

Am I missing a command? Is it right to have the facts contained in a
deffacts?

Thanks so much!
Matt



On 3/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I think Matthew Hutchinson wrote:
>
> > (batch stf.xml)
> > (reset)
>
> "reset" clears working memory, retracting all the facts you just loaded.
>
>
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Advanced Software Research          Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> PO Box 969, MS 9012                 [EMAIL PROTECTED]
> Livermore, CA 94550         http://herzberg.ca.sandia.gov
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]

Reply via email to