aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/cxx/tree/guide/index.xhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cxx/tree/guide/index.xhtml b/doc/cxx/tree/guide/index.xhtml
index df54d1f..863bb57 100644
--- a/doc/cxx/tree/guide/index.xhtml
+++ b/doc/cxx/tree/guide/index.xhtml
@@ -2386,11 +2386,11 @@ if (getcwd (cwd, PATH_MAX) == 0)
xml_schema::properties props;
props.no_namespace_schema_location (
- "file:///" + std::string (cwd) + "people.xsd");
+ "file:///" + std::string (cwd) + "/people.xsd");
props.schema_location (
"http://www.w3.org/XML/1998/namespace",
- "file:///" + std::string (cwd) + "xml.xsd");
+ "file:///" + std::string (cwd) + "/xml.xsd");
auto_ptr<people_t> p (people ("people.xml", 0, props));
</pre>