<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -39,7 +39,7 @@ module Reddy
     def is_rdf_root? (node)
       #TODO: clean this method up to make it more like Ruby and less like retarded Java
       if node.name == &quot;RDF&quot;
-        if !node.namespace.nil? &amp;&amp; node.namespace_node.href == @@syntax_base 
+        if !node.namespaces.nil? &amp;&amp; node.namespaces.namespace.href == @@syntax_base 
           return true
         end
       else
@@ -53,7 +53,7 @@ module Reddy
       # class and container classes
       # following commented out - if we decide that special Container handling is required, we can do it here.
       # until then, the procedure I'm using is simple: checking for rdf:li elements when handling children
-      # case [el.namespace_node.href, el.name]
+      # case [el.namespaces.namespace.href, el.name]
       # when [@@syntax_base, &quot;Bag&quot;]
       # when [@@syntax_base, &quot;Seq&quot;]
       # when [@@syntax_base, &quot;Alt&quot;]
@@ -62,20 +62,20 @@ module Reddy
       # #when [@@syntax_base, &quot;Container&quot;] - from my reading of RDFS 1.0 (2004)
       # #&#167;5.1.1, we should not expect to find Containers inside public documents.
       # else
-      #   @graph.add_triple(subject, @@rdf_type, url_helper(el.name, el.namespace_node.href, el.base))
+      #   @graph.add_triple(subject, @@rdf_type, url_helper(el.name, el.namespaces.namespace.href, el.base_uri))
       # end
       # If we ever decide to do special handling for OWL, here's where we can shove it. If. --tom
-      unless el.name == &quot;Description&quot; &amp;&amp; el.namespace_node.href == @@syntax_base
-        @graph.add_triple(subject, @@rdf_type, url_helper(el.name, el.namespace_node.href, el.base))
+      unless el.name == &quot;Description&quot; &amp;&amp; el.namespaces.namespace.href == @@syntax_base
+        @graph.add_triple(subject, @@rdf_type, url_helper(el.name, el.namespaces.namespace.href, el.base_uri))
       end
 
       # read each attribute that's not in @@syntax_base 
       el.attributes.each { |att|
-        @graph.add_triple(subject, url_helper(att.name, att.ns.href, el.base), att.value) unless att.ns.href == @@syntax_base
+        @graph.add_triple(subject, url_helper(att.name, att.ns.href, el.base_uri), att.value) unless att.ns.href == @@syntax_base
       }
       li_counter = 0 # this will increase for each li we iterate through
       el.each_element {|child|
-        predicate = url_helper(child.name, child.namespace_node.href, child.base)
+        predicate = url_helper(child.name, child.namespaces.namespace.href, child.base_uri)
         if predicate.to_s == @@syntax_base + &quot;li&quot;
           li_counter += 1
           predicate = Addressable::URI.parse(predicate.to_s)
@@ -86,7 +86,7 @@ module Reddy
         if el.attributes.get_attribute_ns(@@syntax_base, &quot;nodeID&quot;)
           @graph.add_triple(subject, predicate, forge_bnode_from_string(child.attributes.get_attribute_ns(@@syntax_base, &quot;nodeID&quot;).value))
         elsif child.attributes.get_attribute_ns(@@syntax_base, &quot;resource&quot;)
-          @graph.add_triple(subject, predicate, URIRef.new(base_helper(child.attributes.get_attribute_ns(@@syntax_base, &quot;resource&quot;).value, child.base).to_s))
+          @graph.add_triple(subject, predicate, URIRef.new(base_helper(child.attributes.get_attribute_ns(@@syntax_base, &quot;resource&quot;).value, child.base_uri).to_s))
         end
         child.each {|contents|
           if contents.text? and contents.content.strip.length != 0
@@ -124,7 +124,7 @@ module Reddy
         # reification
         if child.attributes.get_attribute_ns(@@syntax_base, &quot;ID&quot;)
           if id_check?(child.attributes.get_attribute_ns(@@syntax_base, &quot;ID&quot;).value)
-            rsubject = url_helper(&quot;#&quot; + child.attributes.get_attribute_ns(@@syntax_base, &quot;ID&quot;).value, child.base)
+            rsubject = url_helper(&quot;#&quot; + child.attributes.get_attribute_ns(@@syntax_base, &quot;ID&quot;).value, child.base_uri)
             @graph.add_triple(rsubject, URIRef.new(&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&quot;), URIRef.new(&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement&quot;))
             @graph.add_triple(rsubject, URIRef.new(&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#subject&quot;), subject)
             @graph.add_triple(rsubject, URIRef.new(&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate&quot;), predicate)
@@ -156,11 +156,11 @@ module Reddy
       
       if el.attributes.get_attribute_ns(@@syntax_base, &quot;about&quot;)
         #debugger if el.attributes.get_attribute_ns(@@syntax_base, &quot;about&quot;).value =~ /artist$/
-        return URIRef.new(base_helper(el.attributes.get_attribute_ns(@@syntax_base, &quot;about&quot;).value, el.base).to_s)
+        return URIRef.new(base_helper(el.attributes.get_attribute_ns(@@syntax_base, &quot;about&quot;).value, el.base_uri).to_s)
       elsif el.attributes.get_attribute_ns(@@syntax_base, &quot;ID&quot;)
         id = el.attributes.get_attribute_ns(@@syntax_base, &quot;ID&quot;)
         if id_check?(id.value)
-          return url_helper(&quot;#&quot; + id.value, &quot;&quot;, el.base)
+          return url_helper(&quot;#&quot; + id.value, &quot;&quot;, el.base_uri)
         else
           raise
         end
@@ -183,7 +183,7 @@ module Reddy
         end
         
         if uri == @@syntax_base + &quot;#resource&quot; || uri == @@syntax_base + &quot;#about&quot; #specified resource
-          subject = URIRef.new(base_helper(value, el.base))
+          subject = URIRef.new(base_helper(value, el.base_uri))
         end
         
         if uri.to_s == @@syntax_base + &quot;#nodeID&quot; #BNode with ID</diff>
      <filename>lib/reddy/rdfxmlparser.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e8334fbc084cbae875dda509a17ab5779e9e8c1c</id>
    </parent>
  </parents>
  <author>
    <name>Tom Morris</name>
    <email>tom@ricoeur.local</email>
  </author>
  <url>http://github.com/tommorris/reddy/commit/d3fb093b6c34cc1b2d8bbb2f6ac1869e863171c5</url>
  <id>d3fb093b6c34cc1b2d8bbb2f6ac1869e863171c5</id>
  <committed-date>2009-02-02T14:08:51-08:00</committed-date>
  <authored-date>2009-02-02T14:08:51-08:00</authored-date>
  <message>updated RdfXmlParser to match new libxml version</message>
  <tree>692fb7cba48a1086d96b6bbc22ee5ec9f99f4d6e</tree>
  <committer>
    <name>Tom Morris</name>
    <email>tom@ricoeur.local</email>
  </committer>
</commit>
