From 23b0e94b804efed993047122db052ed8c8c4ad81 Mon Sep 17 00:00:00 2001 From: Peter Villadsen Date: Tue, 26 Nov 2019 13:59:17 -0800 Subject: [PATCH] Update MissingClassDocumentation.xq The check was incorrect because the IsPrivate attribute has values False, not false. --- rules/X++/MissingClassDocumentation.xq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/X++/MissingClassDocumentation.xq b/rules/X++/MissingClassDocumentation.xq index ec347bf..7c883ed 100644 --- a/rules/X++/MissingClassDocumentation.xq +++ b/rules/X++/MissingClassDocumentation.xq @@ -10,7 +10,7 @@ declare function functx:trim ( $arg as xs:string? ) as xs:string { - for $c in /(Class | Table | Form | Query)[@IsPrivate = "false" and functx:trim(@Comments) = ""] + for $c in /(Class | Table | Form | Query)[lower-case(@IsPrivate) = "false" and functx:trim(@Comments) = ""] return MissingClassDocumentation @@ -24,4 +24,4 @@ declare function functx:trim ( $arg as xs:string? ) as xs:string {string($c/@EndCol)} } - \ No newline at end of file +