XML Package Manager
XML, eXtensible Markup Language, is a general purpose markup language that is widely used across the world to share structured data across different information systems. Support is provided for XML as a built-in message format.
To use this feature , you must:
- Define XML definition files for
the expected data.
See XML definition files.
- Deploy these files into
packages in the system.
See File management.
- Compile these files for the system built-in processing.
The XML Package Manager facilitates deployment and compiling. It does this by providing a means through which DTD/Schema/DTD-containing-XML files are managed and compiled for built-in processing by the system.
The Xerces DOM parser is used in Cloverleaf. This requires that, in a DTD file, an element can be declared only once. Previous versions of Xerces DOM parser do not have this restriction.
For example, this DTD is not valid, because element a is declared twice:
<!ELEMENT foo (A,B)>
<!ELEMENT A (a,b)>
<!ELEMENT a (#PCDATA)>
<!ELEMENT b (#PCDATA)>
<!ELEMENT B (a,c)>
<!ELEMENT a (#PCDATA)>
<!ELEMENT c (#PCDATA)>
Points to remember
- OCM files are not shown in the server tree view at the package level.
- The deletion of a parent root DTD/Schema/DTD-containing-XML file automatically deletes the associated OCM file.
- The completion of a Cut of a parent root DTD/Schema/DTD-containing-XML file automatically deletes the associated OCM file.
- OCM files that have somehow been ‘orphaned’ from their parent root DTD/Schema/DTD-containing-XML file at the package level are automatically removed.
- OCM creation can be performed on multiple files at one time. A "busy" icon is shown until all indicated OCM creations are satisfied by success or failure of the process.
The XML Package Manager generally prevents the inadvertent copy of the hidden OCM files from one location to another.