Hi,
I am using ProgramD
4.5, it is not allowing the use of <if> tag.
Its gives me error
like:
[10:26:15] Error
parsing "file:/C:/ProgramD_new/aiml/standard/CG_personality.aim
l":
cvc-complex-type.2.4.a: Invalid content was found starting with element
'if'
. One of '{"http://alicebot.org/2001/AIML-1.0.1":star,
"http://alicebot.org/2001
/AIML-1..0.1":that,
"http://alicebot.org/2001/AIML-1.0.1":input,
"http://alicebot
.org/2001/AIML-1.0.1":thatstar,
"http://alicebot.org/2001/AIML-1.0.1":topicstar,
"http://alicebot.org/2001/AIML-1.0.1":get,
"http://alicebot.org/2001/AIML-1.0.1
":bot,
"http://alicebot.org/2001/AIML-1.0.1":sr,
"http://alicebot.org/2001/AIML-
1.0.1":date,
"http://alicebot.org/2001/AIML-1.0.1":id,
"http://alicebot.org/2001
/AIML-1..0.1":size,
"http://alicebot.org/2001/AIML-1.0.1":version,
"http://aliceb
ot.org/2001/AIML-1.0.1":uppercase,
"http://alicebot.org/2001/AIML-1.0.1":lowerca
se,
"http://alicebot.org/2001/AIML-1.0.1":formal,
"http://alicebot.org/2001/AIML
-1.0.1":sentence,
"http://alicebot.org/2001/AIML-1.0.1":condition,
"http://alice
bot.org/2001/AIML-1.0.1":random, "http://alicebot.org/2001/AIML-1.0.1":set,
"htt
p://alicebot.org/2001/AIML-1.0.1":gossip, "http://alicebot.org/2001/AIML-1.0.1":
srai,
"http://alicebot.org/2001/AIML-1.0.1":person,
"http://alicebot.org/2001/AI
ML-1.0.1":person2,
"http://alicebot.org/2001/AIML-1.0.1":gender,
"http://alicebo
t.org/2001/AIML-1.0.1":think,
"http://alicebot.org/2001/AIML-1.0.1":learn,
"http
://alicebot.org/2001/AIML-1.0.1":system, "http://alicebot.org/2001/AIML-1.0.1":j
avascript,
WC[##other:"http://alicebot.org/2001/AIML-1.0.1"]}'
is expected.
My code
is:
<category>
<pattern>
*
</pattern>
<that>
JUST TELL ME THE LEAVE POLICY YOU ARE
INTERESTED IN
</that>
<template>
<think> <set name
= "leave_type"> <star/> </set> </think>
<if
name="leave_type" value="SICK">
<srai> SICK LEAVE
</srai>
</if>
</template>
</category>
Please help
me!!!
Regards,_________________________________________________________
Deepti Chhawsaria | Capgemini |
Mumbai
Associate Consultant | Project Saint Gobain | Oracle Service
Line
Direct: +91 22 5642 6173 | Mob. +91 9820136918 |
mail:
deepti.chhawsaria@...
____________________________________________________________
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
|