Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize DocBook5 Schema [sf#255] #254

Closed
tomschr opened this issue Mar 3, 2015 · 3 comments
Closed

Customize DocBook5 Schema [sf#255] #254

tomschr opened this issue Mar 3, 2015 · 3 comments
Assignees
Milestone

Comments

@tomschr
Copy link
Collaborator

tomschr commented Mar 3, 2015

Reported by tom_schr on 2015-02-13 07:55 UTC
We need to create a "simplified" version of DocBook5 with our needs.

Tasks

  1. Create a preliminary version which is usable and fullfill our needs
  2. Discuss it with the team.
  3. Refine
@tomschr
Copy link
Collaborator Author

tomschr commented Mar 3, 2015

Commented by tom_schr on 2015-02-13 08:04
This is (partely) implemented in daps/suse/schema/susedoc5.rnc, see revisions
[r4499] [r4484] [r4483] [r4482] [r4481] [r3728] [r3687] [r3685] [r3684] [r3678] [r3671].

Current Simplification:

  • Based on DocBook 5.1 CR3

  • Removed XLinks in all block elements

  • Remove unneccessary elements which it's very likely that we will never use them. Find them with

    egrep "^[ ][ ]db.[a-z]+\s*=\s*notAllowed" susedoc5.rnc
    
  • Removed RDFLite attributes

  • Allow only CALS table model, not HTML

  • Disallow block elements in para element (make it effectively a simpara)

  • Disallow xml:ids in paras

@tomschr
Copy link
Collaborator Author

tomschr commented Mar 3, 2015

Commented by tom_schr on 2015-02-13 12:05
Removed further XLinks from division elements [r4501].

Currently, I observe some issues with customization. At the moment, it is not possible to distinguish between block and inline elements in regards to XLink customization. I have to remove the db.common.linking.attributes from every db.ELEMENT.attlist. This is annoying, tedious, error prone, and ignores any further upgrades from upcoming DocBook versions.

See discussion on docbook mailinglist:
https://lists.oasis-open.org/archives/docbook/201502/msg00029.html

@tomschr
Copy link
Collaborator Author

tomschr commented May 2, 2016

I guess this can be closed for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant