Bug 706240 - Use the Rocbook DTD to validate topics when building
Summary: Use the Rocbook DTD to validate topics when building
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Joshua Wulf
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 705711
TreeView+ depends on / blocked
 
Reported: 2011-05-19 20:35 UTC by Joshua Wulf
Modified: 2014-10-19 22:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-14 05:27:10 UTC


Attachments (Terms of Use)

Comment 1 Matthew Casperson 2011-05-25 05:24:15 UTC
Fixed in 20110525-1523

Created RocBook DTD by first downloading the Docbook DTD from http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip, and then collapsing it into a single file with the tool from http://docs.codehaus.org/display/WSTX/DTDFlatten.

These two DTD files are compiled into SkyNet in the following file:

http://my-custom-scripts.googlecode.com/svn/trunk/TopicIndex/src/main/com/redhat/topicindex/utils/DTDConstants.java

Changed between DocBook and RocBook are noted in a comment at the beginning of the file. RocBook is a subset of DocBook.

All topics are validated against the RocBook DTD before being processed. If you do a compile on the "AS Getting Started Guide Tasks" filter, you will note that topic 4092 (http://topicrepo.englab.bne.redhat.com/TopicRepository/Tasks/Middleware/AS/JBoss_Application_Server_7_Getting_Started.xml) fails validation because it contains sections with sections.


Note You need to log in before you can comment on or make changes to this bug.