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

Support for XPath starts-with #26

Open
Drteammangel opened this issue Oct 14, 2016 · 0 comments
Open

Support for XPath starts-with #26

Drteammangel opened this issue Oct 14, 2016 · 0 comments
Labels
Milestone

Comments

@Drteammangel
Copy link

String source = "\n" +
" AnnotationsBasedJMXAutoExporter\n" +
" org.springframework.jmx.export.MBeanExporter\n" +
" false\n" +
" assembler\n" +
" \n" +
"";
XpathSelector selector = new XpathSelector("//id[starts-with(text(),'Annotations')]");
selector.selectList(source);

Above Throws NullPointerException, but fine with xpathStr="//id[starts-with(@id,'Annotations')]"

@code4craft code4craft added the bug label Nov 19, 2016
@code4craft code4craft added this to the 0.3.1 milestone Nov 19, 2016
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

2 participants