< prev index next >

test/javax/xml/jaxp/unittest/parsers/Bug6690015.java

Print this page




  70                 attrs = te.getAttributes();
  71                 attrlen = attrs.getLength();
  72                 attindex = 0;
  73                 Node node = null;
  74 
  75                 while (attindex < attrlen) {
  76                     node = attrs.item(attindex);
  77                     System.out.println("attr: " + node.getNodeName() + " is shown holding value: " + node.getNodeValue());
  78                     attindex++;
  79                 }
  80                 index++;
  81                 System.out.println("-------------");
  82             }
  83             fis.close();
  84         } catch (Exception e) {
  85             Assert.fail("Exception: " + e.getMessage());
  86         }
  87     }
  88 
  89 }
  90 


  70                 attrs = te.getAttributes();
  71                 attrlen = attrs.getLength();
  72                 attindex = 0;
  73                 Node node = null;
  74 
  75                 while (attindex < attrlen) {
  76                     node = attrs.item(attindex);
  77                     System.out.println("attr: " + node.getNodeName() + " is shown holding value: " + node.getNodeValue());
  78                     attindex++;
  79                 }
  80                 index++;
  81                 System.out.println("-------------");
  82             }
  83             fis.close();
  84         } catch (Exception e) {
  85             Assert.fail("Exception: " + e.getMessage());
  86         }
  87     }
  88 
  89 }

< prev index next >