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/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -13,6 +13,8 @@ begin
|
|
13
13
|
gemspec.authors = ["Gregg Kellogg"]
|
14
14
|
gemspec.add_dependency('rdf', '>= 0.3.1')
|
15
15
|
gemspec.add_dependency('nokogiri', '>= 1.4.4')
|
16
|
+
gemspec.add_development_dependency('open-uri-cached')
|
17
|
+
gemspec.add_development_dependency('spira', '>= 0.0.12')
|
16
18
|
gemspec.add_development_dependency('rspec', '>= 2.5.0')
|
17
19
|
gemspec.add_development_dependency('rdf-spec', '>= 0.3.1')
|
18
20
|
gemspec.add_development_dependency('rdf-isomorphic', '>= 0.3.4')
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/lib/rdf/rdfxml/writer.rb
CHANGED
@@ -115,7 +115,6 @@ module RDF::RDFXML
|
|
115
115
|
# @param [RDF::URI] predicate
|
116
116
|
# @param [RDF::Value] object
|
117
117
|
# @return [void]
|
118
|
-
# @raise [NotImplementedError] unless implemented in subclass
|
119
118
|
# @abstract
|
120
119
|
def write_triple(subject, predicate, object)
|
121
120
|
@graph.insert(Statement.new(subject, predicate, object))
|
@@ -125,6 +124,7 @@ module RDF::RDFXML
|
|
125
124
|
# Outputs the RDF/XML representation of all stored triples.
|
126
125
|
#
|
127
126
|
# @return [void]
|
127
|
+
# @raise [RDF::WriterError] when attempting to write non-conformant graph
|
128
128
|
# @see #write_triple
|
129
129
|
def write_epilogue
|
130
130
|
@force_RDF_about = {}
|
@@ -133,7 +133,7 @@ module RDF::RDFXML
|
|
133
133
|
@lang = @options[:lang]
|
134
134
|
@attributes = @options[:attributes] || :none
|
135
135
|
@debug = @options[:debug]
|
136
|
-
raise "Invalid attribute option '#{@attributes}', should be one of #{VALID_ATTRIBUTES.to_sentence}" unless VALID_ATTRIBUTES.include?(@attributes.to_sym)
|
136
|
+
raise RDF::WriterError, "Invalid attribute option '#{@attributes}', should be one of #{VALID_ATTRIBUTES.to_sentence}" unless VALID_ATTRIBUTES.include?(@attributes.to_sym)
|
137
137
|
self.reset
|
138
138
|
|
139
139
|
doc = Nokogiri::XML::Document.new
|
@@ -295,11 +295,17 @@ module RDF::RDFXML
|
|
295
295
|
def subject(subject, parent_node)
|
296
296
|
node = nil
|
297
297
|
|
298
|
+
raise RDF::WriterError, "Illegal use of subject #{subject.inspect}, not supported in RDF/XML" unless subject.resource?
|
299
|
+
|
298
300
|
if !is_done?(subject)
|
299
301
|
subject_done(subject)
|
300
302
|
properties = @graph.properties(subject)
|
301
303
|
add_debug "subject: #{subject.inspect}, props: #{properties.inspect}"
|
302
304
|
|
305
|
+
@graph.query(:subject => subject).each do |st|
|
306
|
+
raise RDF::WriterError, "Illegal use of predicate #{st.predicate.inspect}, not supported in RDF/XML" unless st.predicate.uri?
|
307
|
+
end
|
308
|
+
|
303
309
|
rdf_type, *rest = properties.fetch(RDF.type.to_s, [])
|
304
310
|
qname = get_qname_string(rdf_type, :with_default => true)
|
305
311
|
add_debug "subject: #{subject.inspect}, qname: #{qname.inspect}"
|
@@ -335,6 +341,8 @@ module RDF::RDFXML
|
|
335
341
|
prop_ref = RDF::URI.intern(prop)
|
336
342
|
|
337
343
|
properties[prop].each do |object|
|
344
|
+
raise RDF::WriterError, "Illegal use of object #{object.inspect}, not supported in RDF/XML" unless object.resource? || object.literal?
|
345
|
+
|
338
346
|
@depth += 1
|
339
347
|
predicate(prop_ref, object, node, properties[prop].length == 1)
|
340
348
|
@depth -= 1
|
@@ -495,6 +503,8 @@ module RDF::RDFXML
|
|
495
503
|
[{"rdf:nodeID" => object.id}]
|
496
504
|
when RDF::URI
|
497
505
|
[{"rdf:resource" => object.to_s}]
|
506
|
+
else
|
507
|
+
raise RDF::WriterError, "Attempt to serialize #{object.inspect}, not supported in RDF/XML"
|
498
508
|
end
|
499
509
|
end
|
500
510
|
|
data/rdf-rdfxml.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rdf-rdfxml}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gregg Kellogg"]
|
12
|
-
s.date = %q{2011-02-
|
12
|
+
s.date = %q{2011-02-13}
|
13
13
|
s.description = %q{RDF::RDFXML is an RDF/XML reader and writer for Ruby using the RDF.rb library suite.}
|
14
14
|
s.email = %q{gregg@kellogg-assoc.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -45,370 +45,12 @@ Gem::Specification.new do |s|
|
|
45
45
|
"script/parse",
|
46
46
|
"script/tc",
|
47
47
|
"script/yard-to-rubyforge",
|
48
|
+
"spec/.gitignore",
|
48
49
|
"spec/format_spec.rb",
|
49
50
|
"spec/graph_spec.rb",
|
50
51
|
"spec/literal_spec.rb",
|
51
52
|
"spec/matchers.rb",
|
52
|
-
"spec/
|
53
|
-
"spec/rdf_tests/cc197bad-dc9c-440d-a5b5-d52ba2e14234.nt",
|
54
|
-
"spec/rdf_tests/cc197bad-dc9c-440d-a5b5-d52ba2e14234.rdf",
|
55
|
-
"spec/rdf_tests/tm_001.nt",
|
56
|
-
"spec/rdf_tests/tm_001.rdf",
|
57
|
-
"spec/rdf_tests/xml-literal-mixed.nt",
|
58
|
-
"spec/rdf_tests/xml-literal-mixed.rdf",
|
59
|
-
"spec/rdfcore/Manifest.rdf",
|
60
|
-
"spec/rdfcore/Manifest.yml",
|
61
|
-
"spec/rdfcore/amp-in-url/test001.nt",
|
62
|
-
"spec/rdfcore/amp-in-url/test001.rdf",
|
63
|
-
"spec/rdfcore/datatypes-intensional/test001.nt",
|
64
|
-
"spec/rdfcore/datatypes-intensional/test002.nt",
|
65
|
-
"spec/rdfcore/datatypes/test001.nt",
|
66
|
-
"spec/rdfcore/datatypes/test001.rdf",
|
67
|
-
"spec/rdfcore/datatypes/test002.nt",
|
68
|
-
"spec/rdfcore/datatypes/test002.rdf",
|
69
|
-
"spec/rdfcore/datatypes/test002b.nt",
|
70
|
-
"spec/rdfcore/datatypes/test003a.nt",
|
71
|
-
"spec/rdfcore/datatypes/test003b.nt",
|
72
|
-
"spec/rdfcore/datatypes/test005a.nt",
|
73
|
-
"spec/rdfcore/datatypes/test005b.nt",
|
74
|
-
"spec/rdfcore/datatypes/test006.nt",
|
75
|
-
"spec/rdfcore/datatypes/test008a.nt",
|
76
|
-
"spec/rdfcore/datatypes/test008b.nt",
|
77
|
-
"spec/rdfcore/datatypes/test009a.nt",
|
78
|
-
"spec/rdfcore/datatypes/test009b.nt",
|
79
|
-
"spec/rdfcore/datatypes/test010.nt",
|
80
|
-
"spec/rdfcore/datatypes/test011a.nt",
|
81
|
-
"spec/rdfcore/datatypes/test011b.nt",
|
82
|
-
"spec/rdfcore/horst-01/test001.rdf",
|
83
|
-
"spec/rdfcore/horst-01/test002.rdf",
|
84
|
-
"spec/rdfcore/horst-01/test003.rdf",
|
85
|
-
"spec/rdfcore/horst-01/test004.rdf",
|
86
|
-
"spec/rdfcore/pfps-10/test001a.nt",
|
87
|
-
"spec/rdfcore/pfps-10/test001b.nt",
|
88
|
-
"spec/rdfcore/rdf-charmod-literals/test001.nt",
|
89
|
-
"spec/rdfcore/rdf-charmod-literals/test001.rdf",
|
90
|
-
"spec/rdfcore/rdf-charmod-uris/test001.nt",
|
91
|
-
"spec/rdfcore/rdf-charmod-uris/test001.rdf",
|
92
|
-
"spec/rdfcore/rdf-charmod-uris/test002.nt",
|
93
|
-
"spec/rdfcore/rdf-charmod-uris/test002.rdf",
|
94
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/error001.rdf",
|
95
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/error002.rdf",
|
96
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test001.nt",
|
97
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test001.rdf",
|
98
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test002.nt",
|
99
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test002.rdf",
|
100
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test003.nt",
|
101
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test003.rdf",
|
102
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test004.nt",
|
103
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test004.rdf",
|
104
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test006.nt",
|
105
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test006.rdf",
|
106
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test007.nt",
|
107
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test007.rdf",
|
108
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test008.nt",
|
109
|
-
"spec/rdfcore/rdf-containers-syntax-vs-schema/test008.rdf",
|
110
|
-
"spec/rdfcore/rdf-element-not-mandatory/test001.nt",
|
111
|
-
"spec/rdfcore/rdf-element-not-mandatory/test001.rdf",
|
112
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0001.nt",
|
113
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0001.rdf",
|
114
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0003.nt",
|
115
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0003.rdf",
|
116
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0004.nt",
|
117
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0004.rdf",
|
118
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0005.nt",
|
119
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0005.rdf",
|
120
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0006.nt",
|
121
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0006.rdf",
|
122
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0009.nt",
|
123
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0009.rdf",
|
124
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0010.nt",
|
125
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0010.rdf",
|
126
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0011.nt",
|
127
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0011.rdf",
|
128
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0012.nt",
|
129
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0012.rdf",
|
130
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0013.nt",
|
131
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0013.rdf",
|
132
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0014.nt",
|
133
|
-
"spec/rdfcore/rdf-ns-prefix-confusion/test0014.rdf",
|
134
|
-
"spec/rdfcore/rdfms-abouteach/error001.rdf",
|
135
|
-
"spec/rdfcore/rdfms-abouteach/error002.rdf",
|
136
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/error1.rdf",
|
137
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test1.nt",
|
138
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test1.rdf",
|
139
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test2.nt",
|
140
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test2.rdf",
|
141
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test3.nt",
|
142
|
-
"spec/rdfcore/rdfms-difference-between-ID-and-about/test3.rdf",
|
143
|
-
"spec/rdfcore/rdfms-duplicate-member-props/test001.nt",
|
144
|
-
"spec/rdfcore/rdfms-duplicate-member-props/test001.rdf",
|
145
|
-
"spec/rdfcore/rdfms-empty-property-elements/error001.rdf",
|
146
|
-
"spec/rdfcore/rdfms-empty-property-elements/error002.rdf",
|
147
|
-
"spec/rdfcore/rdfms-empty-property-elements/error003.rdf",
|
148
|
-
"spec/rdfcore/rdfms-empty-property-elements/test001.nt",
|
149
|
-
"spec/rdfcore/rdfms-empty-property-elements/test001.rdf",
|
150
|
-
"spec/rdfcore/rdfms-empty-property-elements/test002.nt",
|
151
|
-
"spec/rdfcore/rdfms-empty-property-elements/test002.rdf",
|
152
|
-
"spec/rdfcore/rdfms-empty-property-elements/test003.nt",
|
153
|
-
"spec/rdfcore/rdfms-empty-property-elements/test003.rdf",
|
154
|
-
"spec/rdfcore/rdfms-empty-property-elements/test004.nt",
|
155
|
-
"spec/rdfcore/rdfms-empty-property-elements/test004.rdf",
|
156
|
-
"spec/rdfcore/rdfms-empty-property-elements/test005.nt",
|
157
|
-
"spec/rdfcore/rdfms-empty-property-elements/test005.rdf",
|
158
|
-
"spec/rdfcore/rdfms-empty-property-elements/test006.nt",
|
159
|
-
"spec/rdfcore/rdfms-empty-property-elements/test006.rdf",
|
160
|
-
"spec/rdfcore/rdfms-empty-property-elements/test007.nt",
|
161
|
-
"spec/rdfcore/rdfms-empty-property-elements/test007.rdf",
|
162
|
-
"spec/rdfcore/rdfms-empty-property-elements/test008.nt",
|
163
|
-
"spec/rdfcore/rdfms-empty-property-elements/test008.rdf",
|
164
|
-
"spec/rdfcore/rdfms-empty-property-elements/test009.nt",
|
165
|
-
"spec/rdfcore/rdfms-empty-property-elements/test009.rdf",
|
166
|
-
"spec/rdfcore/rdfms-empty-property-elements/test010.nt",
|
167
|
-
"spec/rdfcore/rdfms-empty-property-elements/test010.rdf",
|
168
|
-
"spec/rdfcore/rdfms-empty-property-elements/test011.nt",
|
169
|
-
"spec/rdfcore/rdfms-empty-property-elements/test011.rdf",
|
170
|
-
"spec/rdfcore/rdfms-empty-property-elements/test012.nt",
|
171
|
-
"spec/rdfcore/rdfms-empty-property-elements/test012.rdf",
|
172
|
-
"spec/rdfcore/rdfms-empty-property-elements/test013.nt",
|
173
|
-
"spec/rdfcore/rdfms-empty-property-elements/test013.rdf",
|
174
|
-
"spec/rdfcore/rdfms-empty-property-elements/test014.nt",
|
175
|
-
"spec/rdfcore/rdfms-empty-property-elements/test014.rdf",
|
176
|
-
"spec/rdfcore/rdfms-empty-property-elements/test015.nt",
|
177
|
-
"spec/rdfcore/rdfms-empty-property-elements/test015.rdf",
|
178
|
-
"spec/rdfcore/rdfms-empty-property-elements/test016.nt",
|
179
|
-
"spec/rdfcore/rdfms-empty-property-elements/test016.rdf",
|
180
|
-
"spec/rdfcore/rdfms-empty-property-elements/test017.nt",
|
181
|
-
"spec/rdfcore/rdfms-empty-property-elements/test017.rdf",
|
182
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test001.nt",
|
183
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test001.rdf",
|
184
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test002.nt",
|
185
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test002.rdf",
|
186
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test003.nt",
|
187
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test003.rdf",
|
188
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test004.nt",
|
189
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test004.rdf",
|
190
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test005.nt",
|
191
|
-
"spec/rdfcore/rdfms-identity-anon-resources/test005.rdf",
|
192
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test001.nt",
|
193
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test001.rdf",
|
194
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test002.nt",
|
195
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test002.rdf",
|
196
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test004.nt",
|
197
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test004.rdf",
|
198
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test005.nt",
|
199
|
-
"spec/rdfcore/rdfms-not-id-and-resource-attr/test005.rdf",
|
200
|
-
"spec/rdfcore/rdfms-para196/test001.nt",
|
201
|
-
"spec/rdfcore/rdfms-para196/test001.rdf",
|
202
|
-
"spec/rdfcore/rdfms-rdf-id/error001.rdf",
|
203
|
-
"spec/rdfcore/rdfms-rdf-id/error002.rdf",
|
204
|
-
"spec/rdfcore/rdfms-rdf-id/error003.rdf",
|
205
|
-
"spec/rdfcore/rdfms-rdf-id/error004.rdf",
|
206
|
-
"spec/rdfcore/rdfms-rdf-id/error005.rdf",
|
207
|
-
"spec/rdfcore/rdfms-rdf-id/error006.rdf",
|
208
|
-
"spec/rdfcore/rdfms-rdf-id/error007.rdf",
|
209
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-001.rdf",
|
210
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-002.rdf",
|
211
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-003.rdf",
|
212
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-004.rdf",
|
213
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-005.rdf",
|
214
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-006.rdf",
|
215
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-007.rdf",
|
216
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-008.rdf",
|
217
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-009.rdf",
|
218
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-010.rdf",
|
219
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-011.rdf",
|
220
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-012.rdf",
|
221
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-013.rdf",
|
222
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-014.rdf",
|
223
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-015.rdf",
|
224
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-016.rdf",
|
225
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-017.rdf",
|
226
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-018.rdf",
|
227
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-019.rdf",
|
228
|
-
"spec/rdfcore/rdfms-rdf-names-use/error-020.rdf",
|
229
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-001.nt",
|
230
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-001.rdf",
|
231
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-002.nt",
|
232
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-002.rdf",
|
233
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-003.nt",
|
234
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-003.rdf",
|
235
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-004.nt",
|
236
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-004.rdf",
|
237
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-005.nt",
|
238
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-005.rdf",
|
239
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-006.nt",
|
240
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-006.rdf",
|
241
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-007.nt",
|
242
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-007.rdf",
|
243
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-008.nt",
|
244
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-008.rdf",
|
245
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-009.nt",
|
246
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-009.rdf",
|
247
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-010.nt",
|
248
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-010.rdf",
|
249
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-011.nt",
|
250
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-011.rdf",
|
251
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-012.nt",
|
252
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-012.rdf",
|
253
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-013.nt",
|
254
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-013.rdf",
|
255
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-014.nt",
|
256
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-014.rdf",
|
257
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-015.nt",
|
258
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-015.rdf",
|
259
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-016.nt",
|
260
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-016.rdf",
|
261
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-017.nt",
|
262
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-017.rdf",
|
263
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-018.nt",
|
264
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-018.rdf",
|
265
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-019.nt",
|
266
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-019.rdf",
|
267
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-020.nt",
|
268
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-020.rdf",
|
269
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-021.nt",
|
270
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-021.rdf",
|
271
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-022.nt",
|
272
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-022.rdf",
|
273
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-023.nt",
|
274
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-023.rdf",
|
275
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-024.nt",
|
276
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-024.rdf",
|
277
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-025.nt",
|
278
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-025.rdf",
|
279
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-026.nt",
|
280
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-026.rdf",
|
281
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-027.nt",
|
282
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-027.rdf",
|
283
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-028.nt",
|
284
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-028.rdf",
|
285
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-029.nt",
|
286
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-029.rdf",
|
287
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-030.nt",
|
288
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-030.rdf",
|
289
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-031.nt",
|
290
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-031.rdf",
|
291
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-032.nt",
|
292
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-032.rdf",
|
293
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-033.nt",
|
294
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-033.rdf",
|
295
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-034.nt",
|
296
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-034.rdf",
|
297
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-035.nt",
|
298
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-035.rdf",
|
299
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-036.nt",
|
300
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-036.rdf",
|
301
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-037.nt",
|
302
|
-
"spec/rdfcore/rdfms-rdf-names-use/test-037.rdf",
|
303
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-001.nt",
|
304
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-001.rdf",
|
305
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-002.nt",
|
306
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-002.rdf",
|
307
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-003.nt",
|
308
|
-
"spec/rdfcore/rdfms-rdf-names-use/warn-003.rdf",
|
309
|
-
"spec/rdfcore/rdfms-reification-required/test001.nt",
|
310
|
-
"spec/rdfcore/rdfms-reification-required/test001.rdf",
|
311
|
-
"spec/rdfcore/rdfms-seq-representation/empty.nt",
|
312
|
-
"spec/rdfcore/rdfms-seq-representation/test001.nt",
|
313
|
-
"spec/rdfcore/rdfms-seq-representation/test001.rdf",
|
314
|
-
"spec/rdfcore/rdfms-seq-representation/test002.nt",
|
315
|
-
"spec/rdfcore/rdfms-seq-representation/test003a.nt",
|
316
|
-
"spec/rdfcore/rdfms-seq-representation/test003b.nt",
|
317
|
-
"spec/rdfcore/rdfms-seq-representation/test004.nt",
|
318
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error001.rdf",
|
319
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error002.rdf",
|
320
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error003.rdf",
|
321
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error004.rdf",
|
322
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error005.rdf",
|
323
|
-
"spec/rdfcore/rdfms-syntax-incomplete/error006.rdf",
|
324
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test001.nt",
|
325
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test001.rdf",
|
326
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test002.nt",
|
327
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test002.rdf",
|
328
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test003.nt",
|
329
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test003.rdf",
|
330
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test004.nt",
|
331
|
-
"spec/rdfcore/rdfms-syntax-incomplete/test004.rdf",
|
332
|
-
"spec/rdfcore/rdfms-uri-substructure/error001.nt",
|
333
|
-
"spec/rdfcore/rdfms-uri-substructure/test001.nt",
|
334
|
-
"spec/rdfcore/rdfms-uri-substructure/test001.rdf",
|
335
|
-
"spec/rdfcore/rdfms-xml-literal-namespaces/test001.nt",
|
336
|
-
"spec/rdfcore/rdfms-xml-literal-namespaces/test001.rdf",
|
337
|
-
"spec/rdfcore/rdfms-xml-literal-namespaces/test002.nt",
|
338
|
-
"spec/rdfcore/rdfms-xml-literal-namespaces/test002.rdf",
|
339
|
-
"spec/rdfcore/rdfms-xmllang/test001.nt",
|
340
|
-
"spec/rdfcore/rdfms-xmllang/test001.rdf",
|
341
|
-
"spec/rdfcore/rdfms-xmllang/test002.nt",
|
342
|
-
"spec/rdfcore/rdfms-xmllang/test002.rdf",
|
343
|
-
"spec/rdfcore/rdfms-xmllang/test003.nt",
|
344
|
-
"spec/rdfcore/rdfms-xmllang/test003.rdf",
|
345
|
-
"spec/rdfcore/rdfms-xmllang/test004.nt",
|
346
|
-
"spec/rdfcore/rdfms-xmllang/test004.rdf",
|
347
|
-
"spec/rdfcore/rdfms-xmllang/test005.nt",
|
348
|
-
"spec/rdfcore/rdfms-xmllang/test005.rdf",
|
349
|
-
"spec/rdfcore/rdfms-xmllang/test006.nt",
|
350
|
-
"spec/rdfcore/rdfms-xmllang/test006.rdf",
|
351
|
-
"spec/rdfcore/rdfms-xmllang/test007a.nt",
|
352
|
-
"spec/rdfcore/rdfms-xmllang/test007b.nt",
|
353
|
-
"spec/rdfcore/rdfms-xmllang/test007c.nt",
|
354
|
-
"spec/rdfcore/rdfs-container-membership-superProperty/not1C.rdf",
|
355
|
-
"spec/rdfcore/rdfs-container-membership-superProperty/not1P.rdf",
|
356
|
-
"spec/rdfcore/rdfs-domain-and-range/nonconclusions005.rdf",
|
357
|
-
"spec/rdfcore/rdfs-domain-and-range/nonconclusions006.rdf",
|
358
|
-
"spec/rdfcore/rdfs-domain-and-range/premises005.rdf",
|
359
|
-
"spec/rdfcore/rdfs-domain-and-range/premises006.rdf",
|
360
|
-
"spec/rdfcore/rdfs-domain-and-range/test001.nt",
|
361
|
-
"spec/rdfcore/rdfs-domain-and-range/test001.rdf",
|
362
|
-
"spec/rdfcore/rdfs-domain-and-range/test002.nt",
|
363
|
-
"spec/rdfcore/rdfs-domain-and-range/test002.rdf",
|
364
|
-
"spec/rdfcore/rdfs-entailment/test001.nt",
|
365
|
-
"spec/rdfcore/rdfs-entailment/test002.nt",
|
366
|
-
"spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.nt",
|
367
|
-
"spec/rdfcore/rdfs-no-cycles-in-subClassOf/test001.rdf",
|
368
|
-
"spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.nt",
|
369
|
-
"spec/rdfcore/rdfs-no-cycles-in-subPropertyOf/test001.rdf",
|
370
|
-
"spec/rdfcore/rdfs-subClassOf-a-Property/test001.nt",
|
371
|
-
"spec/rdfcore/rdfs-subPropertyOf-semantics/test001.nt",
|
372
|
-
"spec/rdfcore/rdfs-subPropertyOf-semantics/test002.nt",
|
373
|
-
"spec/rdfcore/statement-entailment/test001a.nt",
|
374
|
-
"spec/rdfcore/statement-entailment/test001b.nt",
|
375
|
-
"spec/rdfcore/statement-entailment/test002a.nt",
|
376
|
-
"spec/rdfcore/statement-entailment/test002b.nt",
|
377
|
-
"spec/rdfcore/tex-01/test001.rdf",
|
378
|
-
"spec/rdfcore/tex-01/test002.rdf",
|
379
|
-
"spec/rdfcore/unrecognised-xml-attributes/test001.nt",
|
380
|
-
"spec/rdfcore/unrecognised-xml-attributes/test001.rdf",
|
381
|
-
"spec/rdfcore/unrecognised-xml-attributes/test002.nt",
|
382
|
-
"spec/rdfcore/unrecognised-xml-attributes/test002.rdf",
|
383
|
-
"spec/rdfcore/xml-canon/test001.nt",
|
384
|
-
"spec/rdfcore/xml-canon/test001.rdf",
|
385
|
-
"spec/rdfcore/xmlbase/test001.nt",
|
386
|
-
"spec/rdfcore/xmlbase/test001.rdf",
|
387
|
-
"spec/rdfcore/xmlbase/test002.nt",
|
388
|
-
"spec/rdfcore/xmlbase/test002.rdf",
|
389
|
-
"spec/rdfcore/xmlbase/test003.nt",
|
390
|
-
"spec/rdfcore/xmlbase/test003.rdf",
|
391
|
-
"spec/rdfcore/xmlbase/test004.nt",
|
392
|
-
"spec/rdfcore/xmlbase/test004.rdf",
|
393
|
-
"spec/rdfcore/xmlbase/test006.nt",
|
394
|
-
"spec/rdfcore/xmlbase/test006.rdf",
|
395
|
-
"spec/rdfcore/xmlbase/test007.nt",
|
396
|
-
"spec/rdfcore/xmlbase/test007.rdf",
|
397
|
-
"spec/rdfcore/xmlbase/test008.nt",
|
398
|
-
"spec/rdfcore/xmlbase/test008.rdf",
|
399
|
-
"spec/rdfcore/xmlbase/test009.nt",
|
400
|
-
"spec/rdfcore/xmlbase/test009.rdf",
|
401
|
-
"spec/rdfcore/xmlbase/test010.nt",
|
402
|
-
"spec/rdfcore/xmlbase/test010.rdf",
|
403
|
-
"spec/rdfcore/xmlbase/test011.nt",
|
404
|
-
"spec/rdfcore/xmlbase/test011.rdf",
|
405
|
-
"spec/rdfcore/xmlbase/test013.nt",
|
406
|
-
"spec/rdfcore/xmlbase/test013.rdf",
|
407
|
-
"spec/rdfcore/xmlbase/test014.nt",
|
408
|
-
"spec/rdfcore/xmlbase/test014.rdf",
|
409
|
-
"spec/rdfcore/xmlsch-02/test001.rdf",
|
410
|
-
"spec/rdfcore/xmlsch-02/test002.rdf",
|
411
|
-
"spec/rdfcore/xmlsch-02/test003.rdf",
|
53
|
+
"spec/rdf_test.rb",
|
412
54
|
"spec/reader_spec.rb",
|
413
55
|
"spec/spec.opts",
|
414
56
|
"spec/spec_helper.rb",
|
@@ -423,7 +65,7 @@ Gem::Specification.new do |s|
|
|
423
65
|
"spec/graph_spec.rb",
|
424
66
|
"spec/literal_spec.rb",
|
425
67
|
"spec/matchers.rb",
|
426
|
-
"spec/
|
68
|
+
"spec/rdf_test.rb",
|
427
69
|
"spec/reader_spec.rb",
|
428
70
|
"spec/spec_helper.rb",
|
429
71
|
"spec/writer_spec.rb"
|
@@ -435,6 +77,8 @@ Gem::Specification.new do |s|
|
|
435
77
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
436
78
|
s.add_runtime_dependency(%q<rdf>, [">= 0.3.1"])
|
437
79
|
s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.4"])
|
80
|
+
s.add_development_dependency(%q<open-uri-cached>, [">= 0"])
|
81
|
+
s.add_development_dependency(%q<spira>, [">= 0.0.12"])
|
438
82
|
s.add_development_dependency(%q<rspec>, [">= 2.5.0"])
|
439
83
|
s.add_development_dependency(%q<rdf-spec>, [">= 0.3.1"])
|
440
84
|
s.add_development_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|
@@ -442,6 +86,8 @@ Gem::Specification.new do |s|
|
|
442
86
|
else
|
443
87
|
s.add_dependency(%q<rdf>, [">= 0.3.1"])
|
444
88
|
s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
|
89
|
+
s.add_dependency(%q<open-uri-cached>, [">= 0"])
|
90
|
+
s.add_dependency(%q<spira>, [">= 0.0.12"])
|
445
91
|
s.add_dependency(%q<rspec>, [">= 2.5.0"])
|
446
92
|
s.add_dependency(%q<rdf-spec>, [">= 0.3.1"])
|
447
93
|
s.add_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|
@@ -450,6 +96,8 @@ Gem::Specification.new do |s|
|
|
450
96
|
else
|
451
97
|
s.add_dependency(%q<rdf>, [">= 0.3.1"])
|
452
98
|
s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
|
99
|
+
s.add_dependency(%q<open-uri-cached>, [">= 0"])
|
100
|
+
s.add_dependency(%q<spira>, [">= 0.0.12"])
|
453
101
|
s.add_dependency(%q<rspec>, [">= 2.5.0"])
|
454
102
|
s.add_dependency(%q<rdf-spec>, [">= 0.3.1"])
|
455
103
|
s.add_dependency(%q<rdf-isomorphic>, [">= 0.3.4"])
|