| Oracle9i XML Developer's Kits Guide - XDK Release 2 (9.2) Part Number A96621-01  | 
  | 
This chapter contains the following sections:
The XML Schema Processor for C++ is a companion component to the XML Parser for C++ that allows support to simple and complex datatypes into XML applications with Oracle9i.
The XML Schema Processor for C++ supports the W3C XML Schema Recommendation, with the goal being that it be 100% fully conformant when XML Schema becomes a W3C Recommendation. This makes writing custom applications that process XML documents straightforward in the Oracle9i environment, and means that a standards-compliant XML Schema Processor is part of the Oracle9i platform on every operating system where Oracle9i is ported.
| See Also:  
 Chapter 4, "XML Parser for Java", for more information about XML Schema and why you would want to use XML Schema.  | 
XML Schema Processor for C++ has the following features:
The XML Schema Processor for C++ class is XMLSchema.
Documentation for Oracle XML Schema Processor for C++ is located in the doc directory in your install area.
The Schema Processor conforms to the following standards:
Table 18-1 lists the supplied files and directories with this release:
Table 18-2 lists the included libraries:
| Included Library | Description | 
|---|---|
|  
 libxml9.a  | 
 
 XML Parser/XSL Processor  | 
|  
 libxsd9.a  | 
 
 XML Schema Processor  | 
|  
 libcore9.a  | 
 
 CORE functions  | 
|  
 libnls9.a  | 
 
 Globalization Support  | 
The XML Schema Processor can be called as an executable by invoking bin/schema in the install area. This takes two arguments:
The Schema processor can also be invoked by writing code using the supplied APIs. The code must be compiled using the headers in the include/ subdirectory and linked against the libraries in the lib/ subdirectory. See Makefile in the sample/ subdirectory for details on how to build your program.
An error message file is provided in the mesg/ subdirectory. Currently, the only message file is in English although message files for other languages may be supplied in future releases.
Figure 18-1 illustrates the calling sequence of XMl Schema Processor for C++, as follows:
The sequence of calls to the processor is: initialize, validate, validate,..., validate, terminate.

This directory contains a sample XML Schema application that illustrates how to use Oracle XML Schema Processor with its API. Table 18-3 lists the provided sample files.
To build the sample programs, run make.
To build the programs and run them, comparing the actual output to expected output, run make sure.
  | 
![]() Copyright © 2001, 2002 Oracle Corporation. All Rights Reserved.  | 
  |