[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster-devel] Odd XPath predicate behaviour... Interesting



Incidentally, the following XPath yields the same
exception:

/xmlBlaster/key[metadata/BasicTemporal/beginning_date_time_group/hour
_time < 22]


Problem activating subscriber sequence:
XmlBlasterException errorCode=[resource.
configuration] serverSideException=true
location=[SaxHandlerBase.parse()] messag
e=[#exported Error while SAX parsing :3:-1 :
org.xml.sax.SAXParseException: The
content beginning "<2" is not legal markup. Perhaps
the "2" (&#32;) character sh
ould be a letter.] [See URL
http://www.xmlblaster.org/xmlBlaster/doc/requirement
s/admin.errorcodes.listing.html#resource.configuration]
org.infospherics.commonAPI.impl.exception.PlatformFailureException:
Problem acti
vating subscriber sequence: XmlBlasterException
errorCode=[resource.configuratio
n] serverSideException=true
location=[SaxHandlerBase.parse()] message=[#exported
 Error while SAX parsing :3:-1 :
org.xml.sax.SAXParseException: The content begi
nning "<2" is not legal markup. Perhaps the "2"
(&#32;) character should be a le
tter.] [See URL
http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.erro
rcodes.listing.html#resource.configuration]


while

/metadata/BasicTemporal/beginning_date_time_group[hour_time
&gt; 20]

works fine!

Any ideas would be greatly appreciated!

Many Thanks,
Vaughn


--- Vaughn Combs <vaughn_combs at yahoo.com> wrote:
> I notice that, for my added metadata :
> 
> <xmlBlaster>
>  <key oid='Pubber'>
>  
>
<metadata><baseObject><InfoObjectType><Name>mil.af.rl.jbi.training.basic</Nam
>
><MajorVersion>1</MajorVersion><MinorVersion>0</MinorVersion></InfoObjectType><
>
baseObject><BasicTemporal><beginning_date_time_group><day>11</day><hour_time>21
>
/hour_time><minute_time>23</minute_time><time_zone>Z</time_zone><month_name>Jun
>
</month_name><year>2001</year></beginning_date_time_group><ending_date_time_gro
>
p><day>12</day><hour_time>06</hour_time><minute_time>13</minute_time><time_zone
>
Z</time_zone><month_name>June</month_name><year>2001</year></ending_date_time_g
> oup></BasicTemporal></metadata>
>  </key>
> <content size='2'>
> Hi
> </content>
>  <qos>
>  
>
<sender>/node/xmlBlaster_192_122_1_201_3412/client/combsv/-46</sender>
>   <subscribe
>
id='__subId:xmlBlaster_192_122_1_201_3412-XPATH1112448315531000000
> />
>   <rcvTimestamp nanos='1112448326390000000'/>
>   <queue index='0' size='1'/>
>   <isUpdate/>
>  </qos>
> </xmlBlaster>
> 
> 
>  
> I have expected results for the following predicate:
>  
> 
> 
>
/xmlBlaster/key[metadata/BasicTemporal/beginning_date_time_group/hour_time>=21
> ]
> 
>  
> 
> but for:
> 
> 
>
/xmlBlaster/key[metadata/BasicTemporal/beginning_date_time_group/hour_time<22]
> 
> 
> I get the following exception upon submission of the
> subscription:
> 
> 
>
org.infospherics.commonAPI.impl.exception.PlatformFailureException:
> XmlBlasterException
> errorCode=[resource.configuration]
> serverSideException=false
> location=[SaxHandlerBase.parse()] message=[#exported
> Error while SAX parsing :1:-1 :
> org.xml.sax.SAXParseException: The content beginning
> "<2" is not legal markup. Perhaps the "2" ( )
> character should be a letter.] [See URL
>
http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.html#resource.configuration]
> 
> Any ideas or suggestions?
> 
> Many Thanks,
> 
> Vaughn
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com