From ba05227594e9708b491234ab030b638858021ed7 Mon Sep 17 00:00:00 2001 From: "yihua.huang" Date: Sat, 28 Sep 2013 07:43:37 +0800 Subject: [PATCH] update versions in other project --- webmagic-samples/pom.xml | 2 +- webmagic-saxon/pom.xml | 7 +------ .../us/codecraft/webmagic/selector/XpathSelectorTest.java | 2 +- webmagic-selenium/pom.xml | 2 +- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/webmagic-samples/pom.xml b/webmagic-samples/pom.xml index d4c12be9..bf97b753 100644 --- a/webmagic-samples/pom.xml +++ b/webmagic-samples/pom.xml @@ -5,7 +5,7 @@ webmagic-parent us.codecraft - 0.3.2-SNAPSHOT + 0.3.2 4.0.0 diff --git a/webmagic-saxon/pom.xml b/webmagic-saxon/pom.xml index 1c4e745e..98b86a60 100644 --- a/webmagic-saxon/pom.xml +++ b/webmagic-saxon/pom.xml @@ -5,7 +5,7 @@ webmagic-parent us.codecraft - 0.2.1 + 0.3.2 4.0.0 @@ -17,11 +17,6 @@ webmagic-core ${project.version} - - us.codecraft - xsoup - 0.0.1-SNAPSHOT - net.sf.saxon Saxon-HE diff --git a/webmagic-saxon/src/test/java/us/codecraft/webmagic/selector/XpathSelectorTest.java b/webmagic-saxon/src/test/java/us/codecraft/webmagic/selector/XpathSelectorTest.java index 6c19c8ad..895ec4bf 100644 --- a/webmagic-saxon/src/test/java/us/codecraft/webmagic/selector/XpathSelectorTest.java +++ b/webmagic-saxon/src/test/java/us/codecraft/webmagic/selector/XpathSelectorTest.java @@ -1358,7 +1358,7 @@ public class XpathSelectorTest { @Test public void testOschina() { Html html1 = new Html(html); - Assert.assertEquals("再次吐槽easyui", html1.xpath(".//*[@class='QTitle']/h1/a").toString()); + Assert.assertEquals("再次吐槽easyui", html1.xpath("//*[@class='QTitle']/h1/a/text()").toString()); Assert.assertNotNull(html1.$("a[href]").xpath("//@href").all()); Selectors.xpath("/abc/").select(""); } diff --git a/webmagic-selenium/pom.xml b/webmagic-selenium/pom.xml index 43bbcfbd..685a59f7 100644 --- a/webmagic-selenium/pom.xml +++ b/webmagic-selenium/pom.xml @@ -5,7 +5,7 @@ webmagic-parent us.codecraft - 0.2.1 + 0.3.2 4.0.0