Generated Schema Files

Copybook resource generates XSD files. These files are located in Schema\copybook folder in your project.

These schema files are used internally by the Plug-in's activities, but you can also use them like any other schema file:

  • In Input/Output Editor of activities that offer those facilities (including Mapper, JMS activities, and so forth).
  • In your own schemas by way of the import attribute.

You can't, however, modify these XSD files manually. Their lifecycle is completely managed by the Plug-in. Any external changes to those files are immediately overwritten by the Plug-in, or more superficially, the BussinessWorks Copybook Schema Builder attached to a project.

It is not necessary to worry about preserving these schema files during export or source control commits. The Plug-in re-generates them.

Note: Do not disable BussinessWorks Copybook Schema Builder in your project. If you do, the schema files are not kept in sync and no error/warning messages are included in the Problems view.

Namespace Considerations

It is possible for your project to contain multiple schemas that use the same namespace. This might cause errors in your processes and other undesirable effects. With the Copybook resource, you can specify a namespace that is used in the corresponding copybook schema file. You can use this feature to reconcile namespace conflicts or to provide a friendlier namespace value.

These fields are present on the Settings page, under Advanced section.

Note: When you change a namespace, the Plug-in offers to update the namespace everywhere in your project. This allows you to avoid damaging existing XPath expressions in your project.
Warning: The Plug-in cannot update references if a namespace conflict exists. In that case, you must resolve the conflict manually.