Page MenuHomeFreeBSD

Improve support for <buildtarget> in the DTD
ClosedPublic

Authored by wblock on Jun 30 2015, 2:33 PM.
Tags
Referenced Files
Unknown Object (File)
Dec 11 2024, 7:30 PM
Unknown Object (File)
Nov 17 2024, 1:40 PM
Unknown Object (File)
Nov 17 2024, 12:42 PM
Unknown Object (File)
Nov 9 2024, 12:07 AM
Unknown Object (File)
Oct 30 2024, 1:27 PM
Unknown Object (File)
Sep 29 2024, 10:14 PM
Unknown Object (File)
Sep 29 2024, 7:58 AM
Unknown Object (File)
Sep 27 2024, 3:48 AM
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.