3 y       y       t t         t t              t   <   <!" D# $% &'()*+ ,-./012 34 56 7 89 8: 3;< y=>? y@ABC cD e E eF eG jH cIJ K LM cN OP OQR cS jT UVW connection.Ledu/ucsb/nceas/metacat/database/DBConnection; parentNode"Ledu/ucsb/nceas/metacat/DBSAXNode; logMetacatLorg/apache/log4j/Logger;C(Ledu/ucsb/nceas/metacat/database/DBConnection;Ljava/lang/String;)VCodeLineNumberTableLocalVariableTablethisconndocidLjava/lang/String; Exceptions(Ledu/ucsb/nceas/metacat/database/DBConnection;Ljava/lang/String;Ljava/lang/String;Ledu/ucsb/nceas/metacat/DBSAXNode;JLjava/lang/String;Ljava/lang/String;)VqNamelName rootnodeidJdoctype(Ledu/ucsb/nceas/metacat/database/DBConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ledu/ucsb/nceas/metacat/DBSAXNode;JLjava/lang/String;)VdocNamepublicIdsystemId StackMapTableXRwriteChildNodeToDBK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Jnodetypenodenamedata limitedDataleftoverIoffsetmoredataZ endNodeIdwriteChildNodeToDBDataLimitedpstmtLjava/sql/PreparedStatement;idxsqleLjava/sql/SQLException;nidYupdateRootNodeID(J)Venodeid writeNodename(Ljava/lang/String;)VwriteDTDNodeToDB9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)JgenerateNodeID()JsqlrsLjava/sql/ResultSet; tableHasRowsdbConn serialNumberZ[ setAttributeattNameattValuenodeId setNamespaceprefixuriupdateNodeIndexU(Ledu/ucsb/nceas/metacat/database/DBConnection;Ljava/lang/String;Ljava/lang/String;)VpathLjava/lang/Long;enLjava/util/Enumeration;sqepathlistLjava/util/Hashtable;atStartingNodeatRootDocumentNode nodePointer currentPathLjava/lang/StringBuffer;counterCD\ getParentNode$()Ledu/ucsb/nceas/metacat/DBSAXNode; SourceFileDBSAXNode.java ] edu/ucsb/nceas/metacat/DBSAXNode^ _` ~ z{ |}DOCUMENT a b c d ef ghELEMENT#edu/ucsb/nceas/metacat/DocumentImpldocname publicidsystemid if#edu/ucsb/nceas/metacat/DBSAXHandler jk QINSERT INTO xml_nodes (nodetype, nodename, nodeprefix, docid) VALUES (?, ?, ?, ?)X lmjava/lang/StringBuilder>DBSAXNode.writeChildNodeToDBDataLimited - inserting doc name: no pq rsINSERT INTO xml_nodes (nodetype, nodename, nodeprefix, docid, rootnodeid, parentnodeid, nodedata, nodeindex) VALUES (?, ?, ?, ?, ?, ?, ?, ?) thY uv: wx jy z {| } ~f 6DBSAXNode.writeChildNodeToDBDataLimited - SQL insert:   ]    xml_nodes    java/sql/SQLExceptionEDBSAXNode.writeChildNodeToDBDataLimited - SQL error inserting node: (, ) : q s  org/xml/sax/SAXException4UPDATE xml_nodes set rootnodeid = ? WHERE nodeid = ? %Error in DBSaxNode.updateRootNodeID:  2UPDATE xml_nodes set nodename = ? WHERE nodeid = ?"Error in DBSaxNode.writeNodeName: 1DBSAXNode.writeDTDNodeToDB - Insert dtd into db:  s}INSERT INTO xml_nodes (nodetype, nodename, docid, rootnodeid, parentnodeid, nodedata, nodeindex) VALUES (?, ?, ?, ?, ?, ?, ?)DTD#Error in DBSaxNode.writeDTDNodeToDBError inserting node: (DTD, )DBSAXNode.generateNodeID  f)SELECT xml_nodes_id_seq.nextval FROM dual Z   #Error in DBSaxNode.generateNodeID:  ATTRIBUTE Attribute name must not be null!  NAMESPACE"Namespace prefix must not be null!java/util/Hashtablejava/lang/StringBuffer q java/lang/Long / qYINSERT INTO xml_index (nodeid, path, docid, doctype, parentnodeid) VALUES (?, ?, ?, ?, ?) \  java/lang/String   fVSQL Exception while inserting path to index in DBSAXNode.updateNodeIndex for document  edu/ucsb/nceas/metacat/BasicNode,edu/ucsb/nceas/metacat/database/DBConnectionjava/sql/PreparedStatementjava/sql/ResultSetjava/lang/Throwablejava/util/Enumeration()Vorg/apache/log4j/Logger getLogger,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; getNodeID setParentID setRootNodeIDsetDocID incChildNum()I setNodeIndex(I)Vlength substring(II)Ljava/lang/String;prepareStatement0(Ljava/lang/String;)Ljava/sql/PreparedStatement;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;debug(Ljava/lang/Object;)VincreaseUsageCount setString(ILjava/lang/String;)VindexOf(Ljava/lang/String;)I(I)Ljava/lang/String; getRootNodeIDsetLong(IJ)V getParentID getNodeIndexsetInt(II)Vjava/lang/Objectexecute()Zclose/edu/ucsb/nceas/metacat/database/DatabaseService getInstance3()Ledu/ucsb/nceas/metacat/database/DatabaseService; getDBAdapter-()Ledu/ucsb/nceas/dbadapter/AbstractDatabase;getConnections()Ljava/sql/Connection;)edu/ucsb/nceas/dbadapter/AbstractDatabase getUniqueID*(Ljava/sql/Connection;Ljava/lang/String;)Jequals(Ljava/lang/Object;)Z setNodeID setNodeType getMessageerrorjava/lang/SystemerrLjava/io/PrintStream;printStackTrace(Ljava/io/PrintStream;)Voutjava/io/PrintStreamprintlninfo0edu/ucsb/nceas/metacat/database/DBConnectionPoolgetDBConnectionB(Ljava/lang/String;)Ledu/ucsb/nceas/metacat/database/DBConnection;getCheckOutSerialNumber getResultSet()Ljava/sql/ResultSet;nextgetLong(I)JreturnDBConnection2(Ledu/ucsb/nceas/metacat/database/DBConnection;I)V'(Ljava/lang/String;Ljava/lang/String;)V getTagNameinsert-(ILjava/lang/String;)Ljava/lang/StringBuffer;put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; getNodeTypekeys()Ljava/util/Enumeration;hasMoreElements nextElement()Ljava/lang/Object;get&(Ljava/lang/Object;)Ljava/lang/Object; longValue executeUpdate!yz{|}~ ****+**,X** ;2 <=>!?)@ *}*{*D C*- **+** * ***,X* N2OPQ"R(S.T7UBXRC}C{CCC|}CCCDL u***+** * *E,**,X-**-X**XFh2 ijk!l'm-o2r6t?uIxMzV{`~itRu}u{uuuu|}uu!IDP n:6- -6667 N-:ĄaĄ--`::6*+,7  J  (39BFVY\kf n}nnnnkh[XS  &D  7++*:*Y !","#$*%:*&+',2,()Y6%,`*',','''+l+6*+,*-,-'*./3*+,* ,-'*/*Y 0"1"#$2W345*6787+9 * +9 +9*:*+;S:*Y ="+">",">"-"?"@"#ABCDY@Ez}<( 3>FO`p +3:NW]ouz}f \&><N}" 3 CH/O BOD\*FN*&-,-,-2W-3,NGY H"-@"#IDY-@E/2<6     ")/23CLO[* %3(\}\r(D_*JM*&,+',* ,,2W,3,MGY K",@"#IDY,@E25<6  #&'%),*2/5+6,F-O,R.^0* (6(_}_u(D7*Y L"+"M","#N*O:*&P'+'-'*+,*-,,'*./2W345*6787T:GQIBY R"+">","S"#IB@IBCDY@E<Z6;(=3D;GEHNIWJcKoLyMPQT^VWX[\]_H3vO}PD @:6TU:V6W:N-2W-X:Y6 Z@-3[;:GY \"@"#IDY@E: [ NX<NX^eghklmn"o)p1q:r?sHuN~UXvZwkxtwwy~f 41:"6Z*}{DHk D27+*+,]*^+,-7B_IDY_E %/42}222-D27+*+,`*a+,-7BbIDYbE %/42}222-D,qcYd:66*:eYf:6 .ghWijY* klW 61mhWghWijY* klW n:o9mhWijY* klW 6d+p: +& ,' -' *-,q:  r= st:  uj:   v,  ' wW 36: BY x","#IB @IDY @E:=<*  #(4JMS\h~(03:=?Xcp+  u K ?1 q}q{qq h eb_}VS S 4-;1C 2D/* }