<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Zaloa,<br>
&nbsp; I am not the right person to be answering your questions since I
would not have expected these rules to compile. If they compile then
what you are doing must be at least syntactically correct, but I won't
be much help since you are using syntax I am not familiar with.<br>
&nbsp; I don't understand how you are able to reference fields of the
objects with all upper case letters when the field names are all lower
case. Does JAXP generate get methods for those fields? If so, perhaps
those methods use all uppercase for the field names?<br>
&nbsp; I write rules with simple condition expressions that work with a flat
object model. I didn't even know DRL syntax allowed rules that
referenced sub-fields or array elements in the condition part (i.e.
GEO[0].POSITION.LOC_ID) unless we used an eval expression.<br>
&nbsp; If I were doing what you are trying to do, I'd use an eval expression
(which can handle any java boolean expression):<br>
<blockquote>&nbsp;When<br>
</blockquote>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OASISTSO10($e: EVENT)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eval($e.GEO[0].POSITION.LOCID.equals( &#8220;40005&#8221;))<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Then<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Action<br>
<br>
Otaduy del Paso, Zaloa [10/7/2008 11:51 AM] wrote:
<blockquote
 cite="mid:B0612005DC5B50438E17605021D4853201AA7234@MADARRMAIL3.indra.es"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="metricconverter"><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EstiloCorreo19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EstiloCorreo20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  </o:SmartTagType></o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Scott,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">The
rules I have now,
compile. The generated jaxb classes I have regarding to what I&#8217;m trying
to do are:<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><b><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold;"
 lang="EN-GB">EVENT.java<o:p></o:p></span></font></b></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><b><font color="#7f0055"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">public</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">
EVENT {</span></font><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"EVENT_ID"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
required = </span></font><b><font color="#7f0055" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">true</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">protected</span></font></b><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB"> String </span></font><font color="#0000c0"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);"
 lang="EN-GB">eventid</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElementRefs</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">({</span></font><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElementRef</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">(name = </span></font><font color="#2a00ff"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"NODE_ID"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
namespace = </span></font><font color="#2a00ff" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB"><a class="moz-txt-link-rfc2396E" href="http://oasis-fp6.org/schemas/TSO/1_0">"http://oasis-fp6.org/schemas/TSO/1_0"</a></span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
type = JAXBElement.</span></font><b><font color="#7f0055"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">),</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElementRef</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">(name = </span></font><font color="#2a00ff"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"OTHER_EVENT_ID"</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">,
namespace = </span></font><font color="#2a00ff" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB"><a class="moz-txt-link-rfc2396E" href="http://oasis-fp6.org/schemas/TSO/1_0">"http://oasis-fp6.org/schemas/TSO/1_0"</a></span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
type = JAXBElement.</span></font><b><font color="#7f0055"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
})</span></font><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"GEO"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">protected</span></font></b><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">
List&lt;EVENT.GEO&gt; </span></font><font color="#0000c0"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);"
 lang="EN-GB">geo</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"PREDICTED_CASUALTIES"</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">protected</span></font></b><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">
List&lt;EVENT.PREDICTEDCASUALTIES&gt; </span></font><font
 color="#0000c0" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);"
 lang="EN-GB">predictedcasualties</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">;</span></font><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);">@XmlElement</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);">"TREND"</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&nbsp;&nbsp;&nbsp; </span></font><b><font
 color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;">protected</span></font></b><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">
String </span></font><font color="#0000c0" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);">trend</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">;</span></font><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;"> <span
 lang="EN-GB"><o:p></o:p></span></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&#8230;&#8230;..<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 35.4pt;"><b><font
 color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">public</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> </span></font><b><font
 color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">static</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> </span></font><b><font
 color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> <span
 style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">GEO</span>
{</span></font><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"DESCRIPTION"</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">,
required = </span></font><b><font color="#7f0055" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">true</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">protected</span></font></b><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB"> String </span></font><font color="#0000c0"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);"
 lang="EN-GB">description</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"POSITION"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
required = </span></font><b><font color="#7f0055" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">true</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">protected</span></font></b><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB"> POSITION </span></font><font color="#0000c0"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);"
 lang="EN-GB">position</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"WEATHER"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">protected</span></font></b><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">
List&lt;String&gt; </span></font><font color="#0000c0"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);"
 lang="EN-GB">weather</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"TEXT"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;">protected</span></font></b><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">
String </span></font><font color="#0000c0" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);">text</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">;</span></font><font
 color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">}<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><b><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold;"
 lang="EN-GB">POSITION.java<o:p></o:p></span></font></b></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><b><font color="#7f0055"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">public</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> <span
 style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">POSITION</span>
{</span></font><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"LOC_ID"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">protected</span></font></b><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB"> String </span></font><font color="#0000c0"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);"
 lang="EN-GB">locid</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"NAME"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">protected</span></font></b><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB"> String </span></font><font color="#0000c0"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);"
 lang="EN-GB">name</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">;</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElement</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">(name
= </span></font><font color="#2a00ff" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"COORD"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;
  </span></font><b><font color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;">protected</span></font></b><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;"> <span
 style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">POSITION</span>.COORD
  </span></font><font color="#0000c0" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 192);">coord</span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;">&#8230;&#8230;.<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style="text-indent: 35.4pt;"><b><font
 color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">public</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> </span></font><b><font
 color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">static</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> </span></font><b><font
 color="#7f0055" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB"> <span
 style="background: silver none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">COORD</span>
{</span></font><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElementRefs</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">({</span></font><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElementRef</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">(name = </span></font><font color="#2a00ff"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"LON"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
namespace = </span></font><font color="#2a00ff" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB"><a class="moz-txt-link-rfc2396E" href="http://oasis-fp6.org/schemas/TSO/1_0">"http://oasis-fp6.org/schemas/TSO/1_0"</a></span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
type = JAXBElement.</span></font><b><font color="#7f0055"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">),</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElementRef</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">(name = </span></font><font color="#2a00ff"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"HEIGHT"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
namespace = </span></font><font color="#2a00ff" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB"><a class="moz-txt-link-rfc2396E" href="http://oasis-fp6.org/schemas/TSO/1_0">"http://oasis-fp6.org/schemas/TSO/1_0"</a></span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
type = JAXBElement.</span></font><b><font color="#7f0055"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">),</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font color="#646464" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(100, 100, 100);"
 lang="EN-GB">@XmlElementRef</span></font><font face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">(name = </span></font><font color="#2a00ff"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB">"LAT"</span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
namespace = </span></font><font color="#2a00ff" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(42, 0, 255);"
 lang="EN-GB"><a class="moz-txt-link-rfc2396E" href="http://oasis-fp6.org/schemas/TSO/1_0">"http://oasis-fp6.org/schemas/TSO/1_0"</a></span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">,
type = JAXBElement.</span></font><b><font color="#7f0055"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(127, 0, 85); font-weight: bold;"
 lang="EN-GB">class</span></font></b><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;" lang="EN-GB">)</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"
 lang="EN-GB"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"
 lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">})</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">}<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I
hope this is enough to
understand what I&#8217;m working with. Sorry if I didn&#8217;t explain myself
correctly.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Thanks
in advance,<o:p></o:p></span></font></p>
  <div>
  <p class="MsoNormal"><b><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; font-weight: bold;">Zaloa
Otaduy del
Paso</span></font></b><font face="Arial" size="1"><span
 style="font-size: 7.5pt; font-family: Arial;"><o:p></o:p></span></font></p>
  </div>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt; color: windowtext;" lang="ES">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;"
 lang="ES">De:</span></font></b><font color="black" face="Tahoma"
 size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext;"
 lang="ES"> <a class="moz-txt-link-abbreviated" href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a class="moz-txt-link-freetext" href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>] <b><span
 style="font-weight: bold;">En
nombre de </span></b>Scott Reed<br>
  <b><span style="font-weight: bold;">Enviado el:</span></b> martes, 07
de octubre
de 2008 17:39<br>
  <b><span style="font-weight: bold;">Para:</span></b> Rules Users List<br>
  <b><span style="font-weight: bold;">Asunto:</span></b> Re: RV:
[rules-users]
Checking an xml field</span></font><font color="black"><span
 style="color: windowtext;" lang="ES"><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">Zaloa,<br>
You haven't answered my question as what the problem is. Do these rules
compile?<br>
It seems to me that you have misunderstood how the condition part of
the rules
work.<br>
I agree with David that it would help for you to study the manual some
more and
to work through some of the tutorials.<br>
Since this is a Drools forum, there are probably not a lot of folks who
understand exactly how JAXP translates the XML into beans. You are more
likely
to get help here if you include the relevant portions (get methods) of
the API
output by JAXP.<br>
  <br>
Otaduy del Paso, Zaloa [10/7/2008 11:22 AM] wrote: <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="metricconverter"></u1:SmartTagType></u1:SmartTagType>Hi
David,<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Thanks
for your helpful
response. The problem was that the element GEO can appear 0 or many
times so what
I needed to write was this <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 35.4pt;"><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">when
  <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e: EVENT)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.<b><span style="font-weight: bold;">GEO[0].</span></b>POSITION.LOCID
== &#8220;<st1:metricconverter productid="40005?" u2:st="on"><st1:metricconverter
 productid="40005&#8221;" w:st="on">40005&#8221;</st1:metricconverter></st1:metricconverter>)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Then <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Action<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">instead
of<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
when <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e: EVENT)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO.POSITION.LOCID == &#8220;<st1:metricconverter
 productid="40005?" u2:st="on"><st1:metricconverter productid="40005&#8221;"
 w:st="on">40005&#8221;</st1:metricconverter></st1:metricconverter>)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Then <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Action<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Now
I&#8217;m facing
another problem. I need to check if the element GEO exists before
checking the
POSITION, otherwise it throws an outofbound exception. <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">I
tried with:<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 35.4pt;"><font color="navy"
 face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;when<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e: EVENT)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
EVENT($g: GEO)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO[0].POSITION.LOCID matches&nbsp; "40.*")<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">But
it doesn&#8217;t work.
Any hints on this?<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"><u1:p>&nbsp;</u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Thanks
in advance,<u1:p></u1:p></span></font><o:p></o:p></p>
  <div>
  <p class="MsoNormal"><b><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; font-weight: bold;">Zaloa
Otaduy del
Paso</span></font></b><o:p></o:p></p>
  </div>
  <u1:p></u1:p>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt;" lang="ES">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; font-weight: bold;"
 lang="ES">De:</span></font></b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;" lang="ES"> <a
 moz-do-not-send="true"
 href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a>
[<a moz-do-not-send="true"
 href="mailto:rules-users-bounces@lists.jboss.org">mailto:rules-users-bounces@lists.jboss.org</a>]
  <b><span style="font-weight: bold;">En nombre de </span></b>David
Sinclair<br>
  <b><span style="font-weight: bold;">Enviado el:</span></b> martes, 07
de octubre
de 2008 15:58<br>
  <b><span style="font-weight: bold;">Para:</span></b> Rules Users List<br>
  <b><span style="font-weight: bold;">Asunto:</span></b> Re: RV:
[rules-users]
Checking an xml field</span></font><o:p></o:p></p>
  </div>
  <u1:p></u1:p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>
  <div>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;">Read
the manual man. Your
rules don't make any sense<br>
  <br>
  <a
 href="http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html_single/"
 moz-do-not-send="true">http://downloads.jboss.com/drools/docs/4.0.7.19894.GA/html_single/</a><br>
  <br>
  <br>
  <o:p></o:p></span></font></p>
  <u1:p></u1:p>
  <div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">On Tue, Oct 7, 2008 at 9:49
AM, Scott Reed &lt;<a href="mailto:sreed@avacoda.com"
 moz-do-not-send="true">sreed@avacoda.com</a>&gt;
wrote:<u1:p></u1:p><o:p></o:p></span></font></p>
  <div bgcolor="#ffffff" text="#000000">
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">What is the problem you are
seeing? Do the rules
compile ok?<br>
  <br>
Otaduy del Paso, Zaloa [10/6/2008 12:08 PM] wrote: <u1:p></u1:p><o:p></o:p></span></font></p>
  <div>
  <p><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Does
anybody know the answer to my question? I'm
not able to solve this issue and don't find any clarifying tutorial
either&#8230;.</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Hi,</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I'm new in
drools and I'm having some problems accessing an
xml field. I'm using drools with jaxb to treat xml files that follow an
specific xsd. I have the following xml (this is just a piece of the
xml):</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;OASIS_TSO_1_0&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;EVENT&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;EVENT_ID&gt;EVENT_ID_03/10/2008
10:22:36&lt;/EVENT_ID&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;NODE_ID&gt;00&lt;/NODE_ID&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;OTHER_EVENT_ID&gt;Incidente
  <st1:place u2:st="on"><st1:place w:st="on">UME</st1:place></st1:place>&lt;/OTHER_EVENT_ID&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;EVENT_TYPE&gt;POL&lt;/EVENT_TYPE&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;SOURCE&gt;HUMDED&lt;/SOURCE&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;SEVERITY&gt;EXTREM&lt;/SEVERITY&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;CERTAINTY&gt;88&lt;/CERTAINTY&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;DECL_DATIME&gt;2008-10-03T10:20:47.0000000+02:00&lt;/DECL_DATIME&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;GEO&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;DESCRIPTION/&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;POSITION&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 70.8pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;LOC_ID&gt;14021&lt;/LOC_ID&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 70.8pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;COORD&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 106.2pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;LAT&gt;37.9811636567434&lt;/LAT&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 106.2pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;LON&gt;-4.85417587343286&lt;/LON&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 106.2pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;HEIGHT&gt;0&lt;/HEIGHT&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 70.8pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;/COORD&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&lt;/POSITION&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;"
 lang="EN-GB">&lt;/GEO&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp; &lt;/EVENT&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&lt;/OASIS_TSO_1_0&gt;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I already
have a couple of rules working, but they are
simple rules, like this one: </span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">rule "Rule1"</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp; salience
10</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="text-indent: 35.4pt;"><font color="black" face="Arial"
 size="2"><span style="font-size: 10pt; font-family: Arial;">when</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e: EVENT)</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">OASISTSO10($e.SEVERITY
== "EXTREM") or OASISTSO10($e.SEVERITY == "SEVERE")</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
then</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
action</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">The problem
appears when I have to check the LOC_ID field
and I don't know how to access to it. I have tried several things but
none of
them work </span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">1.</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
when</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">OASISTSO10($e:
EVENT)</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($e.GEO.POSITION.LOCID == "40005")</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
then</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">2. </span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
when</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">OASISTSO10($e:
EVENT)</span></font><u1:p></u1:p><o:p></o:p></p>
  <p style="margin-left: 35.4pt; text-indent: 35.4pt;"><font
 color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">OASISTSO10($g:
$e.GEO)</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
OASISTSO10($p: $g.POSITION)</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  </span></font><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">OASISTSO10($p.LOCID&nbsp; ==
"40005")</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Then</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I have also
tried with ($e.GEO.POSITION.DESCRIPTION, just in
case the "_" character was the problem. But the same results&#8230; I
have searched also for examples with xmls but I haven't had luck. </span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Any help
would be appreciated. Thanks in advance,</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font><u1:p></u1:p><o:p></o:p></p>
  <p><font color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt;" lang="EN-GB">Zaloa</span><u1:p></u1:p><o:p></o:p></font></p>
  <p><font color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt;">&nbsp;<u1:p></u1:p><o:p></o:p></span></font></p>
  </div>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;">

<hr align="center" size="4" width="90%">

</span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">_______________________________________________<u1:p></u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">rules-users mailing list<u1:p></u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a href="mailto:rules-users@lists.jboss.org"
 target="_blank" moz-do-not-send="true">rules-users@lists.jboss.org</a><u1:p></u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a
 href="https://lists.jboss.org/mailman/listinfo/rules-users"
 target="_blank" moz-do-not-send="true">https://lists.jboss.org/mailman/listinfo/rules-users</a><u1:p></u1:p><o:p></o:p></span></font></pre>
  </div>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><font color="black"
 face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
_______________________________________________<br>
rules-users mailing list<br>
  <a href="mailto:rules-users@lists.jboss.org" moz-do-not-send="true">rules-users@lists.jboss.org</a><br>
  <a href="https://lists.jboss.org/mailman/listinfo/rules-users"
 target="_blank" moz-do-not-send="true">https://lists.jboss.org/mailman/listinfo/rules-users</a><u1:p></u1:p><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><u1:p>&nbsp;</u1:p><o:p></o:p></span></font></p>
  </div>
  <pre wrap=""><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;">

<hr align="center" size="4" width="90%">

</span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p>&nbsp;</o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">_______________________________________________<o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">rules-users mailing list<o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a moz-do-not-send="true"
 href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">&nbsp; <o:p></o:p></span></font></pre>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
</body>
</html>