Bug 1053927 - Enable DocBook 5 as a valid DTD value
Summary: Enable DocBook 5 as a valid DTD value
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.4
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1051919
TreeView+ depends on / blocked
 
Reported: 2014-01-16 01:54 UTC by Lee Newson
Modified: 2014-02-23 23:43 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-23 23:43:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Lee Newson 2014-01-16 01:54:26 UTC
Currently the only value that can be used in Content Specs is "DocBook 4.5", however once all other components have been implemented for BZ#1051919, we'll need to add "DocBook 5" as a valid option.

Comment 1 Lee Newson 2014-01-16 23:05:05 UTC
Also with this we need to ensure DocBook 4.5 and DocBook 5.0 topics aren't mixed in a Content Spec as they aren't compatible (mainly due to DocBook 4.5 using DTD's and DocBook 5.0 using a schema)

Comment 2 Lee Newson 2014-02-10 07:08:57 UTC
Added in 1.4-SNAPSHOT build 201402071538

DocBook 5.0 can now be used as a DTD/Format option. I've also changed the "DTD" metadata name to "Format", to better describe the the metadata (since DocBook 5.0 uses Relax NG). This also allows for future additions (ie possibly AsciiDoc).

Note: This can be tested on the test/development server.

Comment 3 Matthew Casperson 2014-02-12 00:09:51 UTC
Confirmed that the Format metadata element can be set to DocBook 5.0, and that topics with xml formats that do not match are identified as validation errors.


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