Test results for Linux

test_010041_example_csv_2

Test description

Test for correct functionality of the examples used in the xmlfy documentation.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -S schema.rnc

Input data

"Nov release (Drop0) 30/11/2006",Source Lines,Total Files,"Delta Source","Delta Files"
SDP_CORE_2.1,15945,283,-247,-52
SDP_STREAMING_MGR_2.1,6863,473,-2228,-232
SMI_CDS_Connecter_OnlineCharging_2.1,2590,13,240,2
SMI_CDS_Connecter_ContentInfo_2.1,789,13,66,2
SDP_WEBPORTAL_FOH_2.1,19632,547,209,-14
SDP_AUDITSERVER_2.1,6532,142,1573,46
SDP_WAPPORTAL_MCP_2.1,23100,756,5676,53
SDP_CMS2_CPP_2.0,14614,440,0,0
SDP_CMS2_DOCAPPS_2.0,0,1120,0,7
SDP_CMS2_INGESTION_2.0,3742,98,0,0
SDP_CMS2_SERVERSIDE_2.0,7350,86,702,7
SDP_WAPPORTAL_3G,0,0,-5096,-617
SDP_WAPPORTAL_2.5G_1.2,7923,834,14,-10
SDP_MADEVICEDB_2.0,0,7,0,2
SDP_WAPE_1.3,0,398,0,0
SMI_CDS_Connecter_UrlReWriter_2.1,698,13,698,13
SDP_BASE_COMMON_2.1,1427,49,1427,49
SDP_COMMON_SERVICES_2.1,1336,57,1336,57
SDP_ADAPTOR_CD_2.1,923,84,923,84
SDP_ADAPTOR_EMM_2.1,2429,68,2429,68
SDP_ADAPTOR_ESS_2.1,10581,247,10581,247
SDP_ADAPTOR_USIS_2.1,2464,85,2464,85
SDP_BS_ALERT_SERVICE_2.1,754,30,754,30
SDP_BS_CHARGING_SERVICE_2.1,462,23,462,23
SDP_BS_COMMON_SERVICE_2.1,5012,95,5012,95
SDP_BS_CONTENT_SERVICE_2.1,1910,63,1910,63
SDP_BS_DEVICE_SERVICE_2.1,1039,33,1039,33
SDP_BS_SUBSCRIPTION_OFFER_SERVICE_2.1,4408,61,4408,61
SDP_BS_SUBSCRIPTION_SERVICE_2.1,8087,95,8087,95
SDP_BS_TRANSACTION_MGMT_SERVICE_2.1,5393,57,5393,57
SDP_BS_URL_GENERATOR_SERVICE_2.1,484,20,484,20
SDP_BS_USER_SERVICE_2.1,407,17,407,17
SDP_BS_VALIDATION_SERVICE_2.1,8473,100,8473,100
SDP_TWSI_2.1,12021,123,12021,123
SDP_URL_REDIRECTOR_2.1,332,16,332,16
SDP_TEST_CLIENTS_2.1,7191,687,7191,687
Total,177720,6546,69549,530

Schema

## xmlfy-args: -E n1 -E f1/Total/ -F2 , -q -t
start = release
release = element release { component* }
component = element component { cname, source_lines, total_files, delta_source, delta_files }
cname = element cname { text }
source_lines = element source_lines { text }
total_files = element total_files { text }
delta_source = element delta_source { text }
delta_files = element delta_files { text }

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE release SYSTEM "schema.rnc">
<release>
  <component>
    <cname>SDP_CORE_2.1</cname>
    <source_lines>15945</source_lines>
    <total_files>283</total_files>
    <delta_source>-247</delta_source>
    <delta_files>-52</delta_files>
  </component>
  <component>
    <cname>SDP_STREAMING_MGR_2.1</cname>
    <source_lines>6863</source_lines>
    <total_files>473</total_files>
    <delta_source>-2228</delta_source>
    <delta_files>-232</delta_files>
  </component>
  <component>
    <cname>SMI_CDS_Connecter_OnlineCharging_2.1</cname>
    <source_lines>2590</source_lines>
    <total_files>13</total_files>
    <delta_source>240</delta_source>
    <delta_files>2</delta_files>
  </component>
  <component>
    <cname>SMI_CDS_Connecter_ContentInfo_2.1</cname>
    <source_lines>789</source_lines>
    <total_files>13</total_files>
    <delta_source>66</delta_source>
    <delta_files>2</delta_files>
  </component>
  <component>
    <cname>SDP_WEBPORTAL_FOH_2.1</cname>
    <source_lines>19632</source_lines>
    <total_files>547</total_files>
    <delta_source>209</delta_source>
    <delta_files>-14</delta_files>
  </component>
  <component>
    <cname>SDP_AUDITSERVER_2.1</cname>
    <source_lines>6532</source_lines>
    <total_files>142</total_files>
    <delta_source>1573</delta_source>
    <delta_files>46</delta_files>
  </component>
  <component>
    <cname>SDP_WAPPORTAL_MCP_2.1</cname>
    <source_lines>23100</source_lines>
    <total_files>756</total_files>
    <delta_source>5676</delta_source>
    <delta_files>53</delta_files>
  </component>
  <component>
    <cname>SDP_CMS2_CPP_2.0</cname>
    <source_lines>14614</source_lines>
    <total_files>440</total_files>
    <delta_source>0</delta_source>
    <delta_files>0</delta_files>
  </component>
  <component>
    <cname>SDP_CMS2_DOCAPPS_2.0</cname>
    <source_lines>0</source_lines>
    <total_files>1120</total_files>
    <delta_source>0</delta_source>
    <delta_files>7</delta_files>
  </component>
  <component>
    <cname>SDP_CMS2_INGESTION_2.0</cname>
    <source_lines>3742</source_lines>
    <total_files>98</total_files>
    <delta_source>0</delta_source>
    <delta_files>0</delta_files>
  </component>
  <component>
    <cname>SDP_CMS2_SERVERSIDE_2.0</cname>
    <source_lines>7350</source_lines>
    <total_files>86</total_files>
    <delta_source>702</delta_source>
    <delta_files>7</delta_files>
  </component>
  <component>
    <cname>SDP_WAPPORTAL_3G</cname>
    <source_lines>0</source_lines>
    <total_files>0</total_files>
    <delta_source>-5096</delta_source>
    <delta_files>-617</delta_files>
  </component>
  <component>
    <cname>SDP_WAPPORTAL_2.5G_1.2</cname>
    <source_lines>7923</source_lines>
    <total_files>834</total_files>
    <delta_source>14</delta_source>
    <delta_files>-10</delta_files>
  </component>
  <component>
    <cname>SDP_MADEVICEDB_2.0</cname>
    <source_lines>0</source_lines>
    <total_files>7</total_files>
    <delta_source>0</delta_source>
    <delta_files>2</delta_files>
  </component>
  <component>
    <cname>SDP_WAPE_1.3</cname>
    <source_lines>0</source_lines>
    <total_files>398</total_files>
    <delta_source>0</delta_source>
    <delta_files>0</delta_files>
  </component>
  <component>
    <cname>SMI_CDS_Connecter_UrlReWriter_2.1</cname>
    <source_lines>698</source_lines>
    <total_files>13</total_files>
    <delta_source>698</delta_source>
    <delta_files>13</delta_files>
  </component>
  <component>
    <cname>SDP_BASE_COMMON_2.1</cname>
    <source_lines>1427</source_lines>
    <total_files>49</total_files>
    <delta_source>1427</delta_source>
    <delta_files>49</delta_files>
  </component>
  <component>
    <cname>SDP_COMMON_SERVICES_2.1</cname>
    <source_lines>1336</source_lines>
    <total_files>57</total_files>
    <delta_source>1336</delta_source>
    <delta_files>57</delta_files>
  </component>
  <component>
    <cname>SDP_ADAPTOR_CD_2.1</cname>
    <source_lines>923</source_lines>
    <total_files>84</total_files>
    <delta_source>923</delta_source>
    <delta_files>84</delta_files>
  </component>
  <component>
    <cname>SDP_ADAPTOR_EMM_2.1</cname>
    <source_lines>2429</source_lines>
    <total_files>68</total_files>
    <delta_source>2429</delta_source>
    <delta_files>68</delta_files>
  </component>
  <component>
    <cname>SDP_ADAPTOR_ESS_2.1</cname>
    <source_lines>10581</source_lines>
    <total_files>247</total_files>
    <delta_source>10581</delta_source>
    <delta_files>247</delta_files>
  </component>
  <component>
    <cname>SDP_ADAPTOR_USIS_2.1</cname>
    <source_lines>2464</source_lines>
    <total_files>85</total_files>
    <delta_source>2464</delta_source>
    <delta_files>85</delta_files>
  </component>
  <component>
    <cname>SDP_BS_ALERT_SERVICE_2.1</cname>
    <source_lines>754</source_lines>
    <total_files>30</total_files>
    <delta_source>754</delta_source>
    <delta_files>30</delta_files>
  </component>
  <component>
    <cname>SDP_BS_CHARGING_SERVICE_2.1</cname>
    <source_lines>462</source_lines>
    <total_files>23</total_files>
    <delta_source>462</delta_source>
    <delta_files>23</delta_files>
  </component>
  <component>
    <cname>SDP_BS_COMMON_SERVICE_2.1</cname>
    <source_lines>5012</source_lines>
    <total_files>95</total_files>
    <delta_source>5012</delta_source>
    <delta_files>95</delta_files>
  </component>
  <component>
    <cname>SDP_BS_CONTENT_SERVICE_2.1</cname>
    <source_lines>1910</source_lines>
    <total_files>63</total_files>
    <delta_source>1910</delta_source>
    <delta_files>63</delta_files>
  </component>
  <component>
    <cname>SDP_BS_DEVICE_SERVICE_2.1</cname>
    <source_lines>1039</source_lines>
    <total_files>33</total_files>
    <delta_source>1039</delta_source>
    <delta_files>33</delta_files>
  </component>
  <component>
    <cname>SDP_BS_SUBSCRIPTION_OFFER_SERVICE_2.1</cname>
    <source_lines>4408</source_lines>
    <total_files>61</total_files>
    <delta_source>4408</delta_source>
    <delta_files>61</delta_files>
  </component>
  <component>
    <cname>SDP_BS_SUBSCRIPTION_SERVICE_2.1</cname>
    <source_lines>8087</source_lines>
    <total_files>95</total_files>
    <delta_source>8087</delta_source>
    <delta_files>95</delta_files>
  </component>
  <component>
    <cname>SDP_BS_TRANSACTION_MGMT_SERVICE_2.1</cname>
    <source_lines>5393</source_lines>
    <total_files>57</total_files>
    <delta_source>5393</delta_source>
    <delta_files>57</delta_files>
  </component>
  <component>
    <cname>SDP_BS_URL_GENERATOR_SERVICE_2.1</cname>
    <source_lines>484</source_lines>
    <total_files>20</total_files>
    <delta_source>484</delta_source>
    <delta_files>20</delta_files>
  </component>
  <component>
    <cname>SDP_BS_USER_SERVICE_2.1</cname>
    <source_lines>407</source_lines>
    <total_files>17</total_files>
    <delta_source>407</delta_source>
    <delta_files>17</delta_files>
  </component>
  <component>
    <cname>SDP_BS_VALIDATION_SERVICE_2.1</cname>
    <source_lines>8473</source_lines>
    <total_files>100</total_files>
    <delta_source>8473</delta_source>
    <delta_files>100</delta_files>
  </component>
  <component>
    <cname>SDP_TWSI_2.1</cname>
    <source_lines>12021</source_lines>
    <total_files>123</total_files>
    <delta_source>12021</delta_source>
    <delta_files>123</delta_files>
  </component>
  <component>
    <cname>SDP_URL_REDIRECTOR_2.1</cname>
    <source_lines>332</source_lines>
    <total_files>16</total_files>
    <delta_source>332</delta_source>
    <delta_files>16</delta_files>
  </component>
  <component>
    <cname>SDP_TEST_CLIENTS_2.1</cname>
    <source_lines>7191</source_lines>
    <total_files>687</total_files>
    <delta_source>7191</delta_source>
    <delta_files>687</delta_files>
  </component>
</release>

Goto:   Top of page.   Section "Environment".   Section "Summary".   Section "Test cases".