tags:

views:

20

answers:

1

How to interpret the following xml element?

xs:pattern value="[ !-~]*"
+1  A: 

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

Imre L
"characters between ! and ~" sounds like an ordered list of characters. Which list does this refer to? Can you point me to a link that has the info?
pencilslate
Yes, thats a set of characters http://www.danshort.com/ASCIImap/ characters with code 32..126
Imre L