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 20 2023, 1:37 AM
Unknown Object (File)
Sep 5 2023, 6:26 AM
Unknown Object (File)
Aug 21 2023, 5:05 PM
Unknown Object (File)
Aug 20 2023, 3:04 AM
Unknown Object (File)
Jul 12 2023, 9:43 AM
Unknown Object (File)
Jun 30 2023, 6:12 AM
Unknown Object (File)
Jun 20 2023, 9:28 AM
Unknown Object (File)
May 8 2023, 7:25 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.