Added support for new string types in SOAP so they are automatically recognized

as xs:string type during encoding.  Bug 131952, r=heikki, sr=jband, a=asa.
This commit is contained in:
rayw%netscape.com 2002-03-22 11:54:43 +00:00
Родитель 435ad09594
Коммит 3db6d2fda2
2 изменённых файлов: 6 добавлений и 0 удалений

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

@ -683,6 +683,9 @@ static nsresult GetNativeType(PRUint16 aType, nsAString & aSchemaNamespaceURI, n
case nsIDataType::VTYPE_STRING_SIZE_IS:
case nsIDataType::VTYPE_WSTRING_SIZE_IS:
case nsIDataType::VTYPE_ASTRING:
case nsIDataType::VTYPE_DOMSTRING:
case nsIDataType::VTYPE_CSTRING:
case nsIDataType::VTYPE_UTF8STRING:
aSchemaType.Assign(kStringSchemaType);
break;
case nsIDataType::VTYPE_INT8:

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

@ -683,6 +683,9 @@ static nsresult GetNativeType(PRUint16 aType, nsAString & aSchemaNamespaceURI, n
case nsIDataType::VTYPE_STRING_SIZE_IS:
case nsIDataType::VTYPE_WSTRING_SIZE_IS:
case nsIDataType::VTYPE_ASTRING:
case nsIDataType::VTYPE_DOMSTRING:
case nsIDataType::VTYPE_CSTRING:
case nsIDataType::VTYPE_UTF8STRING:
aSchemaType.Assign(kStringSchemaType);
break;
case nsIDataType::VTYPE_INT8: