Commit 9fcb491c authored by Daniel Veillard's avatar Daniel Veillard
Browse files

do not package .la files applied patch from Gerry Murphy for xmllint

* libxml.spec.in: do not package .la files
* xmllint.c: applied patch from Gerry Murphy for xmllint return code
* xmlschemastypes.c: fixed a couple of missing tests of parameters
  at public API entry points.
Daniel
parent b08d741d
Wed Mar 16 13:55:31 CET 2005 Daniel Veillard <daniel@veillard.com>
* libxml.spec.in: do not package .la files
* xmllint.c: applied patch from Gerry Murphy for xmllint return code
* xmlschemastypes.c: fixed a couple of missing tests of parameters
at public API entry points.
Tue Mar 15 23:31:14 HKT 2005 William Brack <wbrack@mmm.com.hk>
 
* xmlschemastypes.c: a couple of more changes to various
......
......@@ -96,6 +96,7 @@ gzip -9 ChangeLog
rm -fr %{buildroot}
%makeinstall
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -fr %{buildroot}
......
......@@ -695,6 +695,7 @@ xmlHTMLValidityError(void *ctx, const char *msg, ...)
xmlHTMLPrintFileContext(input);
xmlHTMLEncodeSend();
progresult = XMLLINT_ERR_VALID;
}
/**
......
......@@ -4409,6 +4409,8 @@ xmlSchemaCompareValuesWhtsp(xmlSchemaValPtr x,
xmlSchemaValPtr y,
xmlSchemaWhitespaceValueType yws)
{
if ((x == NULL) || (y == NULL))
return(-2);
return(xmlSchemaCompareValuesInternal(x->type, x, NULL, xws, y->type,
y, NULL, yws));
}
......@@ -4833,7 +4835,7 @@ xmlSchemaValidateFacetInternal(xmlSchemaFacetPtr facet,
* number otherwise and -1 in case of internal or API error.
*/
int
xmlSchemaValidateFacet(xmlSchemaTypePtr base ATTRIBUTE_UNUSED,
xmlSchemaValidateFacet(xmlSchemaTypePtr base,
xmlSchemaFacetPtr facet,
const xmlChar *value,
xmlSchemaValPtr val)
......@@ -4843,15 +4845,16 @@ xmlSchemaValidateFacet(xmlSchemaTypePtr base ATTRIBUTE_UNUSED,
* xmlSchemaValidateFacet() and the new xmlSchemaValidateFacetInternal() and
* xmlSchemaValidateFacetWhtsp().
*/
if (val != NULL)
if (val != NULL) {
return(xmlSchemaValidateFacetInternal(facet,
XML_SCHEMA_WHITESPACE_UNKNOWN, val->type, val, value,
XML_SCHEMA_WHITESPACE_UNKNOWN));
else {
} else if (base != NULL) {
return(xmlSchemaValidateFacetInternal(facet,
XML_SCHEMA_WHITESPACE_UNKNOWN, base->builtInType, val, value,
XML_SCHEMA_WHITESPACE_UNKNOWN));
}
return(-1);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment