| Summary: | Use the Rocbook DTD to validate topics when building | ||
|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Joshua Wulf <jwulf> |
| Component: | Web-UI | Assignee: | Joshua Wulf <jwulf> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.x | CC: | lcarlon, misty, topic-tool-list |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-14 05:27:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 705711 | ||
|
Description
Joshua Wulf
2011-05-19 20:35:44 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. |