Oracle® XML Developer's Kit Programmer's Guide 10g Release 1 (10.1) Part Number B10794-01 |
|
|
View PDF |
What's New contains this topic:
The JAXB compiler generates the interfaces and the implementation classes corresponding to the XML Schema. The JAXB Class Generator, which is based on the Java Specification Request (JSR) recommendation for JAXB, is to be used for new applications. The Class Generator for Java is deprecated and replaced by the JSR-31 implementation of XML Data Binding (JAXB). The runtime will be supported, so that the Java classes generated in older releases will continue to work.
These sets of functions work in both XDK and XML DB and replace the C and C++ XDK functions of previous releases.
Previously, the globalization support data environment variable setting was ORA_NLS33. It has now been changed to ORA_NLS10.
This W3C note is implemented for Java in the XDK.
For improved performance there are new interfaces for the XSL processor for C and C++.
This chapter has been updated for this release.
New sections are included, plus an example of a SOAP project is found in this chapter:
XMLCompress, XMLDBAccess, XSDValidator JavaBeans have been added.
PL/SQL chapters
"XML Parser for PL/SQL"
"XSLT Processor for PL/SQL"
"XML Schema Processor for PL/SQL"
are moved to the Oracle XML DB Developer's Guide.
Specifications of the levels of the components in this release are described in this section:
The XDK Java components in this release have several fixes for J2EE conformance and XML 1.0 Conformance Test Suite. Some of the changes resulted in change in behavior with respect to previous release. A few of them are listed below:
The default value of preserve whitespace [XMLParser.setPreserveWhitespace()]
is now dependent on the presence of a DTD. If a DTD is present, the default is false
, else it is true
. Earlier the default was always false
.
getPrefix()
, getNamespaceURI()
, and getLocalName()
return null
instead of '""' (empty string), when not present in the element or attribute, or if the node was created using DOM 1.0 methods.
The PL/SQL wrapper for parsing and transformation is replaced by the DBMS_XMLPARSER, DBMS_XMLDOM and DBMS_XSLPROCESSOR packages.
JAXP 1.2 supports XML Schema validation.
XMLSAXSerializer
provides support to handle the SAX output serialization.