Closed GoogleCodeExporter closed 8 years ago
Original comment by johan.ha...@gmail.com
on 7 Mar 2014 at 11:17
I've now committed this to master. Usage:
get("/x").then().body(matchesXsd(load("main.xsd")).using(new
ClasspathResourceResolver()));
You can try it out by depending on version 2.3.1-SNAPSHOT after having added
the following Maven repo:
<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots />
</repository>
</repositories>
Original comment by johan.ha...@gmail.com
on 10 Mar 2014 at 7:35
Unlike matchesXsd(),
matchesXsdInClasspath()
does not return XmlXsdMatcher which makes it impossible to use
using(new ClasspathResourceResolver())
Are there any plans to update this part of the API?
Original comment by mgawine...@gmail.com
on 1 Sep 2014 at 1:24
matchesXsdInClasspath should of course also return a XmlXsdMatcher. That was
probably just a miss. I've fixed it and deployed a new snapshot. Please try it
out by depending on version 2.3.4-SNAPSHOT after having added the following
repo:
<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots />
</repository>
</repositories>
Original comment by johan.ha...@gmail.com
on 1 Sep 2014 at 1:52
Original issue reported on code.google.com by
rams.qa...@gmail.com
on 5 Mar 2014 at 10:07Attachments: