Giter Site home page Giter Site logo

Comments (5)

davious avatar davious commented on June 22, 2024

I've run into a similar issue #id tbody tr fails, while #id tbody > tr works.

XPath error : Invalid expression
.//*[@id='id']//tbody tr
                      ^

interestingly #id div div only generates

XPath error : Invalid expression
xmlXPathEval: evaluation failed

from node-osmosis.

rchipka avatar rchipka commented on June 22, 2024

This issue was due to an update improving quote escaping in selectors. The issue is fixed in 0.0.6. Please try the latest version and let me know if you have any more issues as Osmosis is undergoing many changes and enhancements.

from node-osmosis.

davious avatar davious commented on June 22, 2024

#13 (comment) is good now

from node-osmosis.

robert26bussard51 avatar robert26bussard51 commented on June 22, 2024

RÖB

On Apr 12, 2015 5:33 AM, "nino" [email protected] wrote:

Code:
{
'city': '.cityName h3',
'district': '.cityName h1',
'current': '.sk .tem span',
'wet': '.sk .num .sp1',
'wind': '.sk .num .sp2',
--> 'otherCity[]': '.city li a span',
'otherCityLink[]': '.city li a@href'
}

'.city li a span' works fine in v0.0.4.
But in v0.0.5 show this message:
omsosis DEBUG (get) starting instance 2
XPath error : Invalid expression
.//*[contains(concat(' ',normalize-space(@Class https://github.com/class),'
'),' city ')]//li a//span

Plz help..


Reply to this email directly or view it on GitHub
#13.

from node-osmosis.

robert26bussard51 avatar robert26bussard51 commented on June 22, 2024

RÖB

On Apr 12, 2015 3:00 PM, "rc0x03" [email protected] wrote:

Closed #13 #13.


Reply to this email directly or view it on GitHub
#13 (comment).

from node-osmosis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.