Page MenuHomeFreeBSD

Improve support for <buildtarget> in the DTD
ClosedPublic

Authored by wblock on Jun 30 2015, 2:33 PM.
Tags
Referenced Files
F153526020: D2958.id6585.diff
Tue, Apr 21, 3:53 PM
F153407886: D2958.id6735.diff
Tue, Apr 21, 12:14 AM
F153394225: D2958.id6585.diff
Mon, Apr 20, 9:56 PM
Unknown Object (File)
Sun, Apr 19, 2:09 AM
Unknown Object (File)
Sun, Apr 5, 6:13 PM
Unknown Object (File)
Sun, Apr 5, 9:02 AM
Unknown Object (File)
Mon, Mar 30, 8:20 AM
Unknown Object (File)
Fri, Mar 27, 9:43 PM
Subscribers

Details

Summary

Add support for "lang" attribute to the buildtarget element to support XML translations.
Add buildtarget element to the list of children allowed in <title>. This is particularly important for the Porter's Handbook.

The "lang" attribute was included with https://reviews.freebsd.org/D2947, but will cause no harm on its own and makes our XML more standard.

Diff Detail

Repository
rD FreeBSD doc repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wblock retitled this revision from to Improve support for <buildtarget> in the DTD.
wblock updated this object.
wblock edited the test plan for this revision. (Show Details)
wblock added a reviewer: doceng.
wblock set the repository for this revision to rD FreeBSD doc repository - subversion.
wblock added a project: doceng.
hrs added inline comments.
share/xml/docbook50.dtd
24 ↗(On Diff #6585)

Please use %db.common.attributes; for buildtarget instead of picking up xml:lang only.

Use %db.common.attributes; in buildtarget, and move buildtarget later in the file so db.common.attributes has been defined when it is referenced in buildtarget.

hrs added a reviewer: hrs.

I think it is ready to commit.

This revision is now accepted and ready to land.Jul 6 2015, 7:59 PM
This revision was automatically updated to reflect the committed changes.