edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Servers: Services: XML

Servers: Services: XML

Column Display     Related Tasks     Related Topics

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. This page lists the XML Registry that is currently configured for this instance of WebLogic Server; click on its Name to see its full configuration.

You can target only one XML Registry for a particular WebLogic Server instance, although you can create as many XML Registries as you want. To create an XML Registry, go to the Services > XML Registries node.

When you create an XML Registry, you can configure:

  • The classes that implement, by default, the parser and transformer factories used by WebLogic Server applications to obtain an XML parser or transformer. These classes will be used by default by all WebLogic Server applications that want to parse or transform XML data. When you install WebLogic Server, the default parser and transformer factory implementations are those included in Sun's JDK Version 5.0.

  • The parser and transformer factory implementation classes used by a particular XML document type, identified by either its public ID, system ID, or root element.

  • How external entities, specified in an XML file, are resolved by storing local copies of the entity at a location accessible by the Administration Server.

  • That Managed Servers cache external entities that are referenced with a URL or a pathname. You can specify that the entity be cached as server startup or when the entity is first referenced by an application.

Column Display

You can show fewer or additional data points on this page by expanding Customize this table and modifying the Column Display list. Each data point displays in its own table column.

The following table lists all of the data points that you can display in columns on this page.

Name Description
Name of

The name of the XML Registry.

MBean Attribute:
XMLRegistryMBean.Name

Changes take effect after you redeploy the module or restart the server.

Document Builder Factory

The fully qualified name of the class that implements the DocumentBuilderFactory interface.

The javax.xml.parsers.DocumentBuilderFactory factory API enables applications deployed to WebLogic Server to obtain an XML parser that produces DOM object trees from XML documents.

The built-in WebLogic Server DOM factory implementation class is com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. This is the factory class applications deployed to WebLogic Server get by default when they request a DOM parser. You can change this default by updating this value.

Return the class name of the default DocumentBuilderFactory

MBean Attribute:
XMLRegistryMBean.DocumentBuilderFactory

SAX Parser Factory

The fully qualified name of the class that implements the SAXParserFactory interface.

The javax.xml.parsers.SAXParserFactory factory API enables applications deployed to WebLogic Server to configure and obtain a SAX-based XML parser to parse XML documents.

The built-in WebLogic Server SAX factory implementation class is com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl. This is the factory class applications deployed to WebLogic Server get by default when they request a SAX parser. You can change this default by updating this value.

Return the class name of the default SAXParserFactory

MBean Attribute:
XMLRegistryMBean.SAXParserFactory

Transformer Factory

The fully qualified name of the class that implements the TransformerFactory interface.

The javax.xml.transform.TransformerFactory factory API enables applications deployed to WebLogic Server to configure and obtain a Transformer object used to transform XML data into another format.

The built-in WebLogic Server Transformer factory implementation class is com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryIml. This is the factory class applications deployed to WebLogic Server get by default when they request a Transformer object. You can change this default by updating this value.

Return the class name of the default TransformerFactory

MBean Attribute:
XMLRegistryMBean.TransformerFactory

When To Cache

Specifies when WebLogic Server should cache external entities that it retrieves from the Web.

When WebLogic Server resolves an external entity within an XML file and retrieves the entity from the Web, you can specify that WebLogic Server cache this entity only when the entity is first referenced, when WebLogic Server first starts up, or not at all.

MBean Attribute:
XMLRegistryMBean.WhenToCache

Related Tasks

Related Topics