| Index: third_party/libxml/src/xmlschemas.c
|
| diff --git a/third_party/libxml/src/xmlschemas.c b/third_party/libxml/src/xmlschemas.c
|
| index 0657b66a1fde684e1ba69e308dc17372835f7417..971630e3787b9b53cba849296564470970e0c6e6 100644
|
| --- a/third_party/libxml/src/xmlschemas.c
|
| +++ b/third_party/libxml/src/xmlschemas.c
|
| @@ -24201,9 +24201,7 @@ xmlSchemaValidateFacets(xmlSchemaAbstractCtxtPtr actxt,
|
| * anySimpleType based types), then use the provided
|
| * type.
|
| */
|
| - if (val == NULL)
|
| - valType = valType;
|
| - else
|
| + if (val != NULL)
|
| valType = xmlSchemaGetValType(val);
|
|
|
| ret = 0;
|
|
|