Hi,

Could you please help me to resolve this problem?

Thnaks in Advance,
Nithya Mani
Senior Developer

webMethods
        Mobile: 9841825337
Email: [EMAIL PROTECTED]
IM: nithya_infravio (Yahoo)



        
                
-----Original Message-----
From: Nithya Mani 
Sent: Monday, May 07, 2007 8:32 PM
To: [EMAIL PROTECTED]; [email protected]
Subject: Is jcr:contains supported only for text/plain type content?

Hi,

I have added an xsd file as binary property value. The node structure I
followed is,
 
/Schema (nt:file)
        /jcr:content (nt:resource)
                -jcr:mimetype (text/xsd)
                -jcr:lastModified
                -jcr:data (sample.xsd which contains a line
<xsd:simpleType name="uddiKey" scc14n:caseMapKind="fold">)

I tried to make contains search on this file using the following query,

/jcr:root/Schema//element(*, nt:resource)[jcr:contains(.,
'*caseMapKind*')]

It returns none. If I neglect the contains part
{/jcr:root/Schema//element(*, nt:resource)}, it works fine. The same
query with contains works, if I set mime type as text/plain and
partially works on text/xml type file. Does jcr:contains not supported
for all mime types? Is it applicable only for text/plain?

Thanks,

Nithya Mani
Senior Developer

webMethods
        Mobile: 9841825337
Email: [EMAIL PROTECTED]
IM: nithya_infravio (Yahoo)

Reply via email to