protected LengthTypeFacet( DatatypeImpl _super )
     : base(_super)
 {
     measure = _super.GetMeasure();
     if(measure==null)
     // TODO: localization
     throw new DatatypeException("unapplicable facet");
 }
 public MaxLengthFacet( int _length, DatatypeImpl _super )
     : base(_super)
 {
     this.length = _length;
 }
 // TODO: Is RegEx compatible with XML Schema?
 protected PatternFacet( string regexp, DatatypeImpl _super )
     : base(_super)
 {
     pattern = new Regex('^'+regexp+'$');
 }
 protected Facet( DatatypeImpl _super, WhitespaceNormalizer.Processor proc )
     : base(_super,proc)
 {
 }
 protected Facet( DatatypeImpl _super )
     : base(_super)
 {
 }
 protected DatatypeProxy( DatatypeImpl _super, WhitespaceNormalizer.Processor proc )
     : base(proc)
 {
     this.super = _super;
 }
 protected DatatypeProxy( DatatypeImpl _super )
     : this(_super,_super.wsProcessor)
 {
 }