[libxml2] 585505 – Document ids and refs populated by XSD



commit 99f7ac7f66dd8e484209c22b6e10e05befffbd0f
Author: Wayne Jensen <wayne_jensen trendmicro com>
Date:   Fri Aug 7 21:27:44 2009 +0200

    585505 â?? Document ids and refs populated by XSD
    
    * xmlschemas.c: simple patch allowing document ids and refs to be
      asserted when XSD validation is done.

 xmlschemas.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xmlschemas.c b/xmlschemas.c
index 70fe3eb..d3fe98a 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -24474,10 +24474,10 @@ xmlSchemaVCheckCVCSimpleType(xmlSchemaAbstractCtxtPtr actxt,
 		    /* ws = xmlSchemaGetWhiteSpaceFacetValue(type); */
 		    if (valNeeded)
 			ret = xmlSchemaValPredefTypeNodeNoNorm(biType,
-			    value, &val, NULL);
+			    value, &val, node);
 		    else
 			ret = xmlSchemaValPredefTypeNodeNoNorm(biType,
-			    value, NULL, NULL);
+			    value, NULL, node);
 		    break;
 	    }
 	} else if (actxt->type == XML_SCHEMA_CTXT_PARSER) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]