facets: short is not handled correctly (ie like byte) 
(well maybe short is no longuer supporte in schema)
I suppose that it is more likely that one case is missing
in DescriptorSourceFactory:validationCode
splitting this method should be an idea ....



Extract from the Descriptor:


-- validation code for: _octet as a 'short'
        fieldValidator = new FieldValidator();
        fieldValidator.setMinOccurs(1);
        desc.setValidator(fieldValidator);

-- validation code for: _octet as a 'byte'
        fieldValidator = new FieldValidator();
        fieldValidator.setMinOccurs(1);
        desc.setValidator(fieldValidator);
        { //-- local scope 
            ByteValidator bv = new ByteValidator();
            bv.setMinInclusive((byte)0);
            bv.setMaxInclusive((byte)3);
            fieldValidator.setValidator(bv);
        }

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to