Project

General

Profile

Actions

Bug #5408

closed

unable to select attribute with selec processors

Added by Lequeux Olivier about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Urgent
Assigned To:
-
Category:
-
Target version:
Start date:
10/24/2013
Due date:
% Done:

100%

Estimated time:

Description

 <view name="OPSCORE_endpoint_downtime" post-processors="disable-post-processor" 
          xmlns:e="http://software.in2p3.fr/lavoisier/entries.xsd">
        <connector type="XMLConnector">
            <parameter name="content" eval="view('entries_endpoint_downtime')"/>
        </connector>
        <processors>

           <for nodes="/e:entries/e:entry">
               <connector type="XMLConnector">
                   <parameter name="content" eval="view('OPSCORE_endpoints', path())"/>
               </connector>
               <processors>
                   <processor type="SelectProcessor">
                       <parameter name="namespaces">
                           <entry key="e">http://software.in2p3.fr/lavoisier/entries.xsd</entry>
                       </parameter>
                        <parameter name="nodes">/Endpoint/@in_production</parameter>
                   </processor>

               </processors>

           </for>

        </processors>

    </view>

dependencies :

 <view name="entries_endpoint_downtime">
        <info>
            <category>Hidden</category>
        </info>
        <connector type="FileConnector">
            <parameter name="path">OPSCORE/resources/xml/entries_endpoint_downtime.xml</parameter>
        </connector>
    </view>

entries_endpoint_downtime.xml

<_entries_:entries xmlns:_entries_="http://software.in2p3.fr/lavoisier/entries.xsd">
    <_entries_:entry key="in_production"></_entries_:entry>
</_entries_:entries>

=> voir fichier attaché pour vue source avec appel :
lavoisier/OPSCORE_endpoint_downtime/Endpoints/NGI/Site[@name='UKI-NORTHGRID-LIV-HEP']/Endpoint[@hostname='hepgrid97.ph.liv.ac.uk']?accept=xml


Files

OPSCORE_endpoints.xml (6.63 KB) OPSCORE_endpoints.xml Lequeux Olivier, 10/24/2013 06:30 PM
Actions #1

Updated by Reynaud Sylvain about 11 years ago

  • Status changed from New to Suspended

Unable to reproduce this bug.

Actions #2

Updated by Lequeux Olivier about 11 years ago

  • Status changed from Suspended to Resolved
  • Target version set to 2.0
Actions #3

Updated by Lequeux Olivier about 11 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF