title: XSD Schema restriction - prohibit specific character pair in the string
body: <p>I'm looking for a way to restrict character pair denoting an unicode character from appearing in the resulting XML. This character pair is  &amp;# (for example &amp;#xBB) . I'm trying to create a pattern in the XSD schema - to match if such character pair (&amp;#) appear anywhere in the XML file. If such pair appears then the XML validation should fail . The restriction should also take into account the fact that the minimum string length equals to 1 and maximum to 79.</p>
  
  <p>I've been trying to use following regex patternvalue="[^&amp;#]{1,79}" but it does not work as expected. XML by design are encoded in the ISO-8859-2 format so any kind of unicode entries are not permitted.</p>
  
  <p>What is the correct regex to establish such restriction ?</p>
  
  <p>Thank You in advance. Jack</p>