rdf-rdfxml 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/Rakefile +2 -0
- data/VERSION +1 -1
- data/lib/rdf/rdfxml/writer.rb +12 -2
- data/rdf-rdfxml.gemspec +11 -363
- data/script/yard-to-rubyforge +1 -1
- data/spec/.gitignore +1 -0
- data/spec/rdf_test.rb +90 -0
- data/spec/reader_spec.rb +13 -95
- data/spec/spec_helper.rb +6 -0
- data/spec/writer_spec.rb +34 -13
- metadata +35 -371
- data/spec/rdf_helper.rb +0 -174
- data/spec/rdf_tests/cc197bad-dc9c-440d-a5b5-d52ba2e14234.nt +0 -24
- data/spec/rdf_tests/cc197bad-dc9c-440d-a5b5-d52ba2e14234.rdf +0 -46
- data/spec/rdf_tests/tm_001.nt +0 -1
- data/spec/rdf_tests/tm_001.rdf +0 -7
- data/spec/rdf_tests/xml-literal-mixed.nt +0 -6
- data/spec/rdf_tests/xml-literal-mixed.rdf +0 -15
- data/spec/rdfcore/Manifest.rdf +0 -5395
- data/spec/rdfcore/Manifest.yml +0 -1970
- data/spec/rdfcore/amp-in-url/test001.nt +0 -16
- data/spec/rdfcore/amp-in-url/test001.rdf +0 -40
- data/spec/rdfcore/datatypes-intensional/test001.nt +0 -18
- data/spec/rdfcore/datatypes-intensional/test002.nt +0 -18
- data/spec/rdfcore/datatypes/test001.nt +0 -15
- data/spec/rdfcore/datatypes/test001.rdf +0 -29
- data/spec/rdfcore/datatypes/test002.nt +0 -14
- data/spec/rdfcore/datatypes/test002.rdf +0 -27
- data/spec/rdfcore/datatypes/test002b.nt +0 -17
- data/spec/rdfcore/datatypes/test003a.nt +0 -16
- data/spec/rdfcore/datatypes/test003b.nt +0 -16
- data/spec/rdfcore/datatypes/test005a.nt +0 -16
- data/spec/rdfcore/datatypes/test005b.nt +0 -16
- data/spec/rdfcore/datatypes/test006.nt +0 -17
- data/spec/rdfcore/datatypes/test008a.nt +0 -15
- data/spec/rdfcore/datatypes/test008b.nt +0 -15
- data/spec/rdfcore/datatypes/test009a.nt +0 -15
- data/spec/rdfcore/datatypes/test009b.nt +0 -15
- data/spec/rdfcore/datatypes/test010.nt +0 -17
- data/spec/rdfcore/datatypes/test011a.nt +0 -17
- data/spec/rdfcore/datatypes/test011b.nt +0 -17
- data/spec/rdfcore/horst-01/test001.rdf +0 -38
- data/spec/rdfcore/horst-01/test002.rdf +0 -39
- data/spec/rdfcore/horst-01/test003.rdf +0 -40
- data/spec/rdfcore/horst-01/test004.rdf +0 -42
- data/spec/rdfcore/pfps-10/test001a.nt +0 -14
- data/spec/rdfcore/pfps-10/test001b.nt +0 -15
- data/spec/rdfcore/rdf-charmod-literals/test001.nt +0 -15
- data/spec/rdfcore/rdf-charmod-literals/test001.rdf +0 -34
- data/spec/rdfcore/rdf-charmod-uris/test001.nt +0 -14
- data/spec/rdfcore/rdf-charmod-uris/test001.rdf +0 -34
- data/spec/rdfcore/rdf-charmod-uris/test002.nt +0 -15
- data/spec/rdfcore/rdf-charmod-uris/test002.rdf +0 -33
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/error001.rdf +0 -27
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/error002.rdf +0 -34
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test001.nt +0 -17
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test001.rdf +0 -27
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test002.nt +0 -19
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test002.rdf +0 -37
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test003.nt +0 -18
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test003.rdf +0 -29
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test004.nt +0 -29
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf +0 -33
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test006.nt +0 -40
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test006.rdf +0 -28
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test007.nt +0 -20
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test007.rdf +0 -32
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test008.nt +0 -15
- data/spec/rdfcore/rdf-containers-syntax-vs-schema/test008.rdf +0 -28
- data/spec/rdfcore/rdf-element-not-mandatory/test001.nt +0 -10
- data/spec/rdfcore/rdf-element-not-mandatory/test001.rdf +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0001.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0001.rdf +0 -35
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0003.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0003.rdf +0 -35
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0004.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0004.rdf +0 -34
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0005.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0005.rdf +0 -40
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0006.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0006.rdf +0 -32
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0009.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0009.rdf +0 -32
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0010.nt +0 -14
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0010.rdf +0 -38
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0011.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0011.rdf +0 -40
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0012.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0012.rdf +0 -40
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0013.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0013.rdf +0 -40
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0014.nt +0 -15
- data/spec/rdfcore/rdf-ns-prefix-confusion/test0014.rdf +0 -42
- data/spec/rdfcore/rdfms-abouteach/error001.rdf +0 -35
- data/spec/rdfcore/rdfms-abouteach/error002.rdf +0 -35
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/error1.rdf +0 -25
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test1.nt +0 -14
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf +0 -22
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test2.nt +0 -14
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf +0 -22
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test3.nt +0 -14
- data/spec/rdfcore/rdfms-difference-between-ID-and-about/test3.rdf +0 -22
- data/spec/rdfcore/rdfms-duplicate-member-props/test001.nt +0 -17
- data/spec/rdfcore/rdfms-duplicate-member-props/test001.rdf +0 -30
- data/spec/rdfcore/rdfms-empty-property-elements/error001.rdf +0 -33
- data/spec/rdfcore/rdfms-empty-property-elements/error002.rdf +0 -33
- data/spec/rdfcore/rdfms-empty-property-elements/error003.rdf +0 -39
- data/spec/rdfcore/rdfms-empty-property-elements/test001.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test001.rdf +0 -33
- data/spec/rdfcore/rdfms-empty-property-elements/test002.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test002.rdf +0 -31
- data/spec/rdfcore/rdfms-empty-property-elements/test003.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test003.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test004.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test004.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test005.nt +0 -18
- data/spec/rdfcore/rdfms-empty-property-elements/test005.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test006.nt +0 -18
- data/spec/rdfcore/rdfms-empty-property-elements/test006.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test007.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test007.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test008.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test008.rdf +0 -31
- data/spec/rdfcore/rdfms-empty-property-elements/test009.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test009.rdf +0 -32
- data/spec/rdfcore/rdfms-empty-property-elements/test010.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test010.rdf +0 -31
- data/spec/rdfcore/rdfms-empty-property-elements/test011.nt +0 -18
- data/spec/rdfcore/rdfms-empty-property-elements/test011.rdf +0 -30
- data/spec/rdfcore/rdfms-empty-property-elements/test012.nt +0 -18
- data/spec/rdfcore/rdfms-empty-property-elements/test012.rdf +0 -30
- data/spec/rdfcore/rdfms-empty-property-elements/test013.nt +0 -15
- data/spec/rdfcore/rdfms-empty-property-elements/test013.rdf +0 -35
- data/spec/rdfcore/rdfms-empty-property-elements/test014.nt +0 -15
- data/spec/rdfcore/rdfms-empty-property-elements/test014.rdf +0 -34
- data/spec/rdfcore/rdfms-empty-property-elements/test015.nt +0 -15
- data/spec/rdfcore/rdfms-empty-property-elements/test015.rdf +0 -38
- data/spec/rdfcore/rdfms-empty-property-elements/test016.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test016.rdf +0 -31
- data/spec/rdfcore/rdfms-empty-property-elements/test017.nt +0 -14
- data/spec/rdfcore/rdfms-empty-property-elements/test017.rdf +0 -38
- data/spec/rdfcore/rdfms-identity-anon-resources/test001.nt +0 -14
- data/spec/rdfcore/rdfms-identity-anon-resources/test001.rdf +0 -33
- data/spec/rdfcore/rdfms-identity-anon-resources/test002.nt +0 -15
- data/spec/rdfcore/rdfms-identity-anon-resources/test002.rdf +0 -33
- data/spec/rdfcore/rdfms-identity-anon-resources/test003.nt +0 -14
- data/spec/rdfcore/rdfms-identity-anon-resources/test003.rdf +0 -31
- data/spec/rdfcore/rdfms-identity-anon-resources/test004.nt +0 -15
- data/spec/rdfcore/rdfms-identity-anon-resources/test004.rdf +0 -33
- data/spec/rdfcore/rdfms-identity-anon-resources/test005.nt +0 -14
- data/spec/rdfcore/rdfms-identity-anon-resources/test005.rdf +0 -31
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test001.nt +0 -19
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test001.rdf +0 -29
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test002.nt +0 -15
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test002.rdf +0 -29
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test004.nt +0 -18
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test004.rdf +0 -29
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test005.nt +0 -19
- data/spec/rdfcore/rdfms-not-id-and-resource-attr/test005.rdf +0 -29
- data/spec/rdfcore/rdfms-para196/test001.nt +0 -17
- data/spec/rdfcore/rdfms-para196/test001.rdf +0 -35
- data/spec/rdfcore/rdfms-rdf-id/error001.rdf +0 -26
- data/spec/rdfcore/rdfms-rdf-id/error002.rdf +0 -26
- data/spec/rdfcore/rdfms-rdf-id/error003.rdf +0 -29
- data/spec/rdfcore/rdfms-rdf-id/error004.rdf +0 -27
- data/spec/rdfcore/rdfms-rdf-id/error005.rdf +0 -31
- data/spec/rdfcore/rdfms-rdf-id/error006.rdf +0 -26
- data/spec/rdfcore/rdfms-rdf-id/error007.rdf +0 -29
- data/spec/rdfcore/rdfms-rdf-names-use/error-001.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-002.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-003.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-004.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-005.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-006.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-007.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-008.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-009.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-010.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/error-011.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-012.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-013.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-014.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-015.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-016.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-017.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-018.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-019.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/error-020.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-001.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-001.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-002.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-002.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-003.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-003.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-004.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-004.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-005.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-005.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-006.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-006.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-007.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-007.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-008.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-008.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-009.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-009.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-010.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-010.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-011.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-011.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-012.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-012.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-013.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-013.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-014.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-014.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-015.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-015.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-016.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-016.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/test-017.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-017.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-018.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-018.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-019.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-019.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-020.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-020.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-021.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-021.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-022.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-022.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-023.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-023.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-024.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-024.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-025.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-025.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-026.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-026.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-027.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-027.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-028.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-028.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-029.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-029.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-030.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-030.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-031.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-031.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/test-032.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-032.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-033.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-033.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-034.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-034.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-035.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-035.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-036.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-036.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/test-037.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/test-037.rdf +0 -24
- data/spec/rdfcore/rdfms-rdf-names-use/warn-001.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/warn-001.rdf +0 -23
- data/spec/rdfcore/rdfms-rdf-names-use/warn-002.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/warn-002.rdf +0 -25
- data/spec/rdfcore/rdfms-rdf-names-use/warn-003.nt +0 -1
- data/spec/rdfcore/rdfms-rdf-names-use/warn-003.rdf +0 -24
- data/spec/rdfcore/rdfms-reification-required/test001.nt +0 -15
- data/spec/rdfcore/rdfms-reification-required/test001.rdf +0 -29
- data/spec/rdfcore/rdfms-seq-representation/empty.nt +0 -13
- data/spec/rdfcore/rdfms-seq-representation/test001.nt +0 -19
- data/spec/rdfcore/rdfms-seq-representation/test001.rdf +0 -33
- data/spec/rdfcore/rdfms-seq-representation/test002.nt +0 -14
- data/spec/rdfcore/rdfms-seq-representation/test003a.nt +0 -14
- data/spec/rdfcore/rdfms-seq-representation/test003b.nt +0 -14
- data/spec/rdfcore/rdfms-seq-representation/test004.nt +0 -14
- data/spec/rdfcore/rdfms-syntax-incomplete/error001.rdf +0 -26
- data/spec/rdfcore/rdfms-syntax-incomplete/error002.rdf +0 -26
- data/spec/rdfcore/rdfms-syntax-incomplete/error003.rdf +0 -29
- data/spec/rdfcore/rdfms-syntax-incomplete/error004.rdf +0 -25
- data/spec/rdfcore/rdfms-syntax-incomplete/error005.rdf +0 -25
- data/spec/rdfcore/rdfms-syntax-incomplete/error006.rdf +0 -28
- data/spec/rdfcore/rdfms-syntax-incomplete/test001.nt +0 -14
- data/spec/rdfcore/rdfms-syntax-incomplete/test001.rdf +0 -28
- data/spec/rdfcore/rdfms-syntax-incomplete/test002.nt +0 -19
- data/spec/rdfcore/rdfms-syntax-incomplete/test002.rdf +0 -38
- data/spec/rdfcore/rdfms-syntax-incomplete/test003.nt +0 -17
- data/spec/rdfcore/rdfms-syntax-incomplete/test003.rdf +0 -28
- data/spec/rdfcore/rdfms-syntax-incomplete/test004.nt +0 -21
- data/spec/rdfcore/rdfms-syntax-incomplete/test004.rdf +0 -36
- data/spec/rdfcore/rdfms-uri-substructure/error001.nt +0 -18
- data/spec/rdfcore/rdfms-uri-substructure/test001.nt +0 -17
- data/spec/rdfcore/rdfms-uri-substructure/test001.rdf +0 -29
- data/spec/rdfcore/rdfms-xml-literal-namespaces/test001.nt +0 -13
- data/spec/rdfcore/rdfms-xml-literal-namespaces/test001.rdf +0 -33
- data/spec/rdfcore/rdfms-xml-literal-namespaces/test002.nt +0 -14
- data/spec/rdfcore/rdfms-xml-literal-namespaces/test002.rdf +0 -47
- data/spec/rdfcore/rdfms-xmllang/test001.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test001.rdf +0 -30
- data/spec/rdfcore/rdfms-xmllang/test002.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test002.rdf +0 -29
- data/spec/rdfcore/rdfms-xmllang/test003.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test003.rdf +0 -28
- data/spec/rdfcore/rdfms-xmllang/test004.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test004.rdf +0 -28
- data/spec/rdfcore/rdfms-xmllang/test005.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test005.rdf +0 -28
- data/spec/rdfcore/rdfms-xmllang/test006.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test006.rdf +0 -29
- data/spec/rdfcore/rdfms-xmllang/test007a.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test007b.nt +0 -14
- data/spec/rdfcore/rdfms-xmllang/test007c.nt +0 -14
- data/spec/rdfcore/rdfs-container-membership-superProperty/not1C.rdf +0 -13
- data/spec/rdfcore/rdfs-container-membership-superProperty/not1P.rdf +0 -14
- data/spec/rdfcore/rdfs-domain-and-range/nonconclusions005.rdf +0 -28
- data/spec/rdfcore/rdfs-domain-and-range/nonconclusions006.rdf +0 -28
- data/spec/rdfcore/rdfs-domain-and-range/premises005.rdf +0 -32
- data/spec/rdfcore/rdfs-domain-and-range/premises006.rdf +0 -32
- data/spec/rdfcore/rdfs-domain-and-range/test001.nt +0 -16
- data/spec/rdfcore/rdfs-domain-and-range/test001.rdf +0 -29
- data/spec/rdfcore/rdfs-domain-and-range/test002.nt +0 -16
- data/spec/rdfcore/rdfs-domain-and-range/test002.rdf +0 -29
- data/spec/rdfcore/rdfs-entailment/test001.nt +0 -16
- data/spec/rdfcore/rdfs-entailment/test002.nt +0 -15
- data/spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.nt +0 -18
- data/spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.rdf +0 -37
- data/spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.nt +0 -18
- data/spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.rdf +0 -40
- data/spec/rdfcore/rdfs-subClassOf-a-Property/test001.nt +0 -15
- data/spec/rdfcore/rdfs-subPropertyOf-semantics/test001.nt +0 -24
- data/spec/rdfcore/rdfs-subPropertyOf-semantics/test002.nt +0 -21
- data/spec/rdfcore/statement-entailment/test001a.nt +0 -12
- data/spec/rdfcore/statement-entailment/test001b.nt +0 -2
- data/spec/rdfcore/statement-entailment/test002a.nt +0 -2
- data/spec/rdfcore/statement-entailment/test002b.nt +0 -5
- data/spec/rdfcore/tex-01/test001.rdf +0 -34
- data/spec/rdfcore/tex-01/test002.rdf +0 -33
- data/spec/rdfcore/unrecognised-xml-attributes/test001.nt +0 -15
- data/spec/rdfcore/unrecognised-xml-attributes/test001.rdf +0 -31
- data/spec/rdfcore/unrecognised-xml-attributes/test002.nt +0 -14
- data/spec/rdfcore/unrecognised-xml-attributes/test002.rdf +0 -32
- data/spec/rdfcore/xml-canon/test001.nt +0 -16
- data/spec/rdfcore/xml-canon/test001.rdf +0 -28
- data/spec/rdfcore/xmlbase/test001.nt +0 -14
- data/spec/rdfcore/xmlbase/test001.rdf +0 -27
- data/spec/rdfcore/xmlbase/test002.nt +0 -14
- data/spec/rdfcore/xmlbase/test002.rdf +0 -28
- data/spec/rdfcore/xmlbase/test003.nt +0 -14
- data/spec/rdfcore/xmlbase/test003.rdf +0 -25
- data/spec/rdfcore/xmlbase/test004.nt +0 -18
- data/spec/rdfcore/xmlbase/test004.rdf +0 -27
- data/spec/rdfcore/xmlbase/test006.nt +0 -15
- data/spec/rdfcore/xmlbase/test006.rdf +0 -26
- data/spec/rdfcore/xmlbase/test007.nt +0 -14
- data/spec/rdfcore/xmlbase/test007.rdf +0 -25
- data/spec/rdfcore/xmlbase/test008.nt +0 -14
- data/spec/rdfcore/xmlbase/test008.rdf +0 -25
- data/spec/rdfcore/xmlbase/test009.nt +0 -14
- data/spec/rdfcore/xmlbase/test009.rdf +0 -26
- data/spec/rdfcore/xmlbase/test010.nt +0 -14
- data/spec/rdfcore/xmlbase/test010.rdf +0 -26
- data/spec/rdfcore/xmlbase/test011.nt +0 -14
- data/spec/rdfcore/xmlbase/test011.rdf +0 -27
- data/spec/rdfcore/xmlbase/test013.nt +0 -15
- data/spec/rdfcore/xmlbase/test013.rdf +0 -28
- data/spec/rdfcore/xmlbase/test014.nt +0 -15
- data/spec/rdfcore/xmlbase/test014.rdf +0 -28
- data/spec/rdfcore/xmlsch-02/test001.rdf +0 -34
- data/spec/rdfcore/xmlsch-02/test002.rdf +0 -34
- data/spec/rdfcore/xmlsch-02/test003.rdf +0 -37
data/script/yard-to-rubyforge
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#!/bin/env sh
|
1
|
+
#!/usr/bin/env sh
|
2
2
|
rsync -azv doc/yard/ gkellogg@rubyforge.org:/var/www/gforge-projects/rdf/rdfxml/
|
data/spec/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
/uri-cache/
|
data/spec/rdf_test.rb
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
# Spira class for manipulating test-manifest style test suites.
|
2
|
+
# Used for SWAP tests
|
3
|
+
require 'spira'
|
4
|
+
require 'rdf/n3'
|
5
|
+
require 'open-uri'
|
6
|
+
|
7
|
+
module Fixtures
|
8
|
+
module TestCase
|
9
|
+
class Test < RDF::Vocabulary("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#"); end
|
10
|
+
|
11
|
+
class Entry
|
12
|
+
attr_accessor :debug
|
13
|
+
attr_accessor :compare
|
14
|
+
include Spira::Resource
|
15
|
+
|
16
|
+
property :description, :predicate => Test.description, :type => XSD.string
|
17
|
+
property :status, :predicate => Test.status, :type => XSD.string
|
18
|
+
property :warning, :predicate => Test.warning, :type => XSD.string
|
19
|
+
property :approval, :predicate => Test.approval
|
20
|
+
property :issue, :predicate => Test.issue
|
21
|
+
property :document, :predicate => Test.document
|
22
|
+
property :discussion, :predicate => Test.discussion
|
23
|
+
property :inputDocument, :predicate => Test.inputDocument
|
24
|
+
property :outputDocument, :predicate => Test.outputDocument
|
25
|
+
|
26
|
+
def name
|
27
|
+
subject.to_s.split("#").last
|
28
|
+
end
|
29
|
+
|
30
|
+
def input
|
31
|
+
Kernel.open(self.inputDocument)
|
32
|
+
end
|
33
|
+
|
34
|
+
def output
|
35
|
+
self.outputDocument ? Kernel.open(self.outputDocument) : ""
|
36
|
+
end
|
37
|
+
|
38
|
+
def information; self.description; end
|
39
|
+
|
40
|
+
def inspect
|
41
|
+
"[#{self.class.to_s} " + %w(
|
42
|
+
subject
|
43
|
+
description
|
44
|
+
inputDocument
|
45
|
+
outputDocument
|
46
|
+
).map {|a| v = self.send(a); "#{a}='#{v}'" if v}.compact.join(", ") +
|
47
|
+
"]"
|
48
|
+
end
|
49
|
+
|
50
|
+
# Run test case, yields input for parser to create triples
|
51
|
+
def run_test(options = {})
|
52
|
+
# Run
|
53
|
+
graph = yield
|
54
|
+
|
55
|
+
return unless self.outputDocument
|
56
|
+
|
57
|
+
case self.compare
|
58
|
+
when :none
|
59
|
+
# Don't check output, just parse to graph
|
60
|
+
when :array
|
61
|
+
@parser.graph.should be_equivalent_graph(self.output, self)
|
62
|
+
else
|
63
|
+
#puts "parse #{self.outputDocument} as #{RDF::Reader.for(self.outputDocument)}"
|
64
|
+
format = detect_format(self.output)
|
65
|
+
output_graph = RDF::Graph.load(self.outputDocument, :format => format, :base_uri => self.inputDocument)
|
66
|
+
puts "result: #{CGI.escapeHTML(graph.to_ntriples)}" if ::RDF::N3::debug?
|
67
|
+
graph.should Matchers::be_equivalent_graph(output_graph, self)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
class PositiveParserTest < Entry
|
73
|
+
default_source :entries
|
74
|
+
type Test.PositiveParserTest
|
75
|
+
end
|
76
|
+
|
77
|
+
class NegativeParserTest < Entry
|
78
|
+
default_source :entries
|
79
|
+
type Test.NegativeParserTest
|
80
|
+
end
|
81
|
+
|
82
|
+
class MiscellaneousTest < Entry
|
83
|
+
default_source :entries
|
84
|
+
type Test.MiscellaneousTest
|
85
|
+
end
|
86
|
+
|
87
|
+
repo = RDF::Repository.load("http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf")
|
88
|
+
Spira.add_repository! :entries, repo
|
89
|
+
end
|
90
|
+
end
|
data/spec/reader_spec.rb
CHANGED
@@ -296,108 +296,24 @@ EOF
|
|
296
296
|
end
|
297
297
|
end
|
298
298
|
|
299
|
-
context "parsing rdf files" do
|
300
|
-
def test_file(filepath, uri)
|
301
|
-
rdf_string = File.read(filepath)
|
302
|
-
graph = parse(rdf_string, :base_uri => uri, :validate => true)
|
303
|
-
|
304
|
-
nt_string = File.read(filepath.sub('.rdf', '.nt'))
|
305
|
-
nt_graph = RDF::Graph.new
|
306
|
-
nt_graph.load(filepath.sub('.rdf', '.nt'))
|
307
|
-
|
308
|
-
graph.should be_equivalent_graph(nt_graph, :about => uri, :trace => @debug)
|
309
|
-
end
|
310
|
-
|
311
|
-
before(:all) do
|
312
|
-
@rdf_dir = File.join(File.dirname(__FILE__), 'rdf_tests')
|
313
|
-
end
|
314
|
-
|
315
|
-
it "should parse Coldplay's BBC Music profile" do
|
316
|
-
gid = 'cc197bad-dc9c-440d-a5b5-d52ba2e14234'
|
317
|
-
file = File.join(@rdf_dir, "#{gid}.rdf")
|
318
|
-
test_file(file, "http://www.bbc.co.uk/music/artists/#{gid}")
|
319
|
-
end
|
320
|
-
|
321
|
-
it "should parse xml literal test" do
|
322
|
-
file = File.join(@rdf_dir, "xml-literal-mixed.rdf")
|
323
|
-
begin
|
324
|
-
test_file(file, "http://www.example.com/books#book12345")
|
325
|
-
rescue
|
326
|
-
pending("NTriples support for multi-line quites") { raise }
|
327
|
-
end
|
328
|
-
end
|
329
|
-
end
|
330
|
-
|
331
299
|
# W3C Test suite from http://www.w3.org/2000/10/rdf-tests/rdfcore/
|
332
300
|
describe "w3c rdfcore tests" do
|
333
|
-
require '
|
334
|
-
|
335
|
-
def self.positive_tests
|
336
|
-
RdfHelper::TestCase.positive_parser_tests(RDFCORE_TEST, RDFCORE_DIR)
|
337
|
-
end
|
338
|
-
|
339
|
-
def self.negative_tests
|
340
|
-
RdfHelper::TestCase.negative_parser_tests(RDFCORE_TEST, RDFCORE_DIR) rescue []
|
341
|
-
end
|
301
|
+
require 'rdf_test'
|
342
302
|
|
343
|
-
|
344
|
-
sampledoc = <<-EOF;
|
345
|
-
<?xml version="1.0" ?>
|
346
|
-
<rdf:RDF
|
347
|
-
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
348
|
-
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
349
|
-
xmlns:test="http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#"
|
350
|
-
>
|
351
|
-
<!-- amp-in-url/Manifest.rdf -->
|
352
|
-
<test:PositiveParserTest rdf:about="http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/Manifest.rdf#test001">
|
353
|
-
|
354
|
-
<test:status>APPROVED</test:status>
|
355
|
-
<test:approval rdf:resource="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2001Sep/0326.html" />
|
356
|
-
<!-- <test:discussion rdf:resource="pointer to archived email or other discussion" /> -->
|
357
|
-
<!-- <test:description>
|
358
|
-
-if we have a description, fill it in here -
|
359
|
-
</test:description> -->
|
360
|
-
|
361
|
-
<test:inputDocument>
|
362
|
-
<test:RDF-XML-Document rdf:about="http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/test001.rdf" />
|
363
|
-
</test:inputDocument>
|
364
|
-
|
365
|
-
<test:outputDocument>
|
366
|
-
<test:NT-Document rdf:about="http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/test001.nt" />
|
367
|
-
</test:outputDocument>
|
368
|
-
|
369
|
-
</test:PositiveParserTest>
|
370
|
-
</rdf:RDF>
|
371
|
-
EOF
|
372
|
-
|
373
|
-
triples = <<-EOF
|
374
|
-
<http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/Manifest.rdf#test001> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#PositiveParserTest> .
|
375
|
-
<http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/Manifest.rdf#test001> <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#approval> <http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2001Sep/0326.html> .
|
376
|
-
<http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/Manifest.rdf#test001> <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#inputDocument> <http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/test001.rdf> .
|
377
|
-
<http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/Manifest.rdf#test001> <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#outputDocument> <http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/test001.nt> .
|
378
|
-
<http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/Manifest.rdf#test001> <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#status> "APPROVED" .
|
379
|
-
<http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/test001.nt> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#NT-Document> .
|
380
|
-
<http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/test001.rdf> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#RDF-XML-Document> .
|
381
|
-
EOF
|
382
|
-
uri = "http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/Manifest.rdf#test001"
|
383
|
-
|
384
|
-
graph = parse(sampledoc, :base_uri => uri, :validate => true)
|
385
|
-
graph.should be_equivalent_graph(triples, :about => uri, :trace => @debug)
|
386
|
-
end
|
387
|
-
|
388
|
-
# Negative parser tests should raise errors.
|
303
|
+
# Positive parser tests should raise errors.
|
389
304
|
describe "positive parser tests" do
|
390
|
-
|
305
|
+
Fixtures::TestCase::PositiveParserTest.each do |t|
|
306
|
+
next unless t.status == "APPROVED"
|
391
307
|
#next unless t.about =~ /rdfms-rdf-names-use/
|
392
308
|
#next unless t.name =~ /11/
|
393
309
|
#puts t.inspect
|
394
310
|
specify "#{t.name}: " + (t.description || "#{t.inputDocument} against #{t.outputDocument}") do
|
395
311
|
begin
|
396
|
-
t.run_test do
|
312
|
+
t.run_test do
|
397
313
|
t.debug = []
|
398
314
|
g = RDF::Graph.new
|
399
|
-
@reader.new(
|
400
|
-
:base_uri => t.
|
315
|
+
@reader.new(t.input,
|
316
|
+
:base_uri => t.inputDocument,
|
401
317
|
:validate => false,
|
402
318
|
:debug => t.debug).each do |statement|
|
403
319
|
g << statement
|
@@ -415,17 +331,19 @@ EOF
|
|
415
331
|
end
|
416
332
|
end
|
417
333
|
|
334
|
+
# Negative parser tests should raise errors.
|
418
335
|
describe "negative parser tests" do
|
419
|
-
|
336
|
+
Fixtures::TestCase::NegativeParserTest.each do |t|
|
337
|
+
next unless t.status == "APPROVED"
|
420
338
|
#next unless t.about =~ /rdfms-empty-property-elements/
|
421
339
|
#next unless t.name =~ /1/
|
422
340
|
#puts t.inspect
|
423
341
|
specify "test #{t.name}: " + (t.description || t.inputDocument) do
|
424
|
-
t.run_test do
|
342
|
+
t.run_test do
|
425
343
|
lambda do
|
426
344
|
g = RDF::Graph.new
|
427
|
-
@reader.new(
|
428
|
-
:base_uri => t.
|
345
|
+
@reader.new(t.input,
|
346
|
+
:base_uri => t.inputDocument,
|
429
347
|
:validate => true).each do |statement|
|
430
348
|
g << statement
|
431
349
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -11,9 +11,15 @@ require 'rdf/ntriples'
|
|
11
11
|
require 'rdf/spec'
|
12
12
|
require 'rdf/spec/matchers'
|
13
13
|
require 'rdf/isomorphic'
|
14
|
+
require 'open-uri/cached'
|
14
15
|
|
15
16
|
include Matchers
|
16
17
|
|
18
|
+
# Create and maintain a cache of downloaded URIs
|
19
|
+
URI_CACHE = File.expand_path(File.join(File.dirname(__FILE__), "uri-cache"))
|
20
|
+
Dir.mkdir(URI_CACHE) unless File.directory?(URI_CACHE)
|
21
|
+
OpenURI::Cache.class_eval { @cache_path = URI_CACHE }
|
22
|
+
|
17
23
|
module RDF
|
18
24
|
module Isomorphic
|
19
25
|
alias_method :==, :isomorphic_with?
|
data/spec/writer_spec.rb
CHANGED
@@ -366,7 +366,7 @@ describe "RDF::RDFXML::Writer" do
|
|
366
366
|
@graph = parse(%(
|
367
367
|
<http://example.org/eg#eric> a [ <http://example.org/eg#intersectionOf> (<http://example.org/eg#Person> <http://example.org/eg#Male>)] .
|
368
368
|
), :reader => RDF::N3::Reader)
|
369
|
-
graph_check = parse(serialize
|
369
|
+
graph_check = parse(serialize).should be_equivalent_graph(@graph, :trace => @debug.join("\n"))
|
370
370
|
end
|
371
371
|
|
372
372
|
it "should not generate extraneous BNode" do
|
@@ -382,25 +382,46 @@ describe "RDF::RDFXML::Writer" do
|
|
382
382
|
[ a <http://www.w3.org/2002/07/owl#Class>;
|
383
383
|
<http://www.w3.org/2002/07/owl#intersectionOf> (<a> <b>)] .
|
384
384
|
), :reader => RDF::N3::Reader)
|
385
|
-
graph_check = parse(serialize
|
385
|
+
graph_check = parse(serialize).should be_equivalent_graph(@graph, :trace => @debug.join("\n"))
|
386
386
|
end
|
387
387
|
end
|
388
388
|
|
389
|
+
describe "illegal RDF values" do
|
390
|
+
it "raises error with literal as subject" do
|
391
|
+
@graph << [RDF::Literal.new("literal"), RDF::DC.title, RDF::Literal.new("foo")]
|
392
|
+
lambda { serialize }.should raise_error(RDF::WriterError)
|
393
|
+
end
|
394
|
+
it "raises error with node as predicate" do
|
395
|
+
@graph << [RDF::URI("http://example.com"), RDF::Node.new, RDF::Literal.new("foo")]
|
396
|
+
lambda { serialize }.should raise_error(RDF::WriterError)
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
389
400
|
describe "w3c rdfcore tests" do
|
390
|
-
require '
|
401
|
+
require 'rdf_test'
|
391
402
|
|
392
|
-
|
393
|
-
|
403
|
+
# Positive parser tests should raise errors.
|
404
|
+
describe "positive parser tests" do
|
405
|
+
Fixtures::TestCase::PositiveParserTest.each do |t|
|
406
|
+
next unless t.status == "APPROVED"
|
407
|
+
next if t.subject =~ /rdfms-xml-literal-namespaces|xml-canon/ # Literal serialization adds namespace definitions
|
408
|
+
specify "#{t.name}: " + (t.description || t.outputDocument) do
|
409
|
+
@graph = parse(t.output, :base_uri => t.subject, :format => :ntriples)
|
410
|
+
parse(serialize(:format => :rdfxml, :base_uri => t.subject), :base_uri => t.subject).should be_equivalent_graph(@graph, :trace => @debug.join("\n"))
|
411
|
+
end
|
412
|
+
end
|
394
413
|
end
|
395
414
|
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
415
|
+
# Miscellaneous parser tests should raise errors.
|
416
|
+
describe "positive parser tests" do
|
417
|
+
Fixtures::TestCase::MiscellaneousTest.each do |t|
|
418
|
+
next unless t.status == "APPROVED"
|
419
|
+
specify "#{t.name}: " + (t.description || t.document) do
|
420
|
+
@graph = parse(Kernel.open(t.document), :base_uri => t.subject, :format => :ntriples)
|
421
|
+
lambda do
|
422
|
+
serialize(:format => :rdfxml, :base_uri => t.subject)
|
423
|
+
end.should raise_error(RDF::WriterError)
|
424
|
+
end
|
404
425
|
end
|
405
426
|
end
|
406
427
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rdf-rdfxml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.
|
5
|
+
version: 0.3.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Gregg Kellogg
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-02-
|
13
|
+
date: 2011-02-13 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -36,49 +36,71 @@ dependencies:
|
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
-
name:
|
39
|
+
name: open-uri-cached
|
40
40
|
prerelease: false
|
41
41
|
requirement: &id003 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: "0"
|
47
47
|
type: :development
|
48
48
|
version_requirements: *id003
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
|
-
name:
|
50
|
+
name: spira
|
51
51
|
prerelease: false
|
52
52
|
requirement: &id004 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 0.
|
57
|
+
version: 0.0.12
|
58
58
|
type: :development
|
59
59
|
version_requirements: *id004
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
|
-
name:
|
61
|
+
name: rspec
|
62
62
|
prerelease: false
|
63
63
|
requirement: &id005 !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 2.5.0
|
69
69
|
type: :development
|
70
70
|
version_requirements: *id005
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
|
-
name:
|
72
|
+
name: rdf-spec
|
73
73
|
prerelease: false
|
74
74
|
requirement: &id006 !ruby/object:Gem::Requirement
|
75
75
|
none: false
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0.
|
79
|
+
version: 0.3.1
|
80
80
|
type: :development
|
81
81
|
version_requirements: *id006
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: rdf-isomorphic
|
84
|
+
prerelease: false
|
85
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 0.3.4
|
91
|
+
type: :development
|
92
|
+
version_requirements: *id007
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: yard
|
95
|
+
prerelease: false
|
96
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 0.6.4
|
102
|
+
type: :development
|
103
|
+
version_requirements: *id008
|
82
104
|
description: RDF::RDFXML is an RDF/XML reader and writer for Ruby using the RDF.rb library suite.
|
83
105
|
email: gregg@kellogg-assoc.com
|
84
106
|
executables: []
|
@@ -117,370 +139,12 @@ files:
|
|
117
139
|
- script/parse
|
118
140
|
- script/tc
|
119
141
|
- script/yard-to-rubyforge
|
142
|
+
- spec/.gitignore
|
120
143
|
- spec/format_spec.rb
|
121
144
|
- spec/graph_spec.rb
|
122
145
|
- spec/literal_spec.rb
|
123
146
|
- spec/matchers.rb
|
124
|
-
- spec/
|
125
|
-
- spec/rdf_tests/cc197bad-dc9c-440d-a5b5-d52ba2e14234.nt
|
126
|
-
- spec/rdf_tests/cc197bad-dc9c-440d-a5b5-d52ba2e14234.rdf
|
127
|
-
- spec/rdf_tests/tm_001.nt
|
128
|
-
- spec/rdf_tests/tm_001.rdf
|
129
|
-
- spec/rdf_tests/xml-literal-mixed.nt
|
130
|
-
- spec/rdf_tests/xml-literal-mixed.rdf
|
131
|
-
- spec/rdfcore/Manifest.rdf
|
132
|
-
- spec/rdfcore/Manifest.yml
|
133
|
-
- spec/rdfcore/amp-in-url/test001.nt
|
134
|
-
- spec/rdfcore/amp-in-url/test001.rdf
|
135
|
-
- spec/rdfcore/datatypes-intensional/test001.nt
|
136
|
-
- spec/rdfcore/datatypes-intensional/test002.nt
|
137
|
-
- spec/rdfcore/datatypes/test001.nt
|
138
|
-
- spec/rdfcore/datatypes/test001.rdf
|
139
|
-
- spec/rdfcore/datatypes/test002.nt
|
140
|
-
- spec/rdfcore/datatypes/test002.rdf
|
141
|
-
- spec/rdfcore/datatypes/test002b.nt
|
142
|
-
- spec/rdfcore/datatypes/test003a.nt
|
143
|
-
- spec/rdfcore/datatypes/test003b.nt
|
144
|
-
- spec/rdfcore/datatypes/test005a.nt
|
145
|
-
- spec/rdfcore/datatypes/test005b.nt
|
146
|
-
- spec/rdfcore/datatypes/test006.nt
|
147
|
-
- spec/rdfcore/datatypes/test008a.nt
|
148
|
-
- spec/rdfcore/datatypes/test008b.nt
|
149
|
-
- spec/rdfcore/datatypes/test009a.nt
|
150
|
-
- spec/rdfcore/datatypes/test009b.nt
|
151
|
-
- spec/rdfcore/datatypes/test010.nt
|
152
|
-
- spec/rdfcore/datatypes/test011a.nt
|
153
|
-
- spec/rdfcore/datatypes/test011b.nt
|
154
|
-
- spec/rdfcore/horst-01/test001.rdf
|
155
|
-
- spec/rdfcore/horst-01/test002.rdf
|
156
|
-
- spec/rdfcore/horst-01/test003.rdf
|
157
|
-
- spec/rdfcore/horst-01/test004.rdf
|
158
|
-
- spec/rdfcore/pfps-10/test001a.nt
|
159
|
-
- spec/rdfcore/pfps-10/test001b.nt
|
160
|
-
- spec/rdfcore/rdf-charmod-literals/test001.nt
|
161
|
-
- spec/rdfcore/rdf-charmod-literals/test001.rdf
|
162
|
-
- spec/rdfcore/rdf-charmod-uris/test001.nt
|
163
|
-
- spec/rdfcore/rdf-charmod-uris/test001.rdf
|
164
|
-
- spec/rdfcore/rdf-charmod-uris/test002.nt
|
165
|
-
- spec/rdfcore/rdf-charmod-uris/test002.rdf
|
166
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/error001.rdf
|
167
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/error002.rdf
|
168
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test001.nt
|
169
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test001.rdf
|
170
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test002.nt
|
171
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test002.rdf
|
172
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test003.nt
|
173
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test003.rdf
|
174
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test004.nt
|
175
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf
|
176
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test006.nt
|
177
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test006.rdf
|
178
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test007.nt
|
179
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test007.rdf
|
180
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test008.nt
|
181
|
-
- spec/rdfcore/rdf-containers-syntax-vs-schema/test008.rdf
|
182
|
-
- spec/rdfcore/rdf-element-not-mandatory/test001.nt
|
183
|
-
- spec/rdfcore/rdf-element-not-mandatory/test001.rdf
|
184
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0001.nt
|
185
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0001.rdf
|
186
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0003.nt
|
187
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0003.rdf
|
188
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0004.nt
|
189
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0004.rdf
|
190
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0005.nt
|
191
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0005.rdf
|
192
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0006.nt
|
193
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0006.rdf
|
194
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0009.nt
|
195
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0009.rdf
|
196
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0010.nt
|
197
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0010.rdf
|
198
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0011.nt
|
199
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0011.rdf
|
200
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0012.nt
|
201
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0012.rdf
|
202
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0013.nt
|
203
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0013.rdf
|
204
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0014.nt
|
205
|
-
- spec/rdfcore/rdf-ns-prefix-confusion/test0014.rdf
|
206
|
-
- spec/rdfcore/rdfms-abouteach/error001.rdf
|
207
|
-
- spec/rdfcore/rdfms-abouteach/error002.rdf
|
208
|
-
- spec/rdfcore/rdfms-difference-between-ID-and-about/error1.rdf
|
209
|
-
- spec/rdfcore/rdfms-difference-between-ID-and-about/test1.nt
|
210
|
-
- spec/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf
|
211
|
-
- spec/rdfcore/rdfms-difference-between-ID-and-about/test2.nt
|
212
|
-
- spec/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf
|
213
|
-
- spec/rdfcore/rdfms-difference-between-ID-and-about/test3.nt
|
214
|
-
- spec/rdfcore/rdfms-difference-between-ID-and-about/test3.rdf
|
215
|
-
- spec/rdfcore/rdfms-duplicate-member-props/test001.nt
|
216
|
-
- spec/rdfcore/rdfms-duplicate-member-props/test001.rdf
|
217
|
-
- spec/rdfcore/rdfms-empty-property-elements/error001.rdf
|
218
|
-
- spec/rdfcore/rdfms-empty-property-elements/error002.rdf
|
219
|
-
- spec/rdfcore/rdfms-empty-property-elements/error003.rdf
|
220
|
-
- spec/rdfcore/rdfms-empty-property-elements/test001.nt
|
221
|
-
- spec/rdfcore/rdfms-empty-property-elements/test001.rdf
|
222
|
-
- spec/rdfcore/rdfms-empty-property-elements/test002.nt
|
223
|
-
- spec/rdfcore/rdfms-empty-property-elements/test002.rdf
|
224
|
-
- spec/rdfcore/rdfms-empty-property-elements/test003.nt
|
225
|
-
- spec/rdfcore/rdfms-empty-property-elements/test003.rdf
|
226
|
-
- spec/rdfcore/rdfms-empty-property-elements/test004.nt
|
227
|
-
- spec/rdfcore/rdfms-empty-property-elements/test004.rdf
|
228
|
-
- spec/rdfcore/rdfms-empty-property-elements/test005.nt
|
229
|
-
- spec/rdfcore/rdfms-empty-property-elements/test005.rdf
|
230
|
-
- spec/rdfcore/rdfms-empty-property-elements/test006.nt
|
231
|
-
- spec/rdfcore/rdfms-empty-property-elements/test006.rdf
|
232
|
-
- spec/rdfcore/rdfms-empty-property-elements/test007.nt
|
233
|
-
- spec/rdfcore/rdfms-empty-property-elements/test007.rdf
|
234
|
-
- spec/rdfcore/rdfms-empty-property-elements/test008.nt
|
235
|
-
- spec/rdfcore/rdfms-empty-property-elements/test008.rdf
|
236
|
-
- spec/rdfcore/rdfms-empty-property-elements/test009.nt
|
237
|
-
- spec/rdfcore/rdfms-empty-property-elements/test009.rdf
|
238
|
-
- spec/rdfcore/rdfms-empty-property-elements/test010.nt
|
239
|
-
- spec/rdfcore/rdfms-empty-property-elements/test010.rdf
|
240
|
-
- spec/rdfcore/rdfms-empty-property-elements/test011.nt
|
241
|
-
- spec/rdfcore/rdfms-empty-property-elements/test011.rdf
|
242
|
-
- spec/rdfcore/rdfms-empty-property-elements/test012.nt
|
243
|
-
- spec/rdfcore/rdfms-empty-property-elements/test012.rdf
|
244
|
-
- spec/rdfcore/rdfms-empty-property-elements/test013.nt
|
245
|
-
- spec/rdfcore/rdfms-empty-property-elements/test013.rdf
|
246
|
-
- spec/rdfcore/rdfms-empty-property-elements/test014.nt
|
247
|
-
- spec/rdfcore/rdfms-empty-property-elements/test014.rdf
|
248
|
-
- spec/rdfcore/rdfms-empty-property-elements/test015.nt
|
249
|
-
- spec/rdfcore/rdfms-empty-property-elements/test015.rdf
|
250
|
-
- spec/rdfcore/rdfms-empty-property-elements/test016.nt
|
251
|
-
- spec/rdfcore/rdfms-empty-property-elements/test016.rdf
|
252
|
-
- spec/rdfcore/rdfms-empty-property-elements/test017.nt
|
253
|
-
- spec/rdfcore/rdfms-empty-property-elements/test017.rdf
|
254
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test001.nt
|
255
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test001.rdf
|
256
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test002.nt
|
257
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test002.rdf
|
258
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test003.nt
|
259
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test003.rdf
|
260
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test004.nt
|
261
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test004.rdf
|
262
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test005.nt
|
263
|
-
- spec/rdfcore/rdfms-identity-anon-resources/test005.rdf
|
264
|
-
- spec/rdfcore/rdfms-not-id-and-resource-attr/test001.nt
|
265
|
-
- spec/rdfcore/rdfms-not-id-and-resource-attr/test001.rdf
|
266
|
-
- spec/rdfcore/rdfms-not-id-and-resource-attr/test002.nt
|
267
|
-
- spec/rdfcore/rdfms-not-id-and-resource-attr/test002.rdf
|
268
|
-
- spec/rdfcore/rdfms-not-id-and-resource-attr/test004.nt
|
269
|
-
- spec/rdfcore/rdfms-not-id-and-resource-attr/test004.rdf
|
270
|
-
- spec/rdfcore/rdfms-not-id-and-resource-attr/test005.nt
|
271
|
-
- spec/rdfcore/rdfms-not-id-and-resource-attr/test005.rdf
|
272
|
-
- spec/rdfcore/rdfms-para196/test001.nt
|
273
|
-
- spec/rdfcore/rdfms-para196/test001.rdf
|
274
|
-
- spec/rdfcore/rdfms-rdf-id/error001.rdf
|
275
|
-
- spec/rdfcore/rdfms-rdf-id/error002.rdf
|
276
|
-
- spec/rdfcore/rdfms-rdf-id/error003.rdf
|
277
|
-
- spec/rdfcore/rdfms-rdf-id/error004.rdf
|
278
|
-
- spec/rdfcore/rdfms-rdf-id/error005.rdf
|
279
|
-
- spec/rdfcore/rdfms-rdf-id/error006.rdf
|
280
|
-
- spec/rdfcore/rdfms-rdf-id/error007.rdf
|
281
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-001.rdf
|
282
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-002.rdf
|
283
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-003.rdf
|
284
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-004.rdf
|
285
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-005.rdf
|
286
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-006.rdf
|
287
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-007.rdf
|
288
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-008.rdf
|
289
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-009.rdf
|
290
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-010.rdf
|
291
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-011.rdf
|
292
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-012.rdf
|
293
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-013.rdf
|
294
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-014.rdf
|
295
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-015.rdf
|
296
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-016.rdf
|
297
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-017.rdf
|
298
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-018.rdf
|
299
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-019.rdf
|
300
|
-
- spec/rdfcore/rdfms-rdf-names-use/error-020.rdf
|
301
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-001.nt
|
302
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-001.rdf
|
303
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-002.nt
|
304
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-002.rdf
|
305
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-003.nt
|
306
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-003.rdf
|
307
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-004.nt
|
308
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-004.rdf
|
309
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-005.nt
|
310
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-005.rdf
|
311
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-006.nt
|
312
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-006.rdf
|
313
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-007.nt
|
314
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-007.rdf
|
315
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-008.nt
|
316
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-008.rdf
|
317
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-009.nt
|
318
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-009.rdf
|
319
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-010.nt
|
320
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-010.rdf
|
321
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-011.nt
|
322
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-011.rdf
|
323
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-012.nt
|
324
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-012.rdf
|
325
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-013.nt
|
326
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-013.rdf
|
327
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-014.nt
|
328
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-014.rdf
|
329
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-015.nt
|
330
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-015.rdf
|
331
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-016.nt
|
332
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-016.rdf
|
333
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-017.nt
|
334
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-017.rdf
|
335
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-018.nt
|
336
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-018.rdf
|
337
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-019.nt
|
338
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-019.rdf
|
339
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-020.nt
|
340
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-020.rdf
|
341
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-021.nt
|
342
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-021.rdf
|
343
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-022.nt
|
344
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-022.rdf
|
345
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-023.nt
|
346
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-023.rdf
|
347
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-024.nt
|
348
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-024.rdf
|
349
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-025.nt
|
350
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-025.rdf
|
351
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-026.nt
|
352
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-026.rdf
|
353
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-027.nt
|
354
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-027.rdf
|
355
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-028.nt
|
356
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-028.rdf
|
357
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-029.nt
|
358
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-029.rdf
|
359
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-030.nt
|
360
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-030.rdf
|
361
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-031.nt
|
362
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-031.rdf
|
363
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-032.nt
|
364
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-032.rdf
|
365
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-033.nt
|
366
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-033.rdf
|
367
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-034.nt
|
368
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-034.rdf
|
369
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-035.nt
|
370
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-035.rdf
|
371
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-036.nt
|
372
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-036.rdf
|
373
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-037.nt
|
374
|
-
- spec/rdfcore/rdfms-rdf-names-use/test-037.rdf
|
375
|
-
- spec/rdfcore/rdfms-rdf-names-use/warn-001.nt
|
376
|
-
- spec/rdfcore/rdfms-rdf-names-use/warn-001.rdf
|
377
|
-
- spec/rdfcore/rdfms-rdf-names-use/warn-002.nt
|
378
|
-
- spec/rdfcore/rdfms-rdf-names-use/warn-002.rdf
|
379
|
-
- spec/rdfcore/rdfms-rdf-names-use/warn-003.nt
|
380
|
-
- spec/rdfcore/rdfms-rdf-names-use/warn-003.rdf
|
381
|
-
- spec/rdfcore/rdfms-reification-required/test001.nt
|
382
|
-
- spec/rdfcore/rdfms-reification-required/test001.rdf
|
383
|
-
- spec/rdfcore/rdfms-seq-representation/empty.nt
|
384
|
-
- spec/rdfcore/rdfms-seq-representation/test001.nt
|
385
|
-
- spec/rdfcore/rdfms-seq-representation/test001.rdf
|
386
|
-
- spec/rdfcore/rdfms-seq-representation/test002.nt
|
387
|
-
- spec/rdfcore/rdfms-seq-representation/test003a.nt
|
388
|
-
- spec/rdfcore/rdfms-seq-representation/test003b.nt
|
389
|
-
- spec/rdfcore/rdfms-seq-representation/test004.nt
|
390
|
-
- spec/rdfcore/rdfms-syntax-incomplete/error001.rdf
|
391
|
-
- spec/rdfcore/rdfms-syntax-incomplete/error002.rdf
|
392
|
-
- spec/rdfcore/rdfms-syntax-incomplete/error003.rdf
|
393
|
-
- spec/rdfcore/rdfms-syntax-incomplete/error004.rdf
|
394
|
-
- spec/rdfcore/rdfms-syntax-incomplete/error005.rdf
|
395
|
-
- spec/rdfcore/rdfms-syntax-incomplete/error006.rdf
|
396
|
-
- spec/rdfcore/rdfms-syntax-incomplete/test001.nt
|
397
|
-
- spec/rdfcore/rdfms-syntax-incomplete/test001.rdf
|
398
|
-
- spec/rdfcore/rdfms-syntax-incomplete/test002.nt
|
399
|
-
- spec/rdfcore/rdfms-syntax-incomplete/test002.rdf
|
400
|
-
- spec/rdfcore/rdfms-syntax-incomplete/test003.nt
|
401
|
-
- spec/rdfcore/rdfms-syntax-incomplete/test003.rdf
|
402
|
-
- spec/rdfcore/rdfms-syntax-incomplete/test004.nt
|
403
|
-
- spec/rdfcore/rdfms-syntax-incomplete/test004.rdf
|
404
|
-
- spec/rdfcore/rdfms-uri-substructure/error001.nt
|
405
|
-
- spec/rdfcore/rdfms-uri-substructure/test001.nt
|
406
|
-
- spec/rdfcore/rdfms-uri-substructure/test001.rdf
|
407
|
-
- spec/rdfcore/rdfms-xml-literal-namespaces/test001.nt
|
408
|
-
- spec/rdfcore/rdfms-xml-literal-namespaces/test001.rdf
|
409
|
-
- spec/rdfcore/rdfms-xml-literal-namespaces/test002.nt
|
410
|
-
- spec/rdfcore/rdfms-xml-literal-namespaces/test002.rdf
|
411
|
-
- spec/rdfcore/rdfms-xmllang/test001.nt
|
412
|
-
- spec/rdfcore/rdfms-xmllang/test001.rdf
|
413
|
-
- spec/rdfcore/rdfms-xmllang/test002.nt
|
414
|
-
- spec/rdfcore/rdfms-xmllang/test002.rdf
|
415
|
-
- spec/rdfcore/rdfms-xmllang/test003.nt
|
416
|
-
- spec/rdfcore/rdfms-xmllang/test003.rdf
|
417
|
-
- spec/rdfcore/rdfms-xmllang/test004.nt
|
418
|
-
- spec/rdfcore/rdfms-xmllang/test004.rdf
|
419
|
-
- spec/rdfcore/rdfms-xmllang/test005.nt
|
420
|
-
- spec/rdfcore/rdfms-xmllang/test005.rdf
|
421
|
-
- spec/rdfcore/rdfms-xmllang/test006.nt
|
422
|
-
- spec/rdfcore/rdfms-xmllang/test006.rdf
|
423
|
-
- spec/rdfcore/rdfms-xmllang/test007a.nt
|
424
|
-
- spec/rdfcore/rdfms-xmllang/test007b.nt
|
425
|
-
- spec/rdfcore/rdfms-xmllang/test007c.nt
|
426
|
-
- spec/rdfcore/rdfs-container-membership-superProperty/not1C.rdf
|
427
|
-
- spec/rdfcore/rdfs-container-membership-superProperty/not1P.rdf
|
428
|
-
- spec/rdfcore/rdfs-domain-and-range/nonconclusions005.rdf
|
429
|
-
- spec/rdfcore/rdfs-domain-and-range/nonconclusions006.rdf
|
430
|
-
- spec/rdfcore/rdfs-domain-and-range/premises005.rdf
|
431
|
-
- spec/rdfcore/rdfs-domain-and-range/premises006.rdf
|
432
|
-
- spec/rdfcore/rdfs-domain-and-range/test001.nt
|
433
|
-
- spec/rdfcore/rdfs-domain-and-range/test001.rdf
|
434
|
-
- spec/rdfcore/rdfs-domain-and-range/test002.nt
|
435
|
-
- spec/rdfcore/rdfs-domain-and-range/test002.rdf
|
436
|
-
- spec/rdfcore/rdfs-entailment/test001.nt
|
437
|
-
- spec/rdfcore/rdfs-entailment/test002.nt
|
438
|
-
- spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.nt
|
439
|
-
- spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.rdf
|
440
|
-
- spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.nt
|
441
|
-
- spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.rdf
|
442
|
-
- spec/rdfcore/rdfs-subClassOf-a-Property/test001.nt
|
443
|
-
- spec/rdfcore/rdfs-subPropertyOf-semantics/test001.nt
|
444
|
-
- spec/rdfcore/rdfs-subPropertyOf-semantics/test002.nt
|
445
|
-
- spec/rdfcore/statement-entailment/test001a.nt
|
446
|
-
- spec/rdfcore/statement-entailment/test001b.nt
|
447
|
-
- spec/rdfcore/statement-entailment/test002a.nt
|
448
|
-
- spec/rdfcore/statement-entailment/test002b.nt
|
449
|
-
- spec/rdfcore/tex-01/test001.rdf
|
450
|
-
- spec/rdfcore/tex-01/test002.rdf
|
451
|
-
- spec/rdfcore/unrecognised-xml-attributes/test001.nt
|
452
|
-
- spec/rdfcore/unrecognised-xml-attributes/test001.rdf
|
453
|
-
- spec/rdfcore/unrecognised-xml-attributes/test002.nt
|
454
|
-
- spec/rdfcore/unrecognised-xml-attributes/test002.rdf
|
455
|
-
- spec/rdfcore/xml-canon/test001.nt
|
456
|
-
- spec/rdfcore/xml-canon/test001.rdf
|
457
|
-
- spec/rdfcore/xmlbase/test001.nt
|
458
|
-
- spec/rdfcore/xmlbase/test001.rdf
|
459
|
-
- spec/rdfcore/xmlbase/test002.nt
|
460
|
-
- spec/rdfcore/xmlbase/test002.rdf
|
461
|
-
- spec/rdfcore/xmlbase/test003.nt
|
462
|
-
- spec/rdfcore/xmlbase/test003.rdf
|
463
|
-
- spec/rdfcore/xmlbase/test004.nt
|
464
|
-
- spec/rdfcore/xmlbase/test004.rdf
|
465
|
-
- spec/rdfcore/xmlbase/test006.nt
|
466
|
-
- spec/rdfcore/xmlbase/test006.rdf
|
467
|
-
- spec/rdfcore/xmlbase/test007.nt
|
468
|
-
- spec/rdfcore/xmlbase/test007.rdf
|
469
|
-
- spec/rdfcore/xmlbase/test008.nt
|
470
|
-
- spec/rdfcore/xmlbase/test008.rdf
|
471
|
-
- spec/rdfcore/xmlbase/test009.nt
|
472
|
-
- spec/rdfcore/xmlbase/test009.rdf
|
473
|
-
- spec/rdfcore/xmlbase/test010.nt
|
474
|
-
- spec/rdfcore/xmlbase/test010.rdf
|
475
|
-
- spec/rdfcore/xmlbase/test011.nt
|
476
|
-
- spec/rdfcore/xmlbase/test011.rdf
|
477
|
-
- spec/rdfcore/xmlbase/test013.nt
|
478
|
-
- spec/rdfcore/xmlbase/test013.rdf
|
479
|
-
- spec/rdfcore/xmlbase/test014.nt
|
480
|
-
- spec/rdfcore/xmlbase/test014.rdf
|
481
|
-
- spec/rdfcore/xmlsch-02/test001.rdf
|
482
|
-
- spec/rdfcore/xmlsch-02/test002.rdf
|
483
|
-
- spec/rdfcore/xmlsch-02/test003.rdf
|
147
|
+
- spec/rdf_test.rb
|
484
148
|
- spec/reader_spec.rb
|
485
149
|
- spec/spec.opts
|
486
150
|
- spec/spec_helper.rb
|
@@ -518,7 +182,7 @@ test_files:
|
|
518
182
|
- spec/graph_spec.rb
|
519
183
|
- spec/literal_spec.rb
|
520
184
|
- spec/matchers.rb
|
521
|
-
- spec/
|
185
|
+
- spec/rdf_test.rb
|
522
186
|
- spec/reader_spec.rb
|
523
187
|
- spec/spec_helper.rb
|
524
188
|
- spec/writer_spec.rb
|