1 5 6 package com.hp.hpl.jena.rdf.arp.test; 7 8 import junit.framework.TestCase; 9 import junit.framework.TestSuite; 10 import java.io.*; 11 import java.util.*; 12 13 import com.hp.hpl.jena.rdf.model.*; 14 import com.hp.hpl.jena.rdf.arp.*; 15 import com.hp.hpl.jena.regression.testReaderInterface; 16 17 import org.apache.commons.logging.Log; 18 import org.apache.commons.logging.LogFactory; 19 import org.apache.xerces.parsers.SAXParser; 20 import org.xml.sax.*; 21 22 26 public class SAX2RDFTest extends TestCase { 27 28 protected static Log logger = LogFactory.getLog( testReaderInterface.class ); 29 30 static final boolean is1_4_1 = 31 System.getProperty("java.version").startsWith("1.4.1"); 32 static final private String all[] = { 33 34 "abbreviated/collection.rdf", "abbreviated/container.rdf", 35 "abbreviated/cookup.rdf", "abbreviated/daml.rdf", 36 "abbreviated/namespaces.rdf", "abbreviated/reification.rdf", 37 "abbreviated/relative-uris.rdf", "arp/comments/test01.rdf", 38 "arp/comments/test02.rdf", "arp/comments/test03.rdf", 39 "arp/comments/test04.rdf", "arp/comments/test05.rdf", 40 "arp/comments/test06.rdf", "arp/comments/test07.rdf", 41 "arp/comments/test08.rdf", "arp/comments/test09.rdf", 42 "arp/comments/test10.rdf", "arp/comments/test11.rdf", 43 "arp/comments/test12.rdf", "arp/comments/test13.rdf", 44 "arp/error-msgs/test01.rdf", "arp/error-msgs/test02.rdf", 45 "arp/error-msgs/test03.rdf", "arp/error-msgs/test04.rdf", 46 "arp/error-msgs/test05.rdf", 47 "arp/i18n/eq-bug73_0.rdf", "arp/i18n/eq-bug73_1.rdf", 49 "arp/i18n/eq-bug73_2.rdf", "arp/i18n/i18nID.rdf", 50 "arp/i18n/t9000.rdf", "arp/Manifest.rdf", 51 "arp/parsetype/bug68_0.rdf", "arp/qname-in-ID/bug74_0.rdf", 52 "arp/rdf-nnn/bad-bug67_0.rdf", "arp/rdf-nnn/bad-bug67_1.rdf", 53 "arp/rdf-nnn/bad-bug67_2.rdf", "arp/rdf-nnn/bad-bug67_3.rdf", 54 "arp/rdf-nnn/bad-bug67_4.rdf", "arp/rdf-nnn/bad-bug67_5.rdf", 55 "arp/rdf-nnn/bad-bug67_6.rdf", "arp/rdf-nnn/bad-bug67_7.rdf", 56 "arp/rdf-nnn/bad-bug67_8.rdf", "arp/rdf-nnn/bad-bug67_9.rdf", 57 "arp/relative-namespaces/bad-bug50_0.rdf", 58 "arp/rfc2396-issue/bug51_0.rdf", "arp/rfc2396-issue/fileURI.rdf", 59 "arp/scope/test02.rdf", "arp/scope/test03.rdf", 61 "arp/scope/test04.rdf", "arp/scope/test05.rdf", 62 "arp/syntax-errors/error001.rdf", "arp/syntax-errors/error002.rdf", 63 "arp/syntax-errors/error003.rdf", "arp/xml-literals/reported1.rdf", 64 "arp/xml-literals/reported2.rdf", "arp/xml-literals/reported3.rdf", 65 "arp/xmlns/bad01.rdf", "arp/xmlns/food.rdf", 66 "arp/xmlns/test01.rdf", "arp/xmlns/test02.rdf", 67 "arp/xmlns/test03.rdf", "arp/xmlns/wine.rdf", 68 "ontology/daml/Axioms/test.rdf", 69 "ontology/daml/ClassExpression/test-boolean.rdf", 70 "ontology/daml/ClassExpression/test-enum.rdf", 71 "ontology/daml/ClassExpression/test-restriction.rdf", 72 "ontology/daml/ClassExpression/test.rdf", 73 "ontology/daml/list-syntax/test-proptypes.rdf", 74 "ontology/daml/list-syntax/test.rdf", 75 "ontology/daml/Ontology/test.rdf", 76 "ontology/daml/Property/test.rdf", "ontology/list0.rdf", 77 "ontology/list1.rdf", "ontology/list2.rdf", "ontology/list3.rdf", 78 "ontology/list4.rdf", "ontology/list5.rdf", 79 "ontology/owl/Axioms/test.rdf", 80 "ontology/owl/ClassExpression/test-boolean.rdf", 81 "ontology/owl/ClassExpression/test-enum.rdf", 82 "ontology/owl/ClassExpression/test-restriction.rdf", 83 "ontology/owl/ClassExpression/test.rdf", 84 "ontology/owl/list-syntax/test-proptypes.rdf", 85 "ontology/owl/list-syntax/test-with-import.rdf", 86 "ontology/owl/list-syntax/test.rdf", 87 "ontology/owl/Ontology/test.rdf", "ontology/owl/Property/test.rdf", 88 "ontology/rdfs/ClassExpression/test.rdf", 89 "ontology/rdfs/list-syntax/test.rdf", 90 "ontology/rdfs/Ontology/test.rdf", 91 "ontology/rdfs/Property/test.rdf", "ontology/relativenames.rdf", 92 "ontology/testImport5/ont-policy.rdf", 93 94 "RDQL/model5.rdf", "RDQL/vc-db-1.rdf", "RDQL/vc-db-2.rdf", 95 "RDQL/vc-db-3.rdf", "reasoners/bugs/sbug.rdf", 96 "reasoners/owl/consistentData.rdf", 97 "reasoners/owl/inconsistent1.rdf", 98 "reasoners/owl/inconsistent2.rdf", 99 "reasoners/owl/inconsistent3.rdf", 100 "reasoners/owl/inconsistent4.rdf", 101 "reasoners/owl/inconsistent5.rdf", "reasoners/rdfs/data1.rdf", 102 "reasoners/rdfs/data2.rdf", "reasoners/rdfs/data3.rdf", 103 "reasoners/rdfs/dataRDFS12.rdf", 104 "reasoners/rdfs/manifest-nodirect-noresource.rdf", 105 "reasoners/rdfs/manifest-nodirect.rdf", 106 "reasoners/rdfs/manifest-rdfs12.rdf", 107 "reasoners/rdfs/manifest-simple.rdf", 108 "reasoners/rdfs/manifest-standard.rdf", 109 "reasoners/rdfs/manifest.rdf", "reasoners/rdfs/result1.rdf", 110 "reasoners/rdfs/result10.rdf", 111 "reasoners/rdfs/result11-noresource.rdf", 112 "reasoners/rdfs/result11.rdf", 113 "reasoners/rdfs/result12-noresource.rdf", 114 "reasoners/rdfs/result12.rdf", 115 "reasoners/rdfs/result13-noresource.rdf", 116 "reasoners/rdfs/result13.rdf", "reasoners/rdfs/result14.rdf", 117 "reasoners/rdfs/result15.rdf", 118 "reasoners/rdfs/result16-noresource.rdf", 119 "reasoners/rdfs/result16.rdf", "reasoners/rdfs/result17.rdf", 120 "reasoners/rdfs/result18-simple.rdf", 121 "reasoners/rdfs/result18.rdf", 122 "reasoners/rdfs/result19-nodirect.rdf", 123 "reasoners/rdfs/result19.rdf", "reasoners/rdfs/result2.rdf", 124 "reasoners/rdfs/result20-nodirect.rdf", 125 "reasoners/rdfs/result20.rdf", "reasoners/rdfs/result3.rdf", 126 "reasoners/rdfs/result4.rdf", "reasoners/rdfs/result7.rdf", 127 "reasoners/rdfs/result8.rdf", "reasoners/rdfs/result9.rdf", 128 "reasoners/rdfs/resultRDFS12.rdf", "reasoners/rdfs/tbox1.rdf", 129 "reasoners/rdfs/timing-data.rdf", "reasoners/rdfs/timing-tbox.rdf", 130 "reasoners/transitive/data1.rdf", 131 "reasoners/transitive/data11.rdf", 132 "reasoners/transitive/data2.rdf", "reasoners/transitive/data3.rdf", 133 "reasoners/transitive/data6.rdf", "reasoners/transitive/data8.rdf", 134 "reasoners/transitive/data9.rdf", "reasoners/transitive/empty.rdf", 135 "reasoners/transitive/manifest.rdf", 136 "reasoners/transitive/result11.rdf", 137 "reasoners/transitive/result2.rdf", 138 "reasoners/transitive/result4.rdf", 139 "reasoners/transitive/result5.rdf", 140 "reasoners/transitive/result6.rdf", 141 "reasoners/transitive/tbox1.rdf", "reasoners/transitive/tbox7.rdf", 142 "wg/AllDifferent/conclusions001.rdf", 143 "wg/AllDifferent/Manifest001.rdf", 144 "wg/AllDifferent/premises001.rdf", 145 "wg/allValuesFrom/conclusions001.rdf", 146 "wg/allValuesFrom/Manifest001.rdf", 147 "wg/allValuesFrom/Manifest002.rdf", 148 "wg/allValuesFrom/nonconclusions002.rdf", 149 "wg/allValuesFrom/premises001.rdf", 150 "wg/allValuesFrom/premises002.rdf", "wg/amp-in-url/test001.rdf", 151 "wg/AnnotationProperty/conclusions002.rdf", 152 "wg/AnnotationProperty/consistent003.rdf", 153 "wg/AnnotationProperty/consistent004.rdf", 154 "wg/AnnotationProperty/Manifest001.rdf", 155 "wg/AnnotationProperty/Manifest002.rdf", 156 "wg/AnnotationProperty/Manifest003.rdf", 157 "wg/AnnotationProperty/Manifest004.rdf", 158 "wg/AnnotationProperty/nonconclusions001.rdf", 159 "wg/AnnotationProperty/premises001.rdf", 160 "wg/AnnotationProperty/premises002.rdf", 161 "wg/backwardCompatibleWith/consistent001.rdf", 162 "wg/backwardCompatibleWith/consistent002.rdf", 163 "wg/backwardCompatibleWith/Manifest001.rdf", 164 "wg/backwardCompatibleWith/Manifest002.rdf", 165 "wg/cardinality/conclusions001-mod.rdf", 166 "wg/cardinality/conclusions001.rdf", 167 "wg/cardinality/conclusions002-mod.rdf", 168 "wg/cardinality/conclusions002.rdf", 169 "wg/cardinality/conclusions003-mod.rdf", 170 "wg/cardinality/conclusions003.rdf", 171 "wg/cardinality/conclusions004-mod.rdf", 172 "wg/cardinality/conclusions004.rdf", 173 "wg/cardinality/conclusions005-mod.rdf", 174 "wg/cardinality/conclusions005.rdf", 175 "wg/cardinality/conclusions006-mod.rdf", 176 "wg/cardinality/conclusions006.rdf", 177 "wg/cardinality/Manifest001-mod.rdf", 178 "wg/cardinality/Manifest001.rdf", 179 "wg/cardinality/Manifest002-mod.rdf", 180 "wg/cardinality/Manifest002.rdf", 181 "wg/cardinality/Manifest003-mod.rdf", 182 "wg/cardinality/Manifest003.rdf", 183 "wg/cardinality/Manifest004-mod.rdf", 184 "wg/cardinality/Manifest004.rdf", 185 "wg/cardinality/Manifest005-mod.rdf", 186 "wg/cardinality/Manifest005.rdf", 187 "wg/cardinality/Manifest006-mod.rdf", 188 "wg/cardinality/Manifest006.rdf", 189 "wg/cardinality/premises001-mod.rdf", 190 "wg/cardinality/premises001.rdf", 191 "wg/cardinality/premises002-mod.rdf", 192 "wg/cardinality/premises002.rdf", 193 "wg/cardinality/premises003-mod.rdf", 194 "wg/cardinality/premises003.rdf", 195 "wg/cardinality/premises004-mod.rdf", 196 "wg/cardinality/premises004.rdf", 197 "wg/cardinality/premises005-mod.rdf", 198 "wg/cardinality/premises005.rdf", 199 "wg/cardinality/premises006-mod.rdf", 200 "wg/cardinality/premises006.rdf", "wg/Class/conclusions001.rdf", 201 "wg/Class/conclusions002.rdf", "wg/Class/conclusions003.rdf", 202 "wg/Class/conclusions006.rdf", "wg/Class/Manifest001.rdf", 203 "wg/Class/Manifest002.rdf", "wg/Class/Manifest003.rdf", 204 "wg/Class/Manifest004.rdf", "wg/Class/Manifest005.rdf", 205 "wg/Class/Manifest006.rdf", "wg/Class/nonconclusions004.rdf", 206 "wg/Class/nonconclusions005.rdf", "wg/Class/premises002.rdf", 207 "wg/Class/premises003.rdf", "wg/Class/premises004.rdf", 208 "wg/Class/premises005.rdf", "wg/Class/premises006.rdf", 209 "wg/complementOf/conclusions001.rdf", 210 "wg/complementOf/Manifest001.rdf", 211 "wg/complementOf/premises001.rdf", 212 "wg/DatatypeProperty/consistent001.rdf", 213 "wg/DatatypeProperty/Manifest001.rdf", "wg/datatypes/test001.rdf", 214 "wg/datatypes/test002.rdf", 215 "wg/description-logic/conclusions001.rdf", 216 "wg/description-logic/conclusions002.rdf", 217 "wg/description-logic/conclusions003.rdf", 218 "wg/description-logic/conclusions004.rdf", 219 "wg/description-logic/conclusions007.rdf", 220 "wg/description-logic/conclusions008.rdf", 221 "wg/description-logic/conclusions010.rdf", 222 "wg/description-logic/conclusions011.rdf", 223 "wg/description-logic/conclusions012.rdf", 224 "wg/description-logic/conclusions013.rdf", 225 "wg/description-logic/conclusions014.rdf", 226 "wg/description-logic/conclusions015.rdf", 227 "wg/description-logic/conclusions017.rdf", 228 "wg/description-logic/conclusions019.rdf", 229 "wg/description-logic/conclusions022.rdf", 230 "wg/description-logic/conclusions023.rdf", 231 "wg/description-logic/conclusions026.rdf", 232 "wg/description-logic/conclusions027.rdf", 233 "wg/description-logic/conclusions029.rdf", 234 "wg/description-logic/conclusions030.rdf", 235 "wg/description-logic/conclusions032.rdf", 236 "wg/description-logic/conclusions033.rdf", 237 "wg/description-logic/conclusions101.rdf", 238 "wg/description-logic/conclusions102.rdf", 239 "wg/description-logic/conclusions103.rdf", 240 "wg/description-logic/conclusions104.rdf", 241 "wg/description-logic/conclusions105.rdf", 242 "wg/description-logic/conclusions106.rdf", 243 "wg/description-logic/conclusions107.rdf", 244 "wg/description-logic/conclusions108.rdf", 245 "wg/description-logic/conclusions109.rdf", 246 "wg/description-logic/conclusions110.rdf", 247 "wg/description-logic/conclusions111.rdf", 248 "wg/description-logic/conclusions201.rdf", 249 "wg/description-logic/conclusions202.rdf", 250 "wg/description-logic/conclusions203.rdf", 251 "wg/description-logic/conclusions204.rdf", 252 "wg/description-logic/conclusions205.rdf", 253 "wg/description-logic/conclusions206.rdf", 254 "wg/description-logic/conclusions207.rdf", 255 "wg/description-logic/conclusions208.rdf", 256 "wg/description-logic/conclusions661.rdf", 257 "wg/description-logic/conclusions662.rdf", 258 "wg/description-logic/conclusions663.rdf", 259 "wg/description-logic/conclusions664.rdf", 260 "wg/description-logic/conclusions665.rdf", 261 "wg/description-logic/conclusions667.rdf", 262 "wg/description-logic/conclusions901.rdf", 263 "wg/description-logic/conclusions903.rdf", 264 "wg/description-logic/conclusions905.rdf", 265 "wg/description-logic/consistent005.rdf", 266 "wg/description-logic/consistent006.rdf", 267 "wg/description-logic/consistent009.rdf", 268 "wg/description-logic/consistent016.rdf", 269 "wg/description-logic/consistent018.rdf", 270 "wg/description-logic/consistent020.rdf", 271 "wg/description-logic/consistent021.rdf", 272 "wg/description-logic/consistent024.rdf", 273 "wg/description-logic/consistent025.rdf", 274 "wg/description-logic/consistent028.rdf", 275 "wg/description-logic/consistent031.rdf", 276 "wg/description-logic/consistent034.rdf", 277 "wg/description-logic/consistent501.rdf", 278 "wg/description-logic/consistent503.rdf", 279 "wg/description-logic/consistent605.rdf", 280 "wg/description-logic/consistent606.rdf", 281 "wg/description-logic/consistent609.rdf", 282 "wg/description-logic/consistent616.rdf", 283 "wg/description-logic/consistent624.rdf", 284 "wg/description-logic/consistent625.rdf", 285 "wg/description-logic/consistent628.rdf", 286 "wg/description-logic/consistent631.rdf", 287 "wg/description-logic/consistent634.rdf", 288 "wg/description-logic/consistent905.rdf", 289 "wg/description-logic/consistent906.rdf", 290 "wg/description-logic/consistent907.rdf", 291 "wg/description-logic/consistent908.rdf", 292 "wg/description-logic/inconsistent001.rdf", 293 "wg/description-logic/inconsistent002.rdf", 294 "wg/description-logic/inconsistent003.rdf", 295 "wg/description-logic/inconsistent004.rdf", 296 "wg/description-logic/inconsistent007.rdf", 297 "wg/description-logic/inconsistent008.rdf", 298 "wg/description-logic/inconsistent010.rdf", 299 "wg/description-logic/inconsistent011.rdf", 300 "wg/description-logic/inconsistent012.rdf", 301 "wg/description-logic/inconsistent013.rdf", 302 "wg/description-logic/inconsistent014.rdf", 303 "wg/description-logic/inconsistent015.rdf", 304 "wg/description-logic/inconsistent017.rdf", 305 "wg/description-logic/inconsistent019.rdf", 306 "wg/description-logic/inconsistent022.rdf", 307 "wg/description-logic/inconsistent023.rdf", 308 "wg/description-logic/inconsistent026.rdf", 309 "wg/description-logic/inconsistent027.rdf", 310 "wg/description-logic/inconsistent029.rdf", 311 "wg/description-logic/inconsistent030.rdf", 312 "wg/description-logic/inconsistent032.rdf", 313 "wg/description-logic/inconsistent033.rdf", 314 "wg/description-logic/inconsistent035.rdf", 315 "wg/description-logic/inconsistent040.rdf", 316 "wg/description-logic/inconsistent101.rdf", 317 "wg/description-logic/inconsistent102.rdf", 318 "wg/description-logic/inconsistent103.rdf", 319 "wg/description-logic/inconsistent104.rdf", 320 "wg/description-logic/inconsistent105.rdf", 321 "wg/description-logic/inconsistent106.rdf", 322 "wg/description-logic/inconsistent107.rdf", 323 "wg/description-logic/inconsistent108.rdf", 324 "wg/description-logic/inconsistent109.rdf", 325 "wg/description-logic/inconsistent110.rdf", 326 "wg/description-logic/inconsistent111.rdf", 327 "wg/description-logic/inconsistent502.rdf", 328 "wg/description-logic/inconsistent504.rdf", 329 "wg/description-logic/inconsistent601.rdf", 330 "wg/description-logic/inconsistent602.rdf", 331 "wg/description-logic/inconsistent603.rdf", 332 "wg/description-logic/inconsistent604.rdf", 333 "wg/description-logic/inconsistent608.rdf", 334 "wg/description-logic/inconsistent610.rdf", 335 "wg/description-logic/inconsistent611.rdf", 336 "wg/description-logic/inconsistent612.rdf", 337 "wg/description-logic/inconsistent613.rdf", 338 "wg/description-logic/inconsistent614.rdf", 339 "wg/description-logic/inconsistent615.rdf", 340 "wg/description-logic/inconsistent617.rdf", 341 "wg/description-logic/inconsistent623.rdf", 342 "wg/description-logic/inconsistent626.rdf", 343 "wg/description-logic/inconsistent627.rdf", 344 "wg/description-logic/inconsistent629.rdf", 345 "wg/description-logic/inconsistent630.rdf", 346 "wg/description-logic/inconsistent632.rdf", 347 "wg/description-logic/inconsistent633.rdf", 348 "wg/description-logic/inconsistent641.rdf", 349 "wg/description-logic/inconsistent642.rdf", 350 "wg/description-logic/inconsistent643.rdf", 351 "wg/description-logic/inconsistent644.rdf", 352 "wg/description-logic/inconsistent646.rdf", 353 "wg/description-logic/inconsistent650.rdf", 354 "wg/description-logic/inconsistent909.rdf", 355 "wg/description-logic/inconsistent910.rdf", 356 "wg/description-logic/Manifest001.rdf", 357 "wg/description-logic/Manifest002.rdf", 358 "wg/description-logic/Manifest003.rdf", 359 "wg/description-logic/Manifest004.rdf", 360 "wg/description-logic/Manifest005.rdf", 361 "wg/description-logic/Manifest006.rdf", 362 "wg/description-logic/Manifest007.rdf", 363 "wg/description-logic/Manifest008.rdf", 364 "wg/description-logic/Manifest009.rdf", 365 "wg/description-logic/Manifest010.rdf", 366 "wg/description-logic/Manifest011.rdf", 367 "wg/description-logic/Manifest012.rdf", 368 "wg/description-logic/Manifest013.rdf", 369 "wg/description-logic/Manifest014.rdf", 370 "wg/description-logic/Manifest015.rdf", 371 "wg/description-logic/Manifest016.rdf", 372 "wg/description-logic/Manifest017.rdf", 373 "wg/description-logic/Manifest018.rdf", 374 "wg/description-logic/Manifest019.rdf", 375 "wg/description-logic/Manifest020.rdf", 376 "wg/description-logic/Manifest021.rdf", 377 "wg/description-logic/Manifest022.rdf", 378 "wg/description-logic/Manifest023.rdf", 379 "wg/description-logic/Manifest024.rdf", 380 "wg/description-logic/Manifest025.rdf", 381 "wg/description-logic/Manifest026.rdf", 382 "wg/description-logic/Manifest027.rdf", 383 "wg/description-logic/Manifest028.rdf", 384 "wg/description-logic/Manifest029.rdf", 385 "wg/description-logic/Manifest030.rdf", 386 "wg/description-logic/Manifest031.rdf", 387 "wg/description-logic/Manifest032.rdf", 388 "wg/description-logic/Manifest033.rdf", 389 "wg/description-logic/Manifest034.rdf", 390 "wg/description-logic/Manifest035.rdf", 391 "wg/description-logic/Manifest040.rdf", 392 "wg/description-logic/Manifest101.rdf", 393 "wg/description-logic/Manifest102.rdf", 394 "wg/description-logic/Manifest103.rdf", 395 "wg/description-logic/Manifest104.rdf", 396 "wg/description-logic/Manifest105.rdf", 397 "wg/description-logic/Manifest106.rdf", 398 "wg/description-logic/Manifest107.rdf", 399 "wg/description-logic/Manifest108.rdf", 400 "wg/description-logic/Manifest109.rdf", 401 "wg/description-logic/Manifest110.rdf", 402 "wg/description-logic/Manifest111.rdf", 403 "wg/description-logic/Manifest201.rdf", 404 "wg/description-logic/Manifest202.rdf", 405 "wg/description-logic/Manifest203.rdf", 406 "wg/description-logic/Manifest204.rdf", 407 "wg/description-logic/Manifest205.rdf", 408 "wg/description-logic/Manifest206.rdf", 409 "wg/description-logic/Manifest207.rdf", 410 "wg/description-logic/Manifest208.rdf", 411 "wg/description-logic/Manifest209.rdf", 412 "wg/description-logic/Manifest501.rdf", 413 "wg/description-logic/Manifest502.rdf", 414 "wg/description-logic/Manifest503.rdf", 415 "wg/description-logic/Manifest504.rdf", 416 "wg/description-logic/Manifest601.rdf", 417 "wg/description-logic/Manifest602.rdf", 418 "wg/description-logic/Manifest603.rdf", 419 "wg/description-logic/Manifest604.rdf", 420 "wg/description-logic/Manifest605.rdf", 421 "wg/description-logic/Manifest606.rdf", 422 "wg/description-logic/Manifest608.rdf", 423 "wg/description-logic/Manifest609.rdf", 424 "wg/description-logic/Manifest610.rdf", 425 "wg/description-logic/Manifest611.rdf", 426 "wg/description-logic/Manifest612.rdf", 427 "wg/description-logic/Manifest613.rdf", 428 "wg/description-logic/Manifest614.rdf", 429 "wg/description-logic/Manifest615.rdf", 430 "wg/description-logic/Manifest616.rdf", 431 "wg/description-logic/Manifest617.rdf", 432 "wg/description-logic/Manifest623.rdf", 433 "wg/description-logic/Manifest624.rdf", 434 "wg/description-logic/Manifest625.rdf", 435 "wg/description-logic/Manifest626.rdf", 436 "wg/description-logic/Manifest627.rdf", 437 "wg/description-logic/Manifest628.rdf", 438 "wg/description-logic/Manifest629.rdf", 439 "wg/description-logic/Manifest630.rdf", 440 "wg/description-logic/Manifest631.rdf", 441 "wg/description-logic/Manifest632.rdf", 442 "wg/description-logic/Manifest633.rdf", 443 "wg/description-logic/Manifest634.rdf", 444 "wg/description-logic/Manifest641.rdf", 445 "wg/description-logic/Manifest642.rdf", 446 "wg/description-logic/Manifest643.rdf", 447 "wg/description-logic/Manifest644.rdf", 448 "wg/description-logic/Manifest646.rdf", 449 "wg/description-logic/Manifest650.rdf", 450 "wg/description-logic/Manifest661.rdf", 451 "wg/description-logic/Manifest662.rdf", 452 "wg/description-logic/Manifest663.rdf", 453 "wg/description-logic/Manifest664.rdf", 454 "wg/description-logic/Manifest665.rdf", 455 "wg/description-logic/Manifest667.rdf", 456 "wg/description-logic/Manifest901.rdf", 457 "wg/description-logic/Manifest902.rdf", 458 "wg/description-logic/Manifest903.rdf", 459 "wg/description-logic/Manifest904.rdf", 460 "wg/description-logic/Manifest905.rdf", 461 "wg/description-logic/Manifest906.rdf", 462 "wg/description-logic/Manifest907.rdf", 463 "wg/description-logic/Manifest908.rdf", 464 "wg/description-logic/Manifest909.rdf", 465 "wg/description-logic/Manifest910.rdf", 466 "wg/description-logic/nonconclusions005.rdf", 467 "wg/description-logic/nonconclusions006.rdf", 468 "wg/description-logic/nonconclusions009.rdf", 469 "wg/description-logic/nonconclusions016.rdf", 470 "wg/description-logic/nonconclusions018.rdf", 471 "wg/description-logic/nonconclusions020.rdf", 472 "wg/description-logic/nonconclusions021.rdf", 473 "wg/description-logic/nonconclusions024.rdf", 474 "wg/description-logic/nonconclusions025.rdf", 475 "wg/description-logic/nonconclusions028.rdf", 476 "wg/description-logic/nonconclusions031.rdf", 477 "wg/description-logic/nonconclusions034.rdf", 478 "wg/description-logic/nonconclusions209.rdf", 479 "wg/description-logic/nonconclusions902.rdf", 480 "wg/description-logic/nonconclusions904.rdf", 481 "wg/description-logic/premises001.rdf", 482 "wg/description-logic/premises002.rdf", 483 "wg/description-logic/premises003.rdf", 484 "wg/description-logic/premises004.rdf", 485 "wg/description-logic/premises005.rdf", 486 "wg/description-logic/premises006.rdf", 487 "wg/description-logic/premises007.rdf", 488 "wg/description-logic/premises008.rdf", 489 "wg/description-logic/premises009.rdf", 490 "wg/description-logic/premises010.rdf", 491 "wg/description-logic/premises011.rdf", 492 "wg/description-logic/premises012.rdf", 493 "wg/description-logic/premises013.rdf", 494 "wg/description-logic/premises014.rdf", 495 "wg/description-logic/premises015.rdf", 496 "wg/description-logic/premises016.rdf", 497 "wg/description-logic/premises017.rdf", 498 "wg/description-logic/premises018.rdf", 499 "wg/description-logic/premises019.rdf", 500 "wg/description-logic/premises020.rdf", 501 "wg/description-logic/premises021.rdf", 502 "wg/description-logic/premises022.rdf", 503 "wg/description-logic/premises023.rdf", 504 "wg/description-logic/premises024.rdf", 505 "wg/description-logic/premises025.rdf", 506 "wg/description-logic/premises026.rdf", 507 "wg/description-logic/premises027.rdf", 508 "wg/description-logic/premises028.rdf", 509 "wg/description-logic/premises029.rdf", 510 "wg/description-logic/premises030.rdf", 511 "wg/description-logic/premises031.rdf", 512 "wg/description-logic/premises032.rdf", 513 "wg/description-logic/premises033.rdf", 514 "wg/description-logic/premises034.rdf", 515 "wg/description-logic/premises101.rdf", 516 "wg/description-logic/premises102.rdf", 517 "wg/description-logic/premises103.rdf", 518 "wg/description-logic/premises104.rdf", 519 "wg/description-logic/premises105.rdf", 520 "wg/description-logic/premises106.rdf", 521 "wg/description-logic/premises107.rdf", 522 "wg/description-logic/premises108.rdf", 523 "wg/description-logic/premises109.rdf", 524 "wg/description-logic/premises110.rdf", 525 "wg/description-logic/premises111.rdf", 526 "wg/description-logic/premises201.rdf", 527 "wg/description-logic/premises202.rdf", 528 "wg/description-logic/premises203.rdf", 529 "wg/description-logic/premises204.rdf", 530 "wg/description-logic/premises205.rdf", 531 "wg/description-logic/premises206.rdf", 532 "wg/description-logic/premises207.rdf", 533 "wg/description-logic/premises208.rdf", 534 "wg/description-logic/premises209.rdf", 535 "wg/description-logic/premises661.rdf", 536 "wg/description-logic/premises662.rdf", 537 "wg/description-logic/premises663.rdf", 538 "wg/description-logic/premises664.rdf", 539 "wg/description-logic/premises665.rdf", 540 "wg/description-logic/premises667.rdf", 541 "wg/description-logic/premises901.rdf", 542 "wg/description-logic/premises902.rdf", 543 "wg/description-logic/premises903.rdf", 544 "wg/description-logic/premises904.rdf", 545 "wg/description-logic/premises905.rdf", 546 "wg/differentFrom/conclusions001.rdf", 547 "wg/differentFrom/conclusions002.rdf", 548 "wg/differentFrom/Manifest001.rdf", 549 "wg/differentFrom/Manifest002.rdf", 550 "wg/differentFrom/premises001.rdf", 551 "wg/differentFrom/premises002.rdf", 552 "wg/disjointWith/conclusions001.rdf", 553 "wg/disjointWith/conclusions002.rdf", 554 "wg/disjointWith/consistent003.rdf", 555 "wg/disjointWith/consistent004.rdf", 556 "wg/disjointWith/consistent005.rdf", 557 "wg/disjointWith/consistent006.rdf", 558 "wg/disjointWith/consistent007.rdf", 559 "wg/disjointWith/consistent008.rdf", 560 "wg/disjointWith/consistent009.rdf", 561 "wg/disjointWith/inconsistent010.rdf", 562 "wg/disjointWith/Manifest001.rdf", 563 "wg/disjointWith/Manifest002.rdf", 564 "wg/disjointWith/Manifest003.rdf", 565 "wg/disjointWith/Manifest004.rdf", 566 "wg/disjointWith/Manifest005.rdf", 567 "wg/disjointWith/Manifest006.rdf", 568 "wg/disjointWith/Manifest007.rdf", 569 "wg/disjointWith/Manifest008.rdf", 570 "wg/disjointWith/Manifest009.rdf", 571 "wg/disjointWith/Manifest010.rdf", 572 "wg/disjointWith/premises001.rdf", 573 "wg/disjointWith/premises002.rdf", 574 "wg/distinctMembers/conclusions001.rdf", 575 "wg/distinctMembers/Manifest001.rdf", 576 "wg/distinctMembers/premises001.rdf", "wg/empty.rdf", 577 "wg/equivalentClass/conclusions001.rdf", 578 "wg/equivalentClass/conclusions002.rdf", 579 "wg/equivalentClass/conclusions003.rdf", 580 "wg/equivalentClass/conclusions004.rdf", 581 "wg/equivalentClass/conclusions006.rdf", 582 "wg/equivalentClass/conclusions007.rdf", 583 "wg/equivalentClass/consistent009.rdf", 584 "wg/equivalentClass/Manifest001.rdf", 585 "wg/equivalentClass/Manifest002.rdf", 586 "wg/equivalentClass/Manifest003.rdf", 587 "wg/equivalentClass/Manifest004.rdf", 588 "wg/equivalentClass/Manifest005.rdf", 589 "wg/equivalentClass/Manifest006.rdf", 590 "wg/equivalentClass/Manifest007.rdf", 591 "wg/equivalentClass/Manifest008.rdf", 592 "wg/equivalentClass/Manifest009.rdf", 593 "wg/equivalentClass/nonconclusions005.rdf", 594 "wg/equivalentClass/nonconclusions008.rdf", 595 "wg/equivalentClass/premises001.rdf", 596 "wg/equivalentClass/premises002.rdf", 597 "wg/equivalentClass/premises003.rdf", 598 "wg/equivalentClass/premises004.rdf", 599 "wg/equivalentClass/premises005.rdf", 600 "wg/equivalentClass/premises006.rdf", 601 "wg/equivalentClass/premises007.rdf", 602 "wg/equivalentClass/premises008.rdf", 603 "wg/equivalentProperty/conclusions001.rdf", 604 "wg/equivalentProperty/conclusions002.rdf", 605 "wg/equivalentProperty/conclusions003.rdf", 606 "wg/equivalentProperty/conclusions004.rdf", 607 "wg/equivalentProperty/conclusions005.rdf", 608 "wg/equivalentProperty/conclusions006.rdf", 609 "wg/equivalentProperty/Manifest001.rdf", 610 "wg/equivalentProperty/Manifest002.rdf", 611 "wg/equivalentProperty/Manifest003.rdf", 612 "wg/equivalentProperty/Manifest004.rdf", 613 "wg/equivalentProperty/Manifest005.rdf", 614 "wg/equivalentProperty/Manifest006.rdf", 615 "wg/equivalentProperty/premises001.rdf", 616 "wg/equivalentProperty/premises002.rdf", 617 "wg/equivalentProperty/premises003.rdf", 618 "wg/equivalentProperty/premises004.rdf", 619 "wg/equivalentProperty/premises005.rdf", 620 "wg/equivalentProperty/premises006.rdf", 621 "wg/extra-credit/conclusions002.rdf", 622 "wg/extra-credit/conclusions003.rdf", 623 "wg/extra-credit/conclusions004.rdf", 624 "wg/extra-credit/Manifest002.rdf", 625 "wg/extra-credit/Manifest003.rdf", 626 "wg/extra-credit/Manifest004.rdf", 627 "wg/extra-credit/premises002.rdf", 628 "wg/extra-credit/premises003.rdf", 629 "wg/extra-credit/premises004.rdf", "wg/false.rdf", 630 "wg/FunctionalProperty/conclusions001.rdf", 631 "wg/FunctionalProperty/conclusions002.rdf", 632 "wg/FunctionalProperty/conclusions003.rdf", 633 "wg/FunctionalProperty/conclusions004.rdf", 634 "wg/FunctionalProperty/conclusions005-mod.rdf", 635 "wg/FunctionalProperty/conclusions005.rdf", 636 "wg/FunctionalProperty/Manifest001.rdf", 637 "wg/FunctionalProperty/Manifest002.rdf", 638 "wg/FunctionalProperty/Manifest003.rdf", 639 "wg/FunctionalProperty/Manifest004.rdf", 640 "wg/FunctionalProperty/Manifest005-mod.rdf", 641 "wg/FunctionalProperty/Manifest005.rdf", 642 "wg/FunctionalProperty/nonconclusions004.rdf", 643 "wg/FunctionalProperty/premises001.rdf", 644 "wg/FunctionalProperty/premises002.rdf", 645 "wg/FunctionalProperty/premises003.rdf", 646 "wg/FunctionalProperty/premises004.rdf", 647 "wg/FunctionalProperty/premises005-mod.rdf", 648 "wg/FunctionalProperty/premises005.rdf", "wg/I3.2/bad001.rdf", 649 "wg/I3.2/bad002.rdf", "wg/I3.2/bad003.rdf", 650 "wg/I3.2/Manifest001.rdf", "wg/I3.2/Manifest002.rdf", 651 "wg/I3.2/Manifest003.rdf", "wg/I3.4/bad001.rdf", 652 "wg/I3.4/Manifest001.rdf", "wg/I4.1/bad001.rdf", 653 "wg/I4.1/Manifest001.rdf", "wg/I4.5/conclusions001.rdf", 654 "wg/I4.5/inconsistent002.rdf", "wg/I4.5/Manifest001.rdf", 655 "wg/I4.5/Manifest002.rdf", "wg/I4.5/premises001.rdf", 656 "wg/I4.6/bad006.rdf", "wg/I4.6/bad007.rdf", "wg/I4.6/bad008.rdf", 657 "wg/I4.6/conclusions003.rdf", "wg/I4.6/conclusions004.rdf", 658 "wg/I4.6/Manifest003.rdf", "wg/I4.6/Manifest004.rdf", 659 "wg/I4.6/Manifest005.rdf", "wg/I4.6/Manifest006.rdf", 660 "wg/I4.6/Manifest007.rdf", "wg/I4.6/Manifest008.rdf", 661 "wg/I4.6/nonconclusions004.rdf", "wg/I4.6/nonconclusions005.rdf", 662 "wg/I4.6/premises003.rdf", "wg/I4.6/premises004.rdf", 663 "wg/I4.6/premises005.rdf", "wg/I5.1/conclusions001.rdf", 664 "wg/I5.1/consistent010.rdf", "wg/I5.1/Manifest001.rdf", 665 "wg/I5.1/Manifest010.rdf", "wg/I5.1/premises001.rdf", 666 "wg/I5.2/conclusions002.rdf", "wg/I5.2/conclusions004.rdf", 667 "wg/I5.2/conclusions006.rdf", "wg/I5.2/consistent001.rdf", 668 "wg/I5.2/consistent003.rdf", "wg/I5.2/consistent005.rdf", 669 "wg/I5.2/consistent010.rdf", "wg/I5.2/consistent011.rdf", 670 "wg/I5.2/Manifest001.rdf", "wg/I5.2/Manifest002.rdf", 671 "wg/I5.2/Manifest003.rdf", "wg/I5.2/Manifest004.rdf", 672 "wg/I5.2/Manifest005.rdf", "wg/I5.2/Manifest006.rdf", 673 "wg/I5.2/Manifest010.rdf", "wg/I5.2/Manifest011.rdf", 674 "wg/I5.2/premises002.rdf", "wg/I5.2/premises004.rdf", 675 "wg/I5.2/premises006.rdf", "wg/I5.21/bad001.rdf", 676 "wg/I5.21/conclusions002.rdf", "wg/I5.21/Manifest001.rdf", 677 "wg/I5.21/Manifest002.rdf", "wg/I5.21/premises002.rdf", 678 "wg/I5.24/conclusions001.rdf", "wg/I5.24/conclusions002-mod.rdf", 679 "wg/I5.24/conclusions002.rdf", "wg/I5.24/conclusions003-mod.rdf", 680 "wg/I5.24/conclusions003.rdf", "wg/I5.24/conclusions004.rdf", 681 "wg/I5.24/Manifest001.rdf", "wg/I5.24/Manifest002-mod.rdf", 682 "wg/I5.24/Manifest002.rdf", "wg/I5.24/Manifest003-mod.rdf", 683 "wg/I5.24/Manifest003.rdf", "wg/I5.24/Manifest004-mod.rdf", 684 "wg/I5.24/Manifest004.rdf", "wg/I5.24/premises001.rdf", 685 "wg/I5.24/premises002-mod.rdf", "wg/I5.24/premises002.rdf", 686 "wg/I5.24/premises003-mod.rdf", "wg/I5.24/premises003.rdf", 687 "wg/I5.24/premises004-mod.rdf", "wg/I5.24/premises004.rdf", 688 "wg/I5.26/conclusions009.rdf", "wg/I5.26/conclusions010.rdf", 689 "wg/I5.26/consistent001.rdf", "wg/I5.26/consistent002.rdf", 690 "wg/I5.26/consistent003.rdf", "wg/I5.26/consistent004.rdf", 691 "wg/I5.26/consistent005.rdf", "wg/I5.26/consistent006.rdf", 692 "wg/I5.26/consistent007.rdf", "wg/I5.26/Manifest001.rdf", 693 "wg/I5.26/Manifest002.rdf", "wg/I5.26/Manifest003.rdf", 694 "wg/I5.26/Manifest004.rdf", "wg/I5.26/Manifest005.rdf", 695 "wg/I5.26/Manifest006.rdf", "wg/I5.26/Manifest007.rdf", 696 "wg/I5.26/Manifest009.rdf", "wg/I5.26/Manifest010.rdf", 697 "wg/I5.26/premises009.rdf", "wg/I5.26/premises010.rdf", 698 "wg/I5.3/conclusions014.rdf", "wg/I5.3/conclusions015.rdf", 699 "wg/I5.3/consistent005.rdf", "wg/I5.3/consistent006.rdf", 700 "wg/I5.3/consistent007.rdf", "wg/I5.3/consistent008.rdf", 701 "wg/I5.3/consistent009.rdf", "wg/I5.3/consistent010.rdf", 702 "wg/I5.3/consistent011.rdf", "wg/I5.3/Manifest005.rdf", 703 "wg/I5.3/Manifest006.rdf", "wg/I5.3/Manifest007.rdf", 704 "wg/I5.3/Manifest008.rdf", "wg/I5.3/Manifest009.rdf", 705 "wg/I5.3/Manifest010.rdf", "wg/I5.3/Manifest011.rdf", 706 "wg/I5.3/Manifest014.rdf", "wg/I5.3/Manifest015.rdf", 707 "wg/I5.3/premises014.rdf", "wg/I5.3/premises015.rdf", 708 "wg/I5.5/conclusions001.rdf", "wg/I5.5/conclusions002.rdf", 709 "wg/I5.5/conclusions005.rdf", "wg/I5.5/inconsistent003.rdf", 710 "wg/I5.5/inconsistent004.rdf", "wg/I5.5/Manifest001.rdf", 711 "wg/I5.5/Manifest002.rdf", "wg/I5.5/Manifest003.rdf", 712 "wg/I5.5/Manifest004.rdf", "wg/I5.5/Manifest005.rdf", 713 "wg/I5.5/Manifest006.rdf", "wg/I5.5/Manifest007.rdf", 714 "wg/I5.5/nonconclusions006.rdf", "wg/I5.5/nonconclusions007.rdf", 715 "wg/I5.5/premises001.rdf", "wg/I5.5/premises002.rdf", 716 "wg/I5.5/premises005.rdf", "wg/I5.5/premises006.rdf", 717 "wg/I5.5/premises007.rdf", "wg/I5.8/conclusions004.rdf", 718 "wg/I5.8/conclusions006.rdf", "wg/I5.8/conclusions008.rdf", 719 "wg/I5.8/conclusions009.rdf", "wg/I5.8/conclusions010.rdf", 720 "wg/I5.8/conclusions011.rdf", "wg/I5.8/conclusions017.rdf", 721 "wg/I5.8/consistent002.rdf", "wg/I5.8/consistent012.rdf", 722 "wg/I5.8/consistent013.rdf", "wg/I5.8/consistent014.rdf", 723 "wg/I5.8/consistent015.rdf", "wg/I5.8/consistent016.rdf", 724 "wg/I5.8/inconsistent001.rdf", "wg/I5.8/inconsistent003.rdf", 725 "wg/I5.8/Manifest001.rdf", "wg/I5.8/Manifest002.rdf", 726 "wg/I5.8/Manifest003.rdf", "wg/I5.8/Manifest004.rdf", 727 "wg/I5.8/Manifest005.rdf", "wg/I5.8/Manifest006.rdf", 728 "wg/I5.8/Manifest007.rdf", "wg/I5.8/Manifest008.rdf", 729 "wg/I5.8/Manifest009.rdf", "wg/I5.8/Manifest010.rdf", 730 "wg/I5.8/Manifest011.rdf", "wg/I5.8/Manifest012.rdf", 731 "wg/I5.8/Manifest013.rdf", "wg/I5.8/Manifest014.rdf", 732 "wg/I5.8/Manifest015.rdf", "wg/I5.8/Manifest016.rdf", 733 "wg/I5.8/Manifest017.rdf", "wg/I5.8/nonconclusions005.rdf", 734 "wg/I5.8/nonconclusions007.rdf", "wg/I5.8/premises004.rdf", 735 "wg/I5.8/premises005.rdf", "wg/I5.8/premises006.rdf", 736 "wg/I5.8/premises007.rdf", "wg/I5.8/premises008.rdf", 737 "wg/I5.8/premises009.rdf", "wg/I5.8/premises010.rdf", 738 "wg/I5.8/premises011.rdf", "wg/I5.8/premises017.rdf", 739 "wg/I6.1/consistent001.rdf", "wg/I6.1/Manifest001.rdf", 740 "wg/imports/conclusions001.rdf", "wg/imports/conclusions002.rdf", 741 "wg/imports/conclusions003.rdf", "wg/imports/conclusions010.rdf", 742 "wg/imports/conclusions011.rdf", "wg/imports/consistent012.rdf", 743 "wg/imports/imports004.rdf", "wg/imports/imports005.rdf", 744 "wg/imports/imports006.rdf", "wg/imports/imports007.rdf", 745 "wg/imports/imports008.rdf", "wg/imports/imports013.rdf", 746 "wg/imports/imports014.rdf", "wg/imports/main004.rdf", 747 "wg/imports/main005.rdf", "wg/imports/main006.rdf", 748 "wg/imports/main007.rdf", "wg/imports/main008.rdf", 749 "wg/imports/main013.rdf", "wg/imports/main014.rdf", 750 "wg/imports/Manifest001.rdf", "wg/imports/Manifest002.rdf", 751 "wg/imports/Manifest003.rdf", "wg/imports/Manifest004.rdf", 752 "wg/imports/Manifest005.rdf", "wg/imports/Manifest006.rdf", 753 "wg/imports/Manifest007.rdf", "wg/imports/Manifest008.rdf", 754 "wg/imports/Manifest010.rdf", "wg/imports/Manifest011.rdf", 755 "wg/imports/Manifest012.rdf", "wg/imports/Manifest013.rdf", 756 "wg/imports/Manifest014.rdf", "wg/imports/nonconclusions002.rdf", 757 "wg/imports/premises001.rdf", "wg/imports/premises002.rdf", 758 "wg/imports/premises003.rdf", "wg/imports/premises011.rdf", 759 "wg/imports/support001-A.rdf", "wg/imports/support002-A.rdf", 760 "wg/imports/support003-A.rdf", "wg/imports/support003-B.rdf", 761 "wg/imports/support011-A.rdf", 762 "wg/intersectionOf/conclusions001.rdf", 763 "wg/intersectionOf/Manifest001.rdf", 764 "wg/intersectionOf/premises001.rdf", 765 "wg/InverseFunctionalProperty/conclusions001.rdf", 766 "wg/InverseFunctionalProperty/conclusions002.rdf", 767 "wg/InverseFunctionalProperty/conclusions003.rdf", 768 "wg/InverseFunctionalProperty/conclusions004.rdf", 769 "wg/InverseFunctionalProperty/Manifest001.rdf", 770 "wg/InverseFunctionalProperty/Manifest002.rdf", 771 "wg/InverseFunctionalProperty/Manifest003.rdf", 772 "wg/InverseFunctionalProperty/Manifest004.rdf", 773 "wg/InverseFunctionalProperty/nonconclusions004.rdf", 774 "wg/InverseFunctionalProperty/premises001.rdf", 775 "wg/InverseFunctionalProperty/premises002.rdf", 776 "wg/InverseFunctionalProperty/premises003.rdf", 777 "wg/InverseFunctionalProperty/premises004.rdf", 778 "wg/inverseOf/conclusions001.rdf", "wg/inverseOf/Manifest001.rdf", 779 "wg/inverseOf/premises001.rdf", "wg/localtests/conclusions001.rdf", 780 "wg/localtests/conclusions002.rdf", 781 "wg/localtests/conclusions003.rdf", 782 "wg/localtests/conclusions004.rdf", 783 "wg/localtests/conclusions005.rdf", 784 "wg/localtests/conclusions006.rdf", 785 "wg/localtests/conclusionsRestriction001.rdf", 786 "wg/localtests/conclusionsSubclass001.rdf", 787 "wg/localtests/Manifest001.rdf", "wg/localtests/Manifest002.rdf", 788 "wg/localtests/Manifest003.rdf", "wg/localtests/Manifest004.rdf", 789 "wg/localtests/Manifest005.rdf", "wg/localtests/Manifest006.rdf", 790 "wg/localtests/ManifestRestriction001.rdf", 791 "wg/localtests/ManifestSubclass001.rdf", 792 "wg/localtests/premises001.rdf", "wg/localtests/premises003.rdf", 793 "wg/localtests/premises004.rdf", "wg/localtests/premises005.rdf", 794 "wg/localtests/premises006.rdf", 795 "wg/localtests/premisesRestriction001.rdf", 796 "wg/localtests/premisesSubclass001.rdf", "wg/Manifest-extra.rdf", 797 "wg/Manifest-wrong.rdf", "wg/Manifest.rdf", 798 "wg/maxCardinality/inconsistent001.rdf", 799 "wg/maxCardinality/inconsistent002.rdf", 800 "wg/maxCardinality/Manifest001.rdf", 801 "wg/maxCardinality/Manifest002.rdf", 802 "wg/miscellaneous/conclusions010.rdf", 803 "wg/miscellaneous/conclusions011.rdf", 804 "wg/miscellaneous/consistent001.rdf", 805 "wg/miscellaneous/consistent002.rdf", 806 "wg/miscellaneous/consistent102.rdf", 807 "wg/miscellaneous/consistent103.rdf", 808 "wg/miscellaneous/consistent201.rdf", 809 "wg/miscellaneous/consistent202.rdf", 810 "wg/miscellaneous/consistent205.rdf", 811 "wg/miscellaneous/consistent303.rdf", 812 "wg/miscellaneous/example001.rdf", 813 "wg/miscellaneous/example002.rdf", 814 "wg/miscellaneous/inconsistent203.rdf", 815 "wg/miscellaneous/inconsistent204.rdf", 816 "wg/miscellaneous/Manifest001.rdf", 817 "wg/miscellaneous/Manifest002.rdf", 818 "wg/miscellaneous/Manifest010.rdf", 819 "wg/miscellaneous/Manifest011.rdf", 820 "wg/miscellaneous/Manifest102.rdf", 821 "wg/miscellaneous/Manifest103.rdf", 822 "wg/miscellaneous/Manifest201.rdf", 823 "wg/miscellaneous/Manifest202.rdf", 824 "wg/miscellaneous/Manifest203.rdf", 825 "wg/miscellaneous/Manifest204.rdf", 826 "wg/miscellaneous/Manifest205.rdf", 827 "wg/miscellaneous/Manifest301.rdf", 828 "wg/miscellaneous/Manifest302.rdf", 829 "wg/miscellaneous/Manifest303.rdf", 830 "wg/miscellaneous/nonconclusions301.rdf", 831 "wg/miscellaneous/nonconclusions302.rdf", 832 "wg/miscellaneous/old-consistent001.rdf", 833 "wg/miscellaneous/old-consistent002.rdf", 834 "wg/miscellaneous/premises010.rdf", 835 "wg/miscellaneous/premises011.rdf", 836 "wg/miscellaneous/premises301.rdf", 837 "wg/miscellaneous/premises302.rdf", 838 "wg/Nothing/conclusions002.rdf", "wg/Nothing/inconsistent001.rdf", 839 "wg/Nothing/Manifest001.rdf", "wg/Nothing/Manifest002.rdf", 840 "wg/Nothing/premises002.rdf", "wg/oneOf/conclusions002.rdf", 841 "wg/oneOf/conclusions003.rdf", "wg/oneOf/conclusions004.rdf", 842 "wg/oneOf/consistent001.rdf", "wg/oneOf/Manifest001.rdf", 843 "wg/oneOf/Manifest002.rdf", "wg/oneOf/Manifest003.rdf", 844 "wg/oneOf/Manifest004.rdf", "wg/oneOf/premises002.rdf", 845 "wg/oneOf/premises003.rdf", "wg/oneOf/premises004.rdf", 846 "wg/Ontology/conclusions001.rdf", "wg/Ontology/conclusions004.rdf", 847 "wg/Ontology/Manifest001.rdf", "wg/Ontology/Manifest003.rdf", 848 "wg/Ontology/Manifest004.rdf", "wg/Ontology/nonconclusions003.rdf", 849 "wg/Ontology/premises001.rdf", "wg/Ontology/premises003.rdf", 850 "wg/Ontology/premises004.rdf", "wg/OWLManifest.rdf", 851 "wg/rdf-charmod-literals/error001.rdf", 852 "wg/rdf-charmod-literals/error002.rdf", 853 "wg/rdf-charmod-literals/test001.rdf", 854 "wg/rdf-charmod-uris/error001.rdf", 855 "wg/rdf-charmod-uris/Manifest.rdf", 856 "wg/rdf-charmod-uris/test001.rdf", 857 "wg/rdf-charmod-uris/test002.rdf", 858 "wg/rdf-containers-syntax-vs-schema/error001.rdf", 859 "wg/rdf-containers-syntax-vs-schema/error002.rdf", 860 "wg/rdf-containers-syntax-vs-schema/test001.rdf", 861 "wg/rdf-containers-syntax-vs-schema/test002.rdf", 862 "wg/rdf-containers-syntax-vs-schema/test003.rdf", 863 "wg/rdf-containers-syntax-vs-schema/test004.rdf", 864 865 "wg/rdf-containers-syntax-vs-schema/test005.rdf", 866 867 "wg/rdf-containers-syntax-vs-schema/test006.rdf", 868 "wg/rdf-containers-syntax-vs-schema/test007.rdf", 869 "wg/rdf-containers-syntax-vs-schema/test008.rdf", 870 "wg/rdf-ns-prefix-confusion/error0001.rdf", 871 "wg/rdf-ns-prefix-confusion/error0002.rdf", 872 "wg/rdf-ns-prefix-confusion/error0003.rdf", 873 "wg/rdf-ns-prefix-confusion/error0004.rdf", 874 "wg/rdf-ns-prefix-confusion/error0005.rdf", 875 "wg/rdf-ns-prefix-confusion/error0006.rdf", 876 "wg/rdf-ns-prefix-confusion/error0007.rdf", 877 "wg/rdf-ns-prefix-confusion/error0008.rdf", 878 "wg/rdf-ns-prefix-confusion/error0009.rdf", 879 "wg/rdf-ns-prefix-confusion/test0001.rdf", 880 "wg/rdf-ns-prefix-confusion/test0002.rdf", 881 "wg/rdf-ns-prefix-confusion/test0003.rdf", 882 "wg/rdf-ns-prefix-confusion/test0004.rdf", 883 "wg/rdf-ns-prefix-confusion/test0005.rdf", 884 "wg/rdf-ns-prefix-confusion/test0006.rdf", 885 "wg/rdf-ns-prefix-confusion/test0007.rdf", 886 "wg/rdf-ns-prefix-confusion/test0008.rdf", 887 "wg/rdf-ns-prefix-confusion/test0009.rdf", 888 "wg/rdf-ns-prefix-confusion/test0010.rdf", 889 "wg/rdf-ns-prefix-confusion/test0011.rdf", 890 "wg/rdf-ns-prefix-confusion/test0012.rdf", 891 "wg/rdf-ns-prefix-confusion/test0013.rdf", 892 "wg/rdf-ns-prefix-confusion/test0014.rdf", 893 "wg/rdfms-abouteach/error001.rdf", 894 "wg/rdfms-abouteach/error002.rdf", 895 "wg/rdfms-difference-between-ID-and-about/error1.rdf", 896 "wg/rdfms-difference-between-ID-and-about/test1.rdf", 897 "wg/rdfms-difference-between-ID-and-about/test2.rdf", 898 "wg/rdfms-difference-between-ID-and-about/test3.rdf", 899 "wg/rdfms-duplicate-member-props/test001.rdf", 900 "wg/rdfms-empty-property-elements/error001.rdf", 901 "wg/rdfms-empty-property-elements/error002.rdf", 902 "wg/rdfms-empty-property-elements/error003.rdf", 903 "wg/rdfms-empty-property-elements/test001.rdf", 904 "wg/rdfms-empty-property-elements/test002.rdf", 905 "wg/rdfms-empty-property-elements/test003.rdf", 906 "wg/rdfms-empty-property-elements/test004.rdf", 907 "wg/rdfms-empty-property-elements/test005.rdf", 908 "wg/rdfms-empty-property-elements/test006.rdf", 909 "wg/rdfms-empty-property-elements/test007.rdf", 910 "wg/rdfms-empty-property-elements/test008.rdf", 911 "wg/rdfms-empty-property-elements/test009.rdf", 912 "wg/rdfms-empty-property-elements/test010.rdf", 913 "wg/rdfms-empty-property-elements/test011.rdf", 914 "wg/rdfms-empty-property-elements/test012.rdf", 915 "wg/rdfms-empty-property-elements/test013.rdf", 916 "wg/rdfms-empty-property-elements/test014.rdf", 917 "wg/rdfms-empty-property-elements/test015.rdf", 918 "wg/rdfms-empty-property-elements/test016.rdf", 919 "wg/rdfms-empty-property-elements/test017.rdf", 920 "wg/rdfms-identity-anon-resources/test001.rdf", 921 "wg/rdfms-identity-anon-resources/test002.rdf", 922 "wg/rdfms-identity-anon-resources/test003.rdf", 923 "wg/rdfms-identity-anon-resources/test004.rdf", 924 "wg/rdfms-identity-anon-resources/test005.rdf", 925 "wg/rdfms-literal-is-xml-structure/test001.rdf", 926 "wg/rdfms-literal-is-xml-structure/test002.rdf", 927 "wg/rdfms-literal-is-xml-structure/test003.rdf", 928 "wg/rdfms-literal-is-xml-structure/test004.rdf", 929 "wg/rdfms-literal-is-xml-structure/test005.rdf", 930 "wg/rdfms-nested-bagIDs/test002.rdf", 932 "wg/rdfms-nested-bagIDs/test004.rdf", 934 "wg/rdfms-nested-bagIDs/test005.rdf", 935 "wg/rdfms-nested-bagIDs/test006.rdf", 936 "wg/rdfms-nested-bagIDs/test007.rdf", 937 "wg/rdfms-nested-bagIDs/test008.rdf", 938 "wg/rdfms-nested-bagIDs/test009.rdf", 939 "wg/rdfms-nested-bagIDs/test010.rdf", 940 "wg/rdfms-nested-bagIDs/test011.rdf", 941 "wg/rdfms-nested-bagIDs/test012.rdf", 942 "wg/rdfms-not-id-and-resource-attr/test001.rdf", 943 "wg/rdfms-not-id-and-resource-attr/test002.rdf", 944 "wg/rdfms-not-id-and-resource-attr/test003.rdf", 945 "wg/rdfms-not-id-and-resource-attr/test004.rdf", 946 "wg/rdfms-not-id-and-resource-attr/test005.rdf", 947 "wg/rdfms-para196/test001.rdf", "wg/rdfms-parseType/error001.rdf", 948 "wg/rdfms-parseType/error002.rdf", 949 "wg/rdfms-parseType/error003.rdf", "wg/rdfms-rdf-id/error001.rdf", 950 "wg/rdfms-rdf-id/error002.rdf", "wg/rdfms-rdf-id/error003.rdf", 951 "wg/rdfms-rdf-id/error004.rdf", "wg/rdfms-rdf-id/error005.rdf", 952 "wg/rdfms-rdf-id/error006.rdf", "wg/rdfms-rdf-id/error007.rdf", 953 "wg/rdfms-rdf-names-use/error-001.rdf", 954 "wg/rdfms-rdf-names-use/error-002.rdf", 955 "wg/rdfms-rdf-names-use/error-003.rdf", 956 "wg/rdfms-rdf-names-use/error-004.rdf", 957 "wg/rdfms-rdf-names-use/error-005.rdf", 958 "wg/rdfms-rdf-names-use/error-006.rdf", 959 "wg/rdfms-rdf-names-use/error-007.rdf", 960 "wg/rdfms-rdf-names-use/error-008.rdf", 961 "wg/rdfms-rdf-names-use/error-009.rdf", 962 "wg/rdfms-rdf-names-use/error-010.rdf", 963 "wg/rdfms-rdf-names-use/error-011.rdf", 964 "wg/rdfms-rdf-names-use/error-012.rdf", 965 "wg/rdfms-rdf-names-use/error-013.rdf", 966 "wg/rdfms-rdf-names-use/error-014.rdf", 967 "wg/rdfms-rdf-names-use/error-015.rdf", 968 "wg/rdfms-rdf-names-use/error-016.rdf", 969 "wg/rdfms-rdf-names-use/error-017.rdf", 970 "wg/rdfms-rdf-names-use/error-018.rdf", 971 "wg/rdfms-rdf-names-use/error-019.rdf", 972 "wg/rdfms-rdf-names-use/error-020.rdf", 973 "wg/rdfms-rdf-names-use/test-001.rdf", 974 "wg/rdfms-rdf-names-use/test-002.rdf", 975 "wg/rdfms-rdf-names-use/test-003.rdf", 976 "wg/rdfms-rdf-names-use/test-004.rdf", 977 "wg/rdfms-rdf-names-use/test-005.rdf", 978 "wg/rdfms-rdf-names-use/test-006.rdf", 979 "wg/rdfms-rdf-names-use/test-007.rdf", 980 "wg/rdfms-rdf-names-use/test-008.rdf", 981 "wg/rdfms-rdf-names-use/test-009.rdf", 982 "wg/rdfms-rdf-names-use/test-010.rdf", 983 "wg/rdfms-rdf-names-use/test-011.rdf", 984 "wg/rdfms-rdf-names-use/test-012.rdf", 985 "wg/rdfms-rdf-names-use/test-013.rdf", 986 "wg/rdfms-rdf-names-use/test-014.rdf", 987 "wg/rdfms-rdf-names-use/test-015.rdf", 988 "wg/rdfms-rdf-names-use/test-016.rdf", 989 "wg/rdfms-rdf-names-use/test-017.rdf", 990 "wg/rdfms-rdf-names-use/test-018.rdf", 991 "wg/rdfms-rdf-names-use/test-019.rdf", 992 "wg/rdfms-rdf-names-use/test-020.rdf", 993 "wg/rdfms-rdf-names-use/test-021.rdf", 994 "wg/rdfms-rdf-names-use/test-022.rdf", 995 "wg/rdfms-rdf-names-use/test-023.rdf", 996 "wg/rdfms-rdf-names-use/test-024.rdf", 997 "wg/rdfms-rdf-names-use/test-025.rdf", 998 "wg/rdfms-rdf-names-use/test-026.rdf", 999 "wg/rdfms-rdf-names-use/test-027.rdf", 1000 "wg/rdfms-rdf-names-use/test-028.rdf", 1001 "wg/rdfms-rdf-names-use/test-029.rdf", 1002 "wg/rdfms-rdf-names-use/test-030.rdf", 1003 "wg/rdfms-rdf-names-use/test-031.rdf", 1004 "wg/rdfms-rdf-names-use/test-032.rdf", 1005 "wg/rdfms-rdf-names-use/test-033.rdf", 1006 "wg/rdfms-rdf-names-use/test-034.rdf", 1007 "wg/rdfms-rdf-names-use/test-035.rdf", 1008 "wg/rdfms-rdf-names-use/test-036.rdf", 1009 "wg/rdfms-rdf-names-use/test-037.rdf", 1010 "wg/rdfms-rdf-names-use/warn-001.rdf", 1011 "wg/rdfms-rdf-names-use/warn-002.rdf", 1012 "wg/rdfms-rdf-names-use/warn-003.rdf", 1013 "wg/rdfms-reification-required/test001.rdf", 1014 "wg/rdfms-seq-representation/test001.rdf", 1015 "wg/rdfms-syntax-incomplete/error001.rdf", 1016 "wg/rdfms-syntax-incomplete/error002.rdf", 1017 "wg/rdfms-syntax-incomplete/error003.rdf", 1018 "wg/rdfms-syntax-incomplete/error004.rdf", 1019 "wg/rdfms-syntax-incomplete/error005.rdf", 1020 "wg/rdfms-syntax-incomplete/error006.rdf", 1021 "wg/rdfms-syntax-incomplete/test001.rdf", 1022 "wg/rdfms-syntax-incomplete/test002.rdf", 1023 "wg/rdfms-syntax-incomplete/test003.rdf", 1024 "wg/rdfms-syntax-incomplete/test004.rdf", 1025 "wg/rdfms-uri-substructure/test001.rdf", 1026 "wg/rdfms-xml-literal-namespaces/test001.rdf", 1027 "wg/rdfms-xml-literal-namespaces/test002.rdf", 1028 "wg/rdfms-xmllang/test001.rdf", "wg/rdfms-xmllang/test002.rdf", 1029 "wg/rdfms-xmllang/test003.rdf", "wg/rdfms-xmllang/test004.rdf", 1030 "wg/rdfms-xmllang/test005.rdf", "wg/rdfms-xmllang/test006.rdf", 1031 "wg/rdfs-container-membership-superProperty/not1C.rdf", 1032 "wg/rdfs-container-membership-superProperty/not1P.rdf", 1033 "wg/rdfs-domain-and-range/nonconclusions005.rdf", 1034 "wg/rdfs-domain-and-range/nonconclusions006.rdf", 1035 "wg/rdfs-domain-and-range/premises005.rdf", 1036 "wg/rdfs-domain-and-range/premises006.rdf", 1037 "wg/rdfs-domain-and-range/test001.rdf", 1038 "wg/rdfs-domain-and-range/test002.rdf", 1039 "wg/rdfs-domain-and-range/test003.rdf", 1040 "wg/rdfs-domain-and-range/test004.rdf", 1041 "wg/rdfs-no-cycles-in-subClassOf/test001.rdf", 1042 "wg/rdfs-no-cycles-in-subPropertyOf/test001.rdf", 1043 "wg/Restriction/conclusions006.rdf", 1044 "wg/Restriction/consistent003.rdf", 1045 "wg/Restriction/consistent004.rdf", 1046 "wg/Restriction/inconsistent001.rdf", 1047 "wg/Restriction/inconsistent002.rdf", 1048 "wg/Restriction/Manifest001.rdf", "wg/Restriction/Manifest002.rdf", 1049 "wg/Restriction/Manifest003.rdf", "wg/Restriction/Manifest004.rdf", 1050 "wg/Restriction/Manifest005.rdf", "wg/Restriction/Manifest006.rdf", 1051 "wg/Restriction/nonconclusions005.rdf", 1052 "wg/Restriction/premises005.rdf", "wg/Restriction/premises006.rdf", 1053 "wg/sameAs/conclusions001.rdf", "wg/sameAs/Manifest001.rdf", 1054 "wg/sameAs/premises001.rdf", 1055 "wg/someValuesFrom/conclusions001.rdf", 1056 "wg/someValuesFrom/conclusions003.rdf", 1057 "wg/someValuesFrom/Manifest001.rdf", 1058 "wg/someValuesFrom/Manifest002.rdf", 1059 "wg/someValuesFrom/Manifest003.rdf", 1060 "wg/someValuesFrom/nonconclusions002.rdf", 1061 "wg/someValuesFrom/premises001.rdf", 1062 "wg/someValuesFrom/premises002.rdf", 1063 "wg/someValuesFrom/premises003.rdf", 1064 "wg/SymmetricProperty/conclusions001.rdf", 1065 "wg/SymmetricProperty/conclusions002.rdf", 1066 "wg/SymmetricProperty/conclusions003.rdf", 1067 "wg/SymmetricProperty/Manifest001.rdf", 1068 "wg/SymmetricProperty/Manifest002.rdf", 1069 "wg/SymmetricProperty/Manifest003.rdf", 1070 "wg/SymmetricProperty/premises001.rdf", 1071 "wg/SymmetricProperty/premises002.rdf", 1072 "wg/SymmetricProperty/premises003.rdf", "wg/testOntology.rdf", 1073 "wg/Thing/consistent004.rdf", "wg/Thing/inconsistent003.rdf", 1074 "wg/Thing/inconsistent005.rdf", "wg/Thing/Manifest003.rdf", 1075 "wg/Thing/Manifest004.rdf", "wg/Thing/Manifest005.rdf", 1076 "wg/TransitiveProperty/conclusions001.rdf", 1077 "wg/TransitiveProperty/conclusions002.rdf", 1078 "wg/TransitiveProperty/Manifest001.rdf", 1079 "wg/TransitiveProperty/Manifest002.rdf", 1080 "wg/TransitiveProperty/premises001.rdf", 1081 "wg/TransitiveProperty/premises002.rdf", 1082 "wg/unionOf/conclusions001.rdf", "wg/unionOf/conclusions002.rdf", 1083 "wg/unionOf/conclusions003.rdf", "wg/unionOf/conclusions004.rdf", 1084 "wg/unionOf/Manifest001.rdf", "wg/unionOf/Manifest002.rdf", 1085 "wg/unionOf/Manifest003.rdf", "wg/unionOf/Manifest004.rdf", 1086 "wg/unionOf/premises001.rdf", "wg/unionOf/premises002.rdf", 1087 "wg/unionOf/premises003.rdf", "wg/unionOf/premises004.rdf", 1088 "wg/unrecognised-xml-attributes/test001.rdf", 1089 "wg/unrecognised-xml-attributes/test002.rdf", 1090 "wg/xmlbase/error001.rdf", "wg/xmlbase/test001.rdf", 1091 "wg/xmlbase/test002.rdf", "wg/xmlbase/test003.rdf", 1092 "wg/xmlbase/test004.rdf", "wg/xmlbase/test005.rdf", 1093 "wg/xmlbase/test006.rdf", "wg/xmlbase/test007.rdf", 1094 "wg/xmlbase/test008.rdf", "wg/xmlbase/test009.rdf", 1095 "wg/xmlbase/test010.rdf", "wg/xmlbase/test011.rdf", 1096 "wg/xmlbase/test012.rdf", "wg/xmlbase/test013.rdf", 1097 "wg/xmlbase/test014.rdf", "wg/xmlbase/test015.rdf", 1098 "wg/xmlbase/test016.rdf", 1099 1100 }; 1101 1102 1106 static class RDFEHArray implements RDFErrorHandler { 1107 1108 Vector v = new Vector(); 1109 1110 1115 public void warning(Exception e) { 1116 s("W", e); 1117 } 1118 1119 1124 public void error(Exception e) { 1125 s("E", e); 1126 } 1127 1128 1133 public void fatalError(Exception e) { 1134 s("F", e); 1135 } 1136 1137 private void s(String s, Exception e) { 1138 String msg = s + e.getMessage(); 1139 if (!v.contains(msg)) 1140 v.add(msg); 1141 } 1142 1143 } 1144 1145 static public TestSuite suite() { 1146 TestSuite s = new TestSuite("SAX2RDF"); 1147 s.addTestSuite(PushMePullYouTest.class); 1148 s.addTestSuite(SAX2RDFMoreTests.class); 1149 1150 if (is1_4_1){ 1151 1152 logger.warn("Java version 1.4.1: DOM tests suppressed, believed not to work." ); 1153 logger.warn("See file:doc/ARP/sax.html#dom for more details." ); 1154 logger.warn("This only affects RDF parsing of DOM trees, new in Jena 2.2." ); 1155 } 1156 for (int i = 0; i < all.length; i += 25) { 1158 String nm = all[i]; 1159 if (all[i].startsWith("wg/")) { 1162 1163 addTests(s, "wg/", ARPTests.wgTestDir.toString(), 1164 all[i].substring(3)); 1165 } else if (all[i].startsWith("arp/")) { 1166 addTests(s,"arp/", ARPTests.arpTestDir 1167 .toString(), all[i].substring(4)); 1168 } else { 1169 addTests(s,"", "http://example.org/", all[i]); 1170 1171 } 1172 } 1173 1176 return s; 1177 } 1178 1179 static private void addTests(TestSuite s, String dir, String base, String file){ 1180 1181 1182 TestCase tc = new SAX2RDFTest(dir,base,file); 1183 tc.setName("SAX "+tc.getName()); 1184 s.addTest(tc); 1185 1186 tc = new DOM2RDFTest(dir,base,file); 1187 1188 tc.setName("DOM "+tc.getName()); 1189 if (!is1_4_1) 1190 s.addTest(tc); 1191 1192 1193 } 1194 1195 final String base; 1197 1198 final private String file; 1199 1200 SAX2RDFTest(String dir, String base0, String file) { 1201 super(file); 1202 this.base = base0 + file; 1204 this.file = "testing/" + dir + file; 1205 } 1207 1208 public void runTest() throws Exception { 1209 Model m = ModelFactory.createDefaultModel(); 1211 Model m2 = ModelFactory.createDefaultModel(); 1212 InputStream in = new FileInputStream(file); 1213 RDFEHArray eh = new RDFEHArray(); 1214 RDFReader w = m.getReader(); 1215 w.setErrorHandler(eh); 1216 w.read(m, in, base); 1217 in.close(); 1218 in = new FileInputStream(file); 1219 1220 RDFEHArray eh2 = new RDFEHArray(); 1221 1222 1226 loadXMLModel(m2, in, eh2); 1227 1228 in.close(); 1229 1230 1235 if (eh.v.size() == 0) 1236 assertTrue("Not isomorphic", m.isIsomorphicWith(m2)); 1237 1238 if (eh.v.size() != eh2.v.size()) { 1239 for (int i = 0; i < eh.v.size(); i++) 1240 System.err.println(eh.v.get(i)); 1241 System.err.println("---"); 1242 for (int i = 0; i < eh2.v.size(); i++) 1243 System.err.println(eh2.v.get(i)); 1244 1245 } 1246 1247 assertEquals("Different number of errors", eh.v.size(), eh2.v.size()); 1248 1249 Object a[] = eh.v.toArray(); 1250 Object a2[] = eh2.v.toArray(); 1251 Arrays.sort(a); 1252 Arrays.sort(a2); 1253 1254 for (int i = 0; i < eh.v.size(); i++) { 1255 assertEquals("Error " + i + " different.", a[i], a2[i]); 1256 } 1257 1258 } 1259 1260 void loadXMLModel(Model m2, InputStream in, RDFEHArray eh2) throws MalformedURIException, SAXException, IOException { 1261 XMLReader saxParser = new SAXParser(); 1262 SAX2Model handler = SAX2Model.newInstance(base, m2); 1263 SAX2RDF.installHandlers(saxParser, handler); 1264 handler.setErrorHandler(eh2); 1265 1266 InputSource ins = new InputSource(in); 1267 ins.setSystemId(base); 1268 try { 1269 try { 1270 saxParser.parse(ins); 1271 } finally { 1272 handler.close(); 1273 } 1274 } catch (SAXParseException e) { 1275 } 1277 1278 } 1279 1280} 1281 1282 1307 1308 | Popular Tags |