3                   " "!"#$%& ' ()*+, -. 4/ 01 23 456 47 89 8: 8; <= <>? @ AB <C 8C 2DEF GGHIJ KGK LM 4N 8OP QRS ATUV W XY Z[ ]\] _^ __`a _b c bde hfg jh ]i j jk jl ]C jm jC hCno tGp bGq gGrs |/t |u jv |Cwxyz  {|}~  connection.Ledu/ucsb/nceas/metacat/database/DBConnection;handler$Lorg/xml/sax/helpers/DefaultHandler;docnameLjava/lang/String;doctypesystemiddtdtextLjava/io/Reader; logMetacatLorg/apache/log4j/Logger;1(Ledu/ucsb/nceas/metacat/database/DBConnection;)VCodeLineNumberTableLocalVariableTablethis)Ledu/ucsb/nceas/metacat/DBEntityResolver;conne(Ledu/ucsb/nceas/metacat/database/DBConnection;Lorg/xml/sax/helpers/DefaultHandler;Ljava/io/Reader;)Vdtd resolveEntity?(Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;dhandler%Ledu/ucsb/nceas/metacat/DBSAXHandler;ahandler8Ledu/ucsb/nceas/metacat/accesscontrol/AccessControlList;messageinLjava/io/InputStream;seLorg/xml/sax/SAXException; dbSystemIDpublicIdsystemId dtdSourceLorg/xml/sax/InputSource; StackMapTable~. ExceptionsgetDTDSystemID&(Ljava/lang/String;)Ljava/lang/String;sql tableHasRowsZsqlELjava/sql/SQLException;epnfe4Ledu/ucsb/nceas/utilities/PropertyNotFoundException;pstmtLjava/sql/PreparedStatement; serialNumberIrsLjava/sql/ResultSet;EI registerDTD'(Ljava/lang/String;Ljava/lang/String;)V updateCntexistingSystemId uploadDTDLjava/lang/SecurityException;fwLjava/io/FileWriter;outLjava/io/BufferedWriter; inputLineLjava/io/BufferedReader;fLjava/io/File; Ljava/net/MalformedURLException;Ljava/io/IOException;dtdPathdtdURLfilenameslash[]degn`uploadDTDFromURL;(Ljava/io/InputStream;Ljava/lang/String;)Ljava/lang/String; inputByteLjava/io/BufferedInputStream;istreamscheckURLConnection)(Ljava/lang/String;)Ljava/io/InputStream;()V SourceFileDBEntityResolver.java java/lang/StringBuilderDDBEntityResolver.resolveEntity - in resolveEntity the public id is  and systemId is  Metacat can't determine the public id or the name of the root element of the document, so the validation can't be applied and the document is rejected6DBEntityResolver.resolveEntity - the handler class is  #edu/ucsb/nceas/metacat/DBSAXHandler TDBEntityResolver.resolveEntity - in the branch of the handler class is DBSAXHandlerkDBEntityResolver.resolveEntity - the publicId is not null, so the publicId is the doctype. The doctype is: DBEntityResolver.resolveEntity - the publicId is null and we treat the doc name(the root element name) as the doc type. The doctype is:   !DBEntityResolver.resolveEntity - org/xml/sax/SAXException DDBEntityResolver.resolveEntity - the final doctype for DBSAXHandler 6edu/ucsb/nceas/metacat/accesscontrol/AccessControlListXDBEntityResolver.resolveEntity - in the branch of the handler class is AccessControlListDBEntityResolver.resolveEntity - the publicId is not null, so the publicId is the doctype. The doctype in AccessControlList is: DBEntityResolver.resolveEntity - the publicId is null and we treat the doc name(the root element name) as the doc type. The doctype in AccessControlList is: HDBEntityResolver.resolveEntity - the final doctype for AccessControList qDBEntityResolver.resolveEntity - the method resolverEntity for the AccessControList class is not processing a dtdIDBEntityResolver.resolveEntity - in the branch of the other handler classWDBEntityResolver.resolveEntity - the xml handler is null. So we can't find the doctype.?@A"K'L((2********+*,*-. U< =>?@A"V'W,X1Y*2222lN Y  +  , :*: Y  * *:*:+#+: Y   $: Y   ' Y   Y  Y !  *"²#:*":$+#+: Y %  $&: Y '  ' Y   Y  Y (   ) * + Y ,  -.: Y /  -C Y 0  1 Y Y 2  1  3:4Y5N :6-s5de$g'j.k2lTm^naojprqzs~tuyz~$'08<?\c} .3Rszp a'2z }'lm #I #S   _LMN6:78N-96::-;M,*<,=W,>:?6*@L+AB Y C + L D, ,E-F6: Y H I -F:-F:Y Y J I  :Y Y L M  :  D, ,E-F6:  Y H  I -F: -F  + oGo oG oK o'GO'FOOQO.    #+2:CHQZo&t'{)*45.04546$& ')*4$5'.)0F4L5O4]9z SC,) _][Y V Sno Hg B``  Hg [+.N-%-, Y N + O:*P;:*Q+<,<=WR6 Y S TEEt: Y U I R:Y Y V I  :E": Y U I G.G.GnCDE*F+J.R9WAYJZS\[]d^~_hmjlo`afhmjlmq\ d!.J+ca`  MN Y W X M Y C X N$:Y Y Y M  +:/Z\Z[6`\:]Y*^:_Y,`:Y:a"bY Y c def:  hYi: jY k: lY:    mn op q r sç :  f:Y Y u v  :Y Y w x  :Y Y y z  Y -  03Kg{!$t{!Eb{!fg%yz|}03~5TWjp{ !$&EGfh5 ? 4 , &GhWDj1s3 &EB B`` N: Y W X N Y C X :$:Y Y { M  ,:/Z\Z[6`\:|Y+}:_Y-`:Y: a  Y ~ deO:  hYi: jY k: Y6     q r s ç :   f:Y Y  v  :Y Y  x  :Y Y  z  Y   25Kg    }t}8b}Yg$257VYlr} 8:Y[z 7 5 * " :[Y6l#w5 &@B B``  JY*LY Y  +v  LY Y  +x   t +b  +,  ,J L^" B