Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find rdf:Description #1

Open
farukca opened this issue Mar 21, 2011 · 0 comments
Open

Could not find rdf:Description #1

farukca opened this issue Mar 21, 2011 · 0 comments

Comments

@farukca
Copy link

farukca commented Mar 21, 2011

in debug i can see the rdf:Description tag; coming answer is below.
Company: Sprint--><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:c="http://s.opencalais.com/1/pred/"><rdf:Description c:calaisRequestID="6511d3bf-8cab-bc88-12ed-9a29df544430" c:id="http://id.opencalais.com/TI9We5aNW4yfQoAynnvtWw" rdf:about="http://d.opencalais.com/dochash-1/9dfc377f-e8dc-33d8-b2d0-82878fcfb945"><rdf:type rdf:resource="http://s.opencalais.com/1/type/sys/DocInfo"/><c:document><![CDATA[

Updated with statement from Sprint: AT]]>/c:document2011-03-21 13:17:16.595/c:docDate/rdf:Description03a9a1d1-3c72-0ae8-0825-dbbfb01ec27c/c:submitterCodedigestalg-1|oGt7ae37851Yrj3LRmG9SKzh38A=|bMGGA+MowQfP2EoLsDYKbfjsRUEMTeTJXbPh+EJhFUaS933s2ZDINQ==/c:signature/rdf:Description/rdf:Description1.0/c:scoreSPRINT NEXTEL CORPORATION/c:nameSprint Nextel/c:shortnameS/c:tickerS.N/c:symbol/rdf:DescriptionSprint/c:nameN/A/c:nationality/rdf:Description[with statement from ]Sprint[: AT]/c:detectionwith statement from /c:prefixSprint/c:exact: AT/c:suffix32/c:offset6/c:length/rdf:Description0.857/c:relevance/rdf:Description/rdf:RDF

But after this answer; this exception is occuring.

Nokogiri::XML::XPath::SyntaxError in FeedpostsController#generatekeys

Undefined namespace prefix: //rdf:Description

Rails.root: /home/faruk/rubyspace/sitescamp
Application Trace | Framework Trace | Full Trace

app/controllers/feedposts_controller.rb:52:in new' app/controllers/feedposts_controller.rb:52:ingeneratekeys'

nokogiri (1.4.4) lib/nokogiri/xml/node.rb:158:in evaluate' nokogiri (1.4.4) lib/nokogiri/xml/node.rb:158:inxpath'
nokogiri (1.4.4) lib/nokogiri/xml/node.rb:150:in map' nokogiri (1.4.4) lib/nokogiri/xml/node.rb:150:inxpath'
/usr/lib/ruby/gems/1.8/bundler/gems/SemExtractor-a17474ad77d5/lib/apis/calais.rb:6:in initialize' actionpack (3.0.1) lib/action_controller/metal/implicit_render.rb:4:insend_action'
actionpack (3.0.1) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.0.1) lib/abstract_controller/base.rb:150:inprocess_action'
actionpack (3.0.1) lib/action_controller/metal/rendering.rb:11:in process_action' actionpack (3.0.1) lib/abstract_controller/callbacks.rb:18:inprocess_action'
activesupport (3.0.1) lib/active_support/callbacks.rb:440:in _run__964555633__process_action__30485209__callbacks' activesupport (3.0.1) lib/active_support/callbacks.rb:409:insend'
activesupport (3.0.1) lib/active_support/callbacks.rb:409:in _run_process_action_callbacks' activesupport (3.0.1) lib/active_support/callbacks.rb:93:insend'
activesupport (3.0.1) lib/active_support/callbacks.rb:93:in run_callbacks' actionpack (3.0.1) lib/abstract_controller/callbacks.rb:17:inprocess_action'
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:30:in process_action' activesupport (3.0.1) lib/active_support/notifications.rb:52:ininstrument'
activesupport (3.0.1) lib/active_support/notifications/instrumenter.rb:21:in instrument' activesupport (3.0.1) lib/active_support/notifications.rb:52:ininstrument'
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.0.1) lib/action_controller/metal/rescue.rb:17:inprocess_action'
actionpack (3.0.1) lib/abstract_controller/base.rb:119:in process' actionpack (3.0.1) lib/abstract_controller/rendering.rb:40:inprocess'
actionpack (3.0.1) lib/action_controller/metal.rb:133:in dispatch' actionpack (3.0.1) lib/action_controller/metal/rack_delegation.rb:14:indispatch'
actionpack (3.0.1) lib/action_controller/metal.rb:173:in action' actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:62:incall'
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:62:in dispatch' actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:27:incall'
rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in call' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:inrecognize'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:68:in optimized_each' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:inrecognize'
rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in call' actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:492:incall'
haml (3.0.25) lib/sass/plugin/rack.rb:41:in call' warden (1.0.3) lib/warden/manager.rb:35:incall'
warden (1.0.3) lib/warden/manager.rb:34:in catch' warden (1.0.3) lib/warden/manager.rb:34:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' actionpack (3.0.1) lib/action_dispatch/middleware/head.rb:14:incall'
rack (1.2.1) lib/rack/methodoverride.rb:24:in call' actionpack (3.0.1) lib/action_dispatch/middleware/params_parser.rb:21:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/flash.rb:182:in call' actionpack (3.0.1) lib/action_dispatch/middleware/session/abstract_store.rb:149:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/cookies.rb:287:in call' activerecord (3.0.1) lib/active_record/query_cache.rb:32:incall'
activerecord (3.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in cache' activerecord (3.0.1) lib/active_record/query_cache.rb:12:incache'
activerecord (3.0.1) lib/active_record/query_cache.rb:31:in call' activerecord (3.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:46:in call' activesupport (3.0.1) lib/active_support/callbacks.rb:415:in_run_call_callbacks'
actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:44:in call' rack (1.2.1) lib/rack/sendfile.rb:107:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/remote_ip.rb:48:in call' actionpack (3.0.1) lib/action_dispatch/middleware/show_exceptions.rb:46:incall'
railties (3.0.1) lib/rails/rack/logger.rb:13:in call' rack (1.2.1) lib/rack/runtime.rb:17:incall'
activesupport (3.0.1) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.2.1) lib/rack/lock.rb:11:incall'
rack (1.2.1) lib/rack/lock.rb:11:in synchronize' rack (1.2.1) lib/rack/lock.rb:11:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/static.rb:30:in call' railties (3.0.1) lib/rails/application.rb:168:incall'
railties (3.0.1) lib/rails/application.rb:77:in send' railties (3.0.1) lib/rails/application.rb:77:inmethod_missing'
railties (3.0.1) lib/rails/rack/log_tailer.rb:14:in call' rack (1.2.1) lib/rack/content_length.rb:13:incall'
rack (1.2.1) lib/rack/chunked.rb:15:in call' rack (1.2.1) lib/rack/handler/mongrel.rb:67:inprocess'
mongrel (1.1.5) lib/mongrel.rb:159:in process_client' mongrel (1.1.5) lib/mongrel.rb:158:ineach'
mongrel (1.1.5) lib/mongrel.rb:158:in process_client' mongrel (1.1.5) lib/mongrel.rb:285:inrun'
mongrel (1.1.5) lib/mongrel.rb:285:in initialize' mongrel (1.1.5) lib/mongrel.rb:285:innew'
mongrel (1.1.5) lib/mongrel.rb:285:in run' mongrel (1.1.5) lib/mongrel.rb:268:ininitialize'
mongrel (1.1.5) lib/mongrel.rb:268:in new' mongrel (1.1.5) lib/mongrel.rb:268:inrun'
rack (1.2.1) lib/rack/handler/mongrel.rb:38:in run' rack (1.2.1) lib/rack/server.rb:213:instart'
railties (3.0.1) lib/rails/commands/server.rb:65:in start' railties (3.0.1) lib/rails/commands.rb:30 railties (3.0.1) lib/rails/commands.rb:27:intap'
railties (3.0.1) lib/rails/commands.rb:27
script/rails:6:in `require'
script/rails:6

nokogiri (1.4.4) lib/nokogiri/xml/node.rb:158:in evaluate' nokogiri (1.4.4) lib/nokogiri/xml/node.rb:158:inxpath'
nokogiri (1.4.4) lib/nokogiri/xml/node.rb:150:in map' nokogiri (1.4.4) lib/nokogiri/xml/node.rb:150:inxpath'
/usr/lib/ruby/gems/1.8/bundler/gems/SemExtractor-a17474ad77d5/lib/apis/calais.rb:6:in initialize' app/controllers/feedposts_controller.rb:52:innew'
app/controllers/feedposts_controller.rb:52:in generatekeys' actionpack (3.0.1) lib/action_controller/metal/implicit_render.rb:4:insend_action'
actionpack (3.0.1) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.0.1) lib/abstract_controller/base.rb:150:inprocess_action'
actionpack (3.0.1) lib/action_controller/metal/rendering.rb:11:in process_action' actionpack (3.0.1) lib/abstract_controller/callbacks.rb:18:inprocess_action'
activesupport (3.0.1) lib/active_support/callbacks.rb:440:in _run__964555633__process_action__30485209__callbacks' activesupport (3.0.1) lib/active_support/callbacks.rb:409:insend'
activesupport (3.0.1) lib/active_support/callbacks.rb:409:in _run_process_action_callbacks' activesupport (3.0.1) lib/active_support/callbacks.rb:93:insend'
activesupport (3.0.1) lib/active_support/callbacks.rb:93:in run_callbacks' actionpack (3.0.1) lib/abstract_controller/callbacks.rb:17:inprocess_action'
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:30:in process_action' activesupport (3.0.1) lib/active_support/notifications.rb:52:ininstrument'
activesupport (3.0.1) lib/active_support/notifications/instrumenter.rb:21:in instrument' activesupport (3.0.1) lib/active_support/notifications.rb:52:ininstrument'
actionpack (3.0.1) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.0.1) lib/action_controller/metal/rescue.rb:17:inprocess_action'
actionpack (3.0.1) lib/abstract_controller/base.rb:119:in process' actionpack (3.0.1) lib/abstract_controller/rendering.rb:40:inprocess'
actionpack (3.0.1) lib/action_controller/metal.rb:133:in dispatch' actionpack (3.0.1) lib/action_controller/metal/rack_delegation.rb:14:indispatch'
actionpack (3.0.1) lib/action_controller/metal.rb:173:in action' actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:62:incall'
actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:62:in dispatch' actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:27:incall'
rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in call' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:inrecognize'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:68:in optimized_each' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:inrecognize'
rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in call' actionpack (3.0.1) lib/action_dispatch/routing/route_set.rb:492:incall'
haml (3.0.25) lib/sass/plugin/rack.rb:41:in call' warden (1.0.3) lib/warden/manager.rb:35:incall'
warden (1.0.3) lib/warden/manager.rb:34:in catch' warden (1.0.3) lib/warden/manager.rb:34:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' actionpack (3.0.1) lib/action_dispatch/middleware/head.rb:14:incall'
rack (1.2.1) lib/rack/methodoverride.rb:24:in call' actionpack (3.0.1) lib/action_dispatch/middleware/params_parser.rb:21:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/flash.rb:182:in call' actionpack (3.0.1) lib/action_dispatch/middleware/session/abstract_store.rb:149:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/cookies.rb:287:in call' activerecord (3.0.1) lib/active_record/query_cache.rb:32:incall'
activerecord (3.0.1) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in cache' activerecord (3.0.1) lib/active_record/query_cache.rb:12:incache'
activerecord (3.0.1) lib/active_record/query_cache.rb:31:in call' activerecord (3.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:46:in call' activesupport (3.0.1) lib/active_support/callbacks.rb:415:in_run_call_callbacks'
actionpack (3.0.1) lib/action_dispatch/middleware/callbacks.rb:44:in call' rack (1.2.1) lib/rack/sendfile.rb:107:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/remote_ip.rb:48:in call' actionpack (3.0.1) lib/action_dispatch/middleware/show_exceptions.rb:46:incall'
railties (3.0.1) lib/rails/rack/logger.rb:13:in call' rack (1.2.1) lib/rack/runtime.rb:17:incall'
activesupport (3.0.1) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.2.1) lib/rack/lock.rb:11:incall'
rack (1.2.1) lib/rack/lock.rb:11:in synchronize' rack (1.2.1) lib/rack/lock.rb:11:incall'
actionpack (3.0.1) lib/action_dispatch/middleware/static.rb:30:in call' railties (3.0.1) lib/rails/application.rb:168:incall'
railties (3.0.1) lib/rails/application.rb:77:in send' railties (3.0.1) lib/rails/application.rb:77:inmethod_missing'
railties (3.0.1) lib/rails/rack/log_tailer.rb:14:in call' rack (1.2.1) lib/rack/content_length.rb:13:incall'
rack (1.2.1) lib/rack/chunked.rb:15:in call' rack (1.2.1) lib/rack/handler/mongrel.rb:67:inprocess'
mongrel (1.1.5) lib/mongrel.rb:159:in process_client' mongrel (1.1.5) lib/mongrel.rb:158:ineach'
mongrel (1.1.5) lib/mongrel.rb:158:in process_client' mongrel (1.1.5) lib/mongrel.rb:285:inrun'
mongrel (1.1.5) lib/mongrel.rb:285:in initialize' mongrel (1.1.5) lib/mongrel.rb:285:innew'
mongrel (1.1.5) lib/mongrel.rb:285:in run' mongrel (1.1.5) lib/mongrel.rb:268:ininitialize'
mongrel (1.1.5) lib/mongrel.rb:268:in new' mongrel (1.1.5) lib/mongrel.rb:268:inrun'
rack (1.2.1) lib/rack/handler/mongrel.rb:38:in run' rack (1.2.1) lib/rack/server.rb:213:instart'
railties (3.0.1) lib/rails/commands/server.rb:65:in start' railties (3.0.1) lib/rails/commands.rb:30 railties (3.0.1) lib/rails/commands.rb:27:intap'
railties (3.0.1) lib/rails/commands.rb:27
script/rails:6:in `require'
script/rails:6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant