This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Description
The following schematron rules incorrectly fails when the source content includes a value equal to 0:
windows-definitions-schema.xsd:
Element name="force_logoff":
“<sch:assert test="string-length(.) = 0 or number(.) < 0"><sch:value-of select="../@id"/> - the value of force_logoff must be greater than or equal to zero</sch:assert>”
And element name="lockout_duration":
“<sch:assert test="string-length(.) = 0 or number(.) < 0"><sch:value-of select="../@id"/> - the value of lockout_duration must be greater than or equal to zero</sch:assert>”
unix-definitions-schema.xsd:
Element name="group_id":
"<sch:assert test="string-length(.) = 0 or number(.) < 0"><sch:value-of select="../@id"/> - the value of group_id must be greater than zero</sch:assert>"
Element name="user_id":
"<sch:assert test="string-length(.) = 0 or number(.) < 0"><sch:value-of select="../@id"/> - the value of user_id must be greater than zero</sch:assert>"
Thanks,
_Dragos.