IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
* test/schemas/bug321475* result/schemas/bug321475*:
Added regression test for bug #321475 (reported by
Gabor Nagy). Fixing of bug #323510 seemed to have
fixed this bug as well.
* xmlschemas.c: Workaround for bug #323510: substituted the
epsilon transition for a labelled transition, in order to
avoid a bug in xmlregexp.c which eliminated the epsilon
transition and marked the initial state as final.
* HTMLparser.c configure.in parserInternals.c runsuite.c runtest.c
testapi.c xmlschemas.c xmlschemastypes.c xmlstring.c: fixed a number
of warnings shown by HP-UX compiler and reported by Rick Jones
Daniel
* xmlwriter.c: Insert space between pubid and sysid when both
passed to xmlTextWriterStartDTD and indenting not being used.
Remove no longer used Mem callbacks.
* runsuite.c: Changed to instantly mark instance-tests as
failed if the corresponding schema was invalid. This
reflects the side of the Python code for the XML Schema test
suite. We now get the same number of failed tests on both
sides.
* xmlschemas.c: Fixed a segfault: the instance document was
still tried to be validated, if the schema, dynamically
acquired using XSI was invalid, thus mangled. The
validation will stop (or rather won't validate) now in
such a case. The schema parser error code will be set
on the validion context now; this is somehow not nice,
but it assures that the validation context indicates an
error in there was a parser error.
* Makefile.am: Tiny change for 'make tests': raised
the number of expected failures for James Clark's
XML Schema datatype tests from 10 to 11. The additional
reported error was agreed to be correct long time ago,
but we missed to adjust the message reported by
the testing script.
* xmlschemas.c: Fixed bubbling of duplicate IDC nodes: the
parent's list of duplicates was filled with NULLs instead
of the nodes under certain conditions. This lead to a
segfault when the list's entries were accessed.
* xmlschemastypes.c: Fixed parsing of xs:decimal to
allow/deny special lexical forms. Fixed the totalDigits
for values in the range (x < 1) && (x > -1) && (x != 0);
E.g "0.123" has now a totalDigits of 3 (was 4 previously).
Adjusted the comparison function for decimals due to this
change. As a side effect comparison against zeroes was
optimized.
* xmlschemas.c: An assignment to a local variable, which was
used to access the IDC node list, was missing after the
reallocation of the list (reported by Fabrice GUY
bug #322411). Renamed the define ENABLE_IDC_NODE_TABLES
to ENABLE_IDC_NODE_TABLES_TEST and *disabled* it, since
it is used to force bubbling of IDC node tables even
if not necessary; this was intended to be used for test
purposes, but I obviously missed to disable it (although
it apparently helped finding the bug).
* xmlschemas.c: In xmlSchemaAssembleByXSI() the return value
of xmlSchemaGetMetaAttrInfo() was not assigned to anything;
this caused XSI-driven-dynamic schema acquisition to fail
with @noNamespaceSchemaLocation (reported by Julien Lamy
on the mailing list).
* xmlschemas.c: Fixed a bug in xmlSchemaFindRedefCompInGraph()
which caused the search for components to stop at the
first encountered attribute group component.
Fixed error report in xmlSchemaCheckSRCRedefineFirst(): the
designation of a not-found component was not reported.
* xmlschemas.c include/libxml/xmlschemas.h:
Added xmlSchemaSetParserStructuredErrors() to the API.
Fixed channeling of error relevant information to
subsequent parser/validation contexts.
* parser.c: use ctxt->standalone = -2 to indicate that the
XMLDecl was parsed but no standalone attribute was found,
suggested by Michael Day to detect if an XMLDecl was found.
Daniel
* xmlschemas.c: Changed xmlSchemaFormatIDCKeySequence()
to use xmlSchemaGetCanonValueWhtspExt() in order to
correctly report values for xs:anySimpleType.
* test/schemas/idc-keyref-err1*
result/schemas/idc-keyref-err1*: Added a test for this change.
* xmlsave.c xmlIO.c include/libxml/xmlIO.h include/libxml/xmlsave.h:
applied patch from Geert Jansen to implement the save function to
a xmlBuffer, and a bit of cleanup.
Daniel
* xmlschemas.c xmlschemastypes.c: Fixed the type of the
totalDigits value to be positiveInteger.
Fixed crash in an error report function when we gave it
the document node; only element and attribute nodes are
processed now (reported by Rob Richards).
* xmlregexp.c: fix bug #319897, problem with counted atoms
when the transition itself is counted too
* result/regexp/hard test/regexp/hard: augmented the regression
tests with the problem exposed.
Daniel
* valid.c xmlregexp.c include/libxml/valid.h
include/libxml/xmlregexp.h: avoid function parameters names 'list'
as this seems to give troubles with VC6 and stl as reported by
Samuel Diaz Garcia.
Daniel
* HTMLparser.c: script HTML parser error fix, corrects bug #319715
* result/HTML/53867* test/HTML/53867.html: added test from Michael Day
to the regression suite
Daniel
* parser.c: fixed second spot where CRLF split between chunks
could cause trouble (bug #319279)
* gentest.py, testapi.c: fixed two problems involved with
--with-minimum compilation (compilation errors with schematron
and formal expressions tests)
* xmlschemas.c: Removed creation of a temporary parser context
during validation when processing xsi:type; this previously
added a string to the dict of the schema - to assure thread
safety, we don't want to modify a given schema during
validation.
* xmlwriter.c: fixed problem in xmlTextWriterVSprintf caused by
misuse of vsnprintf
* configure.in, config.h.in: added a configuration check for
va_copy and added a define for VA_COPY for xmlwriter.c fix
* parser.c: fixed problem with CRLF split between chunks (bug
#319279) (fix provided by Brion Vibber)