try to fix linux/ppc bustage, not part of default build

This commit is contained in:
doronr%us.ibm.com 2005-01-19 17:57:38 +00:00
Родитель 9c755d2c2a
Коммит 4aa02a4d8e
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -560,9 +560,9 @@ nsresult nsSchemaValidator::ValidateRestrictionSimpletype(const nsAString & aNod
/* http://w3.org/TR/xmlschema-2/#nonPositiveInteger */
case nsISchemaBuiltinType::BUILTIN_TYPE_NONPOSITIVEINTEGER: {
rv = ValidateBuiltinTypeInteger(aNodeValue, totalDigits,
maxExclusive.IsEmpty() ? NS_LITERAL_STRING("1") : maxExclusive,
maxExclusive.IsEmpty() ? (const nsAString&)NS_LITERAL_STRING("1") : (const nsAString&)maxExclusive,
minExclusive,
maxInclusive.IsEmpty() ? NS_LITERAL_STRING("0") : maxInclusive,
maxInclusive.IsEmpty() ? (const nsAString&)NS_LITERAL_STRING("0") : (const nsAString&)maxInclusive,
minInclusive, &isValid);
break;
}
@ -570,8 +570,8 @@ nsresult nsSchemaValidator::ValidateRestrictionSimpletype(const nsAString & aNod
/* http://www.w3.org/TR/xmlschema-2/#negativeInteger */
case nsISchemaBuiltinType::BUILTIN_TYPE_NEGATIVEINTEGER: {
rv = ValidateBuiltinTypeInteger(aNodeValue, totalDigits,
maxExclusive.IsEmpty() ? NS_LITERAL_STRING("0") : maxExclusive, minExclusive,
maxInclusive.IsEmpty() ? NS_LITERAL_STRING("-1") : maxInclusive, minInclusive,
maxExclusive.IsEmpty() ? (const nsAString&)NS_LITERAL_STRING("0") : (const nsAString&)maxExclusive, minExclusive,
maxInclusive.IsEmpty() ? (const nsAString&)NS_LITERAL_STRING("-1") : (const nsAString&) maxInclusive, minInclusive,
&isValid);
break;
}