2 LM N OP Q R ST UV WX WY Z [\ ]^ N_ ` a Z bc de df g hij klm nopq r st u vw hx yz {|}~  1L h h t  h  h h s h h h s h    s d h s h ] h  h Z d N  h Z h h  h   k  N     !"XML_TEST_FILENAMELjava/lang/String; ConstantValue errorFlagZ testRootNodeLorg/w3c/dom/Node;logLorg/apache/log4j/Logger;TEST_XMLTEST_XML_NOHEADERbuffLjava/lang/StringBuffer;XPATH_MAP_TEST_XMLXPATH_MAP_TEST_RESULT%Ledu/ucsb/nceas/utilities/OrderedMap;MINIMAL_TEST_XML(Ljava/lang/String;)VCodeLineNumberTableLocalVariableTablethis+Ledu/ucsb/nceas/utilities/XMLUtilitiesTest;namesetUp()VeLjava/lang/Exception;isrLjava/io/InputStreamReader; StackMapTable#\tearDowngetNewTestRootNode()Lorg/w3c/dom/Node;$testGetXMLAsDOMTreeRootNodefeLjava/io/IOException;rootNode|!testGetXMLReaderAsDOMTreeRootNodeioetestGetXMLAsDOMDocumentdocLorg/w3c/dom/Document;%testGetXMLReaderAsDOMDocumenttestAddTextNodeToDOMTreexpathtextVal1textVal2 actualVal1 actualVal2&testAddAttributeNodeToDOMTreeLorg/w3c/dom/DOMException;xpath1xpath2 attribVal1 attribVal2testGetTextNodeWithXPathtextNodetestGetAttributeNodeWithXPathattNodetestGetNodeWithXPathte*Ljavax/xml/transform/TransformerException;testNodetestGetNodeListWithXPathtestListLorg/w3c/dom/NodeList;'testGetNodeListAsNodeArray testArray[Lorg/w3c/dom/Node;$testRemoveAllChildrentLjava/lang/Throwable; origRootNodeclonedRootNodetestRemoveAllPredicatesxpathOuttestGetDOMTreeAsString xmlStringtestGetDOMTreeAsReader xmlReaderLjava/io/Reader;( testPrint resultStringbaosLjava/io/ByteArrayOutputStream; printWriterLjava/io/PrintWriter;nullPWtestGetDOMTreeAsXPathMaptestGetXPathMapAsDOMTreexpathMap nullRootNode main([Ljava/lang/String;)Vargs[Ljava/lang/String;getXPathMapTestResult'()Ledu/ucsb/nceas/utilities/OrderedMap;map SourceFileXMLUtilitiesTest.java java/lang/StringBuffer  THIS_IS_PROPERTY_1 THIS_IS_PROPERTY_2[1] THIS_IS_PROPERTY_2[2] THIS_IS_PROPERTY_A_1 THIS_IS_PROPERTY_A_2[1] THIS_IS_PROPERTY_A_2[2] THIS_IS_PROPERTY_B_SUB_1 FG 3 ,/edu/ucsb/nceas/utilities/junit_testfile.xml) *+ ,- ./ java/lang/Exception 0java/lang/StringBuilder`Exception trying to load XML Sample /edu/ucsb/nceas/utilities/junit_testfile.xml Exception was: 12 13 4 & 56 78 9 :;unexpected exception while trying to initialize testRootNode by calling getXMLAsDOMTreeRootNode with filename: /edu/ucsb/nceas/utilities/junit_testfile.xml< =>!getXMLAsDOMTreeRootNode() test...? @calling with valid filename...Uunexpected exception while trying to call getXMLAsDOMTreeRootNode with VALID filename AB$ CD EFG HI JK LMcalling with NULL filename... java/io/IOExceptionZOK - *expected* exception while trying to call getXMLAsDOMTreeRootNode with NULL filenameTunexpected exception while trying to call getXMLAsDOMTreeRootNode with NULL filename NB'getXMLReaderAsDOMTreeRootNode() test...java/io/StringReader OPGunexpected exception while trying to call getXMLReaderAsDOMTreeRootNodecalling with NULL rootnode...`OK - *expected* exception while trying to call getXMLReaderAsDOMTreeRootNode with NULL filenamegetXMLAsDOMDocument() test... QRQunexpected exception while trying to call getXMLAsDOMDocument with VALID filename% STVOK - *expected* exception while trying to call getXMLAsDOMDocument with NULL filenamePunexpected exception while trying to call getXMLAsDOMDocument with NULL filename#getXMLReaderAsDOMDocument() test... UV6/acc:access/test_element/sub_test_element/text_elementACTUAL_TEXT_VALUE_1ACTUAL_TEXT_VALUE_2 WXSunexpected exception while trying to call addTextNodeToDOMTree with testRootNode =  xpath =  value = ACTUAL_TEXT_VALUE YZ [/Uunexpected exception while trying to call getTextNodeWithXPath() with testRootNode = 6/acc:access/test_element/sub_test_element/@testAttrib15/acc:access/test_element/sub_test_element/testAttrib2ACTUAL_ATTRIB_VALUE_1ACTUAL_ATTRIB_VALUE_2!// set first new val ///////// = \XXunexpected exception while trying to call addAttributeNodeToDOMTree with testRootNode =  value = &// now get it again from doc ///////// ]ZXunexpected exception while trying to call getAttributeNodeWithXPath with testRootNode = doing assertEquals( , )?// set second new val (should overwrite first val) ///////// = org/w3c/dom/DOMException]OK - *expected* exception while trying to call addAttributeNodeToDOMTree with testRootNode = getTextNodeWithXPath() test...!/acc:access/allow[1]/principal[1]+uid=brooke,o=NCEAS,dc=ecoinformatics,dc=org>unexpected exception while trying to call getTextNodeWithXPath#getAttributeNodeWithXPath() test.../acc:access/@id brooke.124.1Cunexpected exception while trying to call getAttributeNodeWithXPathgetNodeWithXPath() test... ^Z:unexpected exception while trying to call getNodeWithXPath _(javax/xml/transform/TransformerExceptionPOK - *expected* exception while trying to call getNodeWithXPath with NULL xpathJunexpected exception while trying to call getNodeWithXPath with NULL xpath /some/xpathTOK - *expected* exception while trying to call getNodeWithXPath with NULL root nodeunexpected exception ()while trying to call% getNodeWithXPath with NULL root nodegetNodeListWithXPath() test.../acc:access/allow `a>unexpected exception while trying to call getNodeListWithXPathnodeList.getLength() returned ' bc 1d ef g/allow hiTOK - *expected* exception while trying to call getNodeListWithXPath with NULL xpathNunexpected exception while trying to call getNodeListWithXPath with NULL xpathXOK - *expected* exception while trying to call getNodeListWithXPath with NULL root nodeRunexpected exception while trying to call getNodeListWithXPath with NULL root node getNodeListAsNodeArray() test... jk@unexpected exception while trying to call getNodeListAsNodeArraytestArray.length returned removeAllChildren() test...calling with real rootnode... lm nojava/lang/Throwable?unexpected exception while trying to call removeAllChildren(): removeAllPredicates() test...+calling with xpath containing predicates...?/properties/propertyListB[1]/propertySubListB[1]/propertyBS1[1] pI6/properties/propertyListB/propertySubListB/propertyBS1.calling with xpath containing NO predicates...8calling with xpath containing badly-formed predicates...G/properties/propertyListB/propertySubListB[1_NO_BRACKET_/propertyBS1[1]*/properties/propertyListB/propertySubListBcalling with NULL xpath..."calling with empty string xpath...getDOMTreeAsString() test... Kunexpected exception while trying to call getDOMTreeAsNVP with VALID paramsgetDOMTreeAsReader() test... qrs LENGTH is: tc(print(testRootNode, printWriter) test...java/io/ByteArrayOutputStreamjava/io/PrintWriter u vw1print(testRootNode, printWriter, "UTF-8") test...UTF-8 vx)print(null, printWriter, "UTF-8") test...Kunexpected exception while trying to call print(null, printWriter, "UTF-8")*print(testRootNode, null, "UTF-8") test...Lunexpected exception while trying to call print(testRootNode, null, "UTF-8"),print(testRootNode, printWriter, "") test....print(testRootNode, printWriter, null) test...getDOMTreeAsXPathMap() test...getting test rootnode...testing getDOMTreeAsXPathMap... yz L{getXPathMapAsDOMTree() test...getting test xpathMap...testing getXPathMapAsDOMTree... |}Yunexpected Exception trying to do getXPathMapAsDOMTree() with good params Exception was: \unexpected Exception trying to do getXPathMapAsDOMTree() with null Root Node Exception was: calling with NULL xpathMap...\unexpected Exception trying to do getXPathMapAsDOMTree() with null xpath Map Exception was: )edu/ucsb/nceas/utilities/XMLUtilitiesTest~  #edu/ucsb/nceas/utilities/OrderedMap!/properties/property1[1]/@attrib1ATTRIB_1 /properties/property1[1]THIS_IS_PROPERTY_1/properties/property2[1]THIS_IS_PROPERTY_2[1]/properties/property2[2]THIS_IS_PROPERTY_2[2]*/properties/propertyListA[1]/propertyA1[1]THIS_IS_PROPERTY_A_1*/properties/propertyListA[1]/propertyA2[1]THIS_IS_PROPERTY_A_2[1]*/properties/propertyListA[1]/propertyA2[2]THIS_IS_PROPERTY_A_2[2]THIS_IS_PROPERTY_B_SUB_1 /  junit/framework/TestCasejava/io/InputStreamReaderorg/w3c/dom/Nodeorg/w3c/dom/Documentjava/lang/Stringorg/w3c/dom/NodeListjava/io/Readeredu/ucsb/nceas/utilities/IOUtilgetResourceAsInputStreamReader/(Ljava/lang/String;)Ljava/io/InputStreamReader;getAsStringBuffer+(Ljava/io/Reader;Z)Ljava/lang/StringBuffer;toString()Ljava/lang/String;printStackTraceappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;failindexOf(Ljava/lang/String;)I substring(I)Ljava/lang/String;%edu/ucsb/nceas/utilities/XMLUtilitiesgetXMLAsDOMTreeRootNode&(Ljava/lang/String;)Lorg/w3c/dom/Node;java/lang/SystemoutLjava/io/PrintStream;java/io/PrintStreamprintln assertNotNull(Ljava/lang/Object;)V hasChildNodes()Z assertTrue(Z)V#edu/ucsb/nceas/utilities/StringUtilstripAllWhiteSpace&(Ljava/lang/String;)Ljava/lang/String;getDOMTreeAsString&(Lorg/w3c/dom/Node;)Ljava/lang/String; assertEquals'(Ljava/lang/String;Ljava/lang/String;)V assertNullgetXMLReaderAsDOMTreeRootNode$(Ljava/io/Reader;)Lorg/w3c/dom/Node;getXMLAsDOMDocument*(Ljava/lang/String;)Lorg/w3c/dom/Document;getDocumentElement()Lorg/w3c/dom/Element;getXMLReaderAsDOMDocument((Ljava/io/Reader;)Lorg/w3c/dom/Document;addTextNodeToDOMTree9(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)VgetTextNodeWithXPath8(Lorg/w3c/dom/Node;Ljava/lang/String;)Lorg/w3c/dom/Node; getNodeValueaddAttributeNodeToDOMTreegetAttributeNodeWithXPathgetNodeWithXPath getFirstChildgetNodeListWithXPath<(Lorg/w3c/dom/Node;Ljava/lang/String;)Lorg/w3c/dom/NodeList; getLength()I(I)Ljava/lang/StringBuilder;item(I)Lorg/w3c/dom/Node; getNodeNameequals(Ljava/lang/Object;)ZgetNodeListAsNodeArray+(Lorg/w3c/dom/NodeList;)[Lorg/w3c/dom/Node; cloneNode(Z)Lorg/w3c/dom/Node;removeAllChildren(Lorg/w3c/dom/Node;)VremoveAllPredicatesgetDOMTreeAsReader%(Lorg/w3c/dom/Node;Z)Ljava/io/Reader;java/lang/Objectlength(Ljava/io/OutputStream;)Vprint*(Lorg/w3c/dom/Node;Ljava/io/PrintWriter;)V<(Lorg/w3c/dom/Node;Ljava/io/PrintWriter;Ljava/lang/String;)VgetDOMTreeAsXPathMap9(Lorg/w3c/dom/Node;)Ledu/ucsb/nceas/utilities/OrderedMap;'(Ljava/lang/Object;Ljava/lang/Object;)VgetXPathMapAsDOMTree$(Ljava/util/Map;Lorg/w3c/dom/Node;)Vjunit/textui/TestRunnerrun(Ljava/lang/Class;)Vexit(I)Vput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;java/lang/ClassgetNameorg/apache/log4j/Logger getLogger-(Ljava/lang/String;)Lorg/apache/log4j/Logger;!   m%*+*Y**** S #$S%%C L+ M,Y,`"Y\a]^_/dBf C=+l  K K L+* prw s tux   s !L"! L M,#+$+%&'+(')*!L+LM-!+ M.+&++/LPUX,PUhn  %)2BJLPUXYaehintx|~4 Y i u rO\0!L1Y23L M,4+$+%&+('')L5!3W M6! JOR,F $(1@BJORS[* S\ R mx7!L"! 8L M,9+$+:&'+;(')*!L+8LM<!+ M=+&++/LUZ],UZmn  %)2GOQUZ]^fjmnsy}4 ^ n z wO>!L"!1Y2?L M,9+$+:&+;('')*!L+?LM<!+ M=+&++/L #]be,]bun   #$( - 1 :OWY]befnruv{ !"#$4$ f v # wOs@LAMBNC$C+,D0:YECF+G:C+HI:+:YJCF+,)C+-D0:YECF+G:C+HI:+:YJCF+-)JX[v*+, -1823!4G;J=XD[?]@bAEKRLMNUW^YZ[_af +]&+&   J @ U   ,    'P,     'KLLMMNN:C$YO-!C+-P4:YQCF+R-S!:C+TI:+:YUCF+YV-WX!-)YY!C+P5:YQCF+R:S!C+TI:+:YUCF+YVWX!)C,Ph:Y[CF,R!5:YQCF,R47s=KNZ,hij k lp,q4x7r9s>th{p|s~25=KNPUv 9/&0P&.0   s 5 i 7    0     'S1      '{r18\!]L^MNC+HN:_-$-I,)N6  "'+574 8 -* (   8`!aLbMNC+TN:c-$-I,)N6  "'+574 8 -*(   d!]L^MNC+eN:f-$,-gI)NCeW:i! :jkeW8:l!+:Ymno<DGh<DT[beh[brr "'+:< DG I QTV[begorty\  IVgt&  +   _LIL')߲p!qLMC+rM N-s,$Yt,uv!,u&,u&,w$,w$,wxyz&,wxyz&MCrWN{! N|krWN}! N~ hh #% ' */+,-"1&2D3U4g6q7{9:<?F@AFCDHOIJOLMPR    0  ! .@@KKIK"N!qLMC+rM N-,$Y,v!,&,&,2$,2$,2xyz&,2xyz&M/ NVX Z ]c_` a%e)fCgPh^jdkjmznprs*   #$ % &@ @&!LM1Y23L N-4+$+%&!+M,$,%&,N-Y-,$,%&5!N-Y- PTWry{ | !&*3;CGPTWX\rv> X'('( ) *# p+@Q+,r!!L+$+)!L+$+)!L+$+)!/!)J (.28@FJPX_gqr\-.M!LCC$C(L M,+$'+')L5!(/ >  !%*.;=EL ! M C/   0 d!LCC$CL M,+$M+MY,v!L5!(/!F  !"& + /16RT\c*" d Z1213/!3 4TLMN!YMY,NC-,L+$'+')L!YMY,NC-,L+$'+')LYMY,N!-:-$,L+')L!:C:/!YMY,NC-,L+$'+')L!YMY,NC-,L+$+')L8#%&'&)++/-<0>4F6N7W8`:e<i>vAxEFHJOKLMPQRTWXZ_[\]`cefhj lnqu&w.x7z?|D~HQSH  TR5P67N89:93 ;< + ;<< =^!L!1Y23L M,4+$+%&!*+L5!/"B "#',09ALNV] # ^ T" >F!L!1Y 23L M,4+$!*M!,+N-Y-'+(')5!N,-!:Y-/!+!:Y'+(')"EJM" "#',08=EJMNRhwR# N =?h@C" A AS BC=    DEFGRYL+W+ĶW+ƶW+ȶW+ʶW+̶W+ζW+϶W+* #,5>GP RJHI;CиѳҸCBDKLJK