From 563fdfbeb4810c27d483fb1d1b177b7836df0229 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 06 Feb 2012 13:18:07 +0000
Subject: [PATCH] Human readable xml-ids for mediaobjects

---
 opendj-sdk/opendj3/src/main/docbkx/legal.xml                             |    2 +-
 opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-install-gui.xml    |   18 +++++++++---------
 opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-replication.xml      |   12 ++++++------
 opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-uninstall.xml      |    4 ++--
 opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-understanding-ldap.xml |    4 ++--
 opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml         |    2 +-
 opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-admin-tools.xml      |    4 ++--
 opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-listeners.xml        |    2 +-
 opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-schema.xml           |    6 +++---
 9 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-admin-tools.xml b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-admin-tools.xml
index 31dd01a..3e9e7ce 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-admin-tools.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-admin-tools.xml
@@ -77,7 +77,7 @@
   installed OpenDJ). In other words, the OpenDJ Control Panel does not do
   remote process management.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-opendj-control-panel">
    <imageobject>
     <imagedata fileref="images/OpenDJ-Control-Panel.png" format="PNG" />
    </imageobject>
@@ -97,7 +97,7 @@
      Entries window can be useful, however, both in the lab as you design
      and test directory data, and also if you modify individual ACIs or
      debug issues with particular entries.</para>
-     <mediaobject>
+     <mediaobject xml:id="figure-manage-entries">
       <imageobject>
        <imagedata fileref="images/Manage-Entries.png" format="PNG" />
       </imageobject>
diff --git a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
index 0cb8228..7f005ab 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-indexing.xml
@@ -318,7 +318,7 @@
    New VLV Index..., and then set up your VLV index using the New VLV
    Index window.</para>
   
-   <mediaobject>
+   <mediaobject xml:id="figure-create-vlv-index">
     <imageobject>
      <imagedata fileref="images/create-vlv-index.png" format="PNG" />
     </imageobject>
diff --git a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-listeners.xml b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-listeners.xml
index 730e03f..44bea79 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-listeners.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-listeners.xml
@@ -374,7 +374,7 @@
   <replaceable>webapp-dir</replaceable> refers to the name of the directory
   in which you unpacked the DSML .war file.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-jxplorer-dsml">
    <imageobject>
     <imagedata fileref="images/JXplorer-dsml.png" format="PNG" />
    </imageobject>
diff --git a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-replication.xml b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-replication.xml
index 5f468e5..f7a0f0e 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-replication.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-replication.xml
@@ -56,7 +56,7 @@
   This server will be part of a replication topology. If you also choose
   Configure as Secure, then replication traffic is protected by SSL.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-repla-setup">
    <imageobject>
     <imagedata fileref="images/replA-setup.png" format="PNG" />
    </imageobject>
@@ -67,7 +67,7 @@
   Administration Connector Port number, Admin User, and Admin Password for
   the first replica you set up.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-replb-setup">
    <imageobject>
     <imagedata fileref="images/replB-setup.png" format="PNG" />
    </imageobject>
@@ -77,7 +77,7 @@
   <literal>cn=admin data</literal> across replicas, used to manage replication
   in the topology.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-replb-global-admin">
    <imageobject>
     <imagedata fileref="images/replB-global-admin.png" format="PNG" />
    </imageobject>
@@ -85,7 +85,7 @@
   
   <para>You further set up what to replicate.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-replb-data-repl">
    <imageobject>
     <imagedata fileref="images/replB-data-repl.png" format="PNG" />
    </imageobject>
@@ -95,7 +95,7 @@
   monitor the replication connection and status through the OpenDJ Control
   Panel.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-repla-monitor-repl">
    <imageobject>
     <imagedata fileref="images/replA-monitor-repl.png" format="PNG" />
    </imageobject>
@@ -594,7 +594,7 @@
    servers and eight stand-alone directory servers, you reduce the number of
    replication connections to 14 for 12 replicas.)</para>
    
-   <mediaobject>
+   <mediaobject xml:id="figure-standalone-repl">
     <alt>Dedicated servers versus consolidated instances</alt>
     <imageobject>
      <imagedata fileref="images/standalone-repl.png" format="PNG"/>
diff --git a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-schema.xml b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-schema.xml
index a26156b..dab9c70 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-schema.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/admin-guide/chap-schema.xml
@@ -131,7 +131,7 @@
   Panel. Open the Control Panel &gt; Schema &gt; Manage Schema window to
   get started creating your custom object classes and attribute types.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-manage-schema">
    <imageobject>
     <imagedata fileref="images/Manage-Schema.png" format="PNG" />
    </imageobject>
@@ -143,7 +143,7 @@
   
   <para>Create a custom attribute type through the New Attribute window.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-custom-attrtype">
    <imageobject>
     <imagedata fileref="images/custom-attrtype.png" format="PNG" />
    </imageobject>
@@ -153,7 +153,7 @@
   that allows your new custom attribute type. You set the type to Auxiliary
   under Extra Options.</para>
 
-  <mediaobject>
+  <mediaobject xml:id="figure-custom-objclass">
    <imageobject>
     <imagedata fileref="images/custom-objclass.png" format="PNG" />
    </imageobject>
diff --git a/opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-understanding-ldap.xml b/opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-understanding-ldap.xml
index 83269e3..c38632c 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-understanding-ldap.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/dev-guide/chap-understanding-ldap.xml
@@ -164,7 +164,7 @@
   <literal>uid=bjensen,ou=People,dc=example,dc=com</literal>. Those components
   reflect the hierarchy of directory entries.</para>
   
-  <mediaobject>
+  <mediaobject xml:id="figure-data-organization">
    <alt>Directory data hierarchy as seen in OpenDJ Control Panel.</alt>
    <imageobject>
     <imagedata fileref="images/data-organization.png" format="PNG" />
@@ -202,7 +202,7 @@
   requests any number of operations perhaps processing results in between
   requests, and finally disconnects when done.</para>
 
-  <mediaobject>
+  <mediaobject xml:id="figure-ldap-lifecycle">
    <alt>Schematic of LDAP client-server session</alt>
    <imageobject>
     <imagedata fileref="images/ldap-lifecycle.png" format="PNG" />
diff --git a/opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-install-gui.xml b/opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-install-gui.xml
index 3be732b..26e70f8 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-install-gui.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-install-gui.xml
@@ -51,7 +51,7 @@
   picks up an old installation of Java 5 for example, installation can
   fail. You might see an application error message such as this:</para>
  
-  <mediaobject>
+  <mediaobject xml:id="figure-missing-java6">
    <alt>Application error due to old Java version</alt>
    <imageobject>
     <imagedata fileref="images/missing-java6.png" format="PNG" />
@@ -86,14 +86,14 @@
  <para>Java WebStart launches the the QuickSetup wizard, and soon the
  Welcome screen appears.</para>
 
- <mediaobject>
+ <mediaobject xml:id="figure-quicksetup-welcome">
   <imageobject>
    <imagedata fileref="images/QuickSetup-welcome.png" format="PNG" />
   </imageobject>
   <caption><para>The Welcome screen appears.</para></caption>
  </mediaobject>
 
- <mediaobject>
+ <mediaobject xml:id="figure-quicksetup-svrconf">
   <imageobject>
    <imagedata fileref="images/QuickSetup-svrconf.png" format="PNG" />
   </imageobject>
@@ -101,7 +101,7 @@
   are 389 or 1389 for LDAP, 4444 for administrative access.</para></caption>
  </mediaobject>
 
- <mediaobject>
+ <mediaobject xml:id="figure-quicksetup-replopts">
    <imageobject>
      <imagedata fileref="images/QuickSetup-replopts.png" format="PNG" />
    </imageobject>
@@ -109,7 +109,7 @@
    Topology Options screen.</para></caption>
  </mediaobject>
 
- <mediaobject>
+ <mediaobject xml:id="figure-quicksetup-gendata">
   <imageobject>
    <imagedata fileref="images/QuickSetup-gendata.png" format="PNG" />
   </imageobject>
@@ -117,7 +117,7 @@
   Data screen.</para></caption>
  </mediaobject>
 
- <mediaobject>
+ <mediaobject xml:id="figure-quicksetup-jvmopts">
   <imageobject>
    <imagedata fileref="images/QuickSetup-jvmopts.png" format="PNG" />
   </imageobject>
@@ -125,14 +125,14 @@
   your server, for example to allow OpenDJ to use more memory.</para></caption>
  </mediaobject>
 
- <mediaobject>
+ <mediaobject xml:id="figure-quicksetup-review">
   <imageobject>
    <imagedata fileref="images/QuickSetup-review.png" format="PNG" />
   </imageobject>
   <caption><para>Opt to start your server when setup completes.</para></caption>
  </mediaobject>
 
- <mediaobject>
+ <mediaobject xml:id="figure-quicksetup-finished">
   <imageobject>
    <imagedata fileref="images/QuickSetup-finished.png" format="PNG" />
   </imageobject>
@@ -140,7 +140,7 @@
   installed server.</para></caption>
  </mediaobject>
 
- <mediaobject>
+ <mediaobject xml:id="figure-quicksetup-cpstart">
   <imageobject>
    <imagedata fileref="images/QuickSetup-cpstart.png" format="PNG" />
   </imageobject>
diff --git a/opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-uninstall.xml b/opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-uninstall.xml
index 271d225..0b4cf44 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-uninstall.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/install-guide/chap-uninstall.xml
@@ -45,7 +45,7 @@
    <para>(Mac OS X) Double-click
    <filename>OpenDJ-<?eval ${docTargetVersion}?>\Uninstall.app</filename>.</para>
 
-   <mediaobject>
+   <mediaobject xml:id="figure-uninstall-start">
     <imageobject>
      <imagedata fileref="images/uninstall-start.png" format="PNG" />
     </imageobject>
@@ -59,7 +59,7 @@
    <para>When the process is finished, you might still have some files
    to remove manually.</para>
    
-   <mediaobject>
+   <mediaobject xml:id="figure-uninstall-finished">
     <imageobject>
      <imagedata fileref="images/uninstall-finished.png" format="PNG" />
     </imageobject>
diff --git a/opendj-sdk/opendj3/src/main/docbkx/legal.xml b/opendj-sdk/opendj3/src/main/docbkx/legal.xml
index a1ddf0e..196cbaf 100644
--- a/opendj-sdk/opendj3/src/main/docbkx/legal.xml
+++ b/opendj-sdk/opendj3/src/main/docbkx/legal.xml
@@ -31,7 +31,7 @@
  xmlns:xinclude='http://www.w3.org/2001/XInclude'><?dbhtml
  filename='target/docbkx/html/legalnotice.html'?>
 
- <mediaobject>
+ <mediaobject xml:id="figure-cc-logo">
   <imageobject>
    <imagedata fileref="http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png"
    format="PNG" align="center" />

--
Gitblit v1.10.0