~ubuntu-branches/ubuntu/precise/xerces-c/precise-updates

« back to all changes in this revision

Viewing changes to samples/src/SAXPrint/SAXPrint.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jay Berkenbilt
  • Date: 2009-12-05 14:58:32 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091205145832-378dg3x72mdzfzup
Tags: 3.1.0~rc1-1
* New upstream release; public release candidate uploaded at request of
  upstream.
* Updated source format to '3.0 (quilt)'

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * The ASF licenses this file to You under the Apache License, Version 2.0
6
6
 * (the "License"); you may not use this file except in compliance with
7
7
 * the License.  You may obtain a copy of the License at
8
 
 * 
 
8
 *
9
9
 *      http://www.apache.org/licenses/LICENSE-2.0
10
 
 * 
 
10
 *
11
11
 * Unless required by applicable law or agreed to in writing, software
12
12
 * distributed under the License is distributed on an "AS IS" BASIS,
13
13
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
 */
17
17
 
18
18
/*
19
 
 * $Id: SAXPrint.cpp 471735 2006-11-06 13:53:58Z amassari $
 
19
 * $Id: SAXPrint.cpp 833057 2009-11-05 15:25:10Z borisk $
20
20
 */
21
21
 
22
22
 
85
85
             "    -?          Show this help.\n\n"
86
86
             "  * = Default if not provided explicitly.\n\n"
87
87
             "The parser has intrinsic support for the following encodings:\n"
88
 
             "    UTF-8, USASCII, ISO8859-1, UTF-16[BL]E, UCS-4[BL]E,\n"
 
88
             "    UTF-8, US-ASCII, ISO8859-1, UTF-16[BL]E, UCS-4[BL]E,\n"
89
89
             "    WINDOWS-1252, IBM1140, IBM037, IBM1047.\n"
90
90
         <<  XERCES_STD_QUALIFIER endl;
91
91
}
217
217
    parser->setValidationScheme(valScheme);
218
218
    parser->setDoNamespaces(doNamespaces);
219
219
    parser->setDoSchema(doSchema);
 
220
    parser->setHandleMultipleImports (true);
220
221
    parser->setValidationSchemaFullChecking(schemaFullChecking);
221
222
 
222
223
    //
263
264
    else
264
265
        return 0;
265
266
}
266