Advertisement
Guest User

A_v1_transformed_with_comments.xml

a guest
Sep 20th, 2013
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.89 KB | None | 0 0
  1. <i_d>
  2.    <g_a_r>
  3. <!--
  4.  
  5. There are 6 <r> elements.  Of those 6 elements the first child of 5 of them
  6. is a <co> element, the other one starts with a <ca> element.  Since "ca" is
  7. alphabetically before "co" I expect the <r> element with the <ca> element to
  8. be the first <r> element listed. We can see that is not the case.
  9.  
  10. -->
  11.       <r>
  12.          <co>A T r</co>
  13.          <fi>F_N_R_A_T</fi>
  14.          <fl>r_R_F_T_S</fl>
  15.          <i>A_T</i>
  16.          <r_t>
  17.             <co>T t</co>
  18.             <fl>r_T_F_V_X_P_W_A</fl>
  19.             <ta>R_T_A_T_I_0</ta>
  20.             <ty c_o_a="250">D_a_t_m_t</ty>
  21.             <u_p>N</u_p>
  22.          </r_t>
  23.          <v_r_p>v_v</v_r_p>
  24.       </r>
  25.       <r>
  26.          <co>A T D r</co>
  27.          <fi>F_N_R_A_T_D</fi>
  28.          <fl>r_R_F_T_S</fl>
  29.          <i>A_T_D</i>
  30.          <r_t>
  31.             <co>T t</co>
  32.             <fl>r_T_F_V_X_P_W_A</fl>
  33.             <ta>R_T_A_T_D_I_0</ta>
  34.             <ty c_o_a="250">D_a_t_d_t</ty>
  35.             <u_p>N</u_p>
  36.          </r_t>
  37.          <v_r_p>v_v</v_r_p>
  38.       </r>
  39.       <r>
  40. <!--
  41.  
  42. Within this <r> element there are 9 <r_t> elements.  The first child of each of
  43. those <r_t> elements is a <co> element.  Since a <co> element is the first child
  44. of each of these <r_t> elements I expect the <r_t> elements to be sorted by the
  45. contents of the <co> element.  Unfortunately it seems alphabetical sorting has
  46. been completely ignored here because <r_t> elements have not been sorted by the
  47. contents of their <co> elements.  In fact the <r_t> element which I expected to
  48. be alphabetically first actually appeared last.
  49.  
  50. -->
  51.          <co>b s c</co>
  52.          <fi>F_N_R_B_S_C</fi>
  53.          <fl>r_R_F_R_D</fl>
  54.          <i>B_S_C</i>
  55.          <r_t>
  56.             <co>F f e c K f</co>
  57.             <fl>r_T_F_W_C_M | r_T_F_V_P_W_A</fl>
  58.             <ta>R_T_B_F_E_K_F</ta>
  59.             <ty>I_g_f_k_f_t</ty>
  60.             <u_p>N</u_p>
  61.          </r_t>
  62.          <r_t>
  63.             <co>l f t t o</co>
  64.             <fl>r_T_F_W_C_M | r_T_F_P_W_A</fl>
  65.             <ta>R_T_B_F_T_O_L</ta>
  66.             <ty>I_g_f_t_o_t</ty>
  67.             <u_p>N</u_p>
  68.          </r_t>
  69.          <r_t>
  70.             <co>l f t t o</co>
  71.             <fl>r_T_F_W_C_M | r_T_F_P_W_A</fl>
  72.             <ta>R_T_B_F_T_O_R</ta>
  73.             <ty>I_g_f_t_o_t</ty>
  74.             <u_p>N</u_p>
  75.          </r_t>
  76.          <r_t>
  77.             <co>G g s r d</co>
  78.             <fl>reg_T_F_W_C_T_M | reg_T_F_V_P_W_A</fl>
  79.             <ta>R_T_B_G_R_D</ta>
  80.             <ty>I_g_r_t</ty>
  81.             <u_p>N</u_p>
  82.          </r_t>
  83.          <r_t>
  84.             <co>a O v a</co>
  85.             <fl>r_T_F_W_C_M | r_T_F_V_P_W_A</fl>
  86.             <ta>R_T_B_O_V</ta>
  87.             <ty>S_o_v_t</ty>
  88.             <u_p>N</u_p>
  89.          </r_t>
  90.          <r_t>
  91.             <co>R G 1</co>
  92.             <fl>r_T_F_W_C_M | r_T_F_P_W_A</fl>
  93.             <ta>R_T_B_R_G_1</ta>
  94.             <ty>I_r_g_t</ty>
  95.             <u_p>N</u_p>
  96.          </r_t>
  97.          <r_t>
  98.             <co>R G 2</co>
  99.             <fl>r_T_F_W_C_M | r_T_F_P_W_A</fl>
  100.             <ta>R_T_B_R_G_2</ta>
  101.             <ty>I_r_g_t</ty>
  102.             <u_p>N</u_p>
  103.          </r_t>
  104.          <r_t>
  105.             <co>W G g s l c</co>
  106.             <fl>r_T_F_W_C_M | r_T_F_P_W_A</fl>
  107.             <ta>R_T_B_S_C_S_2</ta>
  108.             <ty>R_T_B_s_c_s_2_t</ty>
  109.             <u_p>N</u_p>
  110.          </r_t>
  111. <!--
  112.  
  113. This should be the first <r_t> element in this <r> element.
  114.  
  115. -->
  116.          <r_t>
  117.             <co>a i</co>
  118.             <fl>r_T_F_W_C_M | r_T_F_P_W_A</fl>
  119.             <ta>R_T_B_S_F_A_I</ta>
  120.             <ty>S_f_a_i_t</ty>
  121.             <u_p>N</u_p>
  122.          </r_t>
  123.          <v_r_p>v_v</v_r_p>
  124.       </r>
  125.      
  126. <!--
  127.  
  128. This should be the first <r> element.
  129.  
  130. -->
  131.       <r>
  132.          <ca>T</ca>
  133.          <co>e c</co>
  134.          <fi>F_N_R_E_C</fi>
  135.          <i>E_C</i>
  136.          <r_t>
  137.             <co>d r m/m</co>
  138.             <fl>r_T_F_W_C_M | r_T_F_V_X_P_W_A</fl>
  139.             <ta>R_T_D_R_99</ta>
  140.             <ty>S_d_r_t</ty>
  141.             <u_p>N</u_p>
  142.          </r_t>
  143.          <r_t>
  144.             <co>g 0</co>
  145.             <fl>r_T_F_W_C_M | r_T_F_V_X_P_W_A</fl>
  146.             <ta>R_T_G_0</ta>
  147.             <ty>S_g_t</ty>
  148.             <u_p>N</u_p>
  149.          </r_t>
  150.          <v>1</v>
  151.          <v_r_p>v_v</v_r_p>
  152.       </r>
  153.       <r>
  154.          <co>e r</co>
  155.          <fi>F_N_H_E_R</fi>
  156.          <fl>r_R_F_T_S</fl>
  157.          <id>E_R</id>
  158.          <r_t>
  159.             <co>e r</co>
  160.             <fl>r_T_F_P_W_A</fl>
  161.             <ta>R_T_E_R_I_0</ta>
  162.             <ty c_of_a="100">H_e_r_t</ty>
  163.             <u_p>N</u_p>
  164.          </r_t>
  165.       </r>
  166.       <r>
  167.          <co>T</co>
  168.          <fi>F</fi>
  169.          <i>s</i>
  170.          <r_t>
  171.             <co>a</co>
  172.             <fl>r_T_F_W_C_M | r_T_F_X_P_W_A</fl>
  173.             <ta>R_T_S_A_F_T</ta>
  174.             <ty>S_f_s_t</ty>
  175.             <u_p>r_n_r_t_u</u_p>
  176.          </r_t>
  177.          <v>3</v>
  178.          <v_r_p>v</v_r_p>
  179.       </r>
  180.    </g_a_r>
  181. </i_d>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement