From cbfd9578d73f93e47b282bdf4e298067c4a9bf79 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Thu, 16 Jul 2009 17:15:14 -0400 Subject: fix a bunch of xml validation errors https://bugs.freedesktop.org/show_bug.cgi?id=20232 --- doc/dbus/Makefile.am | 5 ++- doc/dbus/ck-design.xml | 58 +++++++++++++++++------------------ doc/dbus/spec-to-docbook.xsl | 72 ++++++++++++++++++++++++++------------------ 3 files changed, 75 insertions(+), 60 deletions(-) (limited to 'doc') diff --git a/doc/dbus/Makefile.am b/doc/dbus/Makefile.am index d8bb0ee..4f8f3e7 100644 --- a/doc/dbus/Makefile.am +++ b/doc/dbus/Makefile.am @@ -16,7 +16,7 @@ htmldocdir = $(docdir)/spec htmldoc_DATA = ConsoleKit.html ConsoleKit.html : $(SPEC_XML_FILES) - $(XMLTO) xhtml-nochunks -m $(top_srcdir)/doc/dbus/config.xsl ConsoleKit.xml + $(XMLTO) $(XMLTO_FLAGS) xhtml-nochunks -m $(top_srcdir)/doc/dbus/config.xsl ConsoleKit.xml endif # DOCBOOK_DOCS_ENABLED @@ -44,3 +44,6 @@ MAINTAINERCLEANFILES = \ clean-local: rm -f *~ *.ref.xml rm -f ConsoleKit.html + +check-local: + xmllint --noout --noent --valid ConsoleKit.xml diff --git a/doc/dbus/ck-design.xml b/doc/dbus/ck-design.xml index 1148773..8aca968 100644 --- a/doc/dbus/ck-design.xml +++ b/doc/dbus/ck-design.xml @@ -38,16 +38,16 @@ The Session will remain open until the Session Leader disconnects from the D-Bus - To open a new Session. + To open a new Session. - To set properties for the Session. + To set properties for the Session. - To maintain a connection to the D-Bus system bus. + To maintain a connection to the D-Bus system bus. - To close the Session at logout. + To close the Session at logout. @@ -58,25 +58,25 @@ The Session will remain open until the Session Leader disconnects from the D-Bus - To determine which Seat it is running on. + To determine which Seat it is running on. - To know if the current seat supports session switching. + To know if the current seat supports session switching. - A list of all sessions on the current Seat. + A list of all sessions on the current Seat. - To know which session is active for the current Seat. + To know which session is active for the current Seat. - To know when the session active state changes. + To know when the session active state changes. - To know when sessions are added or removed. + To know when sessions are added or removed. - Access to the metadata for any open Session. + Access to the metadata for any open Session. @@ -87,10 +87,10 @@ The Session will remain open until the Session Leader disconnects from the D-Bus - To know if any user sessions are open. + To know if any user sessions are open. - To know if the system is currently being used. + To know if the system is currently being used. @@ -101,16 +101,16 @@ The Session will remain open until the Session Leader disconnects from the D-Bus - To determine what hardware is associated with a Seat. + To determine what hardware is associated with a Seat. - To determine what Session is active and inactive on a particular Seat. + To determine what Session is active and inactive on a particular Seat. - To know when the session active state changes. + To know when the session active state changes. - To determine what Session a process belongs to. + To determine what Session a process belongs to. @@ -121,28 +121,28 @@ The Session will remain open until the Session Leader disconnects from the D-Bus - To determine which session it is running in. + To determine which session it is running in. - To determine which Seat it is running on. + To determine which Seat it is running on. - To know if the current seat supports session switching. + To know if the current seat supports session switching. - A list of all sessions on the current Seat. + A list of all sessions on the current Seat. - Which session is active for the current Seat. + Which session is active for the current Seat. - To know when the session active state changes. + To know when the session active state changes. - Access to the metadata for any open Session. + Access to the metadata for any open Session. - To know when sessions are added or removed. + To know when sessions are added or removed. @@ -153,10 +153,10 @@ The Session will remain open until the Session Leader disconnects from the D-Bus - To determine which session it is running in. + To determine which session it is running in. - To know when the session active state changes. + To know when the session active state changes. @@ -167,10 +167,10 @@ The Session will remain open until the Session Leader disconnects from the D-Bus - To determine which session it is running in. + To determine which session it is running in. - To know when the session active state changes. + To know when the session active state changes. diff --git a/doc/dbus/spec-to-docbook.xsl b/doc/dbus/spec-to-docbook.xsl index 1864414..f69bebd 100644 --- a/doc/dbus/spec-to-docbook.xsl +++ b/doc/dbus/spec-to-docbook.xsl @@ -74,9 +74,15 @@ Description - - - + + + + + + + + + @@ -115,13 +121,17 @@ - - + + + + : - - + + + + @@ -143,23 +153,25 @@ '' - - - + - - + + + + : - - + + + + @@ -179,10 +191,8 @@ <anchor role="function"><xsl:attribute name="id"><xsl:value-of select="$basename"/>::<xsl:value-of select="@name"/></xsl:attribute></anchor>The <xsl:value-of select="@name"/> signal () - - - + @@ -238,10 +248,10 @@ - + - + @@ -371,20 +381,24 @@ See also: - - + + + + : - - + + + + - + Errors @@ -394,16 +408,16 @@ See also: - + - + Permissions - + @@ -422,10 +436,8 @@ See also: <anchor role="function"><xsl:attribute name="id"><xsl:value-of select="$basename"/>.<xsl:value-of select="@name"/></xsl:attribute></anchor><xsl:value-of select="@name"/> () () - - - + -- cgit