diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-12 16:26:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-01-12 16:26:31 +0200 |
commit | 6802b7627722433194f162f5362168385c7461fb (patch) | |
tree | 34358c5fba7e729f440519afd4b1c1961bd2d12e /examples/cxx/hybrid | |
parent | 4326461b99a97153dd20a24570712adb04df89a9 (diff) |
Serialize extracted object model instead of original
Diffstat (limited to 'examples/cxx/hybrid')
-rw-r--r-- | examples/cxx/hybrid/binary/cdr/driver.cxx | 2 | ||||
-rw-r--r-- | examples/cxx/hybrid/binary/custom/driver.cxx | 2 | ||||
-rw-r--r-- | examples/cxx/hybrid/binary/xdr/driver.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/cxx/hybrid/binary/cdr/driver.cxx b/examples/cxx/hybrid/binary/cdr/driver.cxx index 9eb4231..e89d190 100644 --- a/examples/cxx/hybrid/binary/cdr/driver.cxx +++ b/examples/cxx/hybrid/binary/cdr/driver.cxx @@ -98,7 +98,7 @@ main (int argc, char* argv[]) doc_s.add_prefix ("lib", "http://www.codesynthesis.com/library"); doc_s.add_schema ("http://www.codesynthesis.com/library", "library.xsd"); - catalog_s.pre (*c); + catalog_s.pre (*copy); doc_s.serialize (std::cout, xml_schema::document_simpl::pretty_print); catalog_s.post (); } diff --git a/examples/cxx/hybrid/binary/custom/driver.cxx b/examples/cxx/hybrid/binary/custom/driver.cxx index cfc525b..60432a6 100644 --- a/examples/cxx/hybrid/binary/custom/driver.cxx +++ b/examples/cxx/hybrid/binary/custom/driver.cxx @@ -77,7 +77,7 @@ main (int argc, char* argv[]) doc_s.add_prefix ("lib", "http://www.codesynthesis.com/library"); doc_s.add_schema ("http://www.codesynthesis.com/library", "library.xsd"); - catalog_s.pre (*c); + catalog_s.pre (*copy); doc_s.serialize (std::cout, xml_schema::document_simpl::pretty_print); catalog_s.post (); } diff --git a/examples/cxx/hybrid/binary/xdr/driver.cxx b/examples/cxx/hybrid/binary/xdr/driver.cxx index 28bd1ef..5216a63 100644 --- a/examples/cxx/hybrid/binary/xdr/driver.cxx +++ b/examples/cxx/hybrid/binary/xdr/driver.cxx @@ -132,7 +132,7 @@ main (int argc, char* argv[]) doc_s.add_prefix ("lib", "http://www.codesynthesis.com/library"); doc_s.add_schema ("http://www.codesynthesis.com/library", "library.xsd"); - catalog_s.pre (*c); + catalog_s.pre (*copy); doc_s.serialize (std::cout, xml_schema::document_simpl::pretty_print); catalog_s.post (); } |