Fix documentation XML errors in doc/docbook/articlesBRL-CAD
Status: ClosedTime to complete: 48 hrs Mentors: SeanTags: XML, text editor, docbook

Some of BRL-CAD's existing documentation has been converted to DocBook format, but not all of the new files pass strict XML validation. We want to make our existing pages conform strictly. The simplest way to find documents with errors is to add a CMake configuration flag when preparing to build BRL-CAD that enables a strict check when make is run. Adding this flag will cause a build failure if there's a syntax error:

-DBRLCAD_EXTRADOCS_VALIDATE=ON 

Generally, the resulting error message will provide hints that can be used to identify and fix the problem. Also, once it is clear how to address one particular problem, it is likely that that problem will occur multiple times in different files. This will make the process faster once initial errors are solved.

This task involves preparing a BRL-CAD compilation environment with validation enabled, then cleaning up the DocBook XML files under the doc/docbook/articles directory (e.g., doc/docbook/articles/en/pipes.xml), fixing whatever errors arise and submitting a patch. You can build test your changes by compiling just a subset of the documentation. In your build directory (not source), you can run this:

# in your build directory cd doc/docbook/articles make 

Once you're done, make and submit your patch:

svn diff ~/brlcad.svn/doc/docbook/articles  xmlfixes.patch 

Keep track of how long this all takes you because we intend to add a lot more tasks like this one.

References:

Code:

  • doc/docbook/articles/*/*.xml
Uploaded Work
File name/URLFile sizeDate submitted
articles.patch9.4 KBNovember 28 2012 05:06 UTC
system.patch138.2 KBNovember 28 2012 05:06 UTC
man1.patch33.6 KBNovember 28 2012 15:33 UTC
man3.patch39.2 KBNovember 28 2012 15:34 UTC
man5.patch2.8 KBNovember 28 2012 15:53 UTC
Comments
Adam Davieson November 27 2012 22:46 UTCTask Claimed

I would like to work on this task.

Sean on November 27 2012 23:29 UTCTask Assigned

This task has been assigned to Adam Davies. You have 48 hours to complete this task, good luck!

Sean on November 27 2012 23:31 UTCskip TEMPLATE.xml

You can skip the first TEMPLATE.xml file.

Adam Davieson November 28 2012 00:34 UTCClaim Removed

The claim on this task has been removed, someone else can claim it now.

Cezaron November 28 2012 04:51 UTCTask Claimed

I would like to work on this task.

Harmanpreet Singh on November 28 2012 04:55 UTCTask Assigned

This task has been assigned to Cezar. You have 48 hours to complete this task, good luck!

Cezaron November 28 2012 16:02 UTCReady for review

The work on this task is ready to be reviewed.

Sean on November 28 2012 16:34 UTCabove and beyond

Outstanding work.

Sean on November 28 2012 16:34 UTCTask Closed

Congratulations, this task has been completed successfully.