Project

General

Profile

« Previous | Next » 

Revision 52976

Changed test record and configuration to test | in xpath of index configuration

View differences:

modules/dnet-msro-service/trunk/src/test/resources/eu/dnetlib/msro/workflows/xslt/fields.xml
22 22
         <FIELD indexable="true" name="dateAccepted" result="true" stat="false" tokenizable="false" xpath="//*[local-name()='dateAccepted']"/>
23 23
         <FIELD indexable="true" name="identifier" result="true" stat="false" tokenizable="false" xpath="//dc:identifier"/>
24 24
         <FIELD indexable="true" name="publisher" tokenizable="true" result="true" stat="true" xpath="//dc:publisher"/>
25
         <FIELD indexable="true" name="source" tokenizable="true" result="true" stat="true" xpath="//dc:source"/>
25
         <FIELD indexable="true" name="source" tokenizable="true" result="true" stat="true" xpath="//dc:source | //dc:source2"/>
26 26
         <FIELD indexable="true" name="contributor" tokenizable="true" result="true" stat="true" xpath="//dc:contributor"/>
27 27
         <FIELD indexable="true" name="relation" result="true" stat="false" tokenizable="false" xpath="//dc:relation"/>
28 28
         <FIELD indexable="true" name="description" result="true" stat="false" xpath="//dc:description"/>
modules/dnet-msro-service/trunk/src/test/resources/eu/dnetlib/msro/workflows/xslt/exampleRecord.xml
24 24
    <dc:identifier>http://puma.isti.cnr.it/rmydownload.php?filename=cnr.isti/cnr.cnuce/1975-B4-019/1975-B4-019.pdf</dc:identifier>
25 25
    <dc:language>it</dc:language>
26 26
    <dc:source>Internal note CNUCE-Manuali-91-1975, 1975.</dc:source>
27
    <dc:source>X</dc:source>
28
    <dc:source2>Y</dc:source2>
27 29
    <dc:subject>Utilities</dc:subject>
28 30
    <dr:CobjCategory>Otro</dr:CobjCategory>
29 31
    <oaf:dateAccepted>1975-07-01</oaf:dateAccepted>

Also available in: Unified diff