Edit D:\app\Administrator\product\11.2.0\dbhome_1\md\jlib\oracle\spatial\rdf\util\RDFXMLParser.class
?? 1 ? 2 B C D E F G H B I J K L F J M N B O P 1 Q R S T B U V W X Y Z [ W \ ] W ^ _ ` - a # b c d e f g h i j k l m n o p q <init> ()V Code LineNumberTable parseRDFXMLStream .(Ljava/io/InputStream;ILjava/util/ArrayList;)V Exceptions Signature B(Ljava/io/InputStream;ILjava/util/ArrayList<Ljava/lang/String;>;)V parseRDFXML (Loracle/sql/CLOB;I)V main ([Ljava/lang/String;)V SourceFile RDFXMLParser.java 3 4 ,oracle/spatial/rdf/util/RDFXMLContentHandler 3 r &oracle/spatial/rdf/util/XMLInputStream 3 s !org/xml/sax/helpers/ParserAdapter oracle/xml/parser/v2/SAXParser 3 t u v w org/xml/sax/InputSource x y java/util/ArrayList z { | 7 8 java/sql/SQLException &oracle/spatial/rdf/server/RDFException java/lang/StringBuilder +Error extracting RDFXML content from CLOB : } ~ ? ? ? 3 ? java/io/IOException 1IOException: Error reading data from the stream: org/xml/sax/SAXException RDFXML Parse Exception :",<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:c="http://s.opencalais.com/1/pred/"><rdf:Description c:calaisRequestID="ef312504-b7d9-4e52-bae1-4fb61bc2ae91" c:id="http://id.opencalais.com/uOdph0AJVwTrkw4MjJ4nUw" rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"><rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/DocInfo"/><c:document><![CDATA[The strongest rain ever recorded in India shut down the financial hub of Mumbai, snapped communication lines, closed airports and forced thousands of people to sleep in their offices or walk home during the night, officials said today.]]></c:document><c:docTitle/><c:docDate>2009-02-13</c:docDate></rdf:Description><rdf:Description c:contentType="TEXT/raw" c:emVer="UnifiedIM-DJ" c:langIdVer="DefaultLangId" c:language="English" c:processingVer="CalaisJob01" c:submissionDate="2009-02-13 16:18:13.060" rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b/meta"><rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/DocInfoMeta"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><c:submitterCode>08485e29-a9fa-e6d7-65c5-12a54cae74db</c:submitterCode><c:signature>digestalg-1|lCgyO7FZ9TIZN38Zy8gIqpeGInw=|L0JbAIhoW/YgmV9MfPUWn0njq9A4+oj8OCv/5E3L6MIQmKOFz9JS1w==</c:signature></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b/lid/DefaultLangId"><rdf:type rdf:resource="http://s.opencalais.com/1/type/lid/DefaultLangId"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><c:lang rdf:resource="http://d.opencalais.com/lid/DefaultLangId/English"/></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b/cat/1"><rdf:type rdf:resource="http://s.opencalais.com/1/type/cat/DocCat"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><c:category rdf:resource="http://d.opencalais.com/cat/Calais/BusinessFinance"/><c:classifierName>Calais</c:classifierName><c:categoryName>Business_Finance</c:categoryName><c:score>0.483</c:score></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/genericHasher-1/6293fd3d-7bd5-3a94-a823-6abc6fdf2232"><rdf:type rdf:resource="http://s.opencalais.com/1/type/em/r/CompanyReorganization"/><c:status>announced</c:status></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b/Instance/1"><rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/InstanceInfo"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><c:subject rdf:resource="http://d.opencalais.com/genericHasher-1/6293fd3d-7bd5-3a94-a823-6abc6fdf2232"/><!--CompanyReorganization: status: announced; --><c:detection>[]The strongest rain ever recorded in India shut down the financial hub of Mumbai, snapped communication lines, closed airports and forced thousands of people to sleep in their offices or walk home during the night, officials said today.[]</c:detection><c:prefix/><c:exact>The strongest rain ever recorded in India shut down the financial hub of Mumbai, snapped communication lines, closed airports and forced thousands of people to sleep in their offices or walk home during the night, officials said today.</c:exact><c:suffix/><c:offset>0</c:offset><c:length>235</c:length></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/genericHasher-1/06a99ff2-3761-34b7-8f2a-0a76ccf6794d"><rdf:type rdf:resource="http://s.opencalais.com/1/type/em/e/City"/><c:name>Mumbai</c:name></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b/Instance/2"><rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/InstanceInfo"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><c:subject rdf:resource="http://d.opencalais.com/genericHasher-1/06a99ff2-3761-34b7-8f2a-0a76ccf6794d"/><!--City: Mumbai; --><c:detection>[ recorded in India shut down the financial hub of ]Mumbai[, snapped communication lines, closed airports]</c:detection><c:prefix> recorded in India shut down the financial hub of </c:prefix><c:exact>Mumbai</c:exact><c:suffix>, snapped communication lines, closed airports</c:suffix><c:offset>73</c:offset><c:length>6</c:length></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b/Relevance/1"><rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/RelevanceInfo"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><c:subject rdf:resource="http://d.opencalais.com/genericHasher-1/06a99ff2-3761-34b7-8f2a-0a76ccf6794d"/><c:relevance>0.571</c:relevance></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/er/geo/ralg-geo1/ac6f4ab8-e3fd-d98d-2e36-0fd7abfc4c53"><rdf:type rdf:resource="http://s.opencalais.com/1/type/er/Geo"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><!--Mumbai--><c:subject rdf:resource="http://d.opencalais.com/genericHasher-1/06a99ff2-3761-34b7-8f2a-0a76ccf6794d"/><c:name>Mumbai,Maharashtra,India</c:name><c:latitude>18.964722</c:latitude><c:longitude>72.825836</c:longitude></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/er/geo/ralg-geo1/11a98374-ebec-8e0c-7a54-751d2161804d"><rdf:type rdf:resource="http://s.opencalais.com/1/type/er/Geo"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><!--India--><c:subject rdf:resource="http://d.opencalais.com/genericHasher-1/69b2e356-c1e7-3f3b-bab3-676f21d08e4d"/><c:name>India</c:name><c:latitude>21.767889</c:latitude><c:longitude>78.87176</c:longitude></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/genericHasher-1/69b2e356-c1e7-3f3b-bab3-676f21d08e4d"><rdf:type rdf:resource="http://s.opencalais.com/1/type/em/e/Country"/><c:name>India</c:name></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b/Instance/3"><rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/InstanceInfo"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><c:subject rdf:resource="http://d.opencalais.com/genericHasher-1/69b2e356-c1e7-3f3b-bab3-676f21d08e4d"/><!--Country: India; --><c:detection>[strongest rain ever recorded in ]India[ shut down the financial hub of Mumbai, snapped]</c:detection><c:prefix>strongest rain ever recorded in </c:prefix><c:exact>India</c:exact><c:suffix> shut down the financial hub of Mumbai, snapped</c:suffix><c:offset>36</c:offset><c:length>5</c:length></rdf:Description><rdf:Description rdf:about="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b/Relevance/2"><rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/RelevanceInfo"/><c:docId rdf:resource="http://d.opencalais.com/dochash-1/7779af58-8432-3f91-9747-fade44c5884b"/><c:subject rdf:resource="http://d.opencalais.com/genericHasher-1/69b2e356-c1e7-3f3b-bab3-676f21d08e4d"/><c:relevance>0.571</c:relevance></rdf:Description></rdf:RDF>?<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/> <rdfs:label>Wine Ontology</rdfs:label> <rdfs:comment>Derived from the DAML Wine ontology at http://ontolingua.stanford.edu/doc/chimaera/ontologies/wines.daml Substantially changed, in particular the Region based relations. </rdfs:comment> <owl:imports rdf:resource="http://www.w3.org/TR/2003/PR-owl-guide-20031209/food"/> <owl:priorVersion rdf:resource="http://www.w3.org/TR/2003/CR-owl-guide-20030818/wine"/> <rdfs:comment>An example OWL ontology</rdfs:comment> </rdf:Description></rdf:RDF> java/io/ByteArrayInputStream ? ? 3 ? ? ? ? ? ? Triple : } ? ? ? ? Subject : ? ? java/lang/String Property : Object : Triples processed $oracle/spatial/rdf/util/RDFXMLParser java/lang/Object (Ljava/util/ArrayList;)V (Ljava/io/InputStream;)V (Lorg/xml/sax/Parser;)V org/xml/sax/XMLReader setContentHandler (Lorg/xml/sax/ContentHandler;)V parse (Lorg/xml/sax/InputSource;)V oracle/sql/CLOB getAsciiStream ()Ljava/io/InputStream; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getMessage ()Ljava/lang/String; toString (Ljava/lang/String;)V getBytes ()[B ([B)V size ()I java/lang/System out Ljava/io/PrintStream; (I)Ljava/lang/StringBuilder; java/io/PrintStream println get (I)Ljava/lang/Object; ! 1 2 3 4 5 ! *? ? 6 * + 7 8 5 ? \~? ? Y,? N? ? Y? N~? ? Y*? :? *:? Y? Y? ? :-? ? Y? ? ? 6 * 7 8 : = # >