Skip to content

Commit

Permalink
#5 load with sid
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 28, 2021
1 parent 58cf712 commit f85e968
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/org/polystat/far/FaR.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,14 @@ public Collection<String> errors(final Func<String, XML> xmir,
* @throws IOException If fails
*/
private static XSL xsl(final String name) throws IOException {
final String path = String.format("org/polystat/far/%s", name);
return new XSLDocument(
new TextOf(
new ResourceOf(
String.format("org/polystat/far/%s", name)
path
)
).asString()
).asString(),
path
).with(new ClasspathSources());
}

Expand Down

0 comments on commit f85e968

Please sign in to comment.