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

Error in xpath query when using dynamic fonts #16

Open
zenspider opened this issue Sep 5, 2012 · 0 comments
Open

Error in xpath query when using dynamic fonts #16

zenspider opened this issue Sep 5, 2012 · 0 comments

Comments

@zenspider
Copy link

src: url('/webfonts/eot/style_190749.eot?#iefix') format('embedded-opentype'), url('/webfonts/woff/style_190749.woff') format('woff'), url('/webfonts/ttf/style_190749.ttf') format('truetype'), url('/webfonts/svg/style_190749.svg#Livory-Regular') format('svg');

causes:

/Users/ryan/.gem/sandboxes/deadweight/gems/nokogiri-1.5.5/lib/nokogiri/xml/node.rb:159:in `evaluate': Invalid expression: //svg(.) (Nokogiri::XML::XPath::SyntaxError)
    from /Users/ryan/.gem/sandboxes/deadweight/gems/nokogiri-1.5.5/lib/nokogiri/xml/node.rb:159:in `xpath'
    from /Users/ryan/.gem/sandboxes/deadweight/gems/nokogiri-1.5.5/lib/nokogiri/xml/node.rb:150:in `map'
    from /Users/ryan/.gem/sandboxes/deadweight/gems/nokogiri-1.5.5/lib/nokogiri/xml/node.rb:150:in `xpath'
    from /Users/ryan/.gem/sandboxes/deadweight/gems/nokogiri-1.5.5/lib/nokogiri/xml/node.rb:111:in `search'
    from /Users/ryan/.gem/sandboxes/deadweight/gems/deadweight-0.2.1/lib/deadweight.rb:42:in `analyze'
...
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