aboutsummaryrefslogtreecommitdiff
path: root/src/support/include_entity_resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/include_entity_resolver.h')
-rw-r--r--src/support/include_entity_resolver.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/support/include_entity_resolver.h b/src/support/include_entity_resolver.h
index 32d9001..ea5fb7a 100644
--- a/src/support/include_entity_resolver.h
+++ b/src/support/include_entity_resolver.h
@@ -15,6 +15,8 @@ namespace InputXSLT {
class IncludeEntityResolver : public xercesc::EntityResolver {
public:
+ static boost::filesystem::path getPathFromSystemId(const XMLCh* const);
+
IncludeEntityResolver(const std::vector<std::string>&);
xercesc::InputSource* resolveEntity(
@@ -22,14 +24,16 @@ class IncludeEntityResolver : public xercesc::EntityResolver {
const XMLCh* const
);
- boost::filesystem::path resolve(
- const XMLCh* const) const;
boost::optional<boost::filesystem::path> resolve(
- const boost::filesystem::path&) const;
+ const std::string&) const;
private:
const std::vector<FilesystemContext> path_;
+ boost::optional<boost::filesystem::path> tryIncludePaths(
+ const boost::filesystem::path&) const;
+
+
};
}