 | 4.3.1. Supporting the entire life cycle As already mentioned (e.g. ), MSR has a specific method of adressing linked resources which exists in parallel to the methods provided by SGML/XML. This method is based on the following principles:
| | All linked targets have a child (short-name ) receiving a name for that object which can be used to construct natural address. In most cases this name is already there, e.g. a product name, a variable name etc. The engineers (e.g. a programmer) has these natural objects in mind when dealing with such objects.
|
| | The natural hierarchy of objects is reflected in the MSR instances. For example, a team member is part of a company. Therefore the names for team members must be unique within a company. In a cross company project, there can be team members with the same name. So the name of the company is used as a prefix for the team member (example see ).
|
| | As there is an object hierarchy, there is also a hierarchy of name spaces.
|
| | The name spaces for the objects is denoted in the DTD using fixed attributes.
|
| | Objects are identified using the concatenation of the short-names of the object hierarchy. This concatenation can be shortcut by omitting the name of common ancestors. This represents a relative address which can be resolved by taking in to account the nearest ancestor of the linking element belonging to the same name space.
|
| | Instances, of course, also have a short-name providing a unique name. So if the natural address starts with "/", it is taken absolute and can be interpreted as a cross instance link (e.g. port-ref/ecu/cpu/tmot/port-ref ).
|
| | All MSR DTDs have a branch of HyTime namelocs. This is used to reflect the "natural linking" using SGML/XML methods.
|
Natural adressing in MSR
companies company short-namebosch/short-name
... team-members team-member short-namewl/short-name
long-nameBernhard Weichel/long-name ... company short-namefoo/short-name ... team-members team-member short-namewl/short-name
long-nameGerhard Walter/long-name /companies modifications modifcation team-member-refbosch/wl/team-member-ref
|