Documentation Center

Baseline Freeze Report XML

Baseline Freeze Report XML Structure contains metadata and a logobject for each publication which references the baseline.

XML Structure

<xs:schema id="ISHBaselineFreezeReport" elementFormDefault="qualified" 
  xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="baselinefreezereport">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="publicationfreezereport" minOccurs="1" maxOccurs="unbounded" />
      </xs:choice>
      <xs:attribute name ="ishref" type="xs:string" />
    </xs:complexType>
  </xs:element>
  <xs:element name="publicationfreezereport">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref ="ishobject" minOccurs="1" maxOccurs="1" />
        <xs:element ref="logger" minOccurs="1" maxOccurs="1" />
      </xs:choice>
      <xs:attribute name ="ishref" type="xs:string" />
    </xs:complexType>
  </xs:element>
  <xs:element name="ishobject">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="ishfields" minOccurs="1" maxOccurs="1" />
      </xs:choice>
      <xs:attribute name="ishref" use="required" type="xs:string" />
      <xs:attribute name="ishlogicalref" use="optional" type="xs:string" />
      <xs:attribute name="ishversionref" use="optional" type="xs:string" />
      <xs:attribute name="ishlngref" use="optional" type="xs:string" />
      <xs:attribute name="ishtype" use="required">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="ISHPublication" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
    </xs:complexType>
  </xs:element>
  <xs:element name="ishfields">
    <xs:complexType>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ishfield"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ishfield">
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="xs:string">
          <xs:attribute name="name" use="required" type="xs:string" />
          <xs:attribute name="level" use="required" type="IshLevel"/>
          <xs:attribute name="ishvaluetype" use="optional" type="IshValueType"/>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:simpleType name ="IshLevel">
    <xs:restriction base="xs:string">
      <xs:enumeration value="logical"/>
      <xs:enumeration value="version"/>
      <xs:enumeration value="lng"/>
      <xs:enumeration value="none"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="IshValueType">
    <xs:restriction base="xs:string">
      <xs:enumeration value=""/>
      <xs:enumeration value="value"/>
      <xs:enumeration value="element"/>
      <xs:enumeration value="id"/>
    </xs:restriction>
  </xs:simpleType>
     <xs:element name="logger">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element ref="logs" minOccurs="1" maxOccurs="1" />
      </xs:choice>
      <xs:attribute name="applicationname" use="required" type="xs:string"/>
      <xs:attribute name="userid" use="required" type="xs:string" />
      <xs:attribute name="serverrequestid" use="optional" type="xs:string" />
      <xs:attribute name="serverhostname" use="optional" type="xs:string" />
    </xs:complexType>
  </xs:element>
  <xs:element name="logs">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="error" minOccurs="0" maxOccurs="unbounded" type ="LogEntryComplexType" />
        <xs:element name="warning" minOccurs="0" maxOccurs="unbounded" type ="LogEntryComplexType" />
        <xs:element name="message" minOccurs="0" maxOccurs="unbounded" type ="LogEntryComplexType" />
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="LogEntryComplexType">
    <xs:choice maxOccurs="unbounded">
      <xs:element ref="basedescription" minOccurs="1" maxOccurs="1" />
      <xs:element ref="desc" minOccurs="1" maxOccurs="1" />
      <xs:element ref="param" minOccurs="0" maxOccurs="unbounded" />
      <xs:element ref="relatedinfo" minOccurs="0" maxOccurs="1" />
    </xs:choice>
    <xs:attribute name="logid" use="required" type="xs:string"/>
    <xs:attribute name="resourceid" use="required" type="xs:string"/>
    <xs:attribute name="resourcelib" use="required" type="xs:string"/>
    <xs:attribute name="number" use="required" type="xs:string" />
  </xs:complexType>
  <xs:element name ="basedescription" type="StringContent"/>
  <xs:element name ="desc" type="StringContent"/>
  <xs:element name ="param">
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="xs:string">
          <xs:attribute name ="paramname" use="required" type ="xs:string"/>
          <xs:attribute name ="paramtype" use="required">
            <xs:simpleType>
              <xs:restriction base ="xs:string">
                <xs:enumeration value ="String"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
  <xs:element name ="relatedinfo">
    <xs:complexType>
      <xs:choice minOccurs="1" maxOccurs="unbounded">
        <xs:element name="conref" minOccurs="0" maxOccurs="unbounded" type="StringContent"/>
        <xs:element name="hyperlink" minOccurs="0" maxOccurs="unbounded" type ="StringContent" />
        <xs:element name="link" minOccurs="0" maxOccurs="unbounded" type ="StringContent" />
        <xs:element name="varid" minOccurs="0" maxOccurs="unbounded" type ="StringContent" />
        <xs:element ref="ishobject" minOccurs="0" maxOccurs="unbounded" />
        <xs:element ref="parseerror" minOccurs="0" maxOccurs="unbounded" />
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:element name="parseerror">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="reason" minOccurs="1" maxOccurs="1" type="StringContent"/>
        <xs:element name="line" minOccurs="1" maxOccurs="1" type="StringContent"/>
        <xs:element name="linepos" minOccurs="1" maxOccurs="1" type="StringContent"/>
        <xs:element name="errorcode" minOccurs="1" maxOccurs="1" type="StringContent"/>
        <xs:element name="srctext" minOccurs="1" maxOccurs="1" type="StringContent"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <!-- Complex types -->
  <xs:complexType name="StringContent">
    <xs:simpleContent>
      <xs:extension base="xs:string" />
    </xs:simpleContent>
  </xs:complexType>
</xs:schema>

Example

<baselinefreezereport ishref="GUID-169AD55B-7316-4630-AEDD-6E4081778B99">
  <publicationfreezereport ishref="GUID-169AD55B-7316-4630-AEDD-6E4081778B00">
    <ishobject ishref="GUID-169AD55B-7316-4630-AEDD-6E4081778B00" ishtype="ISHPublication" 
    ishlogicalref="8649" ishversionref="33343">
      <ishfields>
        <ishfield name="FTITLE" level="logical" xml:space="preserve">InfoShare_Documentation Set</ishfield>
        <ishfield name="VERSION" level="version" xml:space="preserve">10</ishfield>
        <ishfield name="FISHBASELINE" level="version" xml:space="preserve">InfoShare_Documentation Set-v10-GUID-169AD55B-7316-4630-AEDD-6E4081778B00-2008/12/18 09:28:55</ishfield>
        <ishfield name="FISHMASTERREF" level="version" xml:space="preserve">GUID.7DE82B3B.643A.4EF9.A0B5.41E9A88141FF</ishfield>
        <ishfield name="FISHRESOURCES" level="version" xml:space="preserve">GUID-661CFE97-729E-46C6-BE6F-D93806B5A80B, GUID-2BA1535D-EBB1-455F-84BF-290E477F6558</ishfield>
        <ishfield name="FISHPUBSOURCELANGUAGES" level="version" xml:space="preserve">en</ishfield>
        <ishfield name="FISHREQUIREDRESOLUTIONS" level="version" xml:space="preserve">Low</ishfield>
      </ishfields>
    </ishobject>
    <logger applicationname="ISHCM" userid="Admin" serverrequestid="10" serverhostname="APPSERVERNAME">
      <logs>
        <error logid="0" resourceid="NoVersionSelected" resourcelib="isAuthor" number="-2005">
          <basedescription>No version selected for object "GUID-2BA1535D-EBB1-455F-84BF-290E477F6558".  [2005;NoVersionSelected]</basedescription>
          <desc>No version selected for object "GUID-2BA1535D-EBB1-455F-84BF-290E477F6558".  [2005;NoVersionSelected]</desc>
          <param paramname="object" paramtype="String">GUID-2BA1535D-EBB1-455F-84BF-290E477F6558</param>
          <relatedinfo>
            <ishobject ishref="GUID-2BA1535D-EBB1-455F-84BF-290E477F6558" ishtype="ISHNone"/>
          </relatedinfo>
        </error>
      </logs>
    </logger>
  </publicationfreezereport>
</baselinefreezereport>

Possible exceptions

The logobject of the Baseline Freeze Report can contain the following exceptions:

ResourceIdMatching reportresultDescription
NoVersionSelectedObjectMissingInBaselineThere is no version selected for the object in the baseline.
ObjectMissingLanguageVersionMissing, VersionMissing or ObjectMissingThe object is not present in the repository.
ObjectNotReleasedNotReleasedThe object is not released.
VariableNotResolvedThe variable could not be resolved. This is probably due to a missing resource.
DuplicateVariableAssignmentInPublicationThere are two definitions for the same variable in the publication.
ConrefNotResolvedThe conref could not be resolved.
HyperlinkTargetMissingThe hyperlink could not be resolved.
LinkTargetMissingThe link could not be resolved.