This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.

On this page:

Target audience:

CAST Administrators

Summary: This document provides technical information about the extension called DMT XML Scanner (com.castsoftware.dmtxmlscanner).

Extension ID

com.castsoftware.dmtxmlscanner

Description

The DMT XML Scanner (com.castsoftware.dmtxmlscanner) extension automatically generates information for the Source Code Delivery report that is available in the CAST Delivery Manager ToolThe extension can be downloaded on its own as a standalone extension and is also shipped and automatically installed with CAST 8.3.x where x  3.

What does it do

The extension will scan any XML file it encounters during a packaging action (scan phase) in the CAST Delivery Manager Tool and attempts to identify a Document Type Definition (DTD) in the XML file(s). If a valid DTD from a known framework is identified, information about the framework will be provided in the Source Code Delivery report that is available in the CAST Delivery Manager Tool:

Framework support

MethodExampleNotes
The URL referenced in the DOCTYPE element.
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
	"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
	"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
<hibernate-mapping>

A list of supported frameworks is included in the following file in the extension:

%PROGRAMDATA%\CAST\CAST\Extensions\com.castsoftware.dmtxmlscanner.<version>\TOOLS\Plugins\dmtxmlscanner-<version>\framework_doctypes.config

It is possible to modify this file in a text editor and add custom frameworks, using the following format:

<framework_name>;<version>;<doctype_url>


The XMLNS attribute of the first node in the file.
<?xml version="1.0" encoding="UTF-8"?>
<project
	xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
	http://maven.apache.org/xsd/maven-4.0.0.xsd">

A list of supported frameworks is included in the following file in the extension:

%PROGRAMDATA%\CAST\CAST\Extensions\com.castsoftware.dmtxmlscanner.<version>\TOOLS\Plugins\dmtxmlscanner-<version>\framework_xmlnamespaces.config

It is possible to modify this file in a text editor and add custom frameworks, using the following format:

<framework_name>;<version>;<xml_namespace_url>


The first XML element in the file if it doesn't have any attributes.
<?xml version="1.0" encoding="UTF-8"?>
<project>

A list of supported frameworks is included in the following file in the extension:

%PROGRAMDATA%\CAST\CAST\Extensions\com.castsoftware.dmtxmlscanner.<version>\TOOLS\Plugins\dmtxmlscanner-<version>\framework_xmlnodes.config

It is possible to modify this file in a text editor and add custom frameworks, using the following format:

<framework_name>;<version>;<element>


CAST AIP compatibility

This extension is compatible with:

CAST AIP release
Supported
8.3.x where x 3(tick)
8.2.x(error)
8.1.x(error)
8.0.x(error)
7.3.x(error)

Supported DBMS servers

This extension is compatible with the following DBMS servers:

CAST AIP release
CSS
Oracle
Microsoft
All supported releases (see above)(tick)(tick)(tick)

Prerequisites

(tick)

An installation of any compatible release of CAST AIP (see table above)

Download and installation instructions

Please see:

The latest release status of this extension can be seen when downloading it from the CAST Extend server.

Configuration