Lack of time stamp

Dear collegues

Following an error in a system running on Tamino 4.1.4, we reachs the strange fact that some records (documents) does not have the time stamp field, or at least it has no content.
Does anyone knows if this is a known Tamino problem, not a problem, … ?

I include two queries over the same doctype, one delivering the time stamp value, and the other not.

Thanks in advance
Ignacio

<?xml version="1.0" encoding="windows-1252" ?>
<ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“http://metalab.unc.edu/xql/”>
<xq:query xmlns:xq=“http://namespaces.softwareag.com/tamino/XQuery/result”>
<![CDATA[
declare namespace tf="http://namespaces.softwareag.com/tamino/TaminoFunction"
for $a in input()/STLAcqTypeOfContent
where $a/DGMdata/DGMkey="20050311102225estela"
return {tf:getLastModified(root($a))}
]]>
</xq:query>
<ino:message ino:returnvalue=“0”>
ino:messagelineXQuery Request processing</ino:messageline>
</ino:message>
<xq:result xmlns:xq=“http://namespaces.softwareag.com/tamino/XQuery/result”>
2005-03-11T09:23:47Z
</xq:result>
<ino:message ino:returnvalue=“0”>
ino:messagelineXQuery Request processed</ino:messageline>
</ino:message>
</ino:response>

<?xml version="1.0" encoding="windows-1252" ?>
<ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“http://metalab.unc.edu/xql/”>
<xq:query xmlns:xq=“http://namespaces.softwareag.com/tamino/XQuery/result”>
<![CDATA[
declare namespace tf="http://namespaces.softwareag.com/tamino/TaminoFunction"
for $a in input()/STLAcqTypeOfContent
where $a/DGMdata/DGMkey="20050304135514estela"
return {tf:getLastModified(root($a))}
]]>
</xq:query>
<ino:message ino:returnvalue=“0”>
ino:messagelineXQuery Request processing</ino:messageline>
</ino:message>
<xq:result xmlns:xq=“http://namespaces.softwareag.com/tamino/XQuery/result” />
<ino:message ino:returnvalue=“0”>
ino:messagelineXQuery Request processed</ino:messageline>
</ino:message>
</ino:response>

Hi,

Since the result of your second query is empty, I assume that your doctype does not contain any instance fulfilling your search criteria. If just the time stamp were missing the query result would contain an empty “timestamp” element.

Best regards,

Thorsten Fiebig

Hi Thorsten

You are right. After some tests and checks, we found that the index of the searching ELEMENT was corrupted. After reindexing, it seems to work well.

Thanks a lot
Ignacio