Skip to content

Instantly share code, notes, and snippets.

@jcoyne
Created July 27, 2017 16:29
Show Gist options
  • Save jcoyne/a4657052043e903b297d9f2223180bb5 to your computer and use it in GitHub Desktop.
Save jcoyne/a4657052043e903b297d9f2223180bb5 to your computer and use it in GitHub Desktop.
Nokogiri::XML::XPath::SyntaxError: ERROR: Undefined namespace prefix: //dc:title
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/lib/nokogiri/
xml/searchable.rb:198:in `evaluate'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/lib/nokogiri/
xml/searchable.rb:198:in `xpath_impl'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/lib/nokogiri/
xml/searchable.rb:179:in `xpath_internal'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/nokogiri-1.8.0/lib/nokogiri/
xml/searchable.rb:154:in `xpath'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/document
.rb:119:in `find_by_xpath'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/document
.rb:139:in `find_by_terms'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/active-fedora-6.8.0/lib/acti
ve_fedora/om_datastream.rb:388:in `find_by_terms'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/term_val
ue_operators.rb:12:in `term_values'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/active-fedora-6.8.0/lib/acti
ve_fedora/om_datastream.rb:413:in `term_values'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/terminology_based_solrizer.rb:36:in `solrize_term'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/terminology_based_solrizer.rb:83:in `solrize_term'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/terminology_based_solrizer.rb:18:in `block in solrize'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/terminology_based_solrizer.rb:17:in `each_pair'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/terminology_based_solrizer.rb:17:in `solrize'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/om-3.1.1/lib/om/xml/terminology_based_solrizer.rb:79:in `to_solr'
from /var/home/lyberadmin/hydrus/shared/bundle/ruby/2.3.0/gems/dor-services-5.24.1/lib/dor/datastreams/simple_dublin_core_ds.rb:32:in `to_solr'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment