The XML Registry is a facility for configuring and administering the XML resources of WebLogic Server. XML resources include the default parser and transformer factories and external entity resolution. In particular, you use the XML registry to specify:
javax.xml.parsers.DocumentBuilderFactory
and
javax.xml.parsers.SaxParserFactory
interfaces; these
implementing classes are used to parse XML in DOM and SAX mode,
respectively.javax.xml.transform.TransformerFactory
interface, used to transform XML documents.You can create as many XML Registries as you like; however, you can associate only one XML registry with a particular instance of WebLogic Server.
If an instance of WebLogic Server does not have an XML registry associated with it, then the default parser and transformer are used when parsing or transforming documents.
Note: The default parser and transformer are those included in the JDK Version 5.0.
Once you associate an XML registry with an instance of WebLogic Server, all its configuration options are available for XML applications that use that server.
To create a new XML registry and associate it with a WebLogic Server instance:
javax.xml.parsers.DocumentBuilderFactory
interface in
the Document Builder Factory field.
javax.xml.parsers.SaxParserFactory
interface in the
SAX Parser Factory field.
javax.xml.transform.TransformerFactory
interface in
the Transformer Factory field.