سؤال

How to interpret the following xml element?

xs:pattern value="[ !-~]*"
هل كانت مفيدة؟

المحلول

This is a regular expression pattern meaning that the element it applies to has to have in itself at least 0 characters of the following type: spaces and/or characters between ! and ~ (inclusive).

Thats all characters with ascii code with 32..126

Since space is just before ! u could also use [ -~]* instead

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top