<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Just a single note and a question.<br>
<br>
[most of message stripped away...]<br>
<br>
<br>
</div>
<blockquote type="cite"
cite="mid:de76a8cb-6a9e-c800-4d87-52f3cbda7a0e@nps.edu">It is
great when we find those patterns, am trying to keep things
maintainable. The color-coding on web page definitely helps.
<br>
<br>
Negative lookahead is good for avoiding illegal values, but not
allowed in XML Schema (probably to avoid computational denial of
service attacks_. Have listed a pattern nevertheless, other
languages/tools might want to use it.
<br>
<br>
==================
<br>
Disallowed values:
<br>
<br>
* Negative lookahead filters can disqualify attributes that
contain illegal values.
<br>
* W3C Recommendation for XML Schema (XSD) unfortunately does not
support this construct.
<br>
* (?!((0|0.0*|.0+)\s+){3}) prohibits 0 0 0 since zero vector is
illegal as initial axis triplet of an SFRotation.
<br>
</blockquote>
<br>
As I read the above<br>
<br>
If not<br>
(0 or 0.0* or .0+<br>
repeated white-space character<br>
) three times<br>
<br>
You should escape the "dot"s; otherwise, it accepts any character
(the dots are meta-character when not in a character class)<br>
<br>
This would be:<br>
<br>
<blockquote> <tt>(?!((0|0\.0*|\.0+)\s+){3}) </tt><tt><br>
</tt></blockquote>
<br>
See <a class="moz-txt-link-freetext" href="https://regex101.com/">https://regex101.com/</a> to test and explain the regex.<br>
<br>
<br>
Is there any consideration for internationalization of number
display. Most of Europe uses "," (comma) as the radix character
(decimal separator). [See
<a class="moz-txt-link-freetext" href="https://docs.oracle.com/cd/E19455-01/806-0169/overview-9/index.html">https://docs.oracle.com/cd/E19455-01/806-0169/overview-9/index.html</a>]<br>
<br>
<br>
<br>
-- <br>
<div class="moz-signature"><font class="tahoma,arial,helvetica san
serif" color="#333366">
<font size="+1"><b>Leonard Daly</b></font><br>
3D Systems & Cloud Consultant<br>
LA ACM SIGGRAPH Past Chair<br>
President, Daly Realism - <i>Creating the Future</i>
</font></div>
</body>
</html>