It is perfectly valid to have multiple hasValue values. Where do you think the spec hints otherwise?
Holger
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/91540a6c-3f3f-46b3-901e-1cb3baa3fd8bn%40googlegroups.com.

You received this message because you are subscribed to a topic in the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/topbraid-users/ei7WVb_rkN8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/ca95181b-61aa-5683-936d-780897e71238%40topquadrant.com.
If the spec is right (now), I would even propose to change the spec for the next version 😊
Especially for multiple typing checks the multiple variant seems very handy….
|
||||||||||||||||
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAAFOhSf8LMAZWYbA3rij%2BVKABw0QpcBWqmLO2aT1Jv%3Dhp-9mng%40mail.gmail.com.
The spec is written in fairly formal english, not necessarily
intuitive. That is, for better or worse, how such specs are
written. All constraint properties can theoretically appear
multiple times, yet for many it doesn't make sense to have more
than one. For example, in sh:minCount 2, 3 the 2 would be
redundant and meaningless noise. However, sh:hasValue and sh:node
are among the constraint types that make sense to have multiple
values at the same shape. Since the spec is a description of each
individual constraint, it always uses singular form. Many many
implicit assumptions are not spelled out as it would easily double
the spec in length. This is the task of secondary literature such
as tutorials.
Holger
The spec is written in fairly formal english, not necessarily
intuitive. That is, for better or worse, how such specs are
written. All constraint properties can theoretically appear
multiple times, yet for many it doesn't make sense to have more
than one. For example, in sh:minCount 2, 3 the 2 would be
redundant and meaningless noise. However, sh:hasValue and sh:node
are among the constraint types that make sense to have multiple
values at the same shape. Since the spec is a description of each
individual constraint, it always uses singular form. Many many
implicit assumptions are not spelled out as it would easily double
the spec in length. This is the task of secondary literature such
as tutorials.
Holger