I was confused by the formatting in your mail, so I went to look at the spec...
- Exactly one of the following attributes:
- isPresent
- isNotPresent
- startsWith
- endsWith
- a custom rule defined by attributes from any namespace
is REQUIRED in any one <rule> element.
I think there is a conflict here with " Exactly *one* of the following attributes" and "a custom rule defined by *attributes*..."
This is an unfortunate ambiguous agreement between singular and plural and should probably say: "a custom rule defined by an attribute from any namespace"
The original intent was one custom rule defined by one custom attribute.
-----Original Message-----
From: [mailto:] On Behalf Of Yves Savourel
Sent: Friday, June 13, 2014 1:32 PM
To:
Subject: [xliff] Question on one of the Validation module constraint
Hi all,
(This is not a comment for the Candidate Draft).
I'm looking at possibly implementing the Validation module but I have a question with regard to one of the constraints:
In section "5.8.4.3 rule" we have:
[[
Exactly one of the following attributes:
- isPresent
- isNotPresent
- startsWith
- endsWith
- a custom rule defined by attributes from any namespace is REQUIRED in any one <rule> element.
]]
I see how I can check for the presence of only one of the Validation attributes.
But how can I check that only a custom rule is specify?
It seems I need to check that only one or more custom attributes are present in the <rule>.
But can the custom attributes be in different namespaces or must they be in the same one?
I tend to think "any namespace" (singular) means they must be in the same namespace.
Is that correct?
Thanks,
-yves
---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php