svn commit: r42376 - projects/db5/share/xml
Gabor Kovesdan
gabor at FreeBSD.org
Mon Jul 22 15:59:23 UTC 2013
Author: gabor
Date: Mon Jul 22 15:59:22 2013
New Revision: 42376
URL: http://svnweb.freebsd.org/changeset/doc/42376
Log:
- Add constraints for filename vs. package
Modified:
projects/db5/share/xml/freebsd.sch
Modified: projects/db5/share/xml/freebsd.sch
==============================================================================
--- projects/db5/share/xml/freebsd.sch Mon Jul 22 15:29:54 2013 (r42375)
+++ projects/db5/share/xml/freebsd.sch Mon Jul 22 15:59:22 2013 (r42376)
@@ -18,6 +18,9 @@
<pattern name="Check filenames">
<rule context="//db:filename">
<report test="@role = 'directory'">Filename (<xsl:value-of select="."/>) has role="directory"; use class="directory"</report>
+ <report test="@role = 'package'">Filename (<xsl:value-of select="."/>) has role="package"; use the package element</report>
+ <report test="@role = 'port'">Filename (<xsl:value-of select="."/>) has role="port"; use the package element with role="port"</report>
+ <report test="@role != 'directory' and @role != 'package' and role != 'port'">Filename (<xsl:value-of select="."/>) has role attribute set; consider a properly set class attribute</report>
</rule>
</pattern>
More information about the svn-doc-projects
mailing list