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

Incorrect string interpretation in xpath #165

Closed
pgundlach opened this issue Mar 20, 2018 · 0 comments
Closed

Incorrect string interpretation in xpath #165

pgundlach opened this issue Mar 20, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@pgundlach
Copy link
Member

@pgundlach pgundlach commented Mar 20, 2018

<Layout xmlns="urn:speedata.de:2009/publisher/en"
  xmlns:sd="urn:speedata:2009/publisher/functions/en"
  version="3.1.24">
  
  <Record element="data">
    <PlaceObject>
      <Textblock>
        <Switch>
          <Case test="a = '*'">
            <Paragraph>
              <Value>x</Value>
            </Paragraph>
          </Case>
        </Switch>
      </Textblock>
    </PlaceObject>
  </Record>
</Layout>

This gives an error:

Error: The first operand of the multiplication is not a number. Evaluating to 0
@pgundlach pgundlach added the Bug label Mar 20, 2018
@pgundlach pgundlach added this to the Version 3.2 milestone Mar 20, 2018
@pgundlach pgundlach self-assigned this Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant