Lukas Krejci created SRAMP-185:
----------------------------------
Summary: "matches" query parsing error in CLI?
Key: SRAMP-185
URL:
https://issues.jboss.org/browse/SRAMP-185
Project: S-RAMP
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Client, Core
Affects Versions: 0.1.1
Reporter: Lukas Krejci
Assignee: Kurt Stam
s-ramp> query /s-ramp[xp2:matches(@contentType, '.*')]
Querying the S-RAMP repository:
/s-ramp[xp2:matches(@contentType, .* )]
FAILED to query the repository.
Unterminated argument list.
s-ramp> query /s-ramp[xp2:matches(@contentType, ".*")]
Querying the S-RAMP repository:
/s-ramp[xp2:matches(@contentType, .* )]
FAILED to query the repository.
Unterminated argument list.
s-ramp> query /s-ramp[xp2:matches(@contentType, "a")]
Querying the S-RAMP repository:
/s-ramp[xp2:matches(@contentType, a )]
FAILED to query the repository.
Expected a string literal as the argument (the only supported argument type for
the argument).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira