Fixed the type of the totalDigits value to be positiveInteger. Fixed crash * xmlschemas.c xmlschemastypes.c: Fixed the type of the totalDigits value to be positiveInteger. Fixed crash in an error report function when we gave it the document node; only element and attribute nodes are processed now (reported by Rob Richards).