Commit graph

15 commits

Author SHA1 Message Date
Gabor Kovesdan
583e2bb8a9 - Remove constraint on table column numbers since it did not take into
account those cols than span more.
2013-07-26 09:54:13 +00:00
Gabor Kovesdan
5633c0cd23 - Add constraint for misplaced indexterms in listitems
- Make the constraints write out the primary indexterms so that they can
  be found better
2013-07-24 18:47:43 +00:00
Gabor Kovesdan
b0b78fa4e9 - Indexterms should not be embedded directly into a question or answer
element but into a deeper paragraph, optimally right after the
  referenced word without spaces even [1] but somehow the schema allows
  badly nested indexterms.  Correct such entires in the whole documentation
  set.
- Add constraints to check for invalid indexterm entries.

See also: http://www.sagehill.net/docbookxsl/GenerateIndex.html#Indexterms [1]
2013-07-11 16:34:54 +00:00
Gabor Kovesdan
0dcb7a2f33 - Avoid footnotes in tables; it looks strange and is problematic for
some tools. (Either removed if the affected text has been removed
  from the English version or moved into parentheses.)
- Add constaints to avoid programlisting, screen and footnote in tables.
2013-07-06 14:05:02 +00:00
Gabor Kovesdan
e819151e45 - Fix the cases when the specified column number does not match the real one
- Add a constraint for this
2013-07-03 17:35:46 +00:00
Gabor Kovesdan
e2e8ddc90e - Add constraint to check the required title element
- Add constraint to check colname and spanname attributes on table entries
2013-07-03 10:17:02 +00:00
Gabor Kovesdan
1ed4fc6cb7 - Backport some constraints from DocBook 5.0; this will help keeping
things consistent and facilitate a future technology upgrade
2013-04-04 12:11:43 +00:00
Gabor Kovesdan
a6684b4306 - Reduce the misuse of role attribute; role="directory" should actually be
class="directory"
- Add constraint to enforce this
2013-04-04 11:40:58 +00:00
Gabor Kovesdan
ffd8fc666f - Allow foreign elements in Schematron
- Add some embedded XSLT to improve the input of validation failures
2013-04-03 10:56:14 +00:00
Gabor Kovesdan
e8e2dfdbab - Do not specify image file extensions in documents; the proper extension
is appended during rendering
- For the same reason, do not specify format either
- Add constraints to enforce this
2013-04-02 09:50:10 +00:00
Gabor Kovesdan
1a1367cdbc - Add constraints for profiling attributes 2013-03-15 08:37:25 +00:00
Gabor Kovesdan
53b00294cd - Fix the last three test cases 2013-03-15 07:47:22 +00:00
Gabor Kovesdan
c5bbd26680 - Do not use line break in assert text since it will also break the text when
printed out
2013-03-15 07:44:31 +00:00
Gabor Kovesdan
f6c79f1bc8 - Change screenco to screen + co since the former is not supported
properly with xsltproc and the latter is simpler
- Add a constraint to prevent using screenco, programlistingco and
  graphicco in the future
- Note that mediaobjectco is used in the documentation to properly
  compose a figure element but the callout bugs are already there
  in the source image and not placed there by the stylesheets
2013-03-14 20:51:01 +00:00
Gabor Kovesdan
44368e5859 - Add support for Schematron validation
- Add a simple Schematron file that validates file references
- Silence the output of validation so that the result be more readable
2013-03-14 10:25:23 +00:00