Commit Graph

6573 Commits

Author SHA1 Message Date
Martin A. Brown 99f8daf840 move <listitem/> in <varlistentry/> for validation
It is not valid to have <indexterm/> elements directly as a child of a
<varlistentry/>, so I have moved them inside the <listitem/>.  I tried putting
them inbetween <varlistentry/> elements (no good).
2016-03-03 13:53:35 -08:00
Martin A. Brown eb674426c9 move <listitem/> in <varlistentry/> for validation
It is not valid to have <indexterm/> elements directly as a child of a
<varlistentry/>, so I have moved them inside the <listitem/>.  I tried putting
them inbetween <varlistentry/> elements (no good).
2016-03-03 13:49:33 -08:00
Martin A. Brown 84d647d282 move <listitem/> in <varlistentry/> for validation
It is not valid to have <indexterm/> elements directly as a child of a
<varlistentry/>, so I have moved them inside the <listitem/>.  I tried putting
them inbetween <varlistentry/> elements (no good).
2016-03-03 13:30:50 -08:00
Martin A. Brown 3300f496b0 xmllint suggested validation fixes
there were two locations where CDATA was outside of an enclosing </para> or
inside another element that could not contain it (according to the DocBook XML
element nesting model).
2016-03-03 12:15:50 -08:00
Martin A. Brown 6c66803499 xmllint validation fixes, just nesting
an <indexterm/> cannot be a direct child of an <abstract/>, so I moved it
inside of the <para/>

neither can <command/> be the direct children of a <sect1/>, so I moved them,
each inside a <para/>
2016-03-03 12:10:05 -08:00
Martin A. Brown 20f5c9875f putting indexterms inside their <primary/> or <secondary/> tags 2016-03-03 12:06:19 -08:00
Martin A. Brown f796549936 validation fix, <itemizedlist/> in <para/>
An <abstract/> element can contain a <para/>, which can contain an
<itemizedlist/>, but the <itemizedlist/> may not be a direct child of an
<abstract/>.
2016-03-03 12:04:44 -08:00
Martin A. Brown 859b3266f3 switching doctype declaration to book
there was a mismatch between the root element and the doctype declaration;
assuming that the root element is correct, synchronizing these two changes
fixed the validation problems
2016-03-03 11:48:08 -08:00
Martin A. Brown 79a4b1024b increasing/synchronizing version DocBook XML 4.2
the doctype declaration had conflicting entries; the public identifier said
4.1.2 and the system identifier said 4.0; I would not have noticed this,
except that xmllint was complaining about the <author/> element containing an
<email/> (invalid!)
this was easily resolved by changing the version of this document to be a
DocBook XML 4.2 document
2016-03-03 11:45:26 -08:00
Jason S. Evans 21917575ab updating backup 2016-03-03 15:29:47 +01:00
Jason S. Evans 9779e5d72d updating backup 2016-03-03 11:06:36 +01:00
Jason S. Evans 05d234b9b5 Merge https://github.com/tldp/ldp 2016-03-03 11:01:19 +01:00
Martin A. Brown 2a9e5e7f36 Merge pull request #41 from martin-a-brown/master
another batch of validation improvements in all DocBook XML 4.x documents
2016-03-02 23:40:27 -08:00
Martin A. Brown 1584fa274d relocated to Partitions-Mass-Storage-Definitions-Naming-HOWTO 2016-03-02 22:58:20 -08:00
Martin A. Brown 845066608f relocated to Partitions-Mass-Storage-Definitions-Naming-HOWTO 2016-03-02 22:57:54 -08:00
Martin A. Brown acb829ac51 relocated from Partition-Mass-Storage-Dummies-Linux-HOWTO 2016-03-02 22:57:05 -08:00
Martin A. Brown 19f1f470b8 xmllint replacements for non-validating <code/> 2016-03-02 22:43:22 -08:00
Martin A. Brown 5fd35bc8fe <section/> must have a <title/> and at least one <para/> 2016-03-02 22:29:34 -08:00
Martin A. Brown 1fbab772af <ulink/> element requires url= attribute (not href) 2016-03-02 22:25:27 -08:00
Martin A. Brown 041f1c0ca1 attribute must be moreinfo="none" in <literal/> 2016-03-02 22:24:58 -08:00
Martin A. Brown bafc803492 <progralistingco/> can/should be omitted unless <areaspec/> included 2016-03-02 22:18:00 -08:00
Martin A. Brown 9f848afc2d <note/> must have a <para/> child 2016-03-02 22:16:11 -08:00
Martin A. Brown 49d4a9f7eb xmllint hinted corrections in <articleinfo/>
DocBook 4.x appears to be fairly picky about order in <author/> elements and
the document will not validate without the order being correct.  Fixed.

Also, in the <revhistory/>, there were plenty of places where multiple
<revremark/> elements needed to be wrapped in a <revdescription/> along with a
bunch of <remark/> elements instead.
2016-03-02 22:13:53 -08:00
Martin A. Brown def4de4bc5 No label attribute on DocBook 4.5 <graphic/>
Removed the label= attribute on the <graphic/> element removed any further
validation issues with the TimePrecision-HOWTO
2016-03-02 21:59:00 -08:00
Martin A. Brown 152e353520 xmllint hinted validation improvements
first, this is not XSL and in DocBook 4.x, these extra namespaces confuse the
processing toolchain (may be different in DocBook 5.x); next, xmllint refuses
to validate the document because of the order of elements in, for example the
<author/> elements and the <affiliation/> elements; just flipping these in
most cases did the trick
2016-03-02 21:50:31 -08:00
Martin A. Brown 40922c6836 xmllint hinted at problems: <para/> in <listitem/>
added a bunch of corrections for <itemizedlist/> <listitem/> and <para/>
nesting to match the DocBook content model more strictly; this allows full
validation of the document
2016-03-02 21:43:13 -08:00
Martin A. Brown d163edda14 xmllint validations; <revdescription/> and ID fix
<revremark/> can only have text, but <revdescription/> can contain lots of
other stuff; and a space is invalid in an id= attribute.
2016-03-02 21:28:27 -08:00
Martin A. Brown 45f1b72757 <programlistingco/> is only used with areaspec
the external general entities (files) which were getting pulled in already
contained a <programlisting/> element; this XML element was not necessary, but
the lack of an <areaspec/> inside the <programlistingco/> was giving xmllint
fits.
2016-03-02 21:20:26 -08:00
Martin A. Brown 029b9fef03 xmllint suggested validation corrections
apparently, DocBook is quite picky about the order of children elements within
the <affiliation/> element; so rearranged; and also only one of <revremark/>
or <revdescription/> is (technically) allowed in a <revision/>, so I chose to
convert the <revremark/> elements to <remark/> and drop them inside of a
<revdescription/>, which allows much richer expression of content
2016-03-02 21:18:36 -08:00
Martin A. Brown b74ebb0b21 minor validation fixes (xmllint) 2016-03-02 21:04:29 -08:00
Martin A. Brown 0ffb3fa782 using xmllint with --postvalid showed me an error
cannot use <group/> inside a <term/> (or maybe outside of a <cmdsynopsis/> or
<synoptfragment/>; removed the <group/> elements
2016-03-02 20:53:31 -08:00
Martin A. Brown d04dda12a5 Merge pull request #40 from martin-a-brown/master
make Antares-RAID-sparcLinux-HOWTO validate
2016-03-02 20:04:33 -08:00
Martin A. Brown 9c42724bcc massive <itemize/> start/end tag corrections
I don't know how this document ever validated before.  There were countless
locations where there were extra </itemize> closing tags and tons of missing
<itemize> opening tags.

I tried not to do any violence to the nesting, but it was very difficult to
understand, given the ambiguity.  The document now validates and can be built.
2016-03-02 11:32:05 -08:00
Martin A. Brown 3262a09901 first of a series of open/close tag corrections 2016-03-02 09:19:54 -08:00
Martin A. Brown fc0bcf03dc Merge pull request #39 from martin-a-brown/master
lots of house-cleaning and a few more SGML/XML corrections
2016-03-02 08:00:25 -08:00
Martin A. Brown 674115d8f1 updating the little README map of the LDP git tree 2016-03-01 22:01:43 -08:00
Martin A. Brown 266fde4260 retiring the wikitext document (Linux-FAQ) 2016-03-01 21:57:37 -08:00
Martin A. Brown 4405669b6d adding some more stuff that will probably never be re-used 2016-03-01 21:48:14 -08:00
Martin A. Brown dbfdcd59ba moving examples back home with 2.4 2016-03-01 21:29:52 -08:00
Martin A. Brown ba7153ced7 renaming to sole directory for lkmpg-2.4 2016-03-01 21:28:18 -08:00
Martin A. Brown 49e5527da1 symlink so automated tool can find the document 2016-03-01 21:27:45 -08:00
Martin A. Brown daef42444f correcting some missing end tags (mostly </para>) 2016-03-01 21:27:23 -08:00
Martin A. Brown 47beaf958f creating as single directory, typical doc 2016-03-01 21:22:48 -08:00
Martin A. Brown 4e39b1191e symlinks so automated tool can find documents 2016-03-01 21:20:03 -08:00
Martin A. Brown 823c0634bd adding a few <para/> and correcting one entity 2016-03-01 21:19:26 -08:00
Martin A. Brown d790bad20c moving the LDP-Admin-Guide out of active documents 2016-03-01 21:02:14 -08:00
Martin A. Brown 1502a475f7 dropping a bunch of stuff into the OLD bucket 2016-03-01 21:00:58 -08:00
Martin A. Brown 96736d06dc dropping a bunch of stuff into the OLD bucket 2016-03-01 20:58:40 -08:00
Martin A. Brown 1cf5efb79e moving INTRO docs so can be automatically found
The subdirectory here is not scanned, but each of these can live in the
ref directory without any problem.
2016-03-01 20:50:54 -08:00
Martin A. Brown c2bb6b3db5 adding compatibility symlink so this one can be found (automatically) 2016-03-01 20:48:38 -08:00