 |
 |
 |
>
> Suppose one <assert> element says "The value of <Publisher>
> must be a string no longer than 140 characters."
>
> Another <assert> element says "The value of <Publisher> must
> be a string no longer than 70 characters."
>
The assertions are "anded" together: the value must satisfy all of them. In
this case it means the value must be no longer than 70.
It's quite possible to have assertions that really conflict, e.g
test="string-length() > 100" and test="string-length() < 3". In that case
there are no valid instances. Indeed, it's possible to have a single
assertion that can never be satisfied, e.g. "string-length() < 0" or more
simply, test="false()"
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |