rdfobjects 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rdf_objects/parsers.rb +1 -1
- metadata +2 -2
data/lib/rdf_objects/parsers.rb
CHANGED
@@ -339,7 +339,7 @@ module RDFObject
|
|
339
339
|
if xhtml.is_a?(Nokogiri::XML::Document)
|
340
340
|
doc = xhtml
|
341
341
|
else
|
342
|
-
doc = Nokogiri::
|
342
|
+
doc = Nokogiri::XML.parse(xhtml)
|
343
343
|
end
|
344
344
|
xslt = Nokogiri::XSLT(open(File.dirname(__FILE__) + '/../xsl/RDFa2RDFXML.xsl'))
|
345
345
|
@rdfxml = xslt.apply_to(doc)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdfobjects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ross Singer
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-12 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|