aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-30 19:12:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-30 19:12:57 +0200
commitb43b5b2a9b5430e8e7034c08aff06e572da7b762 (patch)
treededd4348152d67ba36a15dea7b57343894d3d52e
parentfca6431ef713608521dd12641bcaf9773965c814 (diff)
Cosmetic changes
-rw-r--r--examples/cxx/tree/custom/contacts/README2
-rw-r--r--examples/cxx/tree/custom/taxonomy/README4
-rw-r--r--examples/cxx/tree/custom/wildcard/README4
-rw-r--r--examples/cxx/tree/library/README2
-rw-r--r--examples/cxx/tree/xpath/driver.cxx4
-rw-r--r--libxsd/xsd/cxx/xml/dom/wildcard-source.txx1
6 files changed, 8 insertions, 9 deletions
diff --git a/examples/cxx/tree/custom/contacts/README b/examples/cxx/tree/custom/contacts/README
index a3b237c..072ede3 100644
--- a/examples/cxx/tree/custom/contacts/README
+++ b/examples/cxx/tree/custom/contacts/README
@@ -20,7 +20,7 @@ contacts.cxx
C++ types that represent the given vocabulary and a set of parsing
functions that convert XML instance documents to a tree-like in-memory
object model. These are generated by XSD from contacts.xsd with the
- --custom-type option in order to to customize the contact type.
+ --custom-type option in order to customize the contact type.
contacts-custom.hxx
Header file which defines our own contact class by inheriting from the
diff --git a/examples/cxx/tree/custom/taxonomy/README b/examples/cxx/tree/custom/taxonomy/README
index addce83..356aef4 100644
--- a/examples/cxx/tree/custom/taxonomy/README
+++ b/examples/cxx/tree/custom/taxonomy/README
@@ -21,8 +21,8 @@ people.cxx
C++ types that represent the given vocabulary and a set of parsing
functions that convert XML instance documents to a tree-like in-memory
object model. These are generated by XSD from people.xsd with the
- --custom-type option in order to to customize the person, superman,
- and batman types. Generation of the people-fwd.hxx forward declaration
+ --custom-type option in order to customize the person, superman, and
+ batman types. Generation of the people-fwd.hxx forward declaration
file is requested with the --generate-forward option.
people-custom-fwd.hxx
diff --git a/examples/cxx/tree/custom/wildcard/README b/examples/cxx/tree/custom/wildcard/README
index 5ca25c0..70eaea4 100644
--- a/examples/cxx/tree/custom/wildcard/README
+++ b/examples/cxx/tree/custom/wildcard/README
@@ -14,7 +14,7 @@ The example consists of the following files:
wildcard.xsd
XML Schema definition for simple data type and element.
-contacts.xml
+wildcard.xml
Sample XML instance document.
wildcard.hxx
@@ -24,7 +24,7 @@ wildcard.cxx
functions that convert XML instance documents to a tree-like in-memory
object model, and a set of serialization functions that convert the
object model back to XML. These are generated by XSD from wildcard.xsd
- with the --custom-type option in order to to customize the data type.
+ with the --custom-type option in order to customize the data type.
wildcard-custom.hxx
Header file which defines our own data class by inheriting from the
diff --git a/examples/cxx/tree/library/README b/examples/cxx/tree/library/README
index 960d1d4..0b8638c 100644
--- a/examples/cxx/tree/library/README
+++ b/examples/cxx/tree/library/README
@@ -28,5 +28,5 @@ To run the example on the sample XML instance document simply execute:
$ ./driver library.xml
-This example also shows how to to use the ID/IDREF cross-referencing
+This example also shows how to use the ID/IDREF cross-referencing
mechanism and the xsd:enumeration to C++ enum mapping.
diff --git a/examples/cxx/tree/xpath/driver.cxx b/examples/cxx/tree/xpath/driver.cxx
index b55037b..f49e186 100644
--- a/examples/cxx/tree/xpath/driver.cxx
+++ b/examples/cxx/tree/xpath/driver.cxx
@@ -95,7 +95,7 @@ main (int argc, char* argv[])
// Iterate over the result.
//
- cout << "Records matching the query:" << endl;
+ cerr << "Records matching the query:" << endl;
while (r->iterateNext ())
{
@@ -109,7 +109,7 @@ main (int argc, char* argv[])
// Print the data using the object model.
//
- cout << endl
+ cerr << endl
<< "First : " << p->first_name () << endl
<< "Last : " << p->last_name () << endl
<< "Gender : " << p->gender () << endl
diff --git a/libxsd/xsd/cxx/xml/dom/wildcard-source.txx b/libxsd/xsd/cxx/xml/dom/wildcard-source.txx
index dcd54d2..1c174cf 100644
--- a/libxsd/xsd/cxx/xml/dom/wildcard-source.txx
+++ b/libxsd/xsd/cxx/xml/dom/wildcard-source.txx
@@ -36,4 +36,3 @@ namespace xsd
}
}
}
-